/* Onderwijsroute-slider en leeftijdsgerichte onderwijsbeleving.
   Volledig gescopeerd: menu, hero, video en merkcomponenten blijven ongemoeid. */

.education-stage-slider {
  --stage-accent: #0b4b82;
  --stage-accent-strong: #072e5f;
  --stage-tint: #eaf6fb;
  position: relative;
  width: min(calc(100% - 2rem), 1240px);
  margin: clamp(1.1rem, 2.4vw, 2rem) auto clamp(2.4rem, 5vw, 4.5rem);
  padding: clamp(1rem, 2.5vw, 1.55rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--stage-accent) 18%, #dce9f1);
  border-radius: clamp(1.25rem, 2.4vw, 2rem);
  background:
    radial-gradient(circle at 92% -20%, color-mix(in srgb, var(--stage-accent) 15%, transparent) 0 22%, transparent 23%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--stage-tint) 48%, #fff));
  box-shadow: 0 22px 55px rgba(7, 46, 95, 0.11);
}

body[data-school-stage="overview"] .education-stage-slider {
  --stage-accent: #0b4b82;
  --stage-accent-strong: #072e5f;
  --stage-tint: #eaf6fb;
}

body[data-school-stage="po"] .education-stage-slider {
  --stage-accent: #087f8c;
  --stage-accent-strong: #075e68;
  --stage-tint: #e6f8f3;
}

body[data-school-stage="vo"] .education-stage-slider {
  --stage-accent: #405bc7;
  --stage-accent-strong: #263b91;
  --stage-tint: #edf0ff;
}

body[data-school-stage="mbo"] .education-stage-slider {
  --stage-accent: #c95322;
  --stage-accent-strong: #8b3517;
  --stage-tint: #fff1e9;
}

body[data-school-stage="updater"] .education-stage-slider {
  --stage-accent: #7a3f88;
  --stage-accent-strong: #53275f;
  --stage-tint: #f8edf8;
}

.education-stage-slider__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.education-stage-slider__copy {
  max-width: 48rem;
}

.education-stage-slider h2 {
  margin: 0;
  color: #082f61;
  font-size: clamp(1.35rem, 1.08rem + 1.15vw, 2.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.education-stage-slider__intro {
  margin: 0.55rem 0 0;
  color: #486279;
  font-size: clamp(0.9rem, 0.86rem + 0.16vw, 1rem);
  line-height: 1.55;
}

.education-stage-slider__controls {
  display: none;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.education-stage-slider.is-enhanced .education-stage-slider__controls {
  display: flex;
}

.education-stage-slider__button {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--stage-accent) 28%, #c9d8e5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--stage-accent-strong);
  box-shadow: 0 8px 18px rgba(7, 46, 95, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.education-stage-slider__button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--stage-accent);
  background: #fff;
}

.education-stage-slider__button:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.education-stage-slider__button:focus-visible,
.education-stage-slider__track:focus-visible,
.education-stage-slider__link:focus-visible {
  outline: 3px solid #f6aa24;
  outline-offset: 3px;
}

.education-stage-slider.is-enhanced.is-static .education-stage-slider__controls {
  display: none;
}

.education-stage-slider__nav {
  min-width: 0;
}

.education-stage-slider__track {
  display: grid;
  grid-auto-columns: clamp(15.5rem, 78vw, 20rem);
  grid-auto-flow: column;
  gap: 0.8rem;
  margin: 0;
  padding: 0.25rem 0.2rem 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: color-mix(in srgb, var(--stage-accent) 65%, #fff) transparent;
  scrollbar-width: thin;
  list-style: none;
}

.education-stage-slider__track::-webkit-scrollbar {
  height: 0.48rem;
}

.education-stage-slider__track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--stage-accent) 60%, #fff);
}

.education-stage-slider__item {
  min-width: 0;
  scroll-snap-align: start;
}

.education-stage-slider__link {
  --route-color: #0b4b82;
  --route-ink: #082f61;
  position: relative;
  display: flex;
  min-height: 12.25rem;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--route-color) 22%, #d8e4ec);
  border-radius: 1.15rem;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--route-color) 9%, #fff), #fff 62%);
  color: #314d63;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(7, 46, 95, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.education-stage-slider__link::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  background: var(--route-color);
  content: "";
}

.education-stage-slider__link:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--route-color) 58%, #fff);
  box-shadow: 0 18px 34px rgba(7, 46, 95, 0.13);
}

