/* OPTIMAT / KDT — all selectors are scoped; no fonts or frameworks imported. */
#kdt-open-day-2026 {
  container-type: inline-size;
  container-name: kdt2026;
  --kdt-navy: #131830;
  --kdt-ink: #343b4c;
  --kdt-muted: #616a7d;
  --kdt-line: #dde1e8;
  --kdt-paper: #f4f5f7;
  --kdt-scroll-offset: 112px; /* CHANGE: fixed WordPress header height + 16px, in px. */
  --kdt-cta-z: 50; /* Keep below your theme's cookie banners and dialogs. */
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--kdt-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}

/* Local normalization — does not touch the surrounding theme. */
#kdt-open-day-2026,
#kdt-open-day-2026 *,
#kdt-open-day-2026 *::before,
#kdt-open-day-2026 *::after { box-sizing: border-box; }
#kdt-open-day-2026 :where(h2, h3, p, ul, ol, dl, dt, dd, figure) { margin: 0; padding: 0; }
#kdt-open-day-2026 :where(h2, h3) { color: var(--kdt-navy); font-family: inherit; font-style: normal; font-weight: 600; text-transform: none; overflow-wrap: break-word; }
#kdt-open-day-2026 :where(p, li, dd) { overflow-wrap: break-word; }
#kdt-open-day-2026 :where(ul, ol) { list-style: none; }
#kdt-open-day-2026 :where(li)::before { content: none; }
#kdt-open-day-2026 img { display: block; width: 100%; max-width: 100%; border: 0; border-radius: 0; object-fit: cover; }
#kdt-open-day-2026 a { color: inherit; text-decoration: none; }
#kdt-open-day-2026 a:focus-visible,
#kdt-open-day-2026 [tabindex="-1"]:focus-visible { outline: 3px solid var(--kdt-navy); outline-offset: 5px; }
#kdt-open-day-2026 [hidden] { display: none !important; }
#kdt-open-day-2026 [id] { scroll-margin-top: var(--kdt-scroll-offset); }
#kdt-open-day-2026 .kdt-container { width: 100%; max-width: 1264px; margin-inline: auto; padding-inline: clamp(20px, 3.6vw, 48px); }
#kdt-open-day-2026 .kdt-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--kdt-navy); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
#kdt-open-day-2026 .kdt-eyebrow::before { content: ""; flex: 0 0 24px; height: 2px; background: currentColor; }
#kdt-open-day-2026 .kdt-section-title { margin-bottom: 24px; font-size: clamp(30px, 3.2vw, 43px); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; }
#kdt-open-day-2026 .kdt-section-title span { display: block; }
#kdt-open-day-2026 .kdt-lead { font-size: 19px; line-height: 1.6; }
#kdt-open-day-2026 .kdt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Buttons and links. */
#kdt-open-day-2026 .kdt-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; max-width: 100%; padding: 15px 22px; border: 1px solid var(--kdt-navy); border-radius: 3px; background: var(--kdt-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
#kdt-open-day-2026 .kdt-button span { flex: 0 0 auto; font-size: 22px; line-height: 1; transition: transform .2s ease; }
#kdt-open-day-2026 .kdt-button:visited { color: #fff; }
#kdt-open-day-2026 .kdt-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding-block: 9px; color: var(--kdt-navy); font-size: 14px; font-weight: 600; text-underline-offset: 6px; }
#kdt-open-day-2026 .kdt-text-link span { font-size: 21px; }

/* 1. Compact, 55/45 editorial hero. */
#kdt-open-day-2026 .kdt-hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 58px); padding-block: 48px 58px; }
#kdt-open-day-2026 .kdt-hero-copy { min-width: 0; }
#kdt-open-day-2026 .kdt-hero-title { margin-bottom: 22px; font-size: clamp(38px, 4.7vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
#kdt-open-day-2026 .kdt-hero-title span { display: block; }
#kdt-open-day-2026 .kdt-hero-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-bottom: 20px; color: var(--kdt-navy); font-size: 14px; font-weight: 600; }
#kdt-open-day-2026 .kdt-hero-meta li + li { padding-left: 18px; border-left: 1px solid #b8becb; }
#kdt-open-day-2026 .kdt-hero-intro { max-width: 560px; font-size: 15px; line-height: 1.7; }
#kdt-open-day-2026 .kdt-hero-intro p + p { margin-top: 10px; }
#kdt-open-day-2026 .kdt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 24px; }
#kdt-open-day-2026 .kdt-hero-photo { display: grid; min-width: 0; overflow: hidden; border-radius: 3px 60px 3px 3px; box-shadow: 0 18px 38px -24px rgb(19 24 48 / 35%); }
#kdt-open-day-2026 .kdt-hero-image { grid-area: 1 / 1; height: 100%; aspect-ratio: 6 / 5; object-position: 64% 50%; }
#kdt-open-day-2026 .kdt-hero-photo-label { grid-area: 1 / 1; display: flex; align-self: end; justify-self: start; align-items: center; gap: 16px; max-width: calc(100% - 36px); margin: 18px; padding: 14px 18px; border-left: 3px solid var(--kdt-navy); background: #fff; color: var(--kdt-navy); box-shadow: 0 6px 22px rgb(19 24 48 / 12%); }
#kdt-open-day-2026 .kdt-photo-date { display: block; padding-right: 16px; border-right: 1px solid var(--kdt-line); font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
#kdt-open-day-2026 .kdt-photo-date span { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
#kdt-open-day-2026 .kdt-hero-photo-label strong { display: block; font-size: 12px; font-weight: 600; }
#kdt-open-day-2026 .kdt-hero-photo-label strong + span { display: block; margin-top: 3px; font-size: 11px; color: var(--kdt-muted); }

/* 2. Main content + form. The parent bounds desktop stickiness. */
#kdt-open-day-2026 .kdt-content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "programme registration"; align-items: start; gap: clamp(30px, 5vw, 68px); padding-block: 52px 84px; border-top: 1px solid var(--kdt-line); }
#kdt-open-day-2026 .kdt-programme { grid-area: programme; min-width: 0; }
#kdt-open-day-2026 .kdt-programme > p + p { margin-top: 18px; }
#kdt-open-day-2026 .kdt-programme .kdt-technology-intro { margin-top: 30px; font-size: 14px; color: var(--kdt-muted); }
#kdt-open-day-2026 .kdt-technologies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 18px 28px; border-top: 1px solid var(--kdt-line); }
#kdt-open-day-2026 .kdt-technologies li { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding: 19px 16px 19px 0; border-bottom: 1px solid var(--kdt-line); color: var(--kdt-navy); font-size: 15px; font-weight: 500; line-height: 1.5; }
#kdt-open-day-2026 .kdt-technologies li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--kdt-line); }
#kdt-open-day-2026 .kdt-technologies li:last-child { grid-column: 1 / -1; }
#kdt-open-day-2026 .kdt-technology-index { flex: 0 0 auto; color: var(--kdt-muted); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
#kdt-open-day-2026 .kdt-programme-closing { padding-left: 20px; border-left: 2px solid var(--kdt-navy); }
#kdt-open-day-2026 .kdt-registration { grid-area: registration; min-width: 0; padding: 30px; border: 1px solid var(--kdt-line); border-top: 3px solid var(--kdt-navy); border-radius: 3px; background: #fff; box-shadow: 0 20px 44px -28px rgb(19 24 48 / 28%); }
#kdt-open-day-2026 .kdt-registration-heading .kdt-eyebrow { margin-bottom: 14px; font-size: 10px; }
#kdt-open-day-2026 .kdt-registration-heading h3 { margin-bottom: 9px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
#kdt-open-day-2026 .kdt-registration-heading > p:last-child { font-size: 13px; color: var(--kdt-muted); }
#kdt-open-day-2026 .kdt-registration-details { display: grid; gap: 7px; margin-top: 22px; color: var(--kdt-navy); font-size: 14px; }
#kdt-open-day-2026 .kdt-registration-details > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
#kdt-open-day-2026 .kdt-registration-details dt { font-size: 12px; color: var(--kdt-muted); }
#kdt-open-day-2026 .kdt-registration-details dd { font-weight: 600; }
#kdt-open-day-2026 .kdt-registration-afterwork { margin-top: 18px; padding: 10px 12px; border-left: 2px solid var(--kdt-navy); background: var(--kdt-paper); color: var(--kdt-navy); font-size: 12px; font-weight: 600; }
#kdt-open-day-2026 .kdt-registration-form { min-width: 0; margin-top: 26px; }
#kdt-open-day-2026 .kdt-registration-note { margin-top: 18px; color: var(--kdt-muted); font-size: 11px; }

