/* ============================================================
   CISD Staff Profile Page
   ============================================================ */

/* ── Page background ───────────────────────────────────────── */
.staff-profile-page {
    background-color: #f5f5f5;
}

/* ============================================================
   HERO — light cream background, dark text (matches Figma)
   ============================================================ */
.staff-hero {
    background-color: #f5f0eb;
    position: relative;
    overflow: hidden;
}

.staff-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    min-height: 300px;
}

/* ── Left content ──────────────────────────────────────────── */
.staff-hero-content {
    flex: 1 1 0;
    min-width: 0;
    padding: 3.5rem 0 3rem;
}

.staff-type-badge {
    display: inline-block;
    background-color: #dc2626;
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.staff-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    color: #111111;
    line-height: 1.05;
    margin: 0 0 1rem;
}

/* Job title — italic, dark, with red left bar */
.staff-job-title {
    display: flex;
    align-items: center;
    margin-bottom: 1.75rem;
}

.staff-job-title::before {
    content: '';
    display: block;
    width: 4px;
    min-height: 1.2em;
    background-color: #dc2626;
    margin-right: 12px;
    flex-shrink: 0;
    align-self: stretch;
}

.staff-job-title span {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    color: #333333;
    line-height: 1.4;
}

/* Contact / social chips */
.staff-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.staff-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #cccccc;
    padding: 7px 16px;
    border-radius: 6px;
    background: #ffffff;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.staff-social-link:hover {
    background: #f0f0f0;
    border-color: #999999;
    color: #111111;
    text-decoration: none;
}

.staff-social-link i {
    font-size: 13px;
    color: #555555;
}

/* ── Right column — photo + overlay badge ──────────────────── */
.staff-hero-photo-col {
    flex: 0 0 360px;
    max-width: 360px;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
}

.staff-photo-wrap {
    position: relative;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    line-height: 0;
}

.staff-photo {
    width: 100%;
    max-height: 300px;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.staff-photo-placeholder {
    width: 100%;
    padding-top: 115%;
    background-color: #ddd5ca;
    position: relative;
}

.staff-photo-placeholder i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    color: rgba(0, 0, 0, 0.2);
}

/* Programs Team badge — small corner badge at bottom-right of photo */
.staff-team-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background-color: #1e3a8a;
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    text-decoration: none;
    padding: 8px 12px 8px 10px;
    border-radius: 4px;
    min-width: 120px;
    transition: background-color 0.2s;
}

.staff-team-badge:hover {
    background-color: #162d6e;
    color: #ffffff;
    text-decoration: none;
}

/* "STATUS" micro-label */
.staff-team-badge .badge-status {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1;
}

/* "Programs Team" main label row */
.staff-team-badge .badge-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.staff-team-badge .badge-label i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   TWO-COLUMN CONTENT SECTION
   ============================================================ */
.staff-content-section {
    background-color: #f5f5f5;
    padding: 3rem 0;
}

.staff-content-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Bio — white card */
.staff-bio-col {
    flex: 1 1 0;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 2rem 2.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.staff-section-overline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* "Professional Summary" — CISD blue */
.staff-section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.25rem;
}

.staff-bio-text p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14.5px;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

.staff-bio-text p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.staff-sidebar-col {
    flex: 0 0 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Focus areas card */
.staff-focus-card {
    background-color: #0b1e48;
    border-radius: 4px;
    overflow: hidden;
}

.staff-focus-card-header {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.2px;
}

.staff-focus-list {
    list-style: none;
    margin: 0;
    padding: 12px 16px 16px;
}

.staff-focus-list li {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    color: #d0d8e8;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.staff-focus-list li::before {
    content: '▸';
    color: #dc2626;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Department card */
.staff-dept-block {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* "Department" label — red */
.staff-dept-label {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 6px;
}

.staff-dept-tagline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   EXPERTISE FRAMEWORK SECTION
   ============================================================ */
.staff-expertise-section {
    background-color: #f5f5f5;
    padding: 3.5rem 0 4rem;
    border-top: 1px solid #e5e5e5;
}

.staff-expertise-heading-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
}

.staff-expertise-overline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.staff-expertise-underline {
    display: block;
    width: 70px;
    height: 3px;
    background-color: #dc2626;
    margin: 0 auto;
}

.staff-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.staff-expertise-card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    border-top: 4px solid #1e3a8a;
    padding: 28px 24px;
}

.staff-expertise-card:nth-child(2) {
    border-top-color: #dc2626;
}

.staff-expertise-icon {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.staff-expertise-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #0d0d1a;
    margin: 0 0 8px;
}

.staff-expertise-desc {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #444444;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .staff-hero-inner {
        flex-direction: column-reverse;
        align-items: stretch;
        min-height: unset;
    }

    .staff-hero-photo-col {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .staff-photo-wrap,
    .staff-photo {
        max-height: 280px;
    }

    .staff-hero-content {
        padding: 2rem 0;
    }

    .staff-name {
        font-size: 38px;
    }

    .staff-content-inner {
        flex-direction: column;
    }

    .staff-sidebar-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .staff-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .staff-name {
        font-size: 30px;
    }

    .staff-bio-col {
        padding: 1.5rem;
    }

    .staff-expertise-grid {
        grid-template-columns: 1fr;
    }

    .staff-hero {
        padding-top: 2.5rem;
    }
}
