/* ISC / ICSE sections: board hero, switcher, icon tiles and learning-resource cards */
.board-hero { background: var(--navy-800) url('/img/math-bg.svg') repeat; color: var(--white); padding: 30px 0 44px; }
.board-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.9rem); margin: 6px 0 8px; letter-spacing: -.01em; }
.board-hero .lead { color: #c9d4ec; max-width: 680px; margin: 0; font-size: 1.05rem; line-height: 1.6; }
.board-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.board-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 22px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.board-switch a { padding: 8px 18px; border-radius: 999px; color: #d6def0; font-weight: 700; font-size: .92rem; }
.board-switch a small { font-weight: 500; opacity: .8; margin-left: 4px; }
.board-switch a:hover { text-decoration: none; color: #fff; }
.board-switch a.active { background: #fff; color: var(--navy-800); }
.subj-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy-800); flex: none; box-shadow: inset 0 -3px 0 var(--gold); }
.subj-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.subj-icon.xl { width: 84px; height: 84px; border-radius: 18px; background: var(--white); }
.subj-icon.xl svg { width: 44px; height: 44px; }
.subj-icon.sm { width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 -2px 0 var(--gold); }
.subj-icon.sm svg { width: 16px; height: 16px; stroke-width: 2; }
.board-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 46px 0 18px; }
.board-sub h3 { font-family: var(--serif); color: var(--navy-800); font-size: 1.45rem; margin: 0; }
.board-sub p { margin: 4px 0 0; color: var(--muted); }
.board-sub .more { font-weight: 600; white-space: nowrap; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.res-card h4 { margin: 0; color: var(--navy-800); font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.res-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; flex: 1; }
.res-card .res-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-50); font-size: 1.05rem; }
.res-status { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.res-status.live { background: #e3f5eb; color: var(--ok); }
.res-status.soon { background: #fff4dc; color: #8a5a00; }
.res-card a { font-weight: 600; font-size: .9rem; }
.board-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }
