/* ============================================================
   NHF 2026 — committee pages (scientific + organizing)
   Shared by scientific-committee.html and organizing-committee.html.
   Cards are plain: photo, name, role. No link, no hover lift.
   ============================================================ */

/* page head — same treatment as the speakers page */
.phead { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 68px) 0; }
.crumb { font-size: .84rem; color: var(--ink-3); margin-bottom: 12px; }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--green); }
.phead h1 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); margin-bottom: 10px; }
.phead .lead { max-width: 62ch; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* these cards go nowhere, so they only get a soft hover, never a lift */
.card-plain { transition: border-color .25s, box-shadow .3s; }
.card-plain:hover { border-color: var(--green); box-shadow: var(--shadow); }

.card-photo { width: 100%; aspect-ratio: 1/1; font-size: 2.1rem; }
.card-body { padding: 16px 18px 20px; flex: 1; }
.card-name { font-family: var(--fh); font-size: 1.04rem; font-weight: 600; line-height: 1.3; }
.card-role { font-size: .84rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* empty state — shown while a committee is still being finalised */
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 24px;
  background: var(--white);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}
.empty svg { width: 46px; height: 46px; color: var(--green); opacity: .5; margin: 0 auto 16px; }
.empty b { display: block; font-family: var(--fh); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.empty p { color: var(--ink-2); font-size: .94rem; max-width: 44ch; margin: 0 auto; }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .grid { grid-template-columns: 1fr; } }
