/* Page Header Integration overrides */
.page-header .member-grid {
    margin-top: 40px;
}

/* ───────────────────────────────────────────────────── */

/* ── Back Link ───────────────────────────────────────── */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--white);
    transform: translateX(-4px);
}

/* ───────────────────────────────────────────────────── */

.member-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: center;
}

.member-image {
    position: relative;
}

.member-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl) 0 0 0;
    z-index: 0;
}

.member-photo-frame {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--blue-700);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.member-photo-frame:hover .member-photo {
    transform: scale(1.05);
}

.member-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-100);
    margin-bottom: 24px;
    opacity: 0.8;
}

.member-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--blue-500);
}

.member-name {
    font-family: var(--font-serif);
    font-size: 72px;
    line-height: 1;
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.member-name .first-name {
    font-weight: 400;
    opacity: 0.8;
}

.member-name .last-name {
    font-weight: 700;
    margin-top: -5px;
    color: var(--white);
}

.member-role {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--blue-100);
    margin-bottom: 48px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ── Social Buttons ──────────────────────────────────── */

.member-social {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.social-btn svg {
    color: var(--blue-100);
    flex-shrink: 0;
}

.social-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    line-height: 1;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ── Bio Section ─────────────────────────────────────── */

.member-bio-section {
    padding: 80px var(--space-2xl);
}

.member-bio {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.member-bio p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--gray-600);
    font-weight: 400;
}

.member-bio p.lead {
    font-size: 24px;
    color: var(--blue-900);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ── Footer Nav ──────────────────────────────────────── */

.member-footer-nav {
    padding: 100px 0;
    border-top: 1px solid var(--gray-100);
    background: #fcfdfe;
}

.footer-nav-inner {
    text-align: center;
}

.footer-nav-inner h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--blue-900);
    margin-bottom: 32px;
}

.footer-nav-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 991px) {
    .member-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .member-photo-frame {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .member-name {
        font-size: 56px;
        align-items: center;
    }

    .member-social {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .member-name {
        font-size: 42px;
    }

    .member-photo-frame {
        width: 220px;
        height: 220px;
    }

    .footer-nav-actions {
        flex-direction: column;
    }
}