:root {
  --color-bg: #e6ece8;
  --color-paper: #ffffff;
  --color-text: #251f47;
  --color-muted: #5d6270;
  --color-teal: #005867;
  --color-accent: #a91900;
  --color-line: rgba(37, 31, 71, 0.18);
  --shell: 80em;
  --wrap: min(71.25em, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--color-accent);
}

.site-shell {
  width: min(var(--shell), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--color-paper);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10;
  background: var(--color-paper);
  padding: 8px 12px;
}

.skip-link:focus {
  left: 8px;
}

.back-to-top {
  position: fixed;
  right: max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem));
  bottom: 1.35rem;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 0;
  border-radius: 0.35rem;
  background: rgba(109, 123, 126, 0.78);
  color: white;
  box-shadow: 0 0.2rem 0.45rem rgba(37, 31, 71, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.55rem);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  background: rgba(37, 31, 71, 0.82);
}

.back-to-top svg {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  background: var(--color-paper);
}

.header-logo-row {
  min-height: 15.5em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 1.5rem 2rem;
}

.brand {
  color: var(--color-text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: min(25em, 42vw);
  height: auto;
}

.secondary-logo {
  display: block;
  width: 10.5em;
  max-width: 28vw;
  height: auto;
}

.desktop-menu {
  background: var(--color-paper);
}

.mobile-header,
.mobile-drawer {
  display: none;
}

.menu-wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.top-menu-block {
  display: inline-block;
  width: auto;
  background-color: var(--color-teal);
  color: white;
  padding: 0 2.5rem;
}

.top-navigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.top-static-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

.top-static-menu .menu-item {
  margin-right: 1.25rem;
}

.top-static-menu .menu-item:last-child {
  margin-right: 0;
}

.top-static-menu .menu-item a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.top-static-menu .menu-item:not(.social-icon) a:hover {
  text-decoration: underline;
  text-decoration-color: white;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.top-static-menu .social-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.95rem;
  gap: 0.12rem;
  width: auto;
  height: 1.15rem;
  line-height: 1;
}

.top-static-menu .social-icon svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.top-static-menu .social-icon .external-arrow {
  margin-top: -0.42rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.main-menu-block {
  background: var(--color-accent);
  margin-top: -0.35rem;
  position: relative;
  z-index: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-accent);
}

.main-nav {
  min-height: 3rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: inherit;
  padding: 0 1rem;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a {
  font-size: 1.05rem;
  padding-right: 2.05rem;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #6f1400;
}

h1,
h2,
h3 {
  line-height: 1.18;
  color: var(--color-accent);
}

.hero {
  padding: 4.5rem 0 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-title-block {
  display: inline-block;
  margin-top: 1.25rem;
  color: white;
}

.hero-title-block .page-title-ribbon {
  margin-bottom: 0;
}

.page-title-ribbon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 2.2rem;
}

.page-title-ribbon h1,
.home-program-content .page-title-ribbon h1 {
  display: inline-block;
  margin: 0;
  padding: 0.45rem 1.45rem 0.55rem;
  background: var(--color-accent);
  color: white;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 800;
}

.page-title-ribbon p,
.home-program-content .page-title-ribbon p {
  display: inline-block;
  max-width: calc(100vw - 4rem);
  margin: -0.75rem 0 0 1.25rem;
  padding: 0.55rem 1.45rem 0.65rem;
  background: var(--color-teal);
  color: white;
  font-size: 1.15rem;
  line-height: 1.25;
}

.page-section {
  padding: 3.5rem 0;
}

.intro-cards-section {
  background: var(--color-paper);
}

.home-info-blocks {
  display: grid;
  gap: 3rem;
}

.home-info-block {
  display: grid;
  grid-template-columns: minmax(16rem, 33.5rem) 1fr;
  gap: 1.6rem;
  align-items: start;
}

.home-info-block img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-info-block h2 {
  margin: 0 0 1.2rem;
  color: var(--color-accent);
  font-size: 2rem;
}

.home-info-block p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-parallax-window {
  min-height: clamp(8rem, 22vw, 12rem);
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.more-button {
  display: inline-block;
  margin-top: 0.4rem;
  background: var(--color-accent);
  color: white;
  border-radius: 3px;
  padding: 0.65rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.centered-action {
  text-align: center;
}

.home-program-content .centered-action {
  margin-top: 1.1rem;
}

.content-header .centered-action {
  margin-top: 1.5rem;
}

.home-program {
  padding: 1rem 2.6rem 3.2rem;
}

.home-program-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 33.5rem);
  gap: 3.6rem;
  align-items: start;
}

.home-program-content {
  max-width: 100%;
}

.home-program-content p {
  margin: 0 0 1.55rem;
}

.home-program-content strong {
  font-weight: 800;
}

.home-program-content h2 {
  margin: 1.8rem 0 1.35rem;
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
}

.home-program-content h1 {
  margin: 0 0 1.5rem;
  color: var(--color-accent);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
}

.home-program-content h3 {
  margin: 0 0 2rem;
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
}

.home-program-media {
  margin: 0 0 1.8rem;
}

.home-program-media img {
  display: block;
  width: 100%;
  max-width: 33.5rem;
  height: auto;
}

.home-program-full {
  margin-top: 2rem;
}

.home-program-stacked .home-program-media img {
  max-width: 37.5rem;
}

.home-program-cta {
  margin-top: 0.4rem;
}

.section-list {
  margin-top: 2.8rem;
}

.content,
.content-header {
  max-width: 760px;
}

.legal-content {
  max-width: 58rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--color-line);
  padding: 0.7rem 0.85rem;
  vertical-align: top;
  text-align: left;
}

.legal-content th {
  color: var(--color-accent);
  font-weight: 800;
}

.info-point-page {
  max-width: 58rem;
  margin: 0 auto;
  padding: 0.5rem 1rem 3.2rem;
}

.info-point-intro {
  max-width: 46rem;
}

.info-point-intro > h1 {
  margin: 0 0 1.35rem;
  color: var(--color-accent);
  font-size: 2rem;
  line-height: 1.15;
}

.info-point-subtitle {
  margin: 0 0 1.35rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.info-point-services ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
}

.info-point-services li {
  margin-bottom: 0.2rem;
}

.info-point-website {
  margin: 1.25rem 0 0;
}

.info-point-card {
  width: min(42rem, 100%);
  margin: 3.2rem auto 0;
  padding: 2.2rem 2rem;
  border: 1px solid var(--color-line);
  border-top: 0.32rem solid var(--color-accent);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(37, 31, 71, 0.08);
  text-align: center;
}

.info-point-icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
  font-family: Georgia, serif;
}

