﻿
/* ═══════════════════════════════════════════════
   FELLOWS SPOTLIGHT — Complete Component Styles
   ═══════════════════════════════════════════════ */

.fs-section {
    position: relative;
    padding-bottom: 60px;
    font-family: inherit;
}

/* ── Filter Bar ───────────────────────────────── */
.fs-filter-bar {
    position: relative;
    margin-top: -105px;
    z-index: 20;
    padding: 0 20px;
    margin-bottom: 40px;
}

.fs-filter-inner {
    background: #1c2b3a;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-width: 1230px;
    margin: 0 auto;
}

.fs-filter-label {
    color: #a0b4c8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: -8px;
}

/* Search */
.fs-search-group {
    display: flex;
    flex: 1;
    min-width: 220px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.fs-search-icon {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #fff;
    color: #5a7a9a;
    font-size: 1rem;
}

.fs-search-input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px 8px;
    font-size: 0.93rem;
    color: #1c2b3a;
    background: #fff;
}

.fs-search-input::placeholder { color: #8fa3b5; }

.fs-search-btn {
    background: #c8a84b;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background 0.18s;
    white-space: nowrap;
}

.fs-search-btn:hover { background: #b5943a; }

/* Divider */
.fs-filter-divider {
    width: 1px;
    height: 42px;
    background: #2e4358;
    flex-shrink: 0;
}

.fs-year-wrapper { position: relative; }

.fs-year-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    min-width: 180px;
    font-size: 0.93rem;
    color: #1c2b3a;
    user-select: none;
    transition: border-color 0.18s;
}

.fs-year-trigger:hover,
.fs-year-trigger.open { border-color: #c8a84b; }

.fs-year-trigger .arrow {
    color: #5a7a9a;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.fs-year-trigger.open .arrow { transform: rotate(180deg); }

/* Year picker dropdown */
.fs-year-picker {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 16px;
    z-index: 100;
    min-width: 220px;
}

.fs-year-picker.open { display: block; }

.fs-year-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.fs-year-picker-header span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1c2b3a;
}

.fs-year-nav {
    background: none;
    border: none;
    cursor: pointer;
    color: #5a7a9a;
    font-size: 1rem;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.fs-year-nav:hover { background: #f0f4f8; color: #1c2b3a; }

.fs-year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.fs-year-cell {
    text-align: center;
    padding: 7px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #4a6070;
    transition: background 0.15s, color 0.15s;
}

.fs-year-cell:hover { background: #f0f4f8; color: #1c2b3a; }

.fs-year-cell.selected { background: #1c2b3a; color: #fff; font-weight: 700; }
.fs-year-cell.current-year { color: #c8a84b; font-weight: 600; }
.fs-year-cell.selected.current-year { background: #1c2b3a; color: #fff; }

/* ── Fellows List ─────────────────────────────── */
.fs-list {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
}

/* Layout A: 2024 and earlier */
.fs-card-compact {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 20px 28px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
    width: 100%;
}

/* .fs-card-compact::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #c8a84b;
    border-radius: 4px 0 0 4px;
} */

.fs-card-compact:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); transform: translateX(3px); }

.fs-card-compact-info { 
    flex: 1;
    position: relative;
    z-index: 5;
}

.fs-card-compact-info h3 { font-size: 1.05rem; font-weight: 700; color: #1c2b3a; margin: 0 0 4px; }
.fs-card-compact-info p  { font-size: 0.83rem; color: #5a7a9a; margin: 0; }

.fs-card-compact-social { display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-shrink: 0; 
    margin-left: 20px; 
    position: relative;
    z-index: 5; 
}

.fs-social-icon {
    color: #1c2b3a;
    text-decoration: none;
    transition: color 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
}

.fs-social-icon:hover { color: #c8a84b; transform: scale(1.15); }

/* ────────────────────────────────────────────────
   LAYOUT B: 2025+ — expanded full card with photo
   ──────────────────────────────────────────────── */
.fs-card-full {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 28px 36px 28px 28px;
    position: relative;
    transition: box-shadow 0.2s;
    z-index: 5;
}
/* @media (max-width: 768px) {
    .fs-card-full {
        width: 44%;
    }
} */
@media (max-width: 520px) {
    .fs-list {
    flex-flow: column wrap;
    gap: 30px;
    }
    .fs-card-full {
        width: 100%;
    }
}
 .fs-card-full::after, 
 .fs-card-compact::after {
    content: '';
    position: absolute;
    right: -3px; 
    top: -3px; 
    width: 4px;
    border-radius: 0 6px 0 0;
    z-index: 4;
    width: 60px;
    height: 35px;
    background: transparent;
    border-right: solid 3px #F7CA50;
    border-top: solid 3px #F7CA50;
}
.fs-card-full:nth-child(even)::after, 
.fs-card-compact:nth-child(even)::after  {
    border-left: solid 3px #F7CA50 !important;
    border-bottom: solid 3px #F7CA50 !important;
    border-right: none !important;
    border-top: none !important;
    right: inherit; 
    top: inherit;
    background: transparent;
    left: -3px; 
    bottom: -3px;
    border-radius: 0 0 0 6px !important;
}

.fs-card-full:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.13); }

.fs-card-full-photo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    
}

.fs-card-full-photo img {
    width: 245px; 
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    /* border-bottom: 4px solid #c8a84b; */
}

.fs-card-full-photo-placeholder {
    width: 245px; height: 245px;
    background: linear-gradient(145deg, #c8d8e8, #a0b8d0);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: #fff;
    /* border-bottom: 4px solid #c8a84b; */
}

.fs-card-full-photo .fs-card-compact-social { margin: 0; justify-content: center; }

.fs-card-full-body { 
    flex: 1;
    min-width: 0;
    padding: 0 12px;
}
.fs-card-full-body h3 { font-size: 1.35rem; font-weight: 800; color: #1c2b3a; margin: 0 0 4px; }

.fs-degree { 
    font-size: 1.3rem; 
    color: #666; 
    margin: 0 0 18px; 
    display: block; 
}

.fs-bio { font-size: 0.9rem; color: #3a5060; line-height: 1.75; }
.fs-bio p { margin: 0 0 12px; }
.fs-bio p:last-child { margin-bottom: 0; }

/* ── View More ─────────────────────────────────── */
.fs-load-more { text-align: center; margin-top: 36px; padding: 0 20px; }

.fs-load-more-btn {
    background: #1c2b3a; color: #fff; border: none; border-radius: 6px;
    padding: 13px 44px; font-size: 0.92rem; font-weight: 600; cursor: pointer;
    letter-spacing: 0.04em; transition: background 0.18s, transform 0.15s;
}

.fs-load-more-btn:hover { background: #243648; transform: translateY(-2px); }

/* ── Empty state ───────────────────────────────── */
.fs-state-msg { text-align: center; padding: 60px 20px; color: #8fa3b5; }
.fs-state-msg-icon { font-size: 2.5rem; margin-bottom: 10px; }

@media (max-width: 640px) {
    .fs-card-full { flex-direction: column; gap: 20px; }
    .fs-card-full-photo img, .fs-card-full-photo-placeholder { width: 100%; height: 220px; }
    .fs-filter-divider { display: none; }
    .fs-year-trigger { min-width: unset; width: 100%; }
    .fs-card-full-photo-placeholder {
        height: auto;
    }
}
