:root {
  --navy: #082f62;
  --navy-deep: #041d3e;
  --navy-soft: #123f73;
  --red: #b51f32;
  --red-dark: #921426;
  --gold: #c9a45f;
  --ink: #17202d;
  --muted: #5c6675;
  --line: #d9dee6;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --font-scale: 1;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  font-size: calc(16px * var(--font-scale));
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.high-contrast {
  --navy: #000;
  --navy-deep: #000;
  --navy-soft: #111;
  --red: #ffde00;
  --red-dark: #ffde00;
  --gold: #ffde00;
  --ink: #000;
  --muted: #191919;
  --line: #000;
  --paper: #fff;
  --wash: #fff;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #f4c84b;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.utility-bar {
  color: #dce8f7;
  background: var(--navy-deep);
  font-size: .8125rem;
}

.utility-inner,
.brand-inner,
.nav-inner,
.footer-main,
.footer-bottom .container {
  display: flex;
  align-items: center;
}

.utility-inner { min-height: 38px; justify-content: space-between; }

.city-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: .025em;
  text-decoration: none;
}

.city-mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--navy-deep);
  background: #fff;
  border-radius: 50%;
  font-size: .6875rem;
  font-weight: 800;
}

.accessibility { display: flex; align-items: center; gap: 4px; }
.accessibility button {
  min-width: 34px;
  min-height: 30px;
  padding: 4px 8px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
}
.accessibility button:hover { color: #fff; border-color: #fff; }
.contrast-button { margin-left: 6px; }

.brand-inner { min-height: 104px; justify-content: space-between; gap: 32px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  text-decoration: none;
}
.brand-monogram {
  position: relative;
  display: flex;
  width: 58px;
  height: 58px;
  padding: 8px 7px;
  align-items: stretch;
  gap: 3px;
  background: var(--navy);
  border-radius: 2px;
}
.key { flex: 1; background: #fff; }
.key-b::before,
.key-c::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 8px;
  height: 25px;
  margin-left: -6px;
  background: var(--red);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  letter-spacing: -.025em;
}
.brand-copy span { margin-top: 6px; color: var(--red); font-size: .9375rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.school-label {
  display: grid;
  padding-left: 28px;
  margin-left: auto;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.5;
}
.school-label strong { color: var(--navy); font-size: .9375rem; }

.menu-toggle { display: none; }

.main-nav { background: var(--navy); border-bottom: 4px solid var(--red); }
.nav-inner { min-height: 54px; }
.main-nav a {
  position: relative;
  display: grid;
  min-height: 54px;
  padding: 0 24px;
  place-items: center;
  color: #fff;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:first-child { padding-left: 0; padding-right: 32px; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,19,42,.95) 0%, rgba(3,23,52,.79) 42%, rgba(3,22,48,.2) 75%), linear-gradient(0deg, rgba(2,16,36,.76) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  padding: 92px 0 180px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #fff; }
.eyebrow::before,
.section-kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero-lead { max-width: 720px; margin: 28px 0 0; color: #eef4fc; font-size: 1.1875rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(5,28,61,.24); }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.hero-facts {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(5,34,73,.92);
  backdrop-filter: blur(8px);
}
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid div { display: grid; min-height: 110px; align-content: center; padding: 18px 34px; border-right: 1px solid rgba(255,255,255,.18); }
.facts-grid div:first-child { border-left: 4px solid var(--red); }
.facts-grid strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; }
.facts-grid span { color: #cbd8e8; font-size: .8125rem; }

.section { padding: 96px 0; }
.section h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.intro-copy p { margin: 0 0 20px; color: #3d4857; font-size: 1.0625rem; }
blockquote {
  margin: 36px 0 0;
  padding: 7px 0 7px 28px;
  color: var(--navy);
  border-left: 4px solid var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.45;
}

.history-section { background: var(--wash); }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.section-title-row > p { max-width: 480px; margin: 0; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid #cfd6e0; }
.timeline li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 36px 30px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 12px; height: 12px; background: var(--red); border: 4px solid var(--wash); box-shadow: 0 0 0 1px var(--red); border-radius: 50%; }
.timeline-number { color: #c2cad5; font-family: "Playfair Display", Georgia, serif; font-size: 2.25rem; line-height: 1; }
.timeline time { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.timeline h3 { margin: 5px 0 10px; color: var(--navy); font-size: 1.125rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .9375rem; }

.gallery-section { color: #fff; background: var(--navy-deep); }
.section-title-row.light h2 { color: #fff; }
.section-title-row.light > p { color: #bac9da; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.gallery-card { position: relative; min-height: 275px; margin: 0; overflow: hidden; background: #03152f; }
.gallery-card-wide { grid-row: span 2; min-height: 572px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(2,14,33,.88));
  color: #fff;
  font-size: .8125rem;
  line-height: 1.5;
}
.photo-credit { margin: 18px 0 0; color: #91a4bc; font-size: .75rem; }

.authority-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 26px; }
.authority-card { padding: 40px; background: var(--wash); border-top: 5px solid var(--navy); }
.authority-card.board-card { color: #fff; background: var(--navy); border-top-color: var(--red); }
.authority-card h3 { margin: 0 0 25px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.75rem; }
.authority-card.board-card h3 { color: #fff; }
.authority-card dl { margin: 0; }
.authority-card dl div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.authority-card.board-card dl div { border-color: rgba(255,255,255,.17); }
.authority-card dt { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.authority-card.board-card dt { color: #aebed1; }
.authority-card dd { margin: 0; font-weight: 700; }
.chronicler { display: grid; gap: 2px; padding-top: 24px; margin-top: 22px; border-top: 1px solid var(--line); }
.chronicler span { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.festival-section { background: #eef2f7; }
.festival-grid { display: grid; grid-template-columns: minmax(300px, .76fr) 1.24fr; gap: 78px; align-items: center; }
.poster-wrap { position: relative; max-width: 470px; padding: 16px; background: #fff; box-shadow: 0 22px 55px rgba(17,35,58,.18); transform: rotate(-1.2deg); }
.poster-wrap::after { content: ""; position: absolute; z-index: -1; inset: 14px -14px -14px 14px; background: var(--navy); }
.festival-lead { color: #374456; font-size: 1.125rem; }
.festival-content > p { max-width: 670px; }
.concert-list { padding: 0; margin: 36px 0 0; list-style: none; border-top: 1px solid #ccd4df; }
.concert-list li { display: grid; grid-template-columns: 132px 1fr; gap: 26px; padding: 20px 0; border-bottom: 1px solid #ccd4df; }
.concert-list time { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.concert-list time span { display: block; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1; }
.concert-list strong { color: var(--navy); font-size: 1.0625rem; }
.concert-list p { margin: 7px 0 0; color: var(--muted); font-size: .875rem; }

.contact-section { color: #fff; background: var(--red); }
.contact-section .section-kicker { color: #fff; }
.contact-section h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.contact-grid > div > p { max-width: 540px; }
.chair { display: grid; margin-top: 32px; }
.chair span { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chair strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; }
.contact-card { display: grid; gap: 14px; padding: 40px; color: var(--ink); background: #fff; font-style: normal; box-shadow: 0 20px 46px rgba(89,7,21,.22); }
.contact-card strong { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; line-height: 1.4; }
.contact-card a { width: fit-content; color: var(--navy); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-card .text-link { padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line); color: var(--red-dark); font-size: .875rem; }

.site-footer { color: #d2dceb; background: #03152f; }
.footer-main { min-height: 132px; justify-content: space-between; gap: 42px; }
.footer-brand { display: grid; line-height: 1.35; }
.footer-brand strong { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.125rem; }
.footer-brand span { color: #9fb0c6; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav { display: flex; gap: 26px; }
.site-footer nav a { color: #d2dceb; font-size: .8125rem; font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.to-top { padding: 10px 0 10px 16px; color: #fff; background: transparent; border: 0; border-left: 1px solid #526278; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.to-top span { margin-left: 7px; font-size: 1rem; }
.footer-bottom { border-top: 1px solid #263952; }
.footer-bottom .container { min-height: 56px; justify-content: space-between; gap: 24px; color: #8396ae; font-size: .6875rem; }

body.high-contrast .hero-shade { background: rgba(0,0,0,.78); }
body.high-contrast .button-primary { color: #000; }
body.high-contrast .contact-section { color: #000; background: #ffde00; }
body.high-contrast .contact-section h2,
body.high-contrast .contact-section .section-kicker { color: #000; }

@media (max-width: 900px) {
  .container { width: min(100% - 30px, 720px); }
  .school-label { display: none; }
  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    font-size: .8125rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { display: grid; padding: 10px 0; }
  .main-nav a, .main-nav a:first-child { min-height: 46px; padding: 0; justify-items: start; }
  .hero { min-height: 680px; }
  .hero-content { padding-bottom: 194px; }
  .facts-grid div { padding-inline: 18px; }
  .intro-grid, .festival-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .section-title-row { align-items: start; flex-direction: column; gap: 18px; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid #cfd6e0; }
  .timeline li { margin-left: 0; padding: 0 0 36px 30px; }
  .timeline li::before { top: 5px; left: -6px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card-wide { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .authority-grid { grid-template-columns: 1fr; }
  .poster-wrap { width: min(440px, calc(100% - 18px)); margin-inline: auto; }
  .footer-main { flex-wrap: wrap; padding-block: 34px; }
  .footer-main nav { order: 3; width: 100%; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 520px); }
  .utility-inner { min-height: 42px; }
  .city-link span:last-child { display: none; }
  .accessibility button { min-width: 32px; padding-inline: 6px; }
  .brand-inner { min-height: 86px; }
  .brand-monogram { width: 49px; height: 49px; }
  .brand-copy strong { font-size: 1.35rem; }
  .brand-copy span { font-size: .72rem; }
  .menu-toggle span:last-child { display: none; }
  .hero { min-height: 760px; }
  .hero > img { object-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,19,42,.96) 5%, rgba(3,23,52,.72) 80%, rgba(3,22,48,.25)); }
  .hero-content { padding: 72px 0 278px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .facts-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .facts-grid div { min-height: 72px; padding: 8px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .facts-grid div:first-child { border-left: 0; }
  .section { padding: 70px 0; }
  .intro-grid { gap: 34px; }
  .section-title-row { margin-bottom: 36px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-wide, .gallery-card { min-height: 310px; }
  .authority-card { padding: 28px 22px; }
  .authority-card dl div { grid-template-columns: 1fr; gap: 3px; }
  .festival-grid { gap: 64px; }
  .concert-list li { grid-template-columns: 96px 1fr; gap: 16px; }
  .contact-card { padding: 28px 22px; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .footer-bottom .container { align-items: start; flex-direction: column; padding: 16px 0; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Aktualności i podstrony */
.news-section { background: #fff; }
.text-arrow-link,
.read-more {
  color: var(--navy);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}
.text-arrow-link:hover,
.read-more:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(18, 42, 72, .08); }
.news-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); text-decoration: none; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-image img { transform: scale(1.025); }
.news-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255, 255, 255, .92); background: linear-gradient(135deg, var(--navy-deep), var(--navy)); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.news-card-content { display: flex; padding: 24px; flex: 1; flex-direction: column; }
.news-card time { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.news-card h3,
.news-card h2 { margin: 9px 0 12px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; line-height: 1.25; }
.news-card h3 a,
.news-card h2 a { text-decoration: none; }
.news-card h3 a:hover,
.news-card h2 a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.news-card p { margin: 0 0 18px; color: var(--muted); font-size: .9375rem; }
.news-card .read-more { margin-top: auto; }
.news-empty { display: grid; gap: 4px; padding: 30px; color: var(--muted); background: var(--wash); border-left: 5px solid var(--red); }
.news-empty strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.25rem; }

.subpage-main { min-height: 62vh; }
.subpage-hero { padding: 78px 0 70px; color: #fff; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); border-bottom: 5px solid var(--red); }
.subpage-hero .section-kicker { color: #fff; }
.subpage-hero h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.02; }
.subpage-hero p:last-child { max-width: 700px; margin: 20px 0 0; color: #d6e2f1; font-size: 1.125rem; }
.news-archive { background: var(--wash); }
.news-archive .news-card h2 { font-size: 1.45rem; }
.pagination { display: flex; margin-top: 44px; align-items: center; justify-content: center; gap: 24px; }
.pagination a { padding: 10px 14px; color: var(--navy); background: #fff; border: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.pagination span { color: var(--muted); font-size: .875rem; }

.article-header { padding: 68px 0 110px; color: #fff; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); border-bottom: 5px solid var(--red); }
.article-header-inner { max-width: 940px; }
.article-back { display: inline-block; margin-bottom: 34px; color: #d8e4f2; font-size: .875rem; font-weight: 700; text-decoration: none; }
.article-back:hover { color: #fff; text-decoration: underline; }
.article-header time { display: block; margin-bottom: 15px; color: #fff; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-header h1 { max-width: 980px; margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.05; letter-spacing: -.03em; }
.article-header p { max-width: 790px; margin: 24px 0 0; color: #dbe6f3; font-size: 1.125rem; }
.article-lead-image { position: relative; max-width: 1080px; margin-top: -66px; }
.article-lead-image img { width: 100%; max-height: 660px; object-fit: cover; box-shadow: 0 22px 60px rgba(6, 28, 59, .22); }
.article-body { max-width: 820px; padding-top: 64px; padding-bottom: 50px; color: #303b49; font-size: 1.0625rem; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2,
.article-body h3,
.article-body h4 { color: var(--navy); font-family: "Playfair Display", Georgia, serif; line-height: 1.2; }
.article-body h2 { margin: 2em 0 .65em; font-size: 2rem; }
.article-body h3 { margin: 1.75em 0 .6em; font-size: 1.55rem; }
.article-body h4 { margin: 1.5em 0 .5em; font-size: 1.25rem; }
.article-body a { color: var(--red-dark); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body blockquote { margin: 2em 0; }
.article-body li { margin: .45em 0; }
.article-gallery { padding-top: 38px; padding-bottom: 66px; border-top: 1px solid var(--line); }
.article-gallery h2 { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 2.2rem; }
.article-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-gallery figure { margin: 0; overflow: hidden; background: var(--wash); }
.article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-footer { display: flex; max-width: 820px; padding-top: 28px; padding-bottom: 70px; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.article-footer a { color: var(--navy); font-weight: 800; }
.not-found { max-width: 760px; padding-block: 50px; text-align: center; }
.not-found h1 { color: var(--navy); font-family: Georgia, serif; font-size: 2.5rem; }
.not-found .button { margin-top: 18px; }
.footer-bottom a { color: inherit; }

body.high-contrast .news-card,
body.high-contrast .pagination a { border: 2px solid #000; box-shadow: none; }
body.high-contrast .subpage-hero,
body.high-contrast .article-header { background: #000; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card-content { padding: 21px; }
  .subpage-hero { padding: 55px 0; }
  .article-header { padding: 48px 0 90px; }
  .article-lead-image { width: 100%; margin-top: -46px; }
  .article-lead-image img { min-height: 250px; }
  .article-body { padding-top: 46px; }
  .article-gallery-grid { grid-template-columns: 1fr; }
  .article-footer { align-items: flex-start; flex-direction: column; }
  .pagination { gap: 10px; }
  .pagination span { display: none; }
}