.education-stage-slider__link[aria-current="page"] {
  border-color: var(--route-color);
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px color-mix(in srgb, var(--route-color) 72%, #fff), 0 18px 34px rgba(7, 46, 95, 0.14);
}

.education-stage-slider__link--po {
  --route-color: #087f8c;
  --route-ink: #075e68;
}

.education-stage-slider__link--vo {
  --route-color: #5466d8;
  --route-ink: #303f9c;
}

.education-stage-slider__link--mbo {
  --route-color: #df6727;
  --route-ink: #8b3517;
}

.education-stage-slider__link--updater {
  --route-color: #8b4a99;
  --route-ink: #54265e;
}

.education-stage-slider__label {
  display: inline-flex;
  min-height: 1.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--route-color) 12%, #fff);
  color: var(--route-ink);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.education-stage-slider__link strong {
  color: var(--route-ink);
  font-size: clamp(1.05rem, 1rem + 0.28vw, 1.26rem);
  line-height: 1.16;
}

.education-stage-slider__description {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.48;
}

.education-stage-slider__action {
  margin-top: auto;
  color: var(--route-ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--route-color) 45%, transparent);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.23em;
}

.education-stage-slider__current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: var(--route-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.education-stage-slider__current::before {
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--route-color);
  box-shadow: 0 0 0 1px var(--route-color);
  content: "";
}

