.ifhub-team-page .ifhub-page-hero {
    position: relative;
    overflow: hidden;
    padding: 5.2rem 0 3.4rem;
    background: var(--color-surface-warm);
    border-bottom: 1px solid var(--color-border);
}
.ifhub-team-page .ifhub-page-hero::before {
    display: none;
}
.ifhub-team-page .ifhub-page-hero::after {
    display: none;
}

.ifhub-team-page .ifhub-page-intro {
    max-width: 46rem;
}

.ifhub-team-page-grid {
    display: grid;
    gap: 1.25rem;
}

/* Profile cards */
.ifhub-team-profile-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    gap: 1.6rem;
    align-items: stretch;
    padding: 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.ifhub-team-profile-card::before {
    display: none;
}

/* Alternating layout */
.ifhub-team-profile-card:nth-child(even) {
    grid-template-columns: minmax(0, 1.28fr) minmax(230px, 0.72fr);
}
.ifhub-team-profile-card:nth-child(even) .ifhub-team-profile-media {
    order: 2;
}

.ifhub-team-profile-media {
    min-height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface-warm);
    box-shadow: inset 0 0 0 1px var(--color-border);
}
.ifhub-team-profile-card:hover .ifhub-team-profile-media {
    transform: none;
}

.ifhub-team-profile-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    object-fit: cover;
    object-position: center 20%;
    background: var(--color-surface-warm);
}

.ifhub-team-profile-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ifhub-team-profile-copy .ifhub-chip {
    align-self: flex-start;
    background: var(--color-primary-soft);
}

.ifhub-team-profile-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.ifhub-team-profile-copy p {
    color: var(--color-ink-muted);
}

.ifhub-credential-list-dark li {
    color: var(--color-ink-muted);
}

.ifhub-team-profile-copy .ifhub-meta-line {
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    border-left: 2px solid var(--color-primary-soft);
    padding-left: 0.75rem;
}

/* Team section deck */
.ifhub-team-page .ifhub-section-deck {
    max-width: 44rem;
    margin-top: 0.5rem;
}

/* Team approach / values grid */
.ifhub-team-approach {
    padding: 4rem 0;
}

.ifhub-team-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.ifhub-team-value {
    padding: 1.65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.ifhub-team-value + .ifhub-team-value {
    border-left: 1px solid var(--color-border);
}

.ifhub-team-value svg {
    display: none;
}

.ifhub-team-value h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ifhub-team-value p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .ifhub-team-profile-card,
    .ifhub-team-profile-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .ifhub-team-profile-card:nth-child(even) .ifhub-team-profile-media {
        order: 0;
    }
    .ifhub-team-values-grid {
        grid-template-columns: 1fr;
    }

    .ifhub-team-value + .ifhub-team-value {
        border-left: 0;
        border-top: 1px solid var(--color-border);
    }
}