/* Plugin-agnostic form styling. Preserve hidden fields, validation and submission. */
#kdt-open-day-2026 .kdt-registration-form form { margin: 0; padding: 0; }
#kdt-open-day-2026 .kdt-registration-form fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
#kdt-open-day-2026 .kdt-registration-form legend { margin-bottom: 14px; color: var(--kdt-navy); font: inherit; font-weight: 600; }
#kdt-open-day-2026 .kdt-registration-form p { margin: 0 0 18px; }
#kdt-open-day-2026 .kdt-registration-form label { display: block; margin-bottom: 7px; color: var(--kdt-navy); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.6; }
#kdt-open-day-2026 .kdt-registration-form :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], input[type="date"], select, textarea) { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; margin: 0 0 18px; padding: 12px 13px; border: 1px solid #7f899b; border-radius: 3px; background: #fff; color: var(--kdt-navy); font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
#kdt-open-day-2026 .kdt-registration-form label :is(input, select, textarea) { margin-top: 7px; }
#kdt-open-day-2026 .kdt-registration-form textarea { min-height: 116px; resize: vertical; }
#kdt-open-day-2026 .kdt-registration-form input::placeholder,
#kdt-open-day-2026 .kdt-registration-form textarea::placeholder { color: var(--kdt-muted); opacity: 1; }
#kdt-open-day-2026 .kdt-registration-form :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--kdt-navy); outline-offset: 3px; }
#kdt-open-day-2026 .kdt-registration-form :is(input, select, textarea):focus { border-color: var(--kdt-navy); }
#kdt-open-day-2026 .kdt-registration-form :is(input[type="checkbox"], input[type="radio"]) { display: inline-block; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0 7px 0 0; vertical-align: middle; accent-color: var(--kdt-navy); }
#kdt-open-day-2026 .kdt-registration-form label:has(input:is([type="checkbox"], [type="radio"])) { min-height: 44px; padding-block: 10px; font-weight: 400; cursor: pointer; }
#kdt-open-day-2026 .kdt-registration-form :is(button, input[type="submit"], input[type="button"]) { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 8px; padding: 14px 20px; border: 1px solid var(--kdt-navy); border-radius: 3px; background: var(--kdt-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.5; box-shadow: none; cursor: pointer; transition: background-color .2s ease; }
#kdt-open-day-2026 .kdt-registration-form :is(button, input, select, textarea):disabled { opacity: .65; cursor: not-allowed; }
#kdt-open-day-2026 .kdt-registration-form [aria-invalid="true"] { border-color: #a22f3d; }
#kdt-open-day-2026 .kdt-registration-form :is([role="alert"], [aria-live]) { max-width: 100%; margin-top: 10px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
#kdt-open-day-2026 .kdt-registration-form iframe { display: block; max-width: 100%; border: 0; }

/* 3. Navy after-work feature, natural content height. */
#kdt-open-day-2026 .kdt-afterwork { background: var(--kdt-navy); color: #fff; }
#kdt-open-day-2026 .kdt-afterwork-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-width: 1440px; margin-inline: auto; }
#kdt-open-day-2026 .kdt-afterwork-copy { min-width: 0; padding: clamp(32px, 4.6vw, 66px); }
#kdt-open-day-2026 .kdt-afterwork .kdt-eyebrow { margin-bottom: 20px; color: #c8cede; }
#kdt-open-day-2026 .kdt-afterwork .kdt-section-title { max-width: 440px; margin-bottom: 24px; color: #fff; }
#kdt-open-day-2026 .kdt-afterwork-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 22px; color: #fff; font-size: clamp(45px, 5.7vw, 76px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#kdt-open-day-2026 .kdt-time-dash { color: #b5bdd0; font-weight: 400; }
#kdt-open-day-2026 .kdt-afterwork-highlights { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 26px; padding-block: 14px; border-block: 1px solid #454b64; font-size: 14px; font-weight: 600; }
#kdt-open-day-2026 .kdt-afterwork-highlights li + li { display: flex; align-items: center; gap: 24px; }
#kdt-open-day-2026 .kdt-afterwork-highlights li + li::before { content: ""; width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: #aeb7cf; }
#kdt-open-day-2026 .kdt-afterwork-description { max-width: 540px; color: #dde2ee; font-size: 15px; line-height: 1.75; }
#kdt-open-day-2026 .kdt-afterwork-description strong { color: #fff; font-weight: 600; }
#kdt-open-day-2026 .kdt-afterwork-description p + p { margin-top: 14px; }
#kdt-open-day-2026 .kdt-afterwork-photo { display: grid; min-width: 0; background: #252b41; }
#kdt-open-day-2026 .kdt-afterwork-photo img { grid-area: 1 / 1; height: 100%; min-height: 100%; object-position: 53% 50%; }
#kdt-open-day-2026 .kdt-afterwork-photo figcaption { grid-area: 1 / 1; align-self: end; padding: 18px 24px; background: var(--kdt-navy); color: #e4e8f2; font-size: 12px; line-height: 1.6; }