.education-stage-slider__assistive {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Leeftijdsgerichte, aanvullende uitleg; bestaande inhoud blijft intact. */
.stage-experience {
  --experience-accent: #087f8c;
  --experience-ink: #075e68;
  --experience-soft: #e9f8f4;
  position: relative;
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
  padding: clamp(1.25rem, 3.4vw, 2.6rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--experience-accent) 18%, #d9e8ee);
  border-radius: 1.8rem;
  background: linear-gradient(142deg, color-mix(in srgb, var(--experience-soft) 78%, #fff), #fff 68%);
}

.stage-experience::after {
  position: absolute;
  z-index: 0;
  top: -4.5rem;
  right: -3.5rem;
  width: 12rem;
  height: 12rem;
  border: 1.2rem solid color-mix(in srgb, var(--experience-accent) 10%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.stage-experience__intro,
.stage-experience__grid {
  position: relative;
  z-index: 1;
}

.stage-experience__intro {
  max-width: 52rem;
}

.stage-experience h2 {
  margin: 0;
  color: #082f61;
  font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.7rem);
  line-height: 1.08;
  text-wrap: balance;
}

.stage-experience__lead {
  max-width: 48rem;
  margin: 0.75rem 0 0;
  color: #405e74;
  font-size: clamp(0.96rem, 0.91rem + 0.2vw, 1.08rem);
  line-height: 1.65;
}

.stage-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.15rem);
  margin-top: clamp(1.15rem, 2.5vw, 1.8rem);
}

.stage-experience__card {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid color-mix(in srgb, var(--experience-accent) 18%, #d9e4ea);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(7, 46, 95, 0.07);
}

.stage-experience__number {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 0.75rem;
  background: var(--experience-accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
}

.stage-experience__card h3 {
  margin: 0;
  color: #082f61;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.2rem);
  line-height: 1.2;
}

.stage-experience__card p {
  margin: 0.55rem 0 0;
  color: #486279;
  font-size: 0.92rem;
  line-height: 1.56;
}

body[data-school-stage="po"] .stage-experience {
  --experience-accent: #087f8c;
  --experience-ink: #075e68;
  --experience-soft: #e8faf3;
  border-radius: 2.2rem;
}

body[data-school-stage="po"] .stage-experience__card {
  border-radius: 1.55rem 1.55rem 1.55rem 0.72rem;
}

body[data-school-stage="po"] .stage-experience__card:nth-child(2) .stage-experience__number {
  background: #d98c0b;
}

body[data-school-stage="po"] .stage-experience__card:nth-child(3) .stage-experience__number {
  background: #dc5c55;
}

body[data-school-stage="po"] #doelgroep .program-card-grid > article {
  border-radius: 1.65rem 1.65rem 1.65rem 0.7rem;
  border-color: color-mix(in srgb, #087f8c 24%, #dbe7ed);
  background: linear-gradient(150deg, rgba(232, 250, 243, 0.72), #fff 58%);
}

body[data-school-stage="vo"] .stage-experience {
  --experience-accent: #4c5fc7;
  --experience-ink: #303f9c;
  --experience-soft: #eef1ff;
  border-radius: 1.35rem;
}

body[data-school-stage="vo"] .stage-experience::after {
  border-radius: 1.6rem;
  transform: rotate(22deg);
}

body[data-school-stage="vo"] .stage-experience__card {
  border-radius: 0.9rem;
  border-top: 0.28rem solid var(--experience-accent);
}

body[data-school-stage="vo"] .stage-experience__card:nth-child(2) {
  border-top-color: #d85e3f;
}

body[data-school-stage="vo"] .stage-experience__card:nth-child(3) {
  border-top-color: #8051b8;
}

body[data-school-stage="vo"] #doelgroep .program-card-grid > article {
  border-radius: 1rem;
  border-color: color-mix(in srgb, #4c5fc7 24%, #dbe1ee);
  background: linear-gradient(150deg, rgba(238, 241, 255, 0.8), #fff 62%);
}

body[data-school-stage="mbo"] .stage-experience {
  --experience-accent: #0b6473;
  --experience-ink: #074d59;
  --experience-soft: #eaf6f5;
  border-radius: 1.15rem;
  border-left: 0.38rem solid #df6727;
}

body[data-school-stage="mbo"] .stage-experience::after {
  border-color: color-mix(in srgb, #df6727 11%, transparent);
  border-radius: 1rem;
}

body[data-school-stage="mbo"] .stage-experience__card {
  border-radius: 0.75rem;
  border-bottom: 0.2rem solid color-mix(in srgb, #df6727 72%, #fff);
}

body[data-school-stage="mbo"] #doelgroep .program-card-grid > article {
  border-radius: 0.8rem;
  border-color: color-mix(in srgb, #0b6473 24%, #dbe7ed);
  background: linear-gradient(150deg, rgba(234, 246, 245, 0.82), #fff 62%);
}

/* Volledige doelgroepbeleving. De scope blijft binnen main; menu, footer en video
   behouden hun bestaande geometrie en gedrag. */
body[data-school-stage="po"] {
  --stage-page-accent: #087f8c;
  --stage-page-accent-strong: #075e68;
  --stage-page-secondary: #e59618;
  --stage-page-highlight: #e5635b;
  --stage-page-soft: #eafaf4;
  --stage-page-surface: #fbfffd;
  --stage-page-radius: 2.15rem;
  --stage-page-card-radius: 1.55rem 1.55rem 1.55rem 0.72rem;
}

body[data-school-stage="vo"] {
  --stage-page-accent: #4c5fc7;
  --stage-page-accent-strong: #293b94;
  --stage-page-secondary: #dd5f43;
  --stage-page-highlight: #8b55b6;
  --stage-page-soft: #eef1ff;
  --stage-page-surface: #fcfcff;
  --stage-page-radius: 1.25rem;
  --stage-page-card-radius: 0.9rem;
}

body[data-school-stage="mbo"] {
  --stage-page-accent: #0b6473;
  --stage-page-accent-strong: #074b57;
  --stage-page-secondary: #df6727;
  --stage-page-highlight: #d89a23;
  --stage-page-soft: #eaf6f5;
  --stage-page-surface: #fbfefd;
  --stage-page-radius: 1rem;
  --stage-page-card-radius: 0.72rem;
}

body[data-school-stage="updater"] {
  --stage-page-accent: #296f65;
  --stage-page-accent-strong: #164c46;
  --stage-page-secondary: #a4652a;
  --stage-page-highlight: #8b4a99;
  --stage-page-soft: #edf8f4;
  --stage-page-surface: #fcfefd;
  --stage-page-radius: 1.45rem;
  --stage-page-card-radius: 1rem;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page {
  padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
  background:
    radial-gradient(circle at 7% 14%, color-mix(in srgb, var(--stage-page-secondary) 8%, transparent) 0 10rem, transparent 10.2rem),
    radial-gradient(circle at 96% 42%, color-mix(in srgb, var(--stage-page-accent) 8%, transparent) 0 16rem, transparent 16.2rem),
    linear-gradient(180deg, #fff 0 18rem, color-mix(in srgb, var(--stage-page-soft) 52%, #fff) 45%, #fff 100%);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > :is(
  .school-outcomes,
  .preparation-room,
  .program-local-callout,
  .program-downloads,
  .program-faq,
  .page-next,
  .stage-experience,
  .stage-audience-showcase
) {
  width: min(calc(100% - 2rem), 1240px);
  margin-right: auto;
  margin-bottom: clamp(1.15rem, 3vw, 2.5rem);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--stage-page-accent) 16%, #dbe7ec);
  border-radius: var(--stage-page-radius);
  background:
    radial-gradient(circle at 96% 5%, color-mix(in srgb, var(--stage-page-accent) 8%, transparent) 0 9rem, transparent 9.2rem),
    var(--stage-page-surface);
  box-shadow: 0 20px 54px rgba(7, 46, 76, 0.075);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > :is(
  .school-outcomes,
  .preparation-room,
  .program-local-callout,
  .program-downloads,
  .program-faq,
  .page-next
) {
  padding: clamp(2.2rem, 4vw, 4rem) clamp(1.25rem, 5vw, 4.75rem);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .program-facts {
  width: min(calc(100% - 2rem), 1160px);
  margin: 0 auto clamp(1.2rem, 3vw, 2.6rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--stage-page-accent) 18%, #dbe7ec);
  border-radius: var(--stage-page-card-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(7, 46, 76, 0.065);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .program-facts > div {
  border-color: color-mix(in srgb, var(--stage-page-accent) 17%, #e1e8ec);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .program-facts dt {
  color: var(--stage-page-accent-strong);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  .program-card-grid,
  .outcome-board,
  .pilot-grid
) {
  gap: clamp(0.75rem, 1.7vw, 1.15rem);
  border: 0;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card,
  .program-steps > article,
  .preparation-list > article,
  .pilot-grid > article,
  .faq-list > details
) {
  min-height: 0;
  border: 1px solid color-mix(in srgb, var(--stage-page-accent) 17%, #dfe8ec);
  border-radius: var(--stage-page-card-radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--stage-page-soft) 68%, #fff), #fff 64%);
  color: #082f50;
  box-shadow: 0 12px 28px rgba(7, 46, 76, 0.055);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card,
  .program-steps > article
):hover {
  transform: translateY(-0.2rem);
  border-color: color-mix(in srgb, var(--stage-page-accent) 52%, #fff);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--stage-page-soft) 90%, #fff), #fff 64%);
  color: #082f50;
  box-shadow: 0 18px 36px rgba(7, 46, 76, 0.095);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card,
  .program-steps > article
) p,
body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .outcome-board > article:hover p {
  color: #496478;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  .outcome-code,
  .preparation-list article > span:first-child
) {
  border-color: color-mix(in srgb, var(--stage-page-accent) 45%, #fff);
  background: color-mix(in srgb, var(--stage-page-soft) 78%, #fff);
  color: var(--stage-page-accent-strong);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .section-intro {
  grid-template-columns: minmax(20rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page
  .section-intro + .outcome-board {
  margin-top: clamp(1.45rem, 2.8vw, 2.65rem);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page
  .section-intro + .outcome-board {
  margin-top: clamp(1.45rem, 2.8vw, 2.65rem);
}

/* De kleine bovenkoppen zijn bewust verborgen. De resterende kop en toelichting
   krijgen daarom twee volwaardige kolommen, zonder lege derde kolom. */
body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
  h1,
  h2,
  h3,
  h4,
  p,
  a,
  button,
  summary,
  dt,
  dd,
  li,
  strong,
  em,
  span,
  small,
  figcaption
),
.education-stage-slider :is(h2, p, a, strong, span) {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .typeexpeditie-detail-intro {
  margin-top: clamp(1.75rem, 3vw, 3rem);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .preparation-visual {
  overflow: hidden;
  border-radius: var(--stage-page-radius);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .preparation-visual img {
  transition: transform 420ms ease;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .preparation-room:hover .preparation-visual img {
  transform: scale(1.025);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .program-local-callout {
  background:
    linear-gradient(132deg, color-mix(in srgb, var(--stage-page-soft) 88%, #fff), #fff 58%),
    var(--stage-page-surface);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .program-downloads {
  border-block-color: color-mix(in srgb, var(--stage-page-accent) 18%, #dbe7ec);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .program-download-card__action {
  color: var(--stage-page-accent-strong);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .faq-list > details[open] {
  border-color: var(--stage-page-accent);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--stage-page-accent) 13%, transparent);
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .faq-list summary:focus-visible {
  outline: 3px solid #f6aa24;
  outline-offset: 3px;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .page-next {
  min-height: 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--stage-page-secondary) 34%, transparent), transparent 18rem),
    linear-gradient(132deg, #062d52, var(--stage-page-accent-strong));
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .page-next :is(h2, .page-kicker) {
  color: #fff;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .page-next em {
  color: #c7f4ed;
}

body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > .page-next > a {
  border-color: #fff;
  color: #fff;
}

.stage-audience-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(1.1rem, 2.7vw, 2.1rem);
}

.stage-audience-showcase__gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.48fr);
  align-items: end;
}

.stage-audience-showcase__visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--stage-page-radius);
  background: var(--stage-page-soft);
  box-shadow: 0 18px 38px rgba(6, 39, 66, 0.15);
}

.stage-audience-showcase__visual:first-child {
  z-index: 1;
  min-height: clamp(22rem, 38vw, 32rem);
}

.stage-audience-showcase__visual--secondary {
  z-index: 2;
  min-height: clamp(13rem, 20vw, 18rem);
  margin: 0 0 clamp(1rem, 3vw, 2.2rem) clamp(-2.4rem, -3vw, -1.1rem);
  border: 0.38rem solid #fff;
}

.stage-audience-showcase__visual picture,
.stage-audience-showcase__visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.stage-audience-showcase__visual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 420ms ease;
}

.stage-audience-showcase:hover .stage-audience-showcase__visual img {
  transform: scale(1.025);
}

.stage-audience-showcase__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.82rem;
  background: rgba(5, 35, 60, 0.76);
  color: #fff;
  font-size: clamp(0.76rem, 0.72rem + 0.14vw, 0.86rem);
  font-weight: 720;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.stage-audience-showcase__copy {
  padding: clamp(0.5rem, 1.5vw, 1.5rem);
}

.stage-audience-showcase__copy h2 {
  margin: 0;
  color: #082f50;
  font-size: clamp(2rem, 1.45rem + 2.25vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.stage-audience-showcase__copy h2 em {
  color: var(--stage-page-accent);
  font-style: normal;
}

.stage-audience-showcase__copy > p {
  margin: 1rem 0 0;
  color: #496478;
  font-size: clamp(0.96rem, 0.91rem + 0.18vw, 1.08rem);
  line-height: 1.68;
}

.stage-audience-showcase__journey {
  margin: clamp(1.3rem, 3vw, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: stage-journey;
}

.stage-audience-showcase__journey li {
  display: grid;
  min-height: 4.6rem;
  grid-template-columns: 2.55rem minmax(0, 1fr);
  gap: 0 0.85rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid color-mix(in srgb, var(--stage-page-accent) 20%, #dce6eb);
  counter-increment: stage-journey;
}

.stage-audience-showcase__journey li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--stage-page-accent) 20%, #dce6eb);
}

.stage-audience-showcase__journey li::before {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 50%;
  background: var(--stage-page-accent);
  color: #fff;
  content: counter(stage-journey, decimal-leading-zero);
  font-size: 0.7rem;
  font-weight: 850;
}

.stage-audience-showcase__journey strong {
  color: #082f50;
  font-size: 1rem;
  line-height: 1.3;
}

.stage-audience-showcase__journey span {
  margin-top: 0.25rem;
  color: #5b7182;
  font-size: 0.87rem;
  line-height: 1.48;
}

body[data-school-stage="po"] main.inside-page :is(
  .stage-audience-showcase__visual,
  .preparation-visual
) {
  border-radius: 2.6rem 2.6rem 2.6rem 0.9rem;
}

body[data-school-stage="po"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article
):nth-child(3n + 2) {
  border-top: 0.28rem solid var(--stage-page-secondary);
}

body[data-school-stage="po"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article
):nth-child(3n) {
  border-top: 0.28rem solid var(--stage-page-highlight);
}

body[data-school-stage="vo"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card
) {
  border-top: 0.3rem solid var(--stage-page-accent);
}

body[data-school-stage="vo"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card
):nth-child(even) {
  border-top-color: var(--stage-page-secondary);
}

body[data-school-stage="vo"] .stage-audience-showcase__visual--secondary {
  transform: translateY(-1rem);
}

body[data-school-stage="mbo"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card,
  .program-steps > article
) {
  border-left: 0.28rem solid var(--stage-page-secondary);
}

body[data-school-stage="mbo"] .stage-audience-showcase__journey li::before {
  border-radius: 0.55rem;
  background: var(--stage-page-secondary);
}

body[data-school-stage="updater"] main.inside-page :is(
  .program-card-grid > article,
  .outcome-board > article,
  .local-context-grid > article,
  .program-download-card,
  .program-steps > article
) {
  border-top: 0.22rem solid var(--stage-page-accent);
}

body[data-school-stage="updater"] .stage-audience-showcase__journey li::before {
  background: linear-gradient(145deg, var(--stage-page-accent), var(--stage-page-highlight));
}

@media (min-width: 981px) {
  .education-stage-slider.is-enhanced .education-stage-slider__controls {
    display: none;
  }

  .education-stage-slider__track {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 980px) {
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .section-intro,
  .stage-audience-showcase {
    grid-template-columns: 1fr;
  }

  .stage-audience-showcase__gallery {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.42fr);
  }

  .stage-audience-showcase__visual:first-child {
    min-height: clamp(20rem, 64vw, 34rem);
  }

  .stage-audience-showcase__visual--secondary {
    min-height: clamp(12rem, 30vw, 18rem);
  }
}

@media (max-width: 760px) {
  .education-stage-slider {
    width: min(calc(100% - 1rem), 1240px);
    padding: 1rem 0.85rem;
    border-radius: 1.25rem;
  }

  .education-stage-slider__head {
    align-items: flex-end;
  }

  .education-stage-slider__intro {
    max-width: 28rem;
  }

  .education-stage-slider__track {
    grid-auto-columns: min(78vw, 18rem);
  }

  .education-stage-slider__link {
    min-height: 11.7rem;
  }

  .stage-experience {
    width: min(calc(100% - 1rem), 1180px);
    padding: 1.15rem;
  }

  .stage-experience__grid {
    grid-template-columns: 1fr;
  }

  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > :is(
    .school-outcomes,
    .preparation-room,
    .program-local-callout,
    .program-downloads,
    .program-faq,
    .page-next,
    .stage-experience,
    .stage-audience-showcase
  ) {
    width: min(calc(100% - 1rem), 1240px);
    border-radius: clamp(1rem, 4vw, 1.35rem);
  }

  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > :is(
    .school-outcomes,
    .preparation-room,
    .program-local-callout,
    .program-downloads,
    .program-faq,
    .page-next
  ) {
    padding: 2rem 1rem;
  }

  .stage-audience-showcase {
    padding: 0.85rem;
  }

  .stage-audience-showcase__gallery {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .stage-audience-showcase__visual:first-child,
  .stage-audience-showcase__visual--secondary {
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-width: 0;
    transform: none;
  }

  .stage-audience-showcase__visual img {
    position: absolute;
  }

  .stage-audience-showcase__copy {
    padding: 1.1rem 0.35rem 0.65rem;
  }
}

@media (max-width: 470px) {
  .education-stage-slider__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .education-stage-slider__controls {
    align-self: flex-end;
  }

  .education-stage-slider__track {
    grid-auto-columns: min(82vw, 17.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .education-stage-slider__button,
  .education-stage-slider__link,
  .stage-audience-showcase__visual img,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .preparation-visual img,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
    .program-card-grid > article,
    .outcome-board > article,
    .local-context-grid > article,
    .program-download-card,
    .program-steps > article
  ) {
    scroll-behavior: auto;
    transition: none;
  }

  .education-stage-slider__button:hover:not(:disabled),
  .education-stage-slider__link:hover,
  .stage-audience-showcase:hover .stage-audience-showcase__visual img,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page .preparation-room:hover .preparation-visual img,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
    .program-card-grid > article,
    .outcome-board > article,
    .local-context-grid > article,
    .program-download-card,
    .program-steps > article
  ):hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .education-stage-slider,
  .education-stage-slider__link,
  .stage-experience,
  .stage-experience__card,
  .stage-audience-showcase,
  .stage-audience-showcase__visual,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
    .program-card-grid > article,
    .outcome-board > article,
    .local-context-grid > article,
    .program-download-card,
    .program-steps > article,
    .faq-list > details
  ) {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .education-stage-slider,
  .education-stage-slider__link,
  .stage-experience,
  .stage-experience__card,
  .stage-audience-showcase,
  .stage-audience-showcase__visual,
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page > :is(
    .school-outcomes,
    .preparation-room,
    .program-local-callout,
    .program-downloads,
    .program-faq,
    .page-next
  ),
  body[data-school-stage]:not([data-school-stage="overview"]) main.inside-page :is(
    .program-card-grid > article,
    .outcome-board > article,
    .local-context-grid > article,
    .program-download-card,
    .program-steps > article,
    .faq-list > details
  ) {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  .education-stage-slider__link[aria-current="page"] {
    outline: 3px solid Highlight;
    outline-offset: 2px;
  }

  .education-stage-slider__link::before,
  .education-stage-slider__current::before,
  .stage-experience__number,
  .stage-audience-showcase__journey li::before {
    background: Highlight;
    color: HighlightText;
  }

  .stage-audience-showcase__visual figcaption {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
    backdrop-filter: none;
  }
}
