/* ==========================================================================
   VAWB e.V. – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0e1b2c;
  --navy-800: #15263d;
  --navy-700: #1f3552;
  --steel-500: #5b6b80;
  --steel-300: #aeb8c5;
  --steel-100: #e7ebf0;
  --paper: #f6f4f0;
  --white: #ffffff;
  --red: #c8102e;
  --red-bright: #e3342f;
  --text: #1b2533;
  --text-muted: #556274;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 8px 24px -8px rgba(14, 27, 44, .12);
  --shadow-lg: 0 2px 4px rgba(14, 27, 44, .06), 0 24px 48px -16px rgba(14, 27, 44, .25);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; font-family: var(--font-serif); font-weight: 560; line-height: 1.15; letter-spacing: -.015em; color: var(--navy-900); margin: 0 0 .6em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy-900); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff8a80; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: #a50d26; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(200, 16, 46, .6); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy-900); box-shadow: none; }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(14, 27, 44, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand-mark { color: var(--navy-900); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 650; letter-spacing: .02em; }
.brand-ev { font-family: var(--font-sans); font-size: .8rem; font-weight: 500; color: var(--steel-500); letter-spacing: 0; }
.brand-sub { font-size: .74rem; color: var(--steel-500); margin-top: .2rem; letter-spacing: .01em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav a { text-decoration: none; color: var(--navy-800); font-weight: 520; font-size: .97rem; }
.main-nav > ul > li > a:not(.btn) { display: block; padding: .6rem .9rem; border-radius: 999px; transition: background .15s; }
.main-nav > ul > li > a:not(.btn):hover { background: var(--steel-100); }
.main-nav > ul > li.is-active > a { color: var(--red); }
.main-nav .nav-cta { margin-left: .5rem; }
.main-nav .nav-cta a { color: #fff; }

.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.subnav {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem;
  border: 1px solid rgba(14, 27, 44, .06);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.subnav::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
/* last dropdown opens to the left so it never leaves the viewport */
.has-sub ~ .has-sub > .subnav { left: auto; right: 0; }
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: .6rem .85rem; border-radius: var(--radius-sm); font-size: .95rem; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--paper); color: var(--red); }

.nav-toggle { display: none; }

@media (max-width: 960px), (hover: none) and (pointer: coarse) {
  .brand-sub { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--steel-100);
    background: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; border-top: 1px solid var(--steel-100);
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--steel-100); }
  .main-nav > ul > li > a:not(.btn) { padding: 1rem 0; font-size: 1.15rem; border-radius: 0; }
  .main-nav > ul > li > a:not(.btn):hover { background: none; }
  .has-sub > a::after { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .8rem .75rem; min-width: 0; }
  .subnav a { padding: .5rem .75rem; color: var(--text-muted); }
  .main-nav .nav-cta { border: 0; margin: 1.5rem 0 0; }
  .main-nav .nav-cta .btn { width: 100%; padding: .95rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(82vh, 760px); display: flex; align-items: flex-end;
  background: var(--navy-900); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 27, 44, .94) 0%, rgba(14, 27, 44, .78) 42%, rgba(14, 27, 44, .2) 100%),
    linear-gradient(0deg, rgba(14, 27, 44, .7) 0%, rgba(14, 27, 44, 0) 45%);
}
.hero-inner { padding-block: clamp(5rem, 12vw, 9rem) clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 16ch; font-weight: 500; }
.hero h1 .accent { display: block; color: #ff8a80; font-style: italic; font-weight: 400; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 27, 44, .96) 0%, rgba(14, 27, 44, .85) 55%, rgba(14, 27, 44, .55) 100%); }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 27, 44, .95) 0%, rgba(14, 27, 44, .78) 55%, rgba(14, 27, 44, .45) 100%); }
.page-hero-inner { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; margin: 0; max-width: 22ch; font-weight: 500; }
.page-hero .eyebrow { color: #ff8a80; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 1.6rem; }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, .8); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; }
.section-head-split .section-lead { margin: 0; }
.section-lead { font-size: 1.12rem; color: var(--text-muted); }
.section-more { margin: 2.5rem 0 0; }
@media (max-width: 820px) { .section-head-split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .card-grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(14, 27, 44, .08); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p:last-child { margin-bottom: 0; }
.card-rule { border-top: 3px solid var(--red); }
.card-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); margin-bottom: .5rem; }
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--text-muted); }

