:root {
    --ink: #162c46;
    --blue: #2e6592;
    --blue-dark: #1f4669;
    --gold: #d8a63d;
    --paper: #f4f7f8;
    --white: #fff;
    --muted: #627386;
    --line: #d8e1e8;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { outline-offset: 4px; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: white; padding: 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.top-strip { background: var(--ink); color: #e5eef6; font-size: 11px; letter-spacing: .06em; }
.top-strip .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 18px; line-height: 1.15; max-width: 390px; }
.site-brand img { width: 58px; height: 58px; object-fit: contain; flex: none; }
.site-brand small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; }
.header-search { display: flex; border-bottom: 1px solid var(--line); max-width: 140px; }
.header-search input { width: 100%; min-width: 0; border: 0; padding: 8px 0; background: transparent; }
.header-search button { border: 0; background: transparent; color: var(--blue); font-size: 22px; }
.menu-toggle { display: none; }
.school-hero { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 56px; padding-block: 58px 44px; }
.hero-copy { padding-left: 15px; }
.eyebrow { display: block; color: var(--blue); font-size: 10px; line-height: 1.6; font-weight: 800; letter-spacing: .17em; }
.hero-copy h1 { margin: 22px 0 20px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 410px; color: var(--muted); line-height: 1.75; font-size: 14px; }
.button-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 27px; padding: 14px 18px; color: white; background: var(--blue-dark); border-radius: 3px; font-size: 12px; font-weight: 700; }
.button-link span { color: #f1c45f; font-size: 18px; }
.hero-image { position: relative; background: #cedce5; }
.hero-image img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; padding: 10px 14px; color: white; background: #162c46dd; font-size: 9px; letter-spacing: .1em; }
.hero-caption { margin-top: 18px; max-width: 340px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.fact-band { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.fact-band div { min-height: 90px; display: flex; flex-direction: column; justify-content: center; padding: 12px 30px; border-right: 1px solid var(--line); }
.fact-band div:last-child { border-right: 0; }
.fact-band strong { color: var(--blue-dark); font: 700 25px Georgia, serif; }
.fact-band span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.home-story, .latest-section { padding-block: 74px; }
.home-story { max-width: 900px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-title h2 { margin-top: 7px; font-size: 31px; letter-spacing: -.03em; }
.section-title > a { color: var(--blue); font-size: 12px; font-weight: 700; }
.home-story > p { max-width: 740px; color: var(--muted); line-height: 1.9; }
.text-link { display: inline-block; margin-top: 20px; color: var(--blue-dark); font-weight: 700; font-size: 13px; }
.text-link span { color: var(--gold); padding-left: 6px; }
.latest-section { border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; background: white; border: 1px solid var(--line); }
.story-image { display: block; overflow: hidden; background: #dce8ee; }
.story-image img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.story-copy { padding: 18px; }
.story-copy time, .article-meta { color: var(--muted); font-size: 10px; }
.story-copy h3 { margin: 10px 0; font-size: 18px; }
.story-copy p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.story-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.story-tags a, .tag-pill { padding: 5px 8px; background: #e8f0f5; color: var(--blue-dark); border-radius: 2px; font-size: 10px; }
.inner-page { padding-block: 32px 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--muted); font-size: 11px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 54px; }
.main-column > h1, .main-column > section h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.lead { max-width: 780px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.timeline { margin-top: 42px; border-left: 2px solid #bfd0dc; }
.timeline article { position: relative; display: grid; grid-template-columns: 155px 1fr; gap: 20px; padding: 0 0 35px 27px; }
.timeline article::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; background: var(--gold); border: 3px solid var(--paper); border-radius: 50%; }
.timeline time { color: var(--blue); font-size: 12px; font-weight: 800; }
.timeline h2 { margin-bottom: 8px; font-size: 18px; }
.timeline p, .source-note, .main-column > p:not(.lead) { color: var(--muted); line-height: 1.8; font-size: 14px; }
.source-note { margin-top: 8px; padding: 16px; border-left: 3px solid var(--gold); background: white; }
.school-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); }
.school-info div { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: white; }
.school-info span { color: var(--muted); font-size: 11px; }
.school-info strong { font-size: 14px; }
.tag-sidebar { align-self: start; padding: 20px; background: white; border: 1px solid var(--line); }
.tag-sidebar h2 { margin: 8px 0 15px; font-size: 20px; }
.tag-sidebar nav { display: grid; }
.tag-sidebar nav a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 12px; }
.tag-sidebar b { color: var(--blue); }
.list-heading { margin-bottom: 28px; }
.list-heading h1 { margin-top: 9px; font-size: 42px; }
.list-heading p { margin-top: 9px; color: var(--muted); }
.large-search { display: grid; gap: 8px; max-width: 550px; margin: 20px 0 32px; }
.large-search label { font-size: 12px; }
.large-search div { display: flex; }
.large-search input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); }
.large-search button { padding: 0 20px; border: 0; background: var(--blue-dark); color: white; }
.empty-state { padding: 30px; color: var(--muted); background: white; border: 1px solid var(--line); }
.pagination { display: flex; gap: 8px; margin-top: 30px; }
.pagination a { min-width: 36px; padding: 9px; text-align: center; background: white; border: 1px solid var(--line); }
.pagination a[aria-current="page"] { color: white; background: var(--blue-dark); }
.full-article h1 { margin-bottom: 15px; font-size: 42px; line-height: 1.15; }
.article-meta { display: flex; gap: 20px; margin-bottom: 20px; }
.article-hero { display: block; width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 26px; }
.prose { color: #2f4051; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin: 1.5em 0 .6em; }
.prose p { margin: 0 0 1em; }
.prose img { max-width: 100%; height: auto; }
.related { margin-top: 55px; }
.site-footer { padding: 40px 0 22px; color: #eaf0f5; background: var(--ink); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand > a { font-size: 20px; font-weight: 750; }
.footer-brand > a span { color: #f1c45f; }
.footer-brand p { max-width: 450px; margin: 13px 0 18px; color: #bdcbd7; font-size: 12px; line-height: 1.7; }
.footer-brand small { color: #bdcbd7; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 14px 24px; max-width: 420px; font-size: 11px; }
.analytics-area { padding-top: 22px; }
.cookie-banner { position: fixed; z-index: 20; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 25px; max-width: 650px; padding: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 35px #162c4630; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cookie-actions { display: flex; flex: none; gap: 8px; }
.cookie-actions button { padding: 9px 11px; border: 1px solid var(--blue-dark); background: white; color: var(--blue-dark); font-size: 11px; }
.cookie-actions button:first-child { color: white; background: var(--blue-dark); }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper); }
.error-content { max-width: 620px; text-align: center; }
.error-content .site-brand { justify-content: center; margin-bottom: 40px; }
.error-code { color: var(--gold); font-size: 72px; font-weight: 800; }
.error-content h1 { margin: 12px 0; font-size: 32px; }
.error-content p { color: var(--muted); }
.error-content .button-link { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
    .header-inner { flex-wrap: wrap; padding-block: 15px; }
    .main-nav { order: 4; width: 100%; justify-content: center; }
    .school-hero { gap: 28px; }
    .content-layout { grid-template-columns: 1fr; }
    .tag-sidebar { max-width: none; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 32px, 520px); }
    .top-strip .container span:last-child { display: none; }
    .header-inner { min-height: 82px; gap: 12px; }
    .site-brand { font-size: 14px; max-width: 70%; }
    .site-brand img { width: 46px; height: 46px; }
    .site-brand small { font-size: 8px; }
    .menu-toggle { display: block; padding: 9px 11px; border: 1px solid var(--line); color: var(--ink); background: white; font-size: 11px; }
    .main-nav { display: none; order: 5; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 11px 4px; border-top: 1px solid var(--line); }
    .header-search { display: none; }
    .school-hero { grid-template-columns: 1fr; padding-block: 38px 28px; }
    .hero-copy { padding-left: 0; }
    .hero-copy h1 { font-size: 42px; }
    .hero-image { grid-row: 1; }
    .hero-image img { aspect-ratio: 1.2; }
    .fact-band { grid-template-columns: 1fr; }
    .fact-band div { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 20px; }
    .fact-band div:last-child { border-bottom: 0; }
    .home-story, .latest-section { padding-block: 48px; }
    .section-title { align-items: start; flex-direction: column; }
    .section-title h2 { font-size: 26px; }
    .story-grid, .home-grid, .school-info { grid-template-columns: 1fr; }
    .inner-page { padding-top: 24px; }
    .timeline article { grid-template-columns: 1fr; gap: 9px; padding-left: 20px; }
    .lead { font-size: 16px; }
    .list-heading h1, .full-article h1 { font-size: 34px; }
    .footer-grid { flex-direction: column; }
    .cookie-banner { right: 10px; bottom: 10px; left: 10px; flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-actions button { flex: 1; }
}
.popular-section { padding: 38px 0 70px; border-top: 1px solid var(--line); }
.popular-list { border-top: 1px solid var(--line); }
.rank-story { display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.rank-story > span { color: var(--gold); font: 700 20px Georgia, serif; }
.rank-story strong { font-size: 15px; }
.rank-story b { color: var(--blue); font-size: 18px; }
