/* ================================================================
   teaching_staff.css  —  LNMS College Teaching Staff Page
   Design system: identical tokens to syllabus.css / home.css
     · CSS variables (blue / green tokens)
     · Poppins + Playfair Display + DM Sans
     · Mini hero identical to syllabus.css (pl-mini-hero)
     · Faculty card grid — full-width photo + hover effects
     · Premium modal with photo hero panel
   ================================================================ */

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

/* ── Design tokens ───────────────────────────────────────────── */
:root {
    --blue:        #1E3A8A;
    --blue-dark:   #162d6e;
    --blue-mid:    #2a4fa8;
    --blue-light:  #dbeafe;
    --green:       #22C55E;
    --green-dark:  #16a34a;
    --green-light: #dcfce7;
    --bg:          #F8FAFC;
    --card:        #ffffff;
    --text:        #0F172A;
    --text-muted:  #475569;
    --border:      #e2e8f0;
    --shadow-sm:   0 2px 10px rgba(15,23,42,.08);
    --shadow-md:   0 6px 24px rgba(15,23,42,.12);
    --shadow-lg:   0 16px 48px rgba(15,23,42,.18);
    --shadow-blue: 0 8px 28px rgba(30,58,138,.28);
    --r-sm:        8px;
    --r-md:        14px;
    --r-lg:        20px;
    --r-pill:      50px;
    --t:           0.3s ease;
    --font:        'Poppins','Noto Sans Devanagari',sans-serif;
}

/* ================================================================
   1. MINI HERO
   ================================================================ */
.pl-mini-hero {
    position: relative;
    width: 100%;
    height: 320px;
    min-height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1E3A8A 55%, #2a4fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}

.pl-mini-hero__overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
}

.pl-mini-hero__ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.pl-mini-hero__ring--lg {
    top: -90px; right: -90px;
    width: 340px; height: 340px;
    border: 64px solid rgba(30,58,138,.22);
}

.pl-mini-hero__ring--sm {
    bottom: -55px; left: -55px;
    width: 210px; height: 210px;
    border: 42px solid rgba(34,197,94,.10);
}

.pl-mini-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: plGridDrift 18s linear infinite;
}

@keyframes plGridDrift {
    from { background-position: 0 0; }
    to   { background-position: 48px 48px; }
}

.pl-mini-hero__body {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pl-mini-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(12px);
    animation: plFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

.pl-mini-hero__bc-link {
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}
.pl-mini-hero__bc-link:hover { color: var(--green); text-decoration: none; }

.pl-mini-hero__bc-sep     { color: rgba(255,255,255,.25); font-size: .78rem; }
.pl-mini-hero__bc-current { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.80); }

.pl-mini-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.45);
    color: var(--green);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    animation: plFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.25s forwards;
}

.pl-mini-hero__badge-dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: plPulse 2s ease-in-out infinite;
}

.pl-mini-hero__heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: plFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.42s forwards;
}
.pl-mini-hero__heading em { font-style: normal; color: var(--green); position: relative; }
.pl-mini-hero__heading em::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 3px;
    background: var(--green);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    animation: plUnderline 0.55s cubic-bezier(0.22,1,0.36,1) 1.1s forwards;
}

.pl-mini-hero__sub {
    color: rgba(255,255,255,.62);
    font-size: clamp(.85rem, 1.6vw, 1rem);
    font-weight: 300;
    max-width: 480px;
    line-height: 1.65;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    animation: plFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.58s forwards;
}

@keyframes plFadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes plUnderline { to { transform: scaleX(1); } }
@keyframes plPulse     { 0%,100% { opacity:1;transform:scale(1); } 50% { opacity:.5;transform:scale(.8); } }

@media (max-width: 768px) {
    .pl-mini-hero { height: 260px; min-height: 220px; }
    .pl-mini-hero__ring--lg { width:200px;height:200px;border-width:40px;top:-60px;right:-60px; }
}
@media (max-width: 480px) {
    .pl-mini-hero { height: 230px; }
    .pl-mini-hero__sub { display: none; }
}

/* ================================================================
   2. AOS ANIMATION SUPPORT
   ================================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ================================================================
   3. SECTION SHELL
   ================================================================ */
.ts-area {
    background: var(--bg);
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}
.ts-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(30,58,138,.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.ts-area .container { position: relative; z-index: 1; }

/* ================================================================
   4. SECTION TITLE
   ================================================================ */
.ts-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-light);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}

.ts-section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}