/* 4. Asymmetric four-photo magazine layout. */
#kdt-open-day-2026 .kdt-gallery-section { padding-block: 84px 76px; }
#kdt-open-day-2026 .kdt-section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 40px; margin-bottom: 34px; }
#kdt-open-day-2026 .kdt-section-heading .kdt-section-title { max-width: 640px; margin-bottom: 0; }
#kdt-open-day-2026 .kdt-section-heading > p { max-width: 330px; color: var(--kdt-muted); font-size: 14px; }
#kdt-open-day-2026 .kdt-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 30px 20px; }
#kdt-open-day-2026 .kdt-gallery figure { min-width: 0; }
#kdt-open-day-2026 .kdt-gallery-lead { grid-column: span 8; }
#kdt-open-day-2026 .kdt-gallery-machine { grid-column: span 4; }
#kdt-open-day-2026 .kdt-gallery-detail { grid-column: span 5; }
#kdt-open-day-2026 .kdt-gallery-demo { grid-column: span 7; }
#kdt-open-day-2026 .kdt-image-frame { overflow: hidden; background: var(--kdt-paper); }
#kdt-open-day-2026 .kdt-image-frame img { height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
#kdt-open-day-2026 .kdt-gallery-lead .kdt-image-frame { aspect-ratio: 3 / 2; }
#kdt-open-day-2026 .kdt-gallery-machine .kdt-image-frame { aspect-ratio: 3 / 4; }
#kdt-open-day-2026 .kdt-gallery-detail .kdt-image-frame { aspect-ratio: 5 / 4; }
#kdt-open-day-2026 .kdt-gallery-demo .kdt-image-frame { aspect-ratio: 7 / 4; }
#kdt-open-day-2026 .kdt-gallery-machine img { object-position: 68% 50%; }
#kdt-open-day-2026 .kdt-gallery-detail img { object-position: 56% 55%; }
#kdt-open-day-2026 .kdt-gallery-demo img { object-position: 48% 45%; }
#kdt-open-day-2026 .kdt-gallery figcaption { display: flex; gap: 10px; margin-top: 12px; color: var(--kdt-navy); font-size: 11px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
#kdt-open-day-2026 .kdt-gallery figcaption span { flex: 0 0 auto; color: var(--kdt-muted); font-variant-numeric: tabular-nums; }

/* 5. Editorial reasons, numbered rather than five identical cards. */
#kdt-open-day-2026 .kdt-why-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); padding-block: 58px 84px; border-top: 1px solid var(--kdt-line); }
#kdt-open-day-2026 .kdt-why-intro .kdt-section-title { max-width: 380px; }
#kdt-open-day-2026 .kdt-why-intro > p:last-child { color: var(--kdt-muted); font-size: 15px; }
#kdt-open-day-2026 .kdt-reasons { border-top: 1px solid var(--kdt-navy); }
#kdt-open-day-2026 .kdt-reasons li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: baseline; gap: 22px; padding-block: 22px; border-bottom: 1px solid var(--kdt-line); }
#kdt-open-day-2026 .kdt-reason-number { color: var(--kdt-muted); font-size: 26px; font-weight: 400; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#kdt-open-day-2026 .kdt-reasons p { color: var(--kdt-navy); font-size: 17px; font-weight: 500; line-height: 1.5; }

/* 6. Closing invitation. */
#kdt-open-day-2026 .kdt-final { border-top: 1px solid var(--kdt-line); background: var(--kdt-paper); }
#kdt-open-day-2026 .kdt-final-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 72px; padding-block: 64px; }
#kdt-open-day-2026 .kdt-final .kdt-section-title { max-width: 640px; font-size: clamp(36px, 4.4vw, 56px); }
#kdt-open-day-2026 .kdt-final-layout > div > p:last-child { max-width: 650px; font-size: 16px; }
#kdt-open-day-2026 .kdt-final-action { padding-left: 30px; border-left: 1px solid #bac1cf; }
#kdt-open-day-2026 .kdt-final-action .kdt-final-date { margin-bottom: 9px; color: var(--kdt-navy); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
#kdt-open-day-2026 .kdt-final-action > p + p { margin-bottom: 22px; font-size: 13px; line-height: 1.9; }
#kdt-open-day-2026 .kdt-final-action .kdt-button { width: 100%; }

