:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5d6269;
  --line: #ddd8cf;
  --paper: #f7f4ee;
  --white: #fffdf8;
  --red: #df2f24;
  --blue: #0F71BA;
  --yellow: #f4c338;
  --green: #5e8f49;
  --charcoal: #202124;
  --shadow: 0 22px 60px rgba(23, 23, 23, 0.18);
  --mini-masters: #f27a2d;
  --m-chassis: #1777c8;
  --gt12: #7d3fd1;
  --lmp12: #d3262a;
  --touringcar: #16826a;
  --fronti: #4c6edb;
  --porsche-cup: #c99b2b;
  --clubrace: #202124;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section {
  scroll-margin-top: 126px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.topbar {
  align-items: center;
  background: var(--charcoal);
  color: rgba(255, 253, 248, 0.78);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 16px;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px clamp(18px, 4vw, 56px);
}

.topbar a {
  color: var(--yellow);
}

.topbar > span {
  min-width: 0;
}

.language-switcher {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
}

.language-switcher summary {
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  content: "";
  margin-left: 2px;
}

.language-menu {
  background: var(--charcoal);
  border: 1px solid rgba(255, 253, 248, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 4px;
  min-width: 92px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 45;
}

.language-link {
  align-items: center;
  border: 1px solid rgba(255, 253, 248, 0.2);
  color: var(--white);
  display: inline-flex;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  min-height: 28px;
  padding: 5px 8px;
  white-space: nowrap;
}

.language-link-active {
  border-color: var(--yellow);
  color: var(--yellow);
}

.language-link-disabled {
  color: rgba(255, 253, 248, 0.5);
}

.language-flag {
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-block;
  height: 12px;
  width: 18px;
}

.flag-nl {
  background: linear-gradient(to bottom, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 0 40%, #fff 40% 60%, transparent 60% 100%),
    linear-gradient(0deg, transparent 0 36%, #c8102e 36% 64%, transparent 64% 100%),
    #012169;
}

.flag-de {
  background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.header-main {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
}

.menu-toggle,
.menu-close,
.menu-backdrop {
  display: none;
}

.menu-toggle,
.menu-close {
  appearance: none;
  background: var(--charcoal);
  border: 1px solid rgba(21, 21, 21, 0.14);
  color: var(--white);
  cursor: pointer;
  height: 44px;
  padding: 0;
  width: 44px;
}

.menu-toggle {
  align-items: center;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  width: 20px;
}

.menu-close {
  align-items: center;
  justify-content: center;
  margin-left: auto;
  position: relative;
}

.menu-close span {
  background: currentColor;
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 22px;
}

.menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 230px;
}

.brand-logo {
  display: block;
  height: 48px;
  max-width: min(260px, 58vw);
  object-fit: contain;
  width: auto;
}

.brand-mark {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.nav > a,
.nav-main-link {
  color: #303236;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 10px 8px;
  white-space: nowrap;
}

.nav > a:hover,
.nav-main-link:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-main-link {
  display: inline-flex;
}

.subnav {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.14);
  display: grid;
  gap: 2px;
  min-width: 230px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 20;
}

.subnav a {
  color: #303236;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 10px;
  white-space: nowrap;
}

.subnav a:hover,
.subnav a:focus-visible {
  background: var(--paper);
  color: var(--blue);
  outline: 0;
}

.nav-dropdown:hover .subnav,
.nav-dropdown:focus-within .subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  min-height: calc(100svh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.05) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 44%);
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: clamp(80px, 12vw, 150px) clamp(20px, 5vw, 72px) 110px;
  position: relative;
  z-index: 1;
}

.img-75 {
  max-width: 75%;
}

.img-50 {
  max-width: 50%;
}

.img-33 {
  max-width: 33%;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 860px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-copy {
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.72);
  color: var(--white);
}

.button.light {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button.light:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button:hover {
  transform: translateY(-1px);
}

.status-band {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-band article {
  background: rgba(255, 255, 255, 0.04);
  min-height: 142px;
  padding: 26px clamp(18px, 3vw, 34px);
}

.status-band span {
  color: var(--yellow);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.status-band strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1;
  margin-bottom: 10px;
}

.status-band p {
  color: rgba(255, 253, 248, 0.72);
  margin: 0;
}

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(76px, 11vw, 132px) clamp(20px, 5vw, 72px);
}

.page-hero > div {
  max-width: 850px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  margin-bottom: 18px;
}

.class-page-hero {
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.94), rgba(32, 33, 36, 0.78)),
    url("assets/img/IMG_0687-1024x576.jpg") center / cover;
}