.ts-section-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(.92rem, 1.6vw, 1.05rem);
    font-weight: 400;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ================================================================
   5. FILTER TABS
   ================================================================ */
.ts-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.ts-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 9px 22px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
    user-select: none;
}
.ts-filter-btn:hover       { border-color: var(--blue-light); color: var(--blue); background: var(--blue-light); }
.ts-filter-btn.is-active   { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.ts-filter-btn.is-active i { color: #fff; }

/* ================================================================
   6. STATS BAR
   ================================================================ */
.ts-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.ts-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 32px;
}

.ts-stat__num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.ts-stat__label {
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ts-stat__divider { width: 1px; height: 42px; background: var(--border); }

/* ================================================================
   7. FACULTY CARD GRID
   ================================================================ */
.ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ── Card shell ──────────────────────────────────────────────── */
.ts-card {
    background: var(--card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
    position: relative;
}
.ts-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    z-index: 2;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.ts-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.ts-card--hidden { display: none !important; }

/* ── Full-width photo strip ──────────────────────────────────── */
.ts-card__photo-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gradient used when photo is absent */
}

/* Avatar colour variants (gradient fallback background) */
.ts-card__avatar--blue  { background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%); }
.ts-card__avatar--green { background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); }

/* Initials shown under photo (fallback) */
.ts-card__photo-initials {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    letter-spacing: -.02em;
    user-select: none;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
    position: absolute;
    z-index: 0;
}

/* Actual photo image — fades in when loaded; hidden on error */
.ts-card__photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.45s ease;
}
.ts-card__photo-img.loaded { opacity: 1; }

/* Hover zoom on photo */
.ts-card:hover .ts-card__photo-img.loaded {
    transform: scale(1.06);
}

/* Bottom gradient overlay (readability) */
.ts-card__photo-wrap::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 70px;
    background: linear-gradient(to top, rgba(15,23,42,.45), transparent);
    z-index: 2;
    pointer-events: none;
}

/* ── Identity block ──────────────────────────────────────────── */
.ts-card__top {
    padding: 16px 18px 10px;
}

.ts-card__identity { display: flex; flex-direction: column; gap: 4px; }

.ts-card__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    line-height: 1.25;
    transition: color var(--t);
}
.ts-card:hover .ts-card__name { color: var(--blue); }

.ts-card__desig {
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.ts-card__dept-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    border: 1px solid rgba(30,58,138,.12);
    width: fit-content;
    margin-top: 4px;
}

/* ── Meta rows ───────────────────────────────────────────────── */
.ts-card__meta {
    padding: 0 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.ts-card__meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: .77rem;
    color: var(--text-muted);
}
.ts-card__meta-row i {
    width: 14px;
    text-align: center;
    color: var(--blue);
    font-size: .72rem;
    flex-shrink: 0;
}
.ts-card__meta-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
    display: inline-block;
}

/* ── Footer / button ─────────────────────────────────────────── */
.ts-card__footer {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.ts-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: var(--blue);
    border: none;
    border-radius: var(--r-pill);
    padding: 9px 22px;
    cursor: pointer;
    transition: background var(--t), box-shadow var(--t), transform var(--t);
    width: 100%;
    justify-content: center;
}
.ts-card__view-btn:hover {
    background: var(--blue-dark);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}
.ts-card__view-btn:active { transform: translateY(0); }

/* ================================================================
   8. STAFF MODAL
   ================================================================ */

/* ── Overlay ─────────────────────────────────────────────────── */
.staff-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10,16,36,.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.staff-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* ── Modal box ───────────────────────────────────────────────── */
.staff-modal {
    position: relative;
    background: var(--card);
    border-radius: var(--r-lg);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(10,16,36,.45);
    display: flex;
    flex-direction: column;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    scroll-behavior: smooth;
}
.staff-modal-overlay.is-open .staff-modal {
    transform: translateY(0) scale(1);
}

/* ── Close button ────────────────────────────────────────────── */
.staff-modal__close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px -36px auto;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15,23,42,.08);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t), color var(--t);
}
.staff-modal__close:hover { background: #ef4444; color: #fff; }

/* ── Loading state ───────────────────────────────────────────── */
.staff-modal__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    min-height: 260px;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: .9rem;
}

.staff-modal__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--blue-light);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: smSpin 0.75s linear infinite;
}
@keyframes smSpin { to { transform: rotate(360deg); } }

/* ── Content wrapper ─────────────────────────────────────────── */
.staff-modal__content { display: flex; flex-direction: column; }