/* Progressive enhancement: content remains visible without JavaScript. */
@keyframes kdt2026-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
#kdt-open-day-2026 .kdt-reveal-visible { animation: kdt2026-reveal .6s cubic-bezier(.2,.7,.2,1) both; }
#kdt-open-day-2026 [data-kdt-reveal]:focus-within { animation: none; }
#kdt-open-day-2026 .kdt-mobile-cta { display: none; }

@media (hover: hover) and (pointer: fine) {
  #kdt-open-day-2026 .kdt-button:hover { background: #292f4a; box-shadow: 0 8px 18px -10px rgb(19 24 48 / 40%); }
  #kdt-open-day-2026 .kdt-button:hover span { transform: translate(2px, -2px); }
  #kdt-open-day-2026 .kdt-text-link:hover { text-decoration: underline; }
  #kdt-open-day-2026 .kdt-image-frame:hover img { transform: scale(1.025); }
  #kdt-open-day-2026 .kdt-registration-form :is(button, input[type="submit"], input[type="button"]):not(:disabled):hover { background: #292f4a; }
}

@media (min-width: 921px) {
  /* JS enables this only when the complete card fits in the available viewport. */
  #kdt-open-day-2026 .kdt-registration[data-kdt-sticky="true"] { position: sticky; top: var(--kdt-scroll-offset); }
}

@media (max-width: 1100px) and (min-width: 921px) {
  #kdt-open-day-2026 .kdt-registration { padding: 24px; }
  #kdt-open-day-2026 .kdt-hero-title { font-size: 46px; }
  #kdt-open-day-2026 .kdt-hero-photo { border-top-right-radius: 42px; }
  #kdt-open-day-2026 .kdt-final-layout { gap: 38px; }
}

@media (max-width: 920px) {
  #kdt-open-day-2026 .kdt-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px; padding-block: 32px 40px; }
  #kdt-open-day-2026 .kdt-hero-title { font-size: clamp(34px, 5vw, 44px); }
  #kdt-open-day-2026 .kdt-hero-meta { gap: 3px; }
  #kdt-open-day-2026 .kdt-hero-meta li { width: 100%; }
  #kdt-open-day-2026 .kdt-hero-meta li + li { padding-left: 0; border-left: 0; }
  #kdt-open-day-2026 .kdt-hero-actions { gap: 8px 18px; }
  #kdt-open-day-2026 .kdt-content-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "registration" "programme"; gap: 48px; padding-block: 32px 56px; }
  #kdt-open-day-2026 .kdt-registration { width: 100%; max-width: 600px; margin-inline: auto; padding: 28px; }
  #kdt-open-day-2026 .kdt-registration-heading h3 { font-size: 30px; }
  #kdt-open-day-2026 .kdt-programme { max-width: 700px; }
  #kdt-open-day-2026 .kdt-afterwork-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  #kdt-open-day-2026 .kdt-afterwork-copy { padding: 32px 28px; }
  #kdt-open-day-2026 .kdt-afterwork-time { gap: 8px; font-size: 46px; }
  #kdt-open-day-2026 .kdt-afterwork-highlights { gap: 8px 16px; font-size: 12px; }
  #kdt-open-day-2026 .kdt-afterwork-highlights li + li { gap: 16px; }
  #kdt-open-day-2026 .kdt-gallery-section { padding-block: 58px; }
  #kdt-open-day-2026 .kdt-section-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #kdt-open-day-2026 .kdt-section-heading > p { max-width: 520px; }
  #kdt-open-day-2026 .kdt-why-section { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 40px 58px; }
  #kdt-open-day-2026 .kdt-why-intro .kdt-section-title { max-width: 580px; }
  #kdt-open-day-2026 .kdt-final-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 28px; padding-block: 48px 100px; }
  #kdt-open-day-2026 .kdt-final-action { padding-left: 22px; }
  #kdt-open-day-2026 .kdt-mobile-cta { position: fixed; inset: auto 0 0; z-index: var(--kdt-cta-z); display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #d6dce7; background: #fff; box-shadow: 0 -8px 28px -18px rgb(19 24 48 / 30%); }
  #kdt-open-day-2026 .kdt-mobile-cta > a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 16px; border-radius: 3px; background: var(--kdt-navy); color: #fff; font-size: 14px; line-height: 1.4; }
  #kdt-open-day-2026 .kdt-mobile-cta > a > span { padding-right: 16px; border-right: 1px solid #69718b; }
  #kdt-open-day-2026 .kdt-mobile-cta strong { font-weight: 600; }
  #kdt-open-day-2026 .kdt-mobile-cta a:focus-visible { outline-color: var(--kdt-navy); }
}

