/* =========================================================
   ASBM University — Faculty & Research Directory
   (person cards: .ld-person / .ld-photo / .ld-initials in style.css)
   ========================================================= */

/* ---------- Filter bar ---------- */
.fc-filter { position: sticky; top: 60px; z-index: 1010; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.fc-filter .container { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.fc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-pills .pg-pill span { display: inline-block; margin-left: 4px; font-size: .7rem; opacity: .65; }
.fc-search { min-width: 260px; }

/* ---------- Groups ---------- */
.fc-group { padding: 64px 0 24px; scroll-margin-top: 130px; }
.fc-group.is-hidden { display: none; }
.fc-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.fc-group-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0; }
.fc-group-head > span { font-size: .8rem; color: var(--muted); }
.fc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.fc-person.is-hidden { display: none; }
.fc-person .ld-photo { aspect-ratio: 1 / 1; }
.fc-expertise { margin-top: 4px; color: var(--navy-700) !important; }
.fc-empty-school { font-size: .88rem; color: var(--muted); padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); margin: 0; }

/* ---------- Research band ---------- */
.fc-research { margin: 48px 0 0; padding: 48px 0; color: #fff; background: radial-gradient(circle at 85% 50%, rgba(245, 179, 36, .12), transparent 40%), var(--navy-900); }
.fc-research.is-hidden { display: none; }

.fc-none { text-align: center; padding: 56px 16px 8px; color: var(--muted); }
.fc-none i { font-size: 2rem; display: block; margin-bottom: 10px; color: var(--navy-700); }
.fc-source { padding: 24px 0 64px; margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
    .fc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .fc-filter { top: 64px; }
    .fc-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
    .fc-pills::-webkit-scrollbar { display: none; }
    .fc-pills .pg-pill { white-space: nowrap; }
    .fc-search { min-width: 0; width: 100%; }
    .fc-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .fc-group { padding-top: 44px; }
}
