/* Phase 7 accessibility pass (WCAG 2.2 AA contrast). Loaded last; each rule names the defect it fixes.
   Measured with docs/agent-work/phase-7/p7-a11y.mjs. */

/* Muted label text was 3.7–4.4:1 on the cream, sage and lime surfaces; both tokens now reach ≥4.5:1 on all of them. */
:root{--sage:#56685b;--ink-muted:#5b6470}

/* News & Events breadcrumbs sit on the dark forest header, where the muted grey was 3.6:1. */
.f-news-hero .breadcrumb ol,.f-news-hero .breadcrumb a,.f-news-detail-head .breadcrumb ol,.f-news-detail-head .breadcrumb a{color:#bdcbbf}

/* White on the bright vermilion was 3.2:1; the darker vermilion keeps the colour family at 5.1:1. */
.button.primary,.band-enquiry .button.primary{background:var(--vermilion-dark);border-color:var(--vermilion-dark)}
.button.primary:hover,.band-enquiry .button.primary:hover{background:#8f470c;border-color:#8f470c}
.h-event-ended .h-event-ended-tag{background:var(--vermilion-dark);color:#fff}
.link-more{color:#9a4c0e}

/* The resources hero is light, but its breadcrumb used the colour meant for dark heroes (1.4:1). */
.f-resource-hero .flag-breadcrumb{color:var(--sage)}

/* History years are content, not decoration: the pale numerals (1.5:1) now meet the 3:1 large-text minimum. */
.hs-year{color:#7f8f7d}

/* News/event body sections sit directly under the H1, so their titles are now H2 (they skipped to H3); same look as before. */
.article-body .content-section h2.content-section-title{font-size:clamp(1.15rem,1.5vw,1.4rem);line-height:1.12;letter-spacing:normal;margin:0 0 .5rem}

/* Hover: the base a:hover colour rules (site.css, 5t-c.css) now have zero specificity, so a card or link keeps its
   own text colour on hover instead of taking the page ink (white text on the dark News & Events cards vanished). */
.dept-block:nth-child(even) .dept-block-programmes a:hover{color:#8f470c}