@media (max-width: 600px) {
  #kdt-open-day-2026 .kdt-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 28px 32px; }
  #kdt-open-day-2026 .kdt-hero-title { font-size: clamp(36px, 8.5vw, 48px); }
  #kdt-open-day-2026 .kdt-hero-intro { font-size: 15px; }
  #kdt-open-day-2026 .kdt-hero-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
  #kdt-open-day-2026 .kdt-hero-actions .kdt-text-link { align-self: flex-start; }
  #kdt-open-day-2026 .kdt-hero-photo { border-top-right-radius: 40px; }
  #kdt-open-day-2026 .kdt-hero-image { aspect-ratio: 3 / 2; object-position: 62% 48%; }
  #kdt-open-day-2026 .kdt-hero-photo-label { gap: 12px; margin: 12px; padding: 12px; max-width: calc(100% - 24px); }
  #kdt-open-day-2026 .kdt-photo-date { padding-right: 12px; font-size: 28px; }
  #kdt-open-day-2026 .kdt-content-grid { gap: 44px; padding-top: 24px; }
  #kdt-open-day-2026 .kdt-registration { padding: 24px 20px; }
  #kdt-open-day-2026 .kdt-registration-heading h3 { font-size: 28px; }
  #kdt-open-day-2026 .kdt-section-title { font-size: clamp(30px, 7.3vw, 38px); }
  #kdt-open-day-2026 .kdt-lead { font-size: 18px; }
  #kdt-open-day-2026 .kdt-technologies { grid-template-columns: minmax(0, 1fr); }
  #kdt-open-day-2026 .kdt-technologies li { padding-block: 16px; }
  #kdt-open-day-2026 .kdt-technologies li:nth-child(even) { padding-left: 0; border-left: 0; }
  #kdt-open-day-2026 .kdt-afterwork-layout { grid-template-columns: minmax(0, 1fr); }
  #kdt-open-day-2026 .kdt-afterwork-copy { padding: 36px 24px; }
  #kdt-open-day-2026 .kdt-afterwork-time { gap: 10px; font-size: clamp(42px, 11vw, 65px); }
  #kdt-open-day-2026 .kdt-afterwork-description { font-size: 15px; }
  #kdt-open-day-2026 .kdt-afterwork-photo img { aspect-ratio: 3 / 2; min-height: 0; object-position: 52% 44%; }
  #kdt-open-day-2026 .kdt-afterwork-photo figcaption { padding: 12px 24px; font-size: 11px; }
  #kdt-open-day-2026 .kdt-gallery-section { padding-block: 48px; }
  #kdt-open-day-2026 .kdt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  #kdt-open-day-2026 .kdt-gallery-lead,
  #kdt-open-day-2026 .kdt-gallery-demo { grid-column: 1 / -1; }
  #kdt-open-day-2026 .kdt-gallery-machine,
  #kdt-open-day-2026 .kdt-gallery-detail { grid-column: span 1; }
  #kdt-open-day-2026 .kdt-gallery-machine .kdt-image-frame,
  #kdt-open-day-2026 .kdt-gallery-detail .kdt-image-frame { aspect-ratio: 4 / 5; }
  #kdt-open-day-2026 .kdt-gallery figcaption { gap: 6px; font-size: 10px; letter-spacing: .035em; }
  #kdt-open-day-2026 .kdt-why-section { padding-block: 36px 48px; }
  #kdt-open-day-2026 .kdt-reasons li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-block: 20px; }
  #kdt-open-day-2026 .kdt-reason-number { font-size: 24px; }
  #kdt-open-day-2026 .kdt-reasons p { font-size: 16px; }
  #kdt-open-day-2026 .kdt-final-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 42px 110px; }
  #kdt-open-day-2026 .kdt-final .kdt-section-title { font-size: 38px; }
  #kdt-open-day-2026 .kdt-final-action { padding: 24px 0 0; border-left: 0; border-top: 1px solid #bac1cf; }
}

@media (prefers-reduced-motion: reduce) {
  #kdt-open-day-2026 *,
  #kdt-open-day-2026 *::before,
  #kdt-open-day-2026 *::after { animation: none !important; transition: none !important; }
  #kdt-open-day-2026 .kdt-image-frame img { transform: none !important; }
}

@media print {
  #kdt-open-day-2026 .kdt-mobile-cta { display: none !important; }
  #kdt-open-day-2026 .kdt-registration { position: static !important; box-shadow: none; }
  #kdt-open-day-2026 [data-kdt-reveal] { animation: none; }
}