.course { display: flex; flex-direction: column; }
.course p:not(.course-tag) { flex: 1; }
.course-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.25rem;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
}
.course-badge-muted { background: var(--steel-100); color: var(--navy-900); }
.course-tag {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--steel-100);
  font-size: .85rem; font-weight: 600; color: var(--red) !important;
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.split-text p { color: var(--text-muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 16 / 9; } }

/* ---------- Quick links ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr; } }
.quick {
  position: relative; display: flex; flex-direction: column; gap: .4rem;
  padding: 1.6rem 1.5rem 3.2rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none; color: #fff; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.quick::after { content: "→"; position: absolute; left: 1.5rem; bottom: 1.2rem; color: #ff8a80; transition: transform .2s var(--ease); }
.quick:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-2px); }
.quick:hover::after { transform: translateX(4px); }
.quick-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 550; line-height: 1.25; }
.quick-text { font-size: .92rem; color: rgba(255, 255, 255, .65); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-box { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-list { margin: 0 0 1.75rem; display: grid; gap: 1.25rem; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(14, 27, 44, .1); }
.contact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list dt { font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); padding-top: .2rem; }
.contact-list dd { margin: 0; }
@media (max-width: 480px) { .contact-list div { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------- Content pages ---------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
@media (max-width: 960px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--red); }
.prose address { margin: 0 0 1em; padding: 1.1rem 1.3rem; background: var(--paper); border-radius: var(--radius-sm); }
.legal-caps { font-size: .95rem; color: var(--text-muted); }

.sidebar { position: relative; }
.contact-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--navy-900); color: rgba(255, 255, 255, .8);
  padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.contact-card .eyebrow { color: #ff8a80; }
.contact-card-title { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.25; color: #fff; margin-bottom: 1rem; }
.contact-card address { font-size: .95rem; margin-bottom: 1.5rem; }

.course-list { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; gap: 1rem; }
.course-list li { display: flex; gap: 1.25rem; padding: 1.5rem; border: 1px solid rgba(14, 27, 44, .08); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); margin: 0; }
.course-list .course-badge { margin: 0; }
.course-list h3 { margin: .2rem 0 .4rem; }
.course-list p { margin: 0; color: var(--text-muted); }

.callout { border-left: 3px solid var(--red); background: var(--paper); padding: 1.4rem 1.6rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin: 0; }

/* ---------- Downloads ---------- */
.downloads { display: grid; gap: .9rem; margin: 1.5rem 0 2rem; }
.download {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(14, 27, 44, .1); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.download:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text); }
.dl-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: #fbe9ec; color: var(--red); font-size: .75rem; font-weight: 750; letter-spacing: .04em;
}
.dl-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dl-title { font-weight: 620; color: var(--navy-900); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.dl-desc { font-size: .92rem; color: var(--text-muted); }
.dl-meta { font-size: .8rem; color: var(--steel-500); margin-top: .15rem; }
.dl-arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--steel-100); color: var(--navy-900); transition: background .2s, color .2s; }
.download:hover .dl-arrow { background: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1422; color: rgba(255, 255, 255, .65); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-block: 4.5rem 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: .6rem; }
.footer-about p { max-width: 40ch; }
.footer-about address { margin-top: 1.25rem; line-height: 1.7; }
.footer-heading { color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; font-size: .88rem; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: clamp(1.25rem, 4vw, 2.5rem); right: clamp(1.25rem, 4vw, 2.5rem); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .sidebar, .hero-actions, .page-hero-img, .hero-img { display: none !important; }
  .hero, .page-hero { background: none; color: #000; min-height: 0; }
  .hero::before, .page-hero::before { display: none; }
  .hero h1, .page-hero h1 { color: #000; }
  .page-grid { display: block; }
}

@media (max-width: 520px) {
  .course-list li { flex-direction: column; gap: .9rem; }
}

/* simple link list (404 page) */
.link-list { list-style: none; padding: 0 !important; margin: 1.5rem 0; display: grid; gap: .6rem; }
.link-list a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border: 1px solid rgba(14, 27, 44, .1); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; color: var(--navy-900); transition: border-color .2s; }
.link-list a::after { content: "→"; color: var(--red); }
.link-list a:hover { border-color: var(--red); }
.prose .link-list li { margin: 0; }

@media (max-width: 420px) {
  .download { gap: .85rem; padding: 1rem; }
  .dl-icon { width: 44px; height: 44px; }
  .dl-arrow { display: none; }
}
