:root {
  --blue: #0b3558;
  --text: #121212;
  --muted: #6b7a73;
  --page: #fff;
  --max: 1120px;
  --space: clamp(1.25rem, 3vw, 3rem);
  --radius: 999px;
  --theme-color: #0b3558;
  --nav-underline: #f9c910;
  --content-edge: var(--space);
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-size: clamp(1rem, .6vw + .9rem, 1.125rem);
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--theme-color);
}
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-wrap,
.hero-inner,
.section,
.breadcrumb-wrapper,
.footer-inner {
  width: calc(100% - (2 * var(--content-edge)));
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Header, navigation, hero */
.site-header {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--theme-color) 80%, #fff 20%));
}
.hero-home.site-header,
.hero-topic.site-header { background: transparent; }
.nav-wrap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.brand {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark,
.mobile-menu-brand,
.menu-close { display: none !important; }
.brand-title { font-size: 1.2rem;line-height: 1.12; white-space: nowrap; }
.menu-toggle { display: none; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  display: inline-block;
  padding: .62rem .68rem;
  border-radius: 0;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--nav-underline);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s ease, opacity .16s ease;
}
.main-nav a:not([aria-current="page"]):hover::after,
.main-nav a:not([aria-current="page"]):focus-visible::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] {
  background: #fff;
  color: var(--blue);
}
.main-nav a[aria-current="page"]::after,
.main-nav a[aria-current="page"]:hover::after,
.main-nav a[aria-current="page"]:focus-visible::after {
  opacity: 0;
  transform: scaleX(0);
}

.hero {
  min-height: 13rem;
  display: grid;
  place-items: end start;
  padding: 7.5rem 0 2.2rem;
}
.hero--home,
.hero--topic {
  min-height: clamp(34rem, 68vw, 44rem);
  place-items: center;
  background-image:
    linear-gradient(180deg, rgba(11,53,88,.96) 0%, rgba(11,53,88,.68) 18%, rgba(11,53,88,.16) 54%, rgba(11,53,88,.22) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero--topic {
  min-height: 22rem;
  padding-top: 8.25rem;
  background-image:
    linear-gradient(180deg, rgba(11,53,88,.9) 0%, color-mix(in srgb, var(--theme-color) 75%, transparent) 100%),
    var(--hero-image);
}
.hero--small {
  min-height: 13rem;
  padding-top: 8.25rem;
  background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--theme-color) 80%, #fff 20%));
}
.hero-inner { text-align: left; }
.hero--home {
  place-items: center;
}
.hero--home .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: none;
}
.hero--home h1 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-transform: uppercase;
}
.hero--small h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero--topic h1 { max-width: none; }
.hero p {
  max-width: 760px;
  margin: .8rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
}
.hero--home p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Base sections and typography */
.intro-section { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 0; }
.page-section { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }

.lead,
.intro-section .lead {
  max-width: 850px;
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  color: var(--theme-color);
  font-size: clamp(1.55rem, 3.3vw, 2.2rem);
  line-height: 1.16;
}
.page-text > h1,
.content-from-db > h1:first-child { display: none !important; }
.page-text p, .page-text blockquote,
.article > p { max-width: 880px; font-size: 1.25rem; }
.content-from-db:not(.has-page-intro) > p:first-child {
  max-width: 850px;
  margin-top: 0;
  color: var(--theme-color);
  font-size: clamp(1.55rem, 3.3vw, 2.2rem);
  line-height: 1.16;
}
.content-from-db.has-page-intro { margin-top: 0; }
.content-from-db.has-page-intro > p:first-child {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.45;
}
.content-from-db h2,
.section-heading {
  margin: clamp(2rem, 4vw, 3rem) 0 .85rem;
  color: var(--theme-color);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}