.youth-hero {
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.94), rgba(32, 33, 36, 0.62)),
    url("assets/img/jeugdlessen-rijden.jpg") center / cover;
}

.circuit-hero {
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.95), rgba(32, 33, 36, 0.58)),
    url("assets/img/IMG_0687-1024x576.jpg") center / cover;
}

.tariffs-hero {
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.94), rgba(32, 33, 36, 0.62)),
    url("assets/img/IMG_0687-1024x576.jpg") center / cover;
}

.rules-hero {
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.95), rgba(32, 33, 36, 0.56)),
    url("assets/img/circuit-overzicht-2022.jpeg") center / cover;
}

.anchor-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 106px;
  z-index: 8;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-section,
.classes-section,
.event-section,
.partners-section {
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.calendar-section {
  background: var(--white);
}

.next-section {
  background: var(--paper);
}

.next-section .calendar-card {
  max-width: 980px;
}

.calendar-section .section-heading,
.classes-section .section-heading,
.event-section .section-heading,
.partners-section .section-heading {
  margin-bottom: 42px;
}

.calendar-section .section-heading p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 760px;
}

.calendar-note {
  background: var(--paper);
  border-left: 6px solid var(--yellow);
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 980px;
  padding: 18px 20px;
}

.calendar-list {
  display: grid;
  gap: 14px;
}

.calendar-card {
  --event-color: var(--clubrace);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 9px solid var(--event-color);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(142px, 0.25fr) minmax(0, 1fr);
  padding: clamp(20px, 3vw, 30px);
}

.calendar-card[data-primary="mini-masters"] {
  --event-color: var(--mini-masters);
}

.calendar-card[data-primary="m-chassis"] {
  --event-color: var(--m-chassis);
}

.calendar-card[data-primary="gt12"] {
  --event-color: var(--gt12);
}

.calendar-card[data-primary="lmp12"] {
  --event-color: var(--lmp12);
}

.calendar-card[data-primary="touringcar"] {
  --event-color: var(--touringcar);
}

.calendar-date span {
  color: var(--event-color);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.calendar-date strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.calendar-body h3 {
  margin-bottom: 8px;
}

.calendar-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.class-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.class-pill {
  --class-color: var(--clubrace);
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--class-color), transparent 62%);
  color: var(--class-color);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  min-height: 30px;
  padding: 7px 10px;
}

.class-pill[data-class="mini-masters"],
.class-card[data-class="mini-masters"] {
  --class-color: var(--mini-masters);
}

.class-pill[data-class="m-chassis"],
.class-card[data-class="m-chassis"] {
  --class-color: var(--m-chassis);
}

.class-pill[data-class="gt12"],
.class-card[data-class="gt12"] {
  --class-color: var(--gt12);
}

.class-pill[data-class="lmp12"],
.class-card[data-class="lmp12"] {
  --class-color: var(--lmp12);
}

.class-pill[data-class="touringcar"],
.class-card[data-class="touringcar"] {
  --class-color: var(--touringcar);
}

.class-pill[data-class="fronti"],
.class-card[data-class="fronti"] {
  --class-color: var(--fronti);
}

.class-pill[data-class="porsche-cup"],
.class-card[data-class="porsche-cup"] {
  --class-color: var(--porsche-cup);
}

.class-pill:hover {
  background: var(--class-color);
  color: var(--white);
}