/* ════════════════════════════════════════════════════════════
   MODAL HERO  —  side-by-side photo + identity
════════════════════════════════════════════════════════════ */
.staff-modal__hero {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

/* Photo panel */
.staff-modal__photo-panel {
    position: relative;
    width: 220px;
    min-width: 220px;
    min-height: 260px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--r-lg) 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Gradient fallback colours (reuse avatar tokens) */
.staff-modal__photo-panel.ts-card__avatar--blue  { background: linear-gradient(160deg, #1E3A8A 0%, #3b82f6 100%); }
.staff-modal__photo-panel.ts-card__avatar--green { background: linear-gradient(160deg, #16a34a 0%, #4ade80 100%); }

/* Initials fallback */
.staff-modal__photo-initials {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 3px 12px rgba(0,0,0,.22);
    user-select: none;
    position: absolute;
    z-index: 0;
}

/* Actual photo */
.staff-modal__photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.staff-modal__photo-img.loaded { opacity: 1; }

/* Info panel (right of photo) */
.staff-modal__hero-info {
    flex: 1;
    padding: 28px 28px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5fb 0%, var(--card) 100%);
    border-radius: 0 var(--r-lg) 0 0;
    border-bottom: 1px solid var(--border);
}

/* ── Name / designation ──────────────────────────────────────── */
.staff-modal__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.2;
}

.staff-modal__desig {
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 8px;
}

/* ── Quick chips ─────────────────────────────────────────────── */
.staff-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.staff-modal__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 4px 10px;
}
.staff-modal__chip i { color: var(--blue); font-size: .7rem; }

/* ── Scrollable body ─────────────────────────────────────────── */
.staff-modal__body {
    padding: 24px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Group block ─────────────────────────────────────────────── */
.staff-modal__group {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.staff-modal__group-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(30,58,138,.1);
}
.staff-modal__group-heading i { font-size: .82rem; }

/* ── Info table ──────────────────────────────────────────────── */
.staff-modal__info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font);
    font-size: .84rem;
}
.staff-modal__info-table tr { border-bottom: 1px solid var(--border); }
.staff-modal__info-table tr:last-child { border-bottom: none; }
.staff-modal__info-table td { padding: 9px 16px; vertical-align: top; }

.staff-modal__info-label {
    font-weight: 600;
    color: var(--text-muted);
    width: 36%;
    white-space: nowrap;
}
.staff-modal__info-val { color: var(--text); }

/* ── Sub-sections ────────────────────────────────────────────── */
.staff-modal__sub-section { padding: 12px 16px; border-bottom: 1px dashed var(--border); }
.staff-modal__sub-section:last-child { border-bottom: none; }

.staff-modal__sub-title {
    font-family: var(--font);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.staff-modal__text {
    font-family: var(--font);
    font-size: .85rem;
    color: var(--text);
    line-height: 1.65;
    margin: 0;
}

.staff-modal__list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.staff-modal__list li {
    font-family: var(--font);
    font-size: .83rem;
    color: var(--text);
    line-height: 1.55;
}

/* ================================================================
   9. RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
    .ts-area   { padding: 60px 0 70px; }
    .ts-grid   { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
    .ts-section-sub { margin-bottom: 28px; }

    /* Modal hero stacks vertically on small screens */
    .staff-modal__hero { flex-direction: column; }
    .staff-modal__photo-panel {
        width: 100%;
        min-width: unset;
        height: 200px;
        min-height: unset;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
    }
    .staff-modal__hero-info { border-radius: 0; padding: 18px 18px 14px; }
    .staff-modal__body { padding: 18px 16px 24px; }
    .staff-modal__info-label { width: 44%; }
}

@media (max-width: 600px) {
    .ts-stats { gap: 16px 0; padding: 16px; }
    .ts-stat  { padding: 4px 16px; }
    .ts-stat__divider { display: none; }
}

@media (max-width: 480px) {
    .ts-filter-btn { padding: 8px 14px; font-size: .74rem; }
    .ts-stats      { padding: 14px 10px; }
    .ts-stat       { padding: 4px 12px; }
    .ts-card__photo-wrap { height: 180px; }

    .staff-modal-overlay { padding: 0; align-items: flex-end; }
    .staff-modal {
        max-height: 92vh;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        max-width: 100%;
    }
    .staff-modal__photo-panel { height: 160px; }
    .staff-modal__name { font-size: 1.15rem; }
    .staff-modal__info-label { width: 48%; font-size: .78rem; }
    .staff-modal__info-val   { font-size: .78rem; }
}