.section-heading { margin-top: 0; margin-bottom: 1.5rem; }
.content-from-db h2:first-child { margin-top: 0; }
.content-from-db h3 {
  margin: clamp(1.6rem, 3vw, 2.25rem) 0 .65rem;
  color: var(--theme-color);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.content-from-db h4 {
  margin: 1.25rem 0 .4rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.25;
  font-weight: 700;
}
.content-from-db a,
.contact-card a {
  color: inherit;
  text-decoration-color: rgba(249, 201, 16, .9);
  text-decoration-thickness: .16em;
  text-underline-offset: .18em;
}
.content-from-db a:hover,
.contact-card a:hover { color: var(--theme-color); text-decoration-color: var(--theme-color); }
.content-from-db blockquote {
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  padding-left: 1.25rem;
  border-left: .25rem solid var(--nav-underline);
  font-weight: 600;
}
.content-from-db blockquote p { margin: 0; }

/* Buttons and link grids */
.button,
.link-grid a,
.subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  border: 2px solid currentColor;
  border-radius: .35rem;
  color: var(--theme-color);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 1rem;
  padding: .7rem 1rem;
  background: #fff;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(249, 201, 16);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}
.button:hover::before,
.button:focus-visible::before { transform: scaleX(1); }
.button:hover,
.button:focus-visible {
  color: #0b3558;
  background-color: transparent;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 28%, transparent);
  transform: translateY(-1px);
}
.button--ghost {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.button--ghost::before { background: var(--card-color, var(--theme-color)); }
.button--ghost:hover,
.button--ghost:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,.32);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.link-grid a,
.subnav a { padding: 1rem; }
.link-grid a:hover,
.link-grid a:focus-visible,
.subnav a:hover,
.subnav a:focus-visible {
  background: color-mix(in srgb, #fff 86%, var(--theme-color) 14%);
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 28%, transparent);
  transform: translateY(-1px);
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.page-text .subnav { margin-top: 1.4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-subnav { margin-top: 2rem; margin-bottom: 0; }
.subnav a[aria-current="page"] { background: var(--theme-color); color: #fff; }

/* Topic cards */
.cards--topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.cards--related-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topic-cards--related { padding-top: 0; }
.topic-cards--related > h2 { margin-bottom: 1.5rem; }
.topic-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  justify-items: start;
  gap: 1rem;
  min-height: 21rem;
  padding: clamp(2rem, 4.2vw, 3.35rem) clamp(2rem, 4vw, 3.15rem);
  background: var(--card-color);
  color: #fff;
  text-decoration: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.topic-card:hover,
.topic-card:focus-visible {
  z-index: 2;
  transform: scale(1.025);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  filter: brightness(1.04);
}
.topic-card:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.topic-card-icon {
  display: block;
  width: clamp(4.25rem, 5.8vw, 5.25rem);
  height: clamp(4.25rem, 5.8vw, 5.25rem);
  object-fit: contain;
  flex: 0 0 auto;
  color: #fff;
}
.topic-card h3 {
  min-height: calc(2 * clamp(1.85rem, 3.35vw, 2.75rem) * .98);
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-size: clamp(1.85rem, 3.35vw, 2.75rem);
  line-height: .98;
  font-weight: 800;
}
.topic-card p {
  max-width: 18rem;
  margin: 0;
  align-self: start;
}
.topic-card .button { align-self: end; margin-top: 0; pointer-events: none; }
.topic-card:hover .button--ghost,
.topic-card:focus-visible .button--ghost {
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,.32);
  transform: translateY(-1px);
}

/* Activity pages */
.activity-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-block: 2.2rem;
}
.activity-preview.is-reverse .activity-copy { order: 2; }
.activity-preview h2
 {
  margin: 0 0 1rem;
  color: var(--theme-color);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
}

.article h1 {
  margin: 0 0 1rem;
  color: var(--theme-color);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}
.blob-image {
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-radius: 58% 42% 61% 39% / 44% 58% 42% 56%;
  margin: 0 0 1.5rem;
}

.activity-overview-list { display: grid; gap: 1.15rem; }
.activity-overview-item { border-top: 1px solid color-mix(in srgb, var(--theme-color) 40%, #fff); }
.activity-overview-link {
  display: grid;
  grid-template-columns: minmax(8rem, 15rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: 1.15rem 0;
  color: inherit;
  text-decoration: none;
}
.activity-overview-link:focus-visible { outline: 3px solid var(--theme-color); outline-offset: 6px; box-shadow: none; }
.activity-overview-image {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 54% 46% 58% 42% / 44% 58% 42% 56%;
  transition: transform .18s ease;
}
.activity-overview-link:hover .activity-overview-image,
.activity-overview-link:focus-visible .activity-overview-image { transform: scale(1.018); }
.activity-overview-theme {
  margin: 0 0 .3rem;
  color: var(--theme-color);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}
.activity-overview h3 {
  display: flex;
  align-items: center;
  gap: .58rem;
  margin: 0 0 .4rem;
  color: var(--theme-color);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.05;
}
.activity-overview-link:hover h3,
.activity-overview-link:focus-visible h3 { color: color-mix(in srgb, var(--theme-color) 82%, #000 18%); }
.activity-overview-copy > p:last-child { max-width: 48rem; margin: .35rem 0 0; }
.activity-title-icon {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 1.35em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.activity-title-icon--kultur { -webkit-mask-image: url('/assets/img/icon-kultur.svg'); mask-image: url('/assets/img/icon-kultur.svg'); }
.activity-title-icon--bildung { -webkit-mask-image: url('/assets/img/icon-bildung.svg'); mask-image: url('/assets/img/icon-bildung.svg'); }
.activity-title-icon--zusammen { -webkit-mask-image: url('/assets/img/icon-zusammen.svg'); mask-image: url('/assets/img/icon-zusammen.svg'); }
.activity-title-icon--blue { display: none; }
.article-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.article-lead { color: var(--theme-color); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.18; }

/* Chronology */
.chronology--compact { padding-top: clamp(1.5rem, 3vw, 2.4rem); }
.chronology-list { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--blue) 18%, #fff); }
.chronology article { padding: 1.5rem 0; }
.chronology-item {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-color) 28%, #fff);
}
.chronology-date,
.chronology time {
  color: var(--theme-color);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  padding-top: 0rem;
}
.chronology-theme {
  margin: 0 0 .18rem;
  color: var(--theme-color);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.chronology-copy h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.08; }
.chronology-copy h2 a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--theme-color);
  text-decoration: none;
}
.chronology-copy h2 a:hover,
.chronology-copy h2 a:focus-visible { text-decoration: underline; text-underline-offset: .18em; }
.chronology-copy p:last-child { max-width: 46rem; margin: .35rem 0 0; font-size: 1rem; }

/* Breadcrumb */
.breadcrumb-wrapper {
  position: relative;
  padding-top: clamp(.9rem, 1.7vw, 1.2rem);
  border: 0;
}
.breadcrumb {
  margin: 0;
  padding: 0;
  color: var(--theme-color);
  font-size: .95rem;
  line-height: 1.35;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
}
.breadcrumb li + li::before {
  content: "›";
  color: color-mix(in srgb, var(--theme-color) 46%, #fff);
  font-size: 1.25em;
  line-height: 1;
  font-weight: 500;
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  opacity: .78;
  font-weight: 700;
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: .18em; }
.breadcrumb [aria-current="page"] { color: inherit; opacity: .55; font-weight: 700; }
.breadcrumb-home { width: 1rem; height: 1rem; flex: 0 0 auto; }

/* Forms and content modules */
.contact-form { display: grid; gap: 1rem; max-width: 720px; }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; }
.contact-form input,
.contact-form textarea { font: inherit; border: 1px solid #bbb; padding: .8rem; border-radius: .2rem; }
.month-block { margin-top: clamp(2.25rem, 5vw, 4rem); }
.month-block:first-child { margin-top: 0; }
.month-block h2 { margin-bottom: .9rem; }
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(11,53,88,.14);
}
.event-list li {
  display: grid;
  grid-template-columns: minmax(7.5rem, max-content) 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(11,53,88,.14);
}
.event-list strong { color: var(--theme-color); font-weight: 700; white-space: nowrap; }
.principles-list { display: grid; gap: 1.1rem; max-width: 880px; }
.principles-list p,
.principles-list p:first-child { margin: 0; padding: 0; border: 0; }
.content-section { max-width: 880px; }
.content-section p { margin-top: 0; }
.content-list { margin: 1.2rem 0 0; padding-left: 1.2rem; max-width: 880px; }
.content-list li { margin: .35rem 0; font-size: inherit; }
.content-from-db .content-list,
.content-from-db .content-list li { font-size: 1.25rem; }
.image-feature { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.image-feature img,
.content-from-db .image-feature img { width: 100%; height: auto; object-fit: cover; }
.image-feature figcaption { margin-top: .75rem; color: #5e6c73; font-size: .95rem; }
.content-from-db .image-feature,
.content-from-db .people-grid,
.contact-card { max-width: 52rem; }
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 52rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.person-card,
.contact-card,
.notice-box--advent {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 .9rem 2rem rgba(0,0,0,.08);
}
.person-card { min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); }
.person-card:first-child { grid-column: span 2; background: #0b3558; color: #fff; }
.person-card h2,
.person-name {
  margin: 0 0 .45rem;
  color: var(--theme-color);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.person-card:first-child h2,
.person-card:first-child .person-role,
.person-card:first-child .person-meta { color: #fff; }
.person-role { margin: 0; font-weight: 700; font-size: 1rem; }
.person-meta { margin-top: .55rem; color: #5e6c73; font-size: 1rem; }
.contact-card {
  max-width: 42rem;
  margin-top: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255,255,255,.72);
}
.contact-card h2 {
  margin: 0 0 .35rem;
  color: var(--theme-color);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
}
.contact-role { margin: 0 0 1.5rem; font-weight: 600; }
.contact-card address { font-style: normal; }
.contact-card address p { margin: 0 0 1rem; }
.contact-card address p:last-child { margin-bottom: 0; }
.notice-box {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: .35rem solid var(--theme-color);
  background: rgba(11,53,88,.06);
}
.notice-box h2 {
  margin: 0 0 .6rem;
  color: var(--theme-color);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
}
.notice-box p { margin: 0; }
.notice-kicker {
  margin-bottom: .45rem !important;
  color: var(--theme-color);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.notice-box--advent {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, rgba(249,201,16,.9), rgba(249,201,16,.5));
  color: #0b3558;
}
.notice-box--advent::before {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.notice-box--advent h2,
.notice-box--advent .notice-kicker { color: #0b3558; }
.notice-box--advent .notice-kicker { margin: 0 0 .25rem !important; font-size: .78rem; line-height: 1.1; }
.notice-box--advent h2 { margin: 0 0 .65rem; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.04; }
.notice-box--advent p { position: relative; z-index: 1; }
.notice-box--advent p:last-child { max-width: 42rem; }

/* Footer */
.site-footer { padding: 3rem 0; color: #102b40; }
.footer-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: .95rem;
  line-height: 1.35;
}
.footer-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid color-mix(in srgb, var(--theme-color) 24%, #fff);
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a,
.instagram-link {
  color: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  white-space: nowrap;
  transition: color .18s ease;
}
.instagram-link { display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a:hover,
.footer-links a:focus-visible,
.instagram-link:hover,
.instagram-link:focus-visible { color: var(--theme-color); text-decoration: underline; }
.social { display: flex; list-style: none; margin: 0; padding: 0; gap: .65rem; }
.social a { text-decoration: none; font-weight: 900; }

/* Scroll progress */
.scroll-progress {
  --progress-height: 4px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: var(--progress-height);
  pointer-events: none;
  background: color-mix(in srgb, var(--theme-color) 20%, transparent);
  opacity: var(--scroll-progress-visible, 0);
  transform: translateY(calc(-1 * var(--progress-height)));
  transition: opacity .2s ease, transform .2s ease;
}
html[style*="--scroll-progress-visible: 1"] .scroll-progress { transform: translateY(0); }
.scroll-progress::before {
  content: "";
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: var(--theme-color);
}

/* Responsive */
@media (max-width: 1120px) {
  body.menu-open { overflow: hidden; }
  .site-header .nav-wrap {
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .site-header .brand { min-width: 0; }
  .site-header .brand-logo { width: 3.15rem; height: 3.15rem; }
  .site-header .brand-title { font-size: .95rem; line-height: 1.12; white-space: normal; }
  .site-header .menu-toggle {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 80;
    flex: 0 0 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
  }
  .site-header .menu-toggle .menu-bar {
    position: absolute;
    display: block;
    width: 1.85rem;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transform-origin: center;
    transition: transform .18s ease, opacity .18s ease;
  }
  .site-header .menu-toggle .menu-bar-1 { transform: translateY(-.38rem); }
  .site-header .menu-toggle .menu-bar-2 { transform: translateY(0); }
  .site-header .menu-toggle .menu-bar-3 { transform: translateY(.38rem); }
  .site-header .menu-toggle.is-open .menu-bar-1 { transform: rotate(45deg); }
  .site-header .menu-toggle.is-open .menu-bar-2 { opacity: 0; }
  .site-header .menu-toggle.is-open .menu-bar-3 { transform: rotate(-45deg); }
  .site-header .main-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    overflow: hidden;
    padding: 7rem var(--content-edge) 2rem;
    background: var(--blue);
    transform: none;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .site-header .main-nav:not(.is-open) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
  }
  .site-header .main-nav:not(.is-open) ul { display: none; }
  .site-header .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: none;
  }
  .site-header .main-nav.is-open::before {
    content: "";
    position: absolute;
    right: -24vw;
    bottom: -18vw;
    display: block;
    width: min(90vw, 34rem);
    aspect-ratio: 1;
    background: url('/assets/img/lions-logo-white.png') center / contain no-repeat;
    opacity: .075;
    pointer-events: none;
  }
  .site-header .main-nav.is-open ul {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .46rem;
    max-width: calc(100% - 3.9rem);
    margin: 0 0 0 calc(3.15rem + .75rem);
    padding: 0;
    list-style: none;
    text-align: left;
  }
  .site-header .main-nav a {
    width: auto;
    margin-left: -.7rem;
    padding: .46rem .7rem;
    border-radius: 0;
    font-size: clamp(1.22rem, 5.5vw, 1.65rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: .005em;
    text-decoration: none;
    white-space: nowrap;
  }
  .site-header .main-nav a::after { bottom: .1rem; height: 4px; }
  .site-header .main-nav a[aria-current="page"] {
    margin-left: -.82rem;
    padding: .5rem .82rem;
    background: #fff;
    color: var(--blue);
    text-decoration: none;
  }
  .hero--small,
  .hero--topic {
    min-height: auto;
    padding-top: clamp(7rem, 18vw, 11rem);
    padding-bottom: clamp(2.75rem, 7vw, 4.75rem);
  }
  .hero--small h1,
  .hero--topic h1 {
    font-size: clamp(2.9rem, 7.2vw, 5.4rem);
    line-height: .98;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .cards--topics,
  .activity-preview,
  .article-head,
  .link-grid { grid-template-columns: 1fr; }
  .activity-preview.is-reverse .activity-copy { order: 0; }
}

@media (max-width: 760px) {
  .cards--related-topics { grid-template-columns: 1fr; }
  .activity-overview-link { grid-template-columns: 1fr; gap: .85rem; }
  .activity-overview-image { max-width: 20rem; }
  .activity-overview h3 { align-items: flex-start; }
  .activity-title-icon { margin-top: -.08em; }
  .hero--topic { padding-top: clamp(6.75rem, 24vw, 8.75rem); padding-bottom: clamp(2.4rem, 10vw, 3.6rem); }
  .hero--topic h1 { font-size: clamp(2.45rem, 9vw, 3.9rem); }
}

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; align-items: center; justify-content: center; gap: .85rem; width: 100%; }
  .instagram-link { margin-inline: auto; }
  .breadcrumb-wrapper { overflow: hidden; }
  .breadcrumb-wrapper::after {
    content: "";
    position: absolute;
    top: clamp(.9rem, 1.7vw, 1.2rem);
    right: 0;
    bottom: 0;
    width: 2.75rem;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #fff 82%);
  }
  .breadcrumb { padding-right: 2.2rem; font-size: .95rem; }
  .content-from-db .people-grid { grid-template-columns: 1fr; max-width: 100%; gap: 1rem; }
  .content-from-db .person-card:first-child { grid-column: auto; }
  .content-from-db .image-feature { max-width: 100%; }
}

@media (max-width: 640px) {
  .event-list li { display: block; }
  .event-list strong { display: block; margin-bottom: .25rem; }
  .topic-card {
    min-height: 15.5rem;
    padding-right: clamp(1.4rem, 5vw, 2.5rem);
  }
  .topic-card h3 { min-height: auto; }
  .topic-card-icon {
    position: absolute;
    top: 50%;
    right: clamp(1rem, 5vw, 2rem);
    z-index: -1;
    width: clamp(7.5rem, 33vw, 12rem);
    height: clamp(7.5rem, 33vw, 12rem);
    opacity: .16;
    transform: translateY(-50%);
  }
}

@media (max-width: 520px) {
  .site-header .brand-title { max-width: 9.5rem; }
  .site-header .main-nav.is-open ul { margin-left: calc(3.15rem + .75rem); max-width: calc(100% - 3.9rem); }
  .hero--small h1,
  .hero--topic h1 { font-size: clamp(2.05rem, 8.6vw, 2.8rem); }
}

@media (max-width: 380px) {
  .hero--small h1,
  .hero--topic h1 { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .topic-card:hover,
  .topic-card:focus-visible { transform: none; }
}