.classes-section {
  background: var(--paper);
}

.class-grid,
.event-grid,
.partner-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.class-card,
.event-grid article,
.event-teaser,
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
}

.class-card {
  border-top: 7px solid var(--class-color);
  scroll-margin-top: 128px;
}

.class-grid .class-card {
  display: block;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.class-grid .class-card:hover,
.class-grid .class-card:focus-visible {
  border-color: color-mix(in srgb, var(--class-color), var(--line) 45%);
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.class-card h3,
.event-grid h3,
.partner-card h3 {
  margin-top: 16px;
}

.class-card p,
.event-grid p,
.partner-card p {
  color: var(--muted);
  margin: 0;
}

.event-teaser {
  border-top: 7px solid var(--charcoal);
  display: block;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.event-teaser:hover,
.event-teaser:focus-visible {
  border-color: var(--yellow);
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.events-page {
  display: grid;
  gap: 34px;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.events-page .section-heading p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 820px;
}

.event-detail-list {
  display: grid;
  gap: 24px;
}

.event-detail-card {
  --event-color: var(--clubrace);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 9px solid var(--event-color);
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  padding: clamp(20px, 4vw, 38px);
  scroll-margin-top: 138px;
}

.event-detail-card[data-primary="mini-masters"] {
  --event-color: var(--mini-masters);
}

.event-detail-card[data-primary="m-chassis"] {
  --event-color: var(--m-chassis);
}

.event-detail-card[data-primary="gt12"] {
  --event-color: var(--gt12);
}

.event-detail-card[data-primary="lmp12"] {
  --event-color: var(--lmp12);
}

.event-detail-card[data-primary="touringcar"] {
  --event-color: var(--touringcar);
}

.event-detail-media {
  margin: 0;
}

.event-detail-media img {
  background: #fff;
  border: 1px solid var(--line);
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.event-type {
  color: var(--event-color);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.event-detail-copy h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 14px;
  max-width: 880px;
}

.event-lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
  max-width: 820px;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.event-info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  margin: 28px 0;
}

.event-info-grid section,
.event-detail-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}

.event-rule-box {
  background: var(--charcoal);
  color: var(--white);
  margin: 28px 0 18px;
  padding: clamp(22px, 4vw, 30px);
}

.event-rule-box > span {
  color: var(--yellow);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.event-rule-box > p {
  color: rgba(255, 253, 248, 0.75);
  margin: 0 0 20px;
  max-width: 820px;
}

.event-rule-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-rule-grid div {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.event-rule-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.event-rule-grid .plain-list li {
  color: rgba(255, 253, 248, 0.78);
}

.event-rule-box .event-link-list a {
  border-color: rgba(244, 195, 56, 0.5);
  color: var(--yellow);
}

.event-rule-box .event-link-list a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.event-info-grid h3,
.event-detail-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.event-info-grid p,
.event-detail-block p {
  color: var(--muted);
  margin: 0 0 12px;
}

.event-detail-block {
  margin-top: 14px;
}

.event-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.event-link-list a {
  border: 1px solid color-mix(in srgb, var(--event-color), transparent 55%);
  color: var(--event-color);
  font-size: 0.82rem;
  font-weight: 900;
  min-height: 34px;
  padding: 8px 10px;
}

.event-link-list a:hover {
  background: var(--event-color);
  color: var(--white);
}

.class-overview-actions {
  margin-top: 28px;
}

.class-detail-section {
  display: grid;
  gap: 28px;
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 72px);
}

.class-detail {
  --class-color: var(--clubrace);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--class-color);
  display: grid;
  gap: clamp(24px, 5vw, 54px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(22px, 4vw, 42px);
  scroll-margin-top: 178px;
}

.class-detail[data-class="mini-masters"],
.class-single[data-class="mini-masters"] {
  --class-color: var(--mini-masters);
}

.class-detail[data-class="m-chassis"],
.class-single[data-class="m-chassis"] {
  --class-color: var(--m-chassis);
}

.class-detail[data-class="gt12"],
.class-single[data-class="gt12"] {
  --class-color: var(--gt12);
}

.class-detail[data-class="lmp12"],
.class-single[data-class="lmp12"] {
  --class-color: var(--lmp12);
}

.class-detail[data-class="touringcar"],
.class-single[data-class="touringcar"] {
  --class-color: var(--touringcar);
}

.class-detail[data-class="fronti"],
.class-single[data-class="fronti"] {
  --class-color: var(--fronti);
}

.class-detail[data-class="porsche-cup"],
.class-single[data-class="porsche-cup"] {
  --class-color: var(--porsche-cup);
}

.class-media,
.class-media-stack,
.class-media-grid {
  display: grid;
  gap: 12px;
}

.class-media figure {
  margin: 0;
}

.class-media img,
.inline-photo img {
  background: #fff;
  border: 1px solid var(--line);
  display: block;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  width: 100%;
}

.class-media figcaption {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 8px;
}

.class-media-stack img:first-child {
  max-height: 150px;
  padding: 20px;
}

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

.class-media-grid > img:first-child,
.class-media-grid > figure:first-child {
  grid-column: 1 / -1;
}

.class-detail-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 16px 0 20px;
}

.class-detail-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.class-detail-actions {
  margin-top: 26px;
}

.class-single {
  --class-color: var(--clubrace);
  background: var(--paper);
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(68px, 10vw, 118px);
}

.breadcrumb-nav {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 10px;
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: var(--blue);
}

.breadcrumb-nav span::before {
  color: var(--muted);
  content: "/";
  margin-right: 10px;
}

.class-single-layout {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--class-color);
  display: grid;
  gap: clamp(24px, 5vw, 54px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(22px, 4vw, 42px);
}

.class-single-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 16px 0 20px;
}

.class-single-copy > p,
.class-info-block p {
  color: var(--muted);
  font-size: 1.08rem;
}

.class-info-block {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}

.class-info-block h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.class-info-groups {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.class-info-groups > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--class-color);
  padding: 18px;
}

.class-info-groups h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.class-info-groups .plain-list {
  margin-bottom: 0;
}

.class-link-list a,
.rule-link-list a {
  --event-color: var(--blue);
}

.fact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.fact-grid div {
  background: var(--paper);
  border-left: 4px solid var(--class-color);
  display: grid;
  gap: 6px;
  padding: 18px;
}

.fact-grid strong {
  font-size: 0.85rem;
  text-transform: uppercase;
}

.fact-grid span {
  color: var(--muted);
}

.plain-list {
  color: var(--muted);
  margin: 0 0 26px;
  padding-left: 20px;
}

.plain-list li + li {
  margin-top: 8px;
}

.inline-photo {
  margin: 0;
}

.youth-intro,
.youth-section {
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.youth-intro {
  background: var(--white);
}

.youth-intro .section-heading {
  margin-bottom: 36px;
}

.youth-intro .section-heading p:last-child,
.youth-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.youth-intro .section-heading .youth-highlight {
  background: var(--yellow);
  border-left: 6px solid var(--blue);
  color: var(--ink);
  display: inline-block;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-top: 8px;
  max-width: 820px;
  padding: 16px 18px;
}

.youth-photo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.4fr 1fr 0.75fr;
}

.youth-photo-grid img {
  background: var(--paper);
  border: 1px solid var(--line);
  display: block;
  height: 360px;
  object-fit: cover;
  width: 100%;
}

.youth-photo-grid img:nth-child(3) {
  object-fit: contain;
  padding: 18px;
}

.youth-section {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.youth-section-alt {
  background: var(--white);
}

.youth-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.youth-info-card {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 1px;
}

.youth-info-card > strong {
  color: var(--yellow);
  font-size: 0.78rem;
  padding: 22px 24px 10px;
  text-transform: uppercase;
}

.youth-info-card div {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px 24px;
}

.youth-info-card span {
  color: var(--yellow);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.youth-info-card p {
  color: rgba(255, 253, 248, 0.82);
  margin: 0;
}

.tariffs-section {
  background: var(--white);
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.tariffs-section-alt {
  background: var(--paper);
}

.tariffs-section .section-heading p:last-child,
.tariffs-copy p,
.tariffs-cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.tariff-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.tariff-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  min-height: 220px;
  padding: clamp(22px, 4vw, 32px);
}

.tariff-card span,
.consumption-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tariff-card strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  margin-bottom: 16px;
}

.tariff-card p {
  color: var(--muted);
  margin: 0;
}

.primary-tariff {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.primary-tariff span,
.primary-tariff p {
  color: rgba(255, 253, 248, 0.76);
}

.tariffs-layout,
.tariffs-cta {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.tariffs-copy h2,
.tariffs-cta h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 20px;
}

.tariffs-image {
  margin: 0;
}

.tariffs-image img {
  background: var(--white);
  border: 1px solid var(--line);
  display: block;
  padding: clamp(16px, 4vw, 32px);
  width: 100%;
}

.payment-art img {
  padding: 0;
}

.consumption-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.consumption-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.consumption-grid strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.tariffs-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(56px, 9vw, 92px) clamp(20px, 5vw, 72px);
}

.tariffs-cta p {
  color: rgba(255, 253, 248, 0.74);
}

.news-hero {
  background-image: linear-gradient(90deg, rgba(12, 12, 12, 0.84), rgba(12, 12, 12, 0.28)), url("assets/img/circuit-overzicht-2022.jpeg");
}

.news-page {
  background: var(--paper);
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.news-list {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.news-entry {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  padding: clamp(16px, 3vw, 30px);
}

.news-entry-media {
  align-self: stretch;
  margin: 0;
  min-height: 240px;
}

.news-entry-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-entry-copy {
  align-self: center;
}

.news-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.news-meta span {
  background: var(--yellow);
  color: var(--charcoal);
  padding: 6px 10px;
}

.news-entry h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.04;
  margin-bottom: 14px;
}

.news-entry p {
  color: var(--muted);
}

.news-summary {
  color: var(--charcoal) !important;
  font-size: 1.12rem;
  font-weight: 800;
}

.news-points {
  color: var(--muted);
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.rules-status {
  border-bottom: 0;
}

.rules-status article {
  min-height: 150px;
}

.rules-status strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.rules-page {
  background: var(--paper);
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.rules-page-alt {
  background: var(--white);
}

.rules-page .section-heading p:last-child {
  color: var(--muted);
}

.rules-list {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.rule-block {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  padding: clamp(16px, 3vw, 30px);
}

.rules-page-alt .rule-block,
.rules-class-card {
  background: var(--paper);
}

.rule-media {
  margin: 0;
  min-height: 260px;
}

.rule-media img,
.rules-class-card figure img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rule-copy {
  align-self: center;
}

.rule-copy > span {
  color: var(--blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rule-copy h3,
.rules-class-card h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.04;
  margin-bottom: 14px;
}

.rule-copy p,
.rules-class-card dd,
.rules-component-card p {
  color: var(--muted);
}

.rule-note {
  background: rgba(246, 201, 14, 0.2);
  border-left: 4px solid var(--yellow);
  color: var(--charcoal) !important;
  font-weight: 800;
  margin: 18px 0 0;
  padding: 14px 16px;
}

.rules-class-grid {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.rules-class-card {
  border: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  padding: clamp(16px, 3vw, 30px);
}

.rules-class-card figure {
  margin: 0;
  min-height: 280px;
}

.component-list {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
}

.component-list div {
  background: var(--white);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(130px, 0.25fr) minmax(0, 1fr);
  padding: 16px;
}

.component-list dt {
  color: var(--charcoal);
  font-weight: 900;
}

.component-list dd {
  margin: 0;
}

.rules-component-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.rules-component-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
}

.rules-component-card img {
  background: var(--paper);
  display: block;
  height: 190px;
  object-fit: contain;
  padding: 14px;
  width: 100%;
}

.rules-component-card h3 {
  font-size: 1.35rem;
  margin-top: 18px;
}

.section {
  display: grid;
  gap: clamp(28px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  padding: clamp(68px, 11vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-copy p:last-child,
.location p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 72px) clamp(68px, 10vw, 118px);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 300px;
  padding: clamp(24px, 4vw, 36px);
}

.feature-card.dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.feature-card.accent {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.feature-card p {
  color: inherit;
  margin: 0;
  opacity: 0.75;
}

.section-heading {
  max-width: 760px;
}

.facilities {
  background: var(--white);
  display: block;
}

.facility-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.facility-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  padding: 26px 0;
}

.facility-list strong {
  font-size: 1.05rem;
}

.facility-list span {
  color: var(--muted);
  padding-right: clamp(18px, 4vw, 48px);
}

.facility-detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.facility-detail-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  padding: 20px;
}

.facility-detail-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.facility-detail-grid p {
  color: var(--muted);
  margin: 0;
}

.section-actions {
  margin-top: 28px;
}

.circuit-section {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  padding: clamp(68px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.circuit-section-alt {
  background: var(--paper);
}

.circuit-copy {
  max-width: 760px;
}

.circuit-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 22px;
}

.circuit-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.circuit-media,
.caption-card {
  margin: 0;
}

.circuit-media img,
.caption-card img {
  background: var(--paper);
  border: 1px solid var(--line);
  display: block;
  height: auto;
  width: 100%;
}

.circuit-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.circuit-media-contain img {
  background: var(--white);
  object-fit: contain;
  padding: clamp(16px, 4vw, 38px);
}

.circuit-media figcaption,
.caption-card figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}

.circuit-fact-strip {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.circuit-fact-strip article {
  background: rgba(255, 255, 255, 0.05);
  min-height: 180px;
  padding: clamp(22px, 4vw, 34px);
}

.circuit-fact-strip span,
.measure-card span {
  color: var(--yellow);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.circuit-fact-strip strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 12px;
}

.circuit-fact-strip p {
  color: rgba(255, 253, 248, 0.74);
  margin: 0;
}

.measure-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.measure-card {
  background: var(--charcoal);
  color: var(--white);
  padding: 24px;
}

.measure-card strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  margin-bottom: 10px;
}

.measure-card p {
  color: rgba(255, 253, 248, 0.76);
  margin: 0;
}

.circuit-before-after,
.circuit-gallery {
  display: grid;
  gap: 16px;
}

.circuit-before-after {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.circuit-before-after .caption-card img {
  aspect-ratio: 16 / 10;
}

.visit-panel {
  align-items: start;
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 6vw, 82px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  padding: clamp(68px, 10vw, 112px) clamp(20px, 5vw, 72px);
}

.event-section {
  background: var(--white);
}

.partners-section {
  background: var(--paper);
}

.partner-card {
  display: grid;
  gap: 14px;
}

.partner-card img,
.partner-wordmark {
  background: #fff;
  border: 1px solid var(--line);
  display: block;
  height: 140px;
  object-fit: contain;
  padding: 16px;
  width: 100%;
}

.partner-wordmark {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 1.6rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  align-items: start;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 22px;
}

.steps span {
  align-items: center;
  background: var(--yellow);
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.steps p {
  color: rgba(255, 253, 248, 0.72);
  margin: 0;
}

.steps strong {
  color: var(--white);
}

.location {
  align-items: center;
}

.location p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-left: auto;
  max-width: 430px;
  padding: clamp(26px, 4vw, 38px);
}

.location-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.location-card p {
  margin-bottom: 24px;
}

.location-card .button {
  width: 100%;
}

.footer {
  align-items: start;
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  color: rgba(255, 253, 248, 0.7);
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(260px, 1.15fr) minmax(210px, 0.75fr) minmax(300px, 0.9fr);
  padding: 34px clamp(20px, 5vw, 72px);
}

.footer p {
  margin: 0;
}

.footer-brand,
.footer-address,
.footer-quick {
  display: grid;
  gap: 10px;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

.social-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  align-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  min-height: 42px;
  padding: 10px 14px;
}

.social-link img {
  display: block;
  height: 20px;
  width: 20px;
}

.social-link-facebook {
  background: #1877f2;
}

.social-link-instagram {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
}

.social-link-youtube {
  background: #ff0033;
}

.social-link-disabled {
  opacity: 0.58;
}

.footer-quick-list {
  display: grid;
  gap: 8px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-quick-list a {
  line-height: 1.2;
}

.footer strong {
  color: var(--white);
}

.footer-logo {
  background: var(--white);
  display: block;
  height: 40px;
  object-fit: contain;
  padding: 5px;
  width: 180px;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.38);
  color: #0c2f18;
  display: inline-flex;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 56px;
  padding: 10px 16px 10px 10px;
  position: fixed;
  right: 18px;
  z-index: 30;
}

.whatsapp-float img {
  border-radius: 50%;
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.whatsapp-float:hover {
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.48);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .header-main {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-close {
    display: inline-flex;
  }

  .menu-backdrop {
    background: rgba(0, 0, 0, 0.46);
    display: block;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 39;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    align-content: start;
    background: var(--white);
    box-shadow: -22px 0 54px rgba(23, 23, 23, 0.2);
    display: grid;
    gap: 0;
    grid-auto-rows: max-content;
    height: 100dvh;
    justify-content: stretch;
    max-width: min(390px, 86vw);
    overflow-y: auto;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 200ms ease;
    width: 100%;
    z-index: 40;
  }

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

  .nav > a,
  .nav-main-link {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    min-height: 48px;
    padding: 13px 4px;
    width: 100%;
  }

  .nav-dropdown {
    border-bottom: 1px solid var(--line);
    display: grid;
    padding: 0 0 10px;
  }

  .subnav {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 2px;
    margin: 0;
    min-width: 0;
    opacity: 1;
    padding: 0 0 0 14px;
    pointer-events: auto;
    position: static;
    transform: none;
    transition: none;
  }

  .subnav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 8px 4px;
    white-space: normal;
  }

  .brand-logo {
    height: 42px;
  }

  .hero {
    min-height: 760px;
  }

  .status-band,
  .circuit-fact-strip,
  .feature-grid,
  .section,
  .circuit-section,
  .visit-panel,
  .calendar-card,
  .class-detail,
  .class-single-layout,
  .youth-section,
  .youth-photo-grid,
  .tariff-grid,
  .tariffs-layout,
  .tariffs-cta,
  .news-entry,
  .rule-block,
  .rules-class-card,
  .rules-component-grid,
  .event-detail-card,
  .event-info-grid,
  .event-rule-grid,
  .class-grid,
  .event-grid,
  .partner-grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .facility-list {
    grid-template-columns: 1fr;
  }

  .component-list div {
    grid-template-columns: 1fr;
  }

  .circuit-before-after,
  .circuit-gallery,
  .facility-detail-grid,
  .consumption-grid {
    grid-template-columns: 1fr;
  }

  .anchor-section {
    top: 0;
  }

  .location-card {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 36px;
    max-width: 68vw;
  }

  .hero {
    min-height: 720px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.78) 100%);
  }

  .hero-content {
    padding-top: 54px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .status-band {
    grid-template-columns: 1fr;
  }

  .facility-list div {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
  }

  .topbar > span {
    flex: 1 1 auto;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .anchor-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .class-media-grid,
  .fact-grid,
  .measure-grid {
    grid-template-columns: 1fr;
  }

  .youth-photo-grid img {
    height: 260px;
  }

  .whatsapp-float {
    bottom: 12px;
    min-height: 52px;
    padding-right: 12px;
    right: 12px;
  }

  .whatsapp-float span {
    display: none;
  }
}