/* TEMPLATE ADAPTATION v1.1
   Respond to the event column, including on a wide desktop with a sidebar.
   These rules change only descendants of the event wrapper. */
@container kdt2026 (max-width: 1000px) {
  #kdt-open-day-2026 .kdt-container { max-width: 100%; padding-inline: 0; }
  #kdt-open-day-2026 .kdt-section-title { font-size: clamp(28px, 4.5cqw, 38px); }
  #kdt-open-day-2026 .kdt-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 20px 28px; padding-block: 16px 36px; }
  #kdt-open-day-2026 .kdt-hero-copy { display: contents; }
  #kdt-open-day-2026 .kdt-hero-copy > .kdt-eyebrow { grid-column: 1 / -1; margin: 0; }
  #kdt-open-day-2026 .kdt-hero-title { grid-column: 1 / -1; margin: 0; font-size: clamp(36px, 5.7cqw, 48px); line-height: 1.08; }
  #kdt-open-day-2026 .kdt-hero-meta { grid-column: 1 / -1; gap: 6px 16px; margin: 0; font-size: 14px; }
  #kdt-open-day-2026 .kdt-hero-meta li { width: auto; }
  #kdt-open-day-2026 .kdt-hero-meta li + li { padding-left: 16px; border-left: 1px solid #b8becb; }
  #kdt-open-day-2026 .kdt-hero-intro { grid-column: 1; max-width: none; font-size: 15px; line-height: 1.7; }
  #kdt-open-day-2026 .kdt-hero-photo { grid-column: 2; grid-row: 4 / span 2; align-self: center; border-top-right-radius: 36px; }
  #kdt-open-day-2026 .kdt-hero-image { aspect-ratio: 4 / 3; object-position: 64% 48%; }
  #kdt-open-day-2026 .kdt-hero-photo-label { gap: 10px; margin: 10px; padding: 10px; max-width: calc(100% - 20px); }
  #kdt-open-day-2026 .kdt-photo-date { padding-right: 10px; font-size: 26px; }
  #kdt-open-day-2026 .kdt-hero-photo-label strong { font-size: 11px; line-height: 1.4; }
  #kdt-open-day-2026 .kdt-hero-photo-label strong + span { font-size: 10px; }
  #kdt-open-day-2026 .kdt-hero-actions { grid-column: 1; grid-row: 5; align-self: start; flex-direction: row; align-items: center; gap: 10px 22px; margin: 0; }
  #kdt-open-day-2026 .kdt-content-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "registration" "programme"; gap: 44px; padding-block: 32px 48px; }
  #kdt-open-day-2026 .kdt-registration { position: static; width: 100%; max-width: none; margin: 0; padding: 28px; }
  #kdt-open-day-2026 .kdt-registration-heading h3 { font-size: 30px; }
  #kdt-open-day-2026 .kdt-registration-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  #kdt-open-day-2026 .kdt-registration-details > div { display: block; }
  #kdt-open-day-2026 .kdt-registration-details dt { margin-bottom: 4px; }
  #kdt-open-day-2026 .kdt-registration-form { margin-top: 22px; }
  #kdt-open-day-2026 .kdt-programme { max-width: none; }
  #kdt-open-day-2026 .kdt-afterwork-layout { grid-template-columns: minmax(0, 1fr); }
  #kdt-open-day-2026 .kdt-afterwork-copy { padding: 32px; }
  #kdt-open-day-2026 .kdt-afterwork .kdt-section-title { max-width: none; }
  #kdt-open-day-2026 .kdt-afterwork-description { max-width: none; font-size: 16px; }
  #kdt-open-day-2026 .kdt-afterwork-time { gap: 14px; font-size: clamp(44px, 8.3cqw, 68px); }
  #kdt-open-day-2026 .kdt-afterwork-highlights { gap: 10px 24px; font-size: 14px; }
  #kdt-open-day-2026 .kdt-afterwork-highlights li + li { gap: 24px; }
  #kdt-open-day-2026 .kdt-afterwork-photo img { min-height: 0; aspect-ratio: 21 / 9; object-position: 50% 55%; }
  #kdt-open-day-2026 .kdt-afterwork-photo figcaption { padding: 12px 32px; }
  #kdt-open-day-2026 .kdt-gallery-section { padding-block: 48px; }
  #kdt-open-day-2026 .kdt-section-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
  #kdt-open-day-2026 .kdt-section-heading > p { max-width: none; font-size: 15px; }
  #kdt-open-day-2026 .kdt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  #kdt-open-day-2026 .kdt-gallery-lead,
  #kdt-open-day-2026 .kdt-gallery-demo { grid-column: 1 / -1; }
  #kdt-open-day-2026 .kdt-gallery-machine,
  #kdt-open-day-2026 .kdt-gallery-detail { grid-column: span 1; }
  #kdt-open-day-2026 .kdt-gallery-lead .kdt-image-frame { aspect-ratio: 16 / 9; }
  #kdt-open-day-2026 .kdt-gallery-machine .kdt-image-frame,
  #kdt-open-day-2026 .kdt-gallery-detail .kdt-image-frame { aspect-ratio: 4 / 3; }
  #kdt-open-day-2026 .kdt-gallery-demo .kdt-image-frame { aspect-ratio: 16 / 9; }
  #kdt-open-day-2026 .kdt-why-section { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 48px; }
  #kdt-open-day-2026 .kdt-why-intro .kdt-section-title { max-width: none; }
  #kdt-open-day-2026 .kdt-reasons li { padding-block: 20px; }
  #kdt-open-day-2026 .kdt-final-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px; }
  #kdt-open-day-2026 .kdt-final .kdt-section-title { font-size: clamp(32px, 5cqw, 42px); }
  #kdt-open-day-2026 .kdt-final-action { padding: 22px 0 0; border-left: 0; border-top: 1px solid #bac1cf; }
  #kdt-open-day-2026 .kdt-final-action .kdt-button { width: auto; }
}