.info-point-card h2 {
  margin: 0 0 1.2rem;
  color: var(--color-text);
  font-size: 1.2rem;
}

.info-point-card p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.info-point-card p:last-child {
  margin-bottom: 0;
}

.home-notice-section {
  padding: 2.4rem 0 0;
}

.notice-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 1.7rem 2rem;
  border: 1px solid var(--color-line);
  border-top: 0.32rem solid var(--color-accent);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(37, 31, 71, 0.08);
}

.notice-box-icon {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
  font-family: Georgia, serif;
}

.notice-box h2 {
  margin: 0 0 0.65rem;
  color: var(--color-text);
  font-size: 1.15rem;
}

.notice-box p {
  margin: 0 0 0.8rem;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

.home-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 36rem);
  column-gap: 3rem;
  row-gap: 2.2rem;
  align-items: start;
}

.home-detail > .page-title-ribbon {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-detail-text {
  font-size: 1rem;
}

.home-detail-text strong {
  color: var(--color-text);
}

.carousel {
  width: 100%;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(37, 31, 71, 0.72);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-control.prev {
  left: 0.6rem;
}

.carousel-control.next {
  right: 0.6rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.carousel-dots button {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 999px;
  background: #8b8b8b;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: #202020;
}

.prose img {
  max-width: 100%;
  height: auto;
}

.teaser-layout {
  display: grid;
  gap: 3rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-heading h2 {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.list-item {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 1.4rem;
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.card-image,
.detail-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.button-link {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 0.65rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}

/* Statusmeldungen ueber dem Formular.
   Das Form-Plugin rendert <div class="notices success green"> bzw.
   <div class="notices error red">. Das Theme brachte dafuer bisher keine
   Regeln mit, die Meldung erschien deshalb als unformatierter Fliesstext. */
.notices {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid;
  border-left-width: 5px;
  border-radius: 4px;
  font-weight: 700;
}

.notices p {
  margin: 0;
}

.notices a {
  color: inherit;
}

.notices.green {
  background: #e7f4ec;
  border-color: #1b6b3a;
  color: #14512c;
}

.notices.red {
  background: #fdeceb;
  border-color: #b3261e;
  color: #8c1d18;
}

.notices.yellow {
  background: #fdf6e3;
  border-color: #a06800;
  color: #6d4700;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

/* Checkbox-Felder (z. B. Datenschutz-Einwilligung).
   Ohne diese Regeln erbt die Checkbox width:100% aus der Regel darueber,
   belegt die ganze Zeile und drueckt die Beschriftung darunter. Zwei Spalten:
   Kaestchen links, Text rechts. */
.form-field [data-grav-field="checkbox"] .form-input-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.6rem;
  align-items: start;
}

.form-field [data-grav-field="checkbox"] input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  /* Richtet das Kaestchen optisch an der ersten Textzeile aus. */
  margin-top: 0.28rem;
  padding: 0;
  border-radius: 3px;
  accent-color: var(--color-accent);
}

.form-field [data-grav-field="checkbox"] label {
  font-weight: 400;
  margin: 0;
}

.buttons button,
.button {
  background: var(--color-accent);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  font: inherit;
  cursor: pointer;
}

.list-stack {
  display: grid;
  gap: 1rem;
}

.list-item {
  display: grid;
  grid-template-columns: 8.75rem 1fr;
  gap: 1.5rem;
}

.list-item time,
.meta {
  color: var(--color-accent);
  font-weight: 700;
}

.save-date-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: center;
  margin-top: 5rem;
}

.save-date-stamp {
  display: grid;
  place-items: center;
  justify-self: center;
  width: clamp(12rem, 24vw, 18rem);
  aspect-ratio: 1;
  border: 0.7rem solid rgba(169, 25, 0, 0.84);
  border-radius: 50%;
  color: rgba(169, 25, 0, 0.84);
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.78;
  text-align: center;
  text-transform: none;
  transform: rotate(-9deg);
}

.save-date-stamp span {
  transform: rotate(-3deg);
}

.save-date-stamp-image {
  justify-self: center;
  width: min(32rem, 100%);
  margin: 0;
}

.save-date-stamp-image img {
  display: block;
  width: 100%;
  height: auto;
}

.save-date-groups {
  display: grid;
  gap: 1.9rem;
}

.save-date-group h2 {
  margin: 0 0 1.25rem;
  color: var(--color-accent);
  font-size: 1.8rem;
  font-weight: 400;
}

.save-date-entry {
  margin-bottom: 1.55rem;
}

.save-date-entry-date {
  margin: 0 0 0.25rem;
  color: var(--color-muted);
  font-weight: 800;
}

.save-date-entry-text p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.save-date-empty {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.save-date-empty p {
  margin: 0;
}

.preview-list {
  display: grid;
  gap: 2.6rem;
}

.preview-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.preview-item.image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.preview-item.image-right .preview-image {
  order: 2;
}

.preview-item.image-right .preview-content {
  order: 1;
}

.preview-image img {
  display: block;
  width: 100%;
  height: auto;
}

.preview-status,
.preview-meta {
  margin: 0 0 0.25rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 800;
}

.event-date-line {
  display: inline-block;
  margin-bottom: 0.15rem;
}

.preview-content h2 {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-size: 1.15rem;
  line-height: 1.2;
}

.preview-content h2 a {
  color: inherit;
  text-decoration: none;
}

.preview-content h2 a:hover,
.preview-content h2 a:focus {
  text-decoration: underline;
}

.preview-content p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.preview-facts {
  margin: 0 0 1rem;
}

.preview-facts p {
  margin-bottom: 0.25rem;
}

.preview-facts strong {
  color: var(--color-text);
}

.preview-summary h1,
.preview-summary h2,
.preview-summary h3 {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.preview-more {
  text-align: center;
}

.load-more-action {
  margin: 2.5rem 0 0;
  text-align: center;
}

.empty-state {
  margin: 0;
  color: var(--color-muted);
}

.global-about {
  padding: 4rem 0 2.5rem;
  background: var(--color-paper);
}

.global-about-embedded {
  border-top: 1px solid rgba(37, 31, 71, 0.08);
}

.global-about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 33.75rem);
  gap: 3.4rem;
  align-items: start;
  margin-top: 2.4rem;
}

.global-about-row-north {
  margin-top: 4.2rem;
}

.global-about-text {
  max-width: none;
}

.global-about-text h2 {
  margin: 0 0 1.3rem;
  color: var(--color-accent);
  font-size: 1.3rem;
}

.global-about-text p {
  margin: 0 0 1.35rem;
}

.global-about-media {
  margin: 0;
}

.global-about-media img {
  display: block;
  width: 100%;
  height: auto;
}

.global-map-section {
  padding: 1.5rem 0 3.2rem;
  background: var(--color-paper);
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6rem;
  margin-bottom: 2.8rem;
}

.footer-info-column h2 {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 400;
}

.footer-info-text p {
  margin: 0 0 0.55rem;
}

.footer-info-text h2 {
  margin: 0.1rem 0 0.35rem;
  color: var(--color-accent);
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 800;
}

.footer-info-text hr {
  width: 6.2rem;
  margin: 0.75rem auto 0.65rem;
  border: 0;
  border-top: 1px solid rgba(37, 31, 71, 0.26);
}

.footer-info-text p + h2,
.footer-info-text h2 + p {
  margin-top: 0.45rem;
}

.footer-info-text em {
  display: block;
  margin: 0.35rem 0 0.45rem;
}

.footer-info-text p + p {
  border-top: 1px solid rgba(37, 31, 71, 0.2);
  padding-top: 0.55rem;
}

.footer-info-column:first-child .footer-info-text p + p,
.footer-info-column:nth-child(2) .footer-info-text p + p {
  border-top: 0;
  padding-top: 0;
}

.global-map-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.global-map-intro h2 {
  margin: 0 0 0.35rem;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.global-map-intro p {
  margin: 0;
}

.map-consent {
  min-height: 31rem;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(45deg, #dce9ed 0, #dce9ed 14px, #eef4f1 14px, #eef4f1 28px);
}

.map-consent iframe {
  display: block;
  width: 100%;
}

.map-consent-placeholder {
  min-height: 31rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.map-consent-placeholder p {
  max-width: 34rem;
  margin: 0;
  font-weight: 700;
}

.site-legal-footer {
  padding: 2.8rem 0 3.2rem;
  background: var(--color-paper);
  text-align: center;
}

.legal-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.legal-menu a {
  padding: 0.65rem 0 0.45rem;
  border-top: 1px solid rgba(37, 31, 71, 0.22);
  border-bottom: 1px solid rgba(37, 31, 71, 0.22);
  color: var(--color-text);
  text-decoration: none;
}

.legal-menu a:hover,
.legal-menu a:focus {
  color: var(--color-accent);
  text-decoration: none;
}

.esf-text {
  max-width: 44rem;
  margin: 0 auto 2rem;
  font-size: 0.9rem;
}

.esf-banner {
  margin: 0 auto 3.2rem;
}

.esf-banner img {
  display: block;
  width: min(45.75rem, 100%);
  height: auto;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer {
  background: var(--color-text);
  color: white;
  padding: 2.5rem 0;
}

.site-footer h2 {
  color: white;
  margin-top: 0;
  font-size: 1.2rem;
}

.site-footer a {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  font-size: 0.92rem;
}

.footer-bottom a {
  margin-right: 1rem;
}

@media (max-width: 780px) {
  .site-shell {
    width: 100%;
  }

  .site-header {
    display: none;
  }

  .mobile-header {
    display: grid;
    grid-template-columns: 3.25rem 1fr 3.25rem;
    align-items: center;
    min-height: 2.75rem;
    background: var(--color-accent);
    color: white;
  }

  .mobile-header a {
    grid-column: 2;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1.05rem;
  }

  .menu-toggle {
    grid-column: 1;
    width: 3.25rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 160ms ease;
  }

  .mobile-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(13.5rem, 82vw);
    background: white;
    padding: 3rem 0 1rem;
    transform: translateX(-100%);
    transition: transform 160ms ease;
  }

  .mobile-panel a {
    display: block;
    padding: 0.48rem 1rem;
    color: var(--color-text);
    text-decoration: none;
  }

  .menu-close {
    position: absolute;
    top: 0.35rem;
    right: 0.55rem;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-drawer {
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open .mobile-backdrop {
    opacity: 1;
  }

  body.menu-open .mobile-panel {
    transform: translateX(0);
  }

  .hero {
    padding-top: 2rem;
  }

  .home-notice-section {
    padding: 1.2rem 0 0;
  }

  .notice-box {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1.45rem 1.2rem;
    text-align: center;
  }

  .page-title-ribbon {
    width: 100%;
    margin-bottom: 1.8rem;
  }

  .page-title-ribbon h1,
  .home-program-content .page-title-ribbon h1 {
    font-size: 1.55rem;
    padding: 0.4rem 1rem 0.5rem;
  }

  .page-title-ribbon p,
  .home-program-content .page-title-ribbon p {
    max-width: 100%;
    margin: -0.35rem 0 0 0.8rem;
    padding: 0.5rem 1rem 0.6rem;
    font-size: 1rem;
    white-space: normal;
  }

  .list-item {
    display: block;
  }

  .home-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-program {
    padding: 0.5rem 1.2rem 2.2rem;
  }

  .home-program-intro {
    display: block;
  }

  .home-info-blocks {
    gap: 3.2rem;
  }

  .home-program-media img,
  .home-program-stacked .home-program-media img {
    max-width: 100%;
  }

  .save-date-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .save-date-stamp {
    width: min(13rem, 70vw);
  }

  .save-date-stamp-image {
    width: min(18rem, 82vw);
  }

  .home-parallax-window {
    min-height: 13rem;
    background-attachment: scroll;
  }

  .global-about {
    padding: 2.4rem 0 1.6rem;
  }

  .global-about-row {
    display: block;
    margin-top: 1.8rem;
  }

  .global-about-row-north {
    margin-top: 2.4rem;
  }

  .global-about-media {
    margin-top: 1.4rem;
  }

  .global-map-intro {
    display: block;
  }

  .global-map-intro .more-button {
    margin-top: 1rem;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .map-consent,
  .map-consent-placeholder {
    min-height: 22rem;
  }

  .preview-item,
  .preview-item.image-right {
    display: block;
  }

  .preview-image {
    display: block;
    margin-bottom: 1rem;
  }

  .card-grid,
  .card-grid.wide,
  .home-info-block,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