@container kdt2026 (max-width: 580px) {
  #kdt-open-day-2026 .kdt-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 12px 28px; }
  #kdt-open-day-2026 .kdt-hero-copy { display: block; }
  #kdt-open-day-2026 .kdt-hero-copy > .kdt-eyebrow { margin-bottom: 16px; }
  #kdt-open-day-2026 .kdt-hero-title { margin-bottom: 18px; font-size: clamp(32px, 7.2cqw, 40px); }
  #kdt-open-day-2026 .kdt-hero-meta { margin-bottom: 18px; font-size: 13px; }
  #kdt-open-day-2026 .kdt-hero-intro { font-size: 15px; }
  #kdt-open-day-2026 .kdt-hero-actions { margin-top: 20px; }
  #kdt-open-day-2026 .kdt-hero-photo { grid-column: 1; grid-row: auto; }
  #kdt-open-day-2026 .kdt-hero-image { aspect-ratio: 16 / 9; }
  #kdt-open-day-2026 .kdt-content-grid { gap: 36px; padding-block: 24px 36px; }
  #kdt-open-day-2026 .kdt-registration { padding: 24px 20px; }
  #kdt-open-day-2026 .kdt-registration-heading h3 { font-size: 27px; }
  #kdt-open-day-2026 .kdt-registration-details { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  #kdt-open-day-2026 .kdt-registration-details > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  #kdt-open-day-2026 .kdt-registration-details dt { margin: 0; }
  #kdt-open-day-2026 .kdt-technologies { grid-template-columns: minmax(0, 1fr); }
  #kdt-open-day-2026 .kdt-technologies li:nth-child(even) { padding-left: 0; border-left: 0; }
  #kdt-open-day-2026 .kdt-afterwork-copy { padding: 28px 22px; }
  #kdt-open-day-2026 .kdt-afterwork-time { gap: 8px; font-size: clamp(38px, 10cqw, 56px); }
  #kdt-open-day-2026 .kdt-afterwork-description { font-size: 15px; }
  #kdt-open-day-2026 .kdt-afterwork-highlights { gap: 8px 16px; font-size: 12px; }
  #kdt-open-day-2026 .kdt-afterwork-highlights li + li { gap: 16px; }
  #kdt-open-day-2026 .kdt-afterwork-photo img { aspect-ratio: 16 / 9; }
  #kdt-open-day-2026 .kdt-afterwork-photo figcaption { padding-inline: 22px; }
  #kdt-open-day-2026 .kdt-gallery { gap: 22px 12px; }
  #kdt-open-day-2026 .kdt-gallery-machine .kdt-image-frame,
  #kdt-open-day-2026 .kdt-gallery-detail .kdt-image-frame { aspect-ratio: 4 / 5; }
  #kdt-open-day-2026 .kdt-gallery figcaption { gap: 6px; font-size: 10px; }
  #kdt-open-day-2026 .kdt-final-layout { padding: 28px 22px 32px; }
  #kdt-open-day-2026 .kdt-final-action .kdt-button { width: 100%; }
}

@media (max-width: 920px) {
  /* Clearance for the mobile control, including inside a narrow event column. */
  #kdt-open-day-2026 .kdt-final-layout { padding-bottom: 104px; }
}
