/* =========================================================
   WDSS 2027 Madrid – The Imperative of Newness
   Bootstrap 5.3 theme layer. Reference artboard: 1920px.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
/* Montserrat (SIL OFL 1.1, self-hosted, latin subset) – replaces Gotham: no webfont licence */
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --c-burgundy: #7B0F0F;   /* CTA / buttons */
  --c-red: #D41623;        /* hover / highlights / underlines */
  --c-orange: #F4A75C;     /* gradient dark stop */
  --c-cream: #FAE2B7;      /* gradient light stop */
  --c-text: #000;
  --c-muted: #555;
  --c-white: #fff;

  --grad-brand: linear-gradient(to top right, var(--c-orange), var(--c-cream));          /* 100%: borders & lines */
  --grad-soft: linear-gradient(to top right, rgb(244 167 92 / .32), rgb(250 226 183 / .32)); /* 32%: backgrounds */
  --grad-card: linear-gradient(to top right, #7B0F0F 0%, #E01B1D 68%, #FDAD5E 100%);

  --ff-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --header-h: 135px;
  --radius-sm: 5px;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-media: 22px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--ff-sans);
  --bs-body-font-size: 20px;
  --bs-body-line-height: 1.3;
  --bs-body-color: var(--c-text);
  --bs-link-color-rgb: 123, 15, 15;
  --bs-link-hover-color-rgb: 212, 22, 35;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--ff-sans); font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.text-red { color: var(--c-red); }
.bg-gradient-soft { background: var(--grad-soft), #fff; }
.skip-link { position: absolute; z-index: 2000; left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; }

/* Containers: content grid = 1190px (desktop design), wide grid = 1432px (header/hero/footer) */
@media (min-width: 1400px) { .container { max-width: 1214px; } }
.container-wide { width: 100%; max-width: 1456px; margin-inline: auto; padding-inline: 12px; }
@media (max-width: 1499.98px) { .container-wide { padding-inline: 40px; } }
@media (max-width: 767.98px)  { .container-wide { padding-inline: 20px; } }

/* ---------- Buttons ---------- */
.btn-cta {
  --bs-btn-color: #fff; --bs-btn-bg: var(--c-burgundy); --bs-btn-border-color: var(--c-burgundy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-red); --bs-btn-hover-border-color: var(--c-red);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-red); --bs-btn-active-border-color: var(--c-red);
  --bs-btn-focus-shadow-rgb: 212, 22, 35;
  font-family: var(--ff-sans); font-weight: 500; border-width: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-cta--nav { font-size: 16.29px; line-height: 1; height: 38px; padding: 0 14px; border-radius: var(--radius-sm); text-transform: uppercase; min-width: 123px; }
.btn-cta--lg  { font-size: 22px; line-height: 1; height: 51px; width: 286px; padding: 0 20px; border-radius: var(--radius-btn); text-transform: uppercase; }
.btn-cta--sm  { font-size: 15px; line-height: 1; height: 36px; min-width: 143px; padding: 0 20px; border-radius: var(--radius-sm); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030; height: var(--header-h);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: rgb(255 255 255 / 0);
  transition: background-color .3s ease, height .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgb(255 255 255 / .88); box-shadow: 0 1px 0 rgb(0 0 0 / .06); }
.site-header .navbar { height: 100%; padding-block: 0; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 25px; color: var(--c-burgundy); text-decoration: none; padding: 0; margin: 0; }
.brand:hover { color: var(--c-burgundy); }

.header-actions { display: flex; align-items: flex-start; height: 39px; margin-left: auto; margin-right: 99px; }
.header-actions > .btn-cta--nav { margin-top: 1px; }
.header-actions > .menu-toggle { margin-top: 8px; }
.header-actions > .lang-switch { margin-top: 13px; }
.header-actions .btn-cta--nav { margin-right: 68px; }
.lang-switch { display: flex; align-items: center; font-size: 18px; font-weight: 500; line-height: 1; margin-right: 69px; }
.lang-switch__link { color: var(--c-text); text-decoration: none; }
.lang-switch__link.is-active { color: #fff; }
.lang-switch__link:hover { color: var(--c-red); }
.lang-switch__sep { margin: 0 4px; color: var(--c-text); font-weight: 500; }
.site-header.is-scrolled .lang-switch__link.is-active { color: var(--c-burgundy); }

/* Hamburger: three bars of identical 2px height on integer offsets (0 / 8 / 16px) so they stay crisp at any DPR */
.menu-toggle { position: relative; top: auto; display: block; width: 26px; height: 18px; padding: 0; border: 0; border-radius: 0; box-shadow: none !important; flex: none; }
.menu-toggle__bars { position: absolute; left: 0; top: 8px; display: block; width: 26px; height: 2px; background: var(--c-text); }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; display: block; width: 26px; height: 2px; background: var(--c-text); }
.menu-toggle__bars::before { top: -8px; }
.menu-toggle__bars::after { top: 8px; }
.menu-toggle:hover .menu-toggle__bars, .menu-toggle:hover .menu-toggle__bars::before, .menu-toggle:hover .menu-toggle__bars::after { background: var(--c-red); }

/* Offcanvas menu (all breakpoints; design shows a hamburger on desktop too) */
.main-menu { --bs-offcanvas-width: 420px; background: var(--grad-soft), #fff; }
.main-menu .offcanvas-header { padding: 40px 40px 10px; }
.main-menu .offcanvas-body { padding: 10px 40px 40px; }
.main-menu__list .nav-link { font-size: 22px; font-weight: 500; color: var(--c-text); padding: 10px 0; }
.main-menu__list .nav-link:hover, .main-menu__list .nav-link.active { color: var(--c-red); }
.lang-switch--menu { margin-top: 30px; }
.lang-switch--menu .lang-switch__link.is-active { color: var(--c-burgundy); }

.btn-close-x { position: relative; width: 26px; height: 26px; border: 0; background: transparent; padding: 0; }
.btn-close-x::before, .btn-close-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 2.4px; background: var(--c-red); border-radius: 1px; }
.btn-close-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.btn-close-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.btn-close-x:hover::before, .btn-close-x:hover::after { background: var(--c-burgundy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 755px;
  background: #f3b88a url("../assets/img/kv-hero-1920.webp") 50% 31.3% / cover no-repeat;
  background-image: image-set(url("../assets/img/kv-hero-1920.webp") 1x, url("../assets/img/kv-hero-3840.webp") 2x);
}
.hero__inner { position: relative; height: 100%; padding-top: 237px; }
@media (min-width: 1500px) { .hero__inner { padding-left: 18px; } }
.hero__date { font-size: 44px; line-height: 44px; font-weight: 500; text-transform: uppercase; color: var(--c-burgundy); letter-spacing: 0; margin-left: 2px; }
.hero__sep { display: inline-block; margin: 0 13px 0 13px; }
.hero__title {
  font-size: 85px; line-height: 1.1294;
  text-transform: uppercase; color: #fff; letter-spacing: 0; margin-top: 182px;
}
.hero__title-l2 { display: block; font-size: 1.29em; line-height: 1.1132; letter-spacing: -.006em; }

/* ---------- Intro ---------- */
.intro { padding: 88px 0 78px; }
.intro__text { text-align: center; font-size: 20px; line-height: 26px; }
.intro__text p + p { margin-top: 26px; }
/* neutralise the intro text's own leading/trailing margins so the gap below it
   (to the pillars) matches the gap above it (.intro padding-top) */
.intro__text > :first-child { margin-top: 0; }
.intro__text > :last-child { margin-bottom: 0; }
.pillars { --bs-gutter-x: 24px; --bs-gutter-y: 24px; margin-top: calc(88px - var(--bs-gutter-y)); }
@media (min-width: 1200px) { .pillars { --bs-gutter-x: 74px; } .overview__boxes { --bs-gutter-x: 30px; } }
.pillar {
  /* Figma 74:98–74:102: white box, 2px gradient border, radius 15, text block 276px centred */
  position: relative; height: 140px; border-radius: 15px; background: #fff; color: var(--c-text);
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 11px 17px;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none;
}
.pillar__title, .pillar__text { width: 276px; max-width: 100%; }
.pillar__title { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--c-red); }
.pillar__text { font-size: 17.35px; line-height: 22.662px; margin-top: 0; }

/* Event date/place below the home pillars — matches the "Five Chapters" heading format */
.intro__eventmeta { margin: 80px 0 0; font-size: 30px; line-height: 1.35; font-weight: 500; text-transform: uppercase; text-align: center; color: #000; }
.intro__eventmeta .intro__eventmeta-sep { color: var(--c-red, #D41623); font-weight: 400; margin: 0 .35em; }
.intro__eventmeta .intro__eventmeta-loc { color: var(--c-red, #D41623); }
.intro__eventmeta::after { content: ""; display: block; width: 120px; height: 4px; margin: 31px auto 0; background: var(--c-red, #D41623); }
@media (max-width: 767.98px) { .intro__eventmeta { margin-top: 48px; font-size: 24px; } .intro__eventmeta::after { margin-top: 22px; } }

@media (min-width: 1200px) {
  .pillars { display: grid; grid-template-columns: 383fr 384fr 382fr; column-gap: 23px; margin: 88px 0 0; }
  .pillars > [class*="col-"] { width: auto; padding: 0; margin: 0; }
}

/* ---------- Overview / register ---------- */
.overview { padding: 44px 0 90px; }
.overview__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0; }
.overview__title { font-size: 40px; line-height: 48px; font-weight: 500; text-transform: uppercase; }
.overview__eventmeta { margin: 0; font-size: 30px; line-height: 1.35; font-weight: 500; text-transform: uppercase; color: #000; }
.overview__eventmeta .overview__eventmeta-sep { color: var(--c-red, #D41623); font-weight: 400; margin: 0 .35em; }
.overview__eventmeta .overview__eventmeta-loc { color: var(--c-red, #D41623); }
@media (max-width: 767.98px) { .overview__eventmeta { font-size: 24px; } }
.overview__boxes { --bs-gutter-x: 24px; --bs-gutter-y: 30px; margin-top: calc(44px - var(--bs-gutter-y)); }
.info-box { position: relative; height: 100%; min-height: 243px; padding: 41px 14px 40px 35px; border-radius: var(--radius-card); }
.info-box::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none;
}
.info-box__title { font-size: 25px; line-height: 30px; font-weight: 500; text-transform: uppercase; }
.info-box__text { font-size: 17px; line-height: 21px; margin-top: 18px; }
.info-box .btn { margin-top: 15px; }

/* ---------- Section titles ---------- */
.section-title { font-size: 30px; line-height: 36px; font-weight: 500; text-transform: uppercase; text-align: center; }
.section-title::after { content: ""; display: block; width: 120px; height: 4px; margin: 34px auto 0; background: var(--c-red); }
.speakers__intro { margin: 0 0 10px; color: #000; font-size: 17px; line-height: 1.6; text-align: left; }
.speakers__intro .welcome-textbox { margin: 0; }
.speakers__intro h1, .speakers__intro h2, .speakers__intro h3, .speakers__intro h4 { font-family: inherit; color: #000; line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
.speakers__intro h1 { font-size: 34px; font-weight: 700; margin-bottom: 24px; color: var(--c-red, #D41623); }
.speakers__intro h2 { font-size: 28px; font-weight: 700; }
.speakers__intro h3 { font-size: 22px; }
.speakers__intro p { margin: 0 0 1em; }
.speakers__intro ul, .speakers__intro ol { margin: 0 0 1em; padding-left: 1.4em; }
.speakers__intro li { margin: 0 0 .35em; }
/* keep the intro on-palette: inline colours baked into the editor text (off-brand green / odd red) inherit; links stay brand red */
.speakers__intro h1 span, .speakers__intro h2 span, .speakers__intro h3 span, .speakers__intro h4 span,
.speakers__intro p span, .speakers__intro li span, .speakers__intro strong span { color: inherit !important; }
.speakers__intro a, .speakers__intro a span { color: var(--c-red, #D41623) !important; }
.speakers__intro > :last-child, .speakers__intro .welcome-textbox > :last-child { margin-bottom: 0; }

/* ---------- Speakers ---------- */
.speakers { padding: 78px 0 43px; }
.speakers__grid { --bs-gutter-x: 24px; row-gap: 70px; margin-top: 73px; }
.speakers__grid--last { margin-top: 70px; }
.speaker {
  display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 272px;
  background: none; border: 0; padding: 0; text-align: center; color: var(--c-text); cursor: pointer;
}
.speaker__photo { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; transition: transform .3s ease, box-shadow .3s ease; }
.speaker__name { font-size: 19px; line-height: 24px; font-weight: 500; margin-top: 14px; transition: color .2s ease; }
.speaker__role { font-size: 16px; line-height: 20px; margin-top: 1px; }
.speaker__company { font-size: 15px; line-height: 20px; color: var(--c-muted); }
.speaker:hover .speaker__name, .speaker:focus-visible .speaker__name { color: var(--c-red); }
.speaker:hover .speaker__photo { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--c-red); }
.speaker:focus-visible { outline: 2px solid var(--c-red); outline-offset: 6px; border-radius: 8px; }
@media (min-width: 1400px) {
  /* 4 columns on a 322.5px pitch (design): grid spans 1290px, centred on the 1190px container */
  .speakers__grid { margin-inline: -50px; --bs-gutter-x: 0px; }
  .speakers__grid > .speaker-col { padding-inline: 8px; }
}

/* Speakers & Moderators: constrain the content column to the same 1000px width
   as the other (narrower) pages (cf. .beta-content .container in beta-compat.css).
   Scoped to .page-body.speakers, which only the Speakers & Moderators pages render
   — the homepage uses the editor module and is unaffected. */
.page-body.speakers .container { max-width: 1000px; }
@media (min-width: 1400px) {
  /* drop the wide-screen grid bleed so the photos stay inside the narrowed column */
  .page-body.speakers .speakers__grid { margin-inline: 0; }
}

/* ---------- Sponsors ---------- */
.sponsors { padding: 77px 0 81px; overflow: hidden; }
.sponsors__viewport { margin-top: 42px; overflow: hidden; }
.sponsors__track { display: flex; align-items: center; width: max-content; list-style: none; margin: 0; padding: 0; height: 96px; animation: sponsors-marquee 40s linear infinite; }
.sponsors__item { flex: none; padding-right: 96px; }
.sponsors__item img { display: block; }
.sponsors__viewport:hover .sponsors__track { animation-play-state: paused; }
@keyframes sponsors-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sponsors__track { animation: none; } .sponsors__viewport { overflow-x: auto; } }

/* ---------- Venue ---------- */
.venue { padding: 77px 0 125px; }
.venue__row { --bs-gutter-x: 0px; --bs-gutter-y: 40px; margin-top: calc(63px - var(--bs-gutter-y)); justify-content: space-between; }
@media (min-width: 992px) {
  .venue__info { flex: 0 0 34.29%; max-width: 34.29%; }
  .venue__media { flex: 0 0 59.08%; max-width: 59.08%; }
}
.venue__name { font-size: 28px; line-height: 34px; font-weight: 500; padding-top: 2px; }
.venue__address { font-size: 20px; line-height: 27px; font-style: normal; margin: 39px 0 0; }
.venue__address a { color: inherit; text-decoration: none; }
.venue__address a:hover { color: var(--c-red); }
.venue__link { display: inline-block; font-size: 16px; line-height: 20px; color: var(--c-burgundy); text-decoration: none; margin-top: 27px; }
.venue__link:hover { color: var(--c-red); text-decoration: underline; }
.venue__map { display: block; margin-top: 36px; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgb(0 0 0 / .12); max-width: 408px; }
.venue__map img { display: block; width: 100%; }
.venue__photo { display: block; width: 100%; border-radius: var(--radius-media); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-burgundy); color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-cream); }
.footer__main { padding-block: 40px; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 26px; }
.footer__nav a.is-active { font-weight: 700; }
.footer__org { text-align: center; }
.footer__org-logos { display: flex; align-items: center; justify-content: center; gap: 107px; }
.footer__org-text { font-size: 16px; line-height: 22px; margin: 20px auto 0; max-width: 420px; }
.footer__bottom { position: relative; }
.footer__bottom::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(to right, var(--c-cream), var(--c-orange)); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 112px; row-gap: 8px; font-size: 15px; line-height: 20px; min-height: 86px; padding-top: 2px; }
@media (min-width: 1200px) {
  .footer__main { height: 298px; padding-block: 0; display: flex; align-items: center; }
  .footer__row { display: grid; grid-template-columns: 336px 321px 1fr; align-items: center; margin: 0; width: 100%; }
  .footer__row > * { width: auto; padding: 0; margin: 0; }
  .footer__org { justify-self: center; position: relative; left: -5px; }
}

/* ---------- Speaker modal ---------- */
.speaker-modal .modal-dialog { max-width: 1374px; padding-inline: 20px; }
.speaker-modal .modal-content { border: 0; border-radius: 32px; background: var(--grad-soft), #fff; box-shadow: 0 30px 80px rgb(0 0 0 / .25); }
.speaker-modal .modal-body { padding: 86px 75px 90px 103px; }
.speaker-modal__close { position: absolute; top: 30px; right: 38px; z-index: 2; }
.speaker-modal__grid { display: grid; grid-template-columns: 237px 1fr; column-gap: 42px; align-items: start; }
.speaker-modal__photo { width: 237px; height: 237px; border-radius: 50%; object-fit: cover; grid-row: span 2; }
.speaker-modal__head { padding-top: 26px; }
.speaker-modal__name { font-size: 40px; line-height: 48px; font-weight: 500; color: var(--c-burgundy); }
.speaker-modal__name::after { content: ""; display: block; width: 120px; height: 4px; background: var(--c-red); margin-top: 22px; }
.speaker-modal__role { font-size: 24px; line-height: 30px; margin-top: 30px; }
.speaker-modal__company { font-size: 20px; line-height: 26px; color: var(--c-muted); margin-top: 18px; }
.speaker-modal__bio { grid-column: 2; font-size: 20px; line-height: 40px; margin-top: 50px; padding-left: 4px; max-width: 880px; }
.speaker-modal__bio:empty { display: none; }
.modal-backdrop { --bs-backdrop-opacity: .55; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1499.98px) {
  .header-actions { margin-right: 0; }
}
@media (max-width: 1399.98px) {
  .hero { height: clamp(560px, 39.3vw, 755px); }
  .hero__inner { padding-top: clamp(170px, 12.3vw, 237px); }
  .hero__title { margin-top: clamp(90px, 9.5vw, 182px); }
}
@media (max-width: 1199.98px) {
  .footer__main { padding-block: 56px; }
  .footer__row { row-gap: 40px; }
  .footer__brand-col { flex: 0 0 100%; }
  .footer__org { flex: 0 0 100%; margin-top: 8px; }
  .pillar__text { max-width: none; }
}
@media (max-width: 991.98px) {
  .header-actions .btn-cta--nav { margin-right: 40px; }
  .lang-switch { margin-right: 40px; }
  .hero__date { font-size: 34px; line-height: 40px; }
  .hero__title { font-size: 68px; }
  .overview__head { padding: 0; flex-wrap: wrap; }
  .overview__title { font-size: 32px; line-height: 40px; }
  .venue__map { max-width: none; }
  .speaker-modal .modal-body { padding: 70px 48px 56px; }
  .speaker-modal__grid { grid-template-columns: 180px 1fr; column-gap: 32px; }
  .speaker-modal__photo { width: 180px; height: 180px; }
  .speaker-modal__head { padding-top: 6px; }
  .speaker-modal__bio { grid-column: 1 / -1; padding-left: 0; margin-top: 36px; line-height: 34px; font-size: 18px; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 85px; }
  .brand { gap: 12px; }
  .header-actions .btn-cta--nav { margin-right: 22px; min-width: 0; height: 34px; font-size: 14px; padding: 0 12px; }
  .hero { height: 560px; background-position: 66% 30%; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(123 15 15 / .35), transparent 55%); pointer-events: none; }
  .hero__inner { padding-top: 140px; z-index: 1; }
  .hero__date { font-size: 22px; line-height: 28px; }
  .hero__sep { margin: 0 8px; }
  .hero__title { font-size: 38px; line-height: 1.1; margin-top: auto; position: absolute; bottom: 44px; left: 20px; right: 20px; }
  .hero__title-l2 { line-height: 1.05; }
  .intro { padding: 56px 0 48px; }
  .intro__text { font-size: 17px; line-height: 25px; text-align: left; }
  .intro__text p + p { margin-top: 20px; }
  .pillars { margin-top: calc(56px - 16px); --bs-gutter-y: 16px; }
  .pillar { height: auto; min-height: 140px; padding: 28px 28px; }
  .overview { padding: 48px 0 56px; }
  .overview__title { font-size: 26px; line-height: 32px; }
  .btn-cta--lg { width: 100%; font-size: 20px; }
  .overview__boxes { margin-top: calc(32px - 20px); --bs-gutter-y: 20px; }
  .info-box { min-height: 0; padding: 28px 24px 28px; }
  .info-box__title { font-size: 22px; line-height: 28px; }
  .info-box__text { font-size: 16px; line-height: 21px; }
  .section-title { font-size: 24px; line-height: 30px; }
  .section-title::after { margin-top: 22px; }
  .speakers { padding: 48px 0 40px; }
  .speakers__grid { margin-top: 44px; row-gap: 36px; --bs-gutter-x: 16px; }
  .speakers__grid--last { margin-top: 36px; }
  .speaker { min-height: 0; }
  .speaker__photo { width: 128px; height: 128px; }
  .speaker__name { font-size: 16px; line-height: 21px; }
  .speaker__role { font-size: 14px; line-height: 18px; }
  .speaker__company { font-size: 13px; line-height: 18px; }
  .speaker__role br, .speaker__company br { display: none; }
  .sponsors { padding: 56px 0 56px; }
  .sponsors__viewport { margin-top: 32px; }
  .sponsors__item { padding-right: 56px; }
  .sponsors__item img { transform: scale(.8); }
  .venue { padding: 56px 0 72px; }
  .venue__row { margin-top: 0; }
  .venue__name { font-size: 24px; line-height: 30px; }
  .venue__address { font-size: 17px; line-height: 25px; margin-top: 20px; }
  .venue__link { margin-top: 16px; }
  .venue__map { margin-top: 24px; }
  .venue__photo { border-radius: 16px; }
  .footer__nav ul { font-size: 15px; line-height: 28px; }
  .footer__org-logos { gap: 56px; }
  .footer__legal { column-gap: 28px; padding-block: 20px; flex-direction: column; }
  .speaker-modal .modal-dialog { padding-inline: 10px; }
  .speaker-modal .modal-content { border-radius: 20px; }
  .speaker-modal .modal-body { padding: 56px 24px 32px; }
  .speaker-modal__close { top: 18px; right: 20px; }
  .speaker-modal__grid { grid-template-columns: 1fr; text-align: left; }
  .speaker-modal__photo { width: 140px; height: 140px; grid-row: auto; }
  .speaker-modal__head { padding-top: 20px; }
  .speaker-modal__name { font-size: 30px; line-height: 36px; }
  .speaker-modal__name::after { margin-top: 14px; }
  .speaker-modal__role { font-size: 19px; line-height: 25px; margin-top: 18px; }
  .speaker-modal__company { font-size: 16px; margin-top: 6px; }
  .speaker-modal__bio { font-size: 16px; line-height: 28px; margin-top: 22px; }
}
@media (max-width: 359.98px) {
}

/* ---------- Five Chapters (Figma node 74:262) ---------- */
.chapters { padding: 0 0 78px; } /* bottom = .intro bottom padding */
.chapters__rule { display: block; width: 100%; height: 1px; margin: 0; border: 0; background: var(--c-burgundy); opacity: 1; }
.container-chapters { width: 100%; max-width: 1488px; margin-inline: auto; padding: 78px 12px 0; }
.chapters__heading { font-size: 30px; line-height: 1.35; font-weight: 500; text-transform: uppercase; text-align: center; }
.chapters__heading::after { content: ""; display: block; width: 120px; height: 4px; margin: 31px auto 0; background: var(--c-red); }
.chapters__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; list-style: none; margin: 35px 0 0; padding: 0; }
.chapter {
  position: relative; flex: 0 1 264px; min-height: 243px; padding: 18px 19px; border-radius: 15px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.chapter::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(to top right, var(--c-cream), var(--c-orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none;
}
.chapter__num { display: block; font-size: 40px; line-height: 1.3; font-weight: 700; color: var(--c-red); }
.chapter__title { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--c-red); text-transform: uppercase; }
.chapter__text { font-size: 15.934px; line-height: 1.3; max-width: var(--chapter-text-w, 222px); }
@media (max-width: 1199.98px) {
  .chapters__grid { gap: 24px; }
}
@media (max-width: 767.98px) {
  .chapters { padding: 0 0 48px; } /* bottom = .intro bottom padding (mobile) */
  .container-chapters { padding: 48px 20px 0; }
  .chapters__heading { font-size: 24px; line-height: 30px; }
  .chapters__heading::after { margin-top: 22px; }
  .chapters__grid { gap: 16px; margin-top: 32px; }
  .chapter { flex: 0 0 calc(50% - 8px); min-height: 200px; padding: 18px 12px; }
  .chapter__num { font-size: 34px; }
  .chapter__title { font-size: 17px; }
  .chapter__text { font-size: 15px; }
}

/* =========================================================
   Subpages
   ========================================================= */
/* Compact page-title band: crop of the key visual (sky + arch top), title in Montserrat Medium */
.page-hero {
  position: relative; display: flex; align-items: flex-end; min-height: 400px; padding: calc(var(--header-h) + 40px) 0 58px;
  background: #f3b88a url("../assets/img/kv-hero-1920.webp") 50% 6% / cover no-repeat;
  background-image: image-set(url("../assets/img/kv-hero-1920.webp") 1x, url("../assets/img/kv-hero-3840.webp") 2x);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(255 255 255 / .55), rgb(255 255 255 / 0) 70%); pointer-events: none; }
.page-hero > .container { position: relative; width: 100%; }
.page-hero__crumbs { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 14px; padding: 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--c-burgundy); }
.page-hero__crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--c-burgundy); }
.page-hero__crumbs a { color: var(--c-text); text-decoration: none; }
.page-hero__crumbs a:hover { color: var(--c-red); }
.page-hero__title { font-size: 44px; line-height: 52px; font-weight: 500; text-transform: uppercase; color: var(--c-burgundy); max-width: 900px; }

.page-body { padding: 90px 0 125px; }
.page-body + .page-body { padding-top: 0; }
.page-body--tight { padding-top: 0; }
.page-body.reg-section { padding-top: 40px; }
.page-intro { text-align: center; font-size: 20px; line-height: 26px; }
.page-intro p { margin: 0; }

/* Long-form text */
.prose, .lead-text { font-size: 18px; line-height: 29px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--c-red); }
.prose h3, .sub-title { font-size: 22px; line-height: 28px; font-weight: 500; margin: 44px 0 16px; padding-left: 16px; border-left: 4px solid var(--c-red); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose a, .lead-text a, .info-box__text a, .summit__body a { color: var(--c-burgundy); text-underline-offset: 3px; }
.prose a:hover, .lead-text a:hover, .info-box__text a:hover, .summit__body a:hover { color: var(--c-red); }
.lead-text { font-size: 22px; line-height: 33px; }
.lead-text p { margin: 0; }
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }
.footnote { font-size: 15px; line-height: 22px; color: var(--c-muted); margin-top: 18px; }

/* Media */
.media-figure { margin: 0; }
.media-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); }
.media-figure--caption { margin-top: 77px; }
.media-figure figcaption { font-size: 15px; line-height: 22px; color: var(--c-muted); margin-top: 16px; max-width: 790px; }

/* Boxes (gradient border, from the home info-box) */
.info-box--page { min-height: 0; padding: 41px 35px 40px; }
.info-box--page .info-box__title { font-size: 22px; line-height: 28px; }
.info-box__title--sm { font-size: 18px !important; line-height: 24px !important; }
.info-box--page .info-box__text { font-size: 17px; line-height: 26px; }
.info-box--page .info-box__text p { margin: 0; }
.award-boxes, .price-boxes + .row { margin-top: 0; }
.award-boxes { margin-top: 56px !important; }

/* About: past summits */
.summits { margin-top: 63px; }
.summit { --bs-gutter-x: 24px; padding: 34px 0; border-top: 1px solid transparent; border-image: var(--grad-brand) 1; }
.summit:first-child { border-top: 0; padding-top: 0; }
.summit__title { font-size: 22px; line-height: 28px; font-weight: 500; color: var(--c-burgundy); }
.summit__body { font-size: 17px; line-height: 27px; }
.summit__body p { margin: 0; }

/* Programme: agenda / timeline */
.programme-day + .programme-day { margin-top: 90px; }
.programme-day__head { position: sticky; top: 120px; padding-bottom: 24px; }
.programme-day__label { font-size: 15px; line-height: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--c-red); }
.programme-day__date { font-size: 30px; line-height: 36px; font-weight: 500; text-transform: uppercase; margin-top: 10px; }
.programme-day__theme { font-weight: 400; font-size: 26px; line-height: 34px; color: var(--c-burgundy); margin-top: 14px; }
.agenda { list-style: none; margin: 0; padding: 0; position: relative; }
.agenda::before { content: ""; position: absolute; left: 96px; top: 10px; bottom: 10px; width: 2px; background: var(--grad-brand); }
.agenda__row { position: relative; display: grid; grid-template-columns: 96px 1fr; column-gap: 34px; padding: 0 0 26px; }
.agenda__row::before { content: ""; position: absolute; left: 91px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--c-orange); }
.agenda__row.is-session::before { background: var(--c-red); border-color: var(--c-red); }
.agenda__time { font-size: 20px; line-height: 26px; font-weight: 500; color: var(--c-burgundy); }
.agenda__body { font-size: 17px; line-height: 25px; }
.agenda__body p { margin: 0; }
.agenda__title { font-size: 20px; line-height: 26px; font-weight: 500; margin: 0; }
.agenda__title + .agenda__title { margin-top: 2px; }
.agenda__title + p, .agenda__body p + p { margin-top: 4px; }
.agenda__row.is-session .agenda__body { position: relative; padding: 16px 22px; margin-top: -16px; margin-bottom: 4px; border-radius: var(--radius-card); background: var(--grad-soft); }
.agenda__row.is-session .agenda__title { color: var(--c-burgundy); }
.agenda__row.is-break .agenda__body { color: var(--c-muted); }
.agenda--compact { margin-top: 8px; }

/* Speakers / moderators pages */
/* Top padding matched to the other content pages: those use the old editor
   module, whose first section is .section-inner-first (40px top, see
   beta-compat.css). This new module used 90px, which made Speakers & Moderators
   start ~50px lower than every other page. Bottom spacing is left unchanged. */
.page-body.speakers { padding: 40px 0 125px; }
.page-body.speakers .speakers__grid:first-of-type { margin-top: 63px; }

/* Sponsors page */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.partners__heading { margin-top: 90px; margin-bottom: 63px; }
.partner__link { position: relative; display: flex; align-items: center; justify-content: center; height: 160px; padding: 24px; border-radius: var(--radius-card); background: #fff; }
.partner__link::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none;
}
.partner__link img { filter: none; opacity: 1; transition: opacity .25s ease; mix-blend-mode: multiply; }
.partner__link:hover img, .partner__link:focus-visible img { filter: none; opacity: 1; }

/* Venue page */
.venue-page__map { margin-top: 0; max-width: none; }
.venue-page__map img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 703 / 469; }
.venue-page__photo { aspect-ratio: 703 / 469; object-fit: cover; height: auto; border-radius: 16px; }

/* Organisers */
.org-box__logo-wrap { height: 85px; display: flex; align-items: center; margin-bottom: 28px; }
.org-box__logo--wow { width: 180px; height: auto; }
.org-box__logo--igds { width: 62px; height: auto; }

/* Registration */
.price-box__list { margin: 22px 0 0; }
.price-box__list > div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid rgb(244 167 92 / .5); }
.price-box__list dt { font-size: 18px; font-weight: 400; }
.price-box__list dd { margin: 0; font-size: 28px; line-height: 34px; font-weight: 500; color: var(--c-burgundy); }
.reg-form { margin-top: 44px; padding: 44px 35px; border-radius: var(--radius-card); background: #fff; position: relative; }
.reg-form::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none;
}
.form-section { font-size: 20px; line-height: 26px; font-weight: 500; text-transform: uppercase; color: var(--c-burgundy); padding-top: 12px; }
.reg-form .row > .col-12:first-child .form-section { padding-top: 0; }
.reg-form .form-label { font-size: 15px; line-height: 20px; font-weight: 500; margin-bottom: 6px; }
.reg-form .form-control, .reg-form .form-select { font-size: 16px; height: 46px; border-radius: var(--radius-sm); border-color: #d9c3b0; }
.reg-form .form-control:focus, .reg-form .form-select:focus, .reg-form .form-check-input:focus { border-color: var(--c-red); box-shadow: 0 0 0 .2rem rgb(212 22 35 / .15); }
.reg-form .form-check { font-size: 16px; line-height: 24px; }
.reg-form .form-check-input { width: 1.15em; height: 1.15em; margin-top: .2em; border-color: #b9a08b; }
.reg-form .form-check-input:checked { background-color: var(--c-burgundy); border-color: var(--c-burgundy); }
.reg-form .form-check-label a { color: var(--c-burgundy); }
.reg-form__submit { padding-top: 12px; }
.form-note { font-size: 14px; color: var(--c-muted); text-align: center; }

@media (max-width: 1199.98px) {
  .partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .page-hero { min-height: 320px; }
  .page-hero__title { font-size: 36px; line-height: 44px; }
  .programme-day__head { position: static; }
  .summit__title { margin-bottom: 10px; }
}
@media (max-width: 767.98px) {
  .page-hero { min-height: 250px; padding: calc(var(--header-h) + 28px) 0 34px; background-position: 60% 6%; }
  .page-hero__crumbs { font-size: 13px; margin-bottom: 8px; }
  .page-hero__title { font-size: 28px; line-height: 34px; }
  .page-body, .page-body.speakers { padding: 56px 0 72px; }
  /* Speakers & Moderators: match the other pages on phones — their first section
     uses .beta-content .section-inner (32px top) with a 26px h1. This module was
     still using the shared 56px top above and a 34px intro title. */
  .page-body.speakers { padding-top: 32px; }
  .speakers__intro h1 { font-size: 26px; }
  .page-body.reg-section { padding-top: 32px; }
  .page-intro { font-size: 17px; line-height: 24px; }
  .lead-text { font-size: 18px; line-height: 28px; }
  .prose { font-size: 16px; line-height: 26px; }
  .prose h3, .sub-title { font-size: 19px; line-height: 25px; margin-top: 32px; }
  .info-box--page { padding: 28px 24px; }
  .media-figure img { border-radius: 16px; }
  .media-figure--caption { margin-top: 48px; }
  .summits { margin-top: 40px; }
  .summit { padding: 26px 0; }
  .summit__body { font-size: 16px; line-height: 25px; }
  .programme-day + .programme-day { margin-top: 56px; }
  .programme-day__theme { font-size: 22px; line-height: 29px; }
  .agenda::before { left: 62px; }
  .agenda__row { grid-template-columns: 62px 1fr; column-gap: 24px; }
  .agenda__row::before { left: 57px; }
  .agenda__time, .agenda__title { font-size: 17px; line-height: 23px; }
  .agenda__body { font-size: 15px; line-height: 22px; }
  .agenda__row.is-session .agenda__body { padding: 12px 14px; margin-top: -12px; }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner__link { height: 112px; padding: 16px; }
  .partner__link img { max-height: 64px; width: auto; }
  .partners__heading { margin-top: 56px; margin-bottom: 36px; }
  .reg-form { padding: 28px 20px; }
  .price-box__list dd { font-size: 24px; }
}
@media (min-width: 1200px) {
  .chapters__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 264px)); }
  .container-chapters { padding-inline: 24px; }
}
/* Subpages: the title band is lighter than the home hero, so the active language uses burgundy */
.page .site-header .lang-switch__link.is-active { color: var(--c-burgundy); }
/* Sponsors page: centre incomplete rows */
.partners { display: flex; flex-wrap: wrap; justify-content: center; }
.partner { flex: 0 0 calc((100% - 72px) / 4); }
@media (max-width: 1199.98px) { .partner { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 767.98px) { .partner { flex-basis: calc((100% - 14px) / 2); } }

/* Hero title: Figma vector artwork (node 74:70), 671x180 at x252 / y471 on the 1920 artboard */
.hero__title { position: absolute; top: 471px; left: 20px; margin: 0; font-size: 0; line-height: 0; }
.hero__title-img { display: block; width: 671px; max-width: 100%; height: auto; }
@media (max-width: 1499.98px) { .hero__title { left: 30px; } }
@media (max-width: 1399.98px) { .hero__title { top: auto; bottom: clamp(60px, 5.5vw, 104px); } .hero__title-img { width: clamp(420px, 35vw, 671px); } }
@media (max-width: 991.98px) { .hero__title-img { width: 520px; } }
@media (max-width: 767.98px) { .hero__title { left: 20px; right: 20px; bottom: 44px; } .hero__title-img { width: min(300px, 100%); } }
@media (min-width: 1400px) { .pillars { grid-template-columns: 383px 384px 382px; margin-right: -5px; } }
.pillar__title { position: relative; top: 0; }
.pillar__text { position: relative; top: 1px; }

/* ---------- Overview: Figma 74:104 ---------- */
.overview { padding: 44px 0 90px; background: linear-gradient(246.31deg, rgb(250 226 183 / .32) 42.754%, rgb(244 167 92 / .32) 100%), #fff; }
.overview__head { padding: 0; }
.overview__title { line-height: 1.3; }
.btn-cta--lg { font-size: 23.724px; height: 51px; width: 287px; border-radius: 10px; }
.btn-cta--sm { font-size: 16.288px; }
.overview__boxes { margin-top: calc(43px - var(--bs-gutter-y)); }
.overview .info-box { min-height: 243px; padding: 18px 19px 18px 32px; border-radius: 15px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; }
.overview .info-box__title { font-size: 25.849px; line-height: 1.3; }
.overview .info-box__text { font-size: 15.934px; line-height: 1.3; margin: 0; }
.overview .info-box .btn { margin: 0; width: 143px; }
.overview .col-lg-6:first-child .info-box::before { background: linear-gradient(to top right, var(--c-cream), var(--c-orange)); }
@media (min-width: 1400px) {
  .overview__head { margin: 0 -2px 0 -1px; }
  .overview__boxes { display: grid; grid-template-columns: 582px 582px; column-gap: 29px; margin-left: -1px; margin-right: 0; }
  .overview__boxes > [class*="col-"] { width: auto; padding: 0; }
}
@media (max-width: 767.98px) { .btn-cta--lg { width: 100%; font-size: 20px; } .overview .info-box { min-height: 0; padding: 28px 24px; } }
/* Sponsors background: Figma 87:28 */
.sponsors.bg-gradient-soft { background: linear-gradient(239.36deg, rgb(250 226 183 / .32) 42.754%, rgb(244 167 92 / .32) 100%), #fff; }
.overview .info-box { padding-left: 34px; }
.overview__head .btn { position: relative; top: -2px; }
.overview__boxes { margin-top: calc(42px - var(--bs-gutter-y)); }

/* ---------- Speakers card + home grid: Figma 74:116 ---------- */
.speaker__photo { width: 169.96px; height: 169.96px; }
.speaker__name { font-size: 19.121px; line-height: 1.22; margin-top: 10.6px; }
.speaker__role { font-size: 16.288px; line-height: 1.22; margin-top: 1.8px; }
.speaker__company { font-size: 15.58px; line-height: 1.22; margin-top: 0; color: #555; }
.speaker { min-height: 283.27px; }
@media (min-width: 1400px) {
  /* rows are centred; each Figma row has its own column pitch */
  #speakers .speakers__grid { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 59px; width: 1349px; margin-inline: calc((100% - 1349px) / 2); --bs-gutter-x: 0px; }
  #speakers .speakers__grid > .speaker-col { flex: 0 0 var(--pitch); width: var(--pitch); max-width: none; padding: 0; }
  #speakers .speakers__grid > .speaker-col:nth-child(-n+4) { --pitch: 322.22px; }
  #speakers .speakers__grid > .speaker-col:nth-child(n+5):nth-child(-n+8) { --pitch: 328.22px; }
  #speakers .speakers__grid > .speaker-col:nth-child(n+9):nth-child(-n+12) { --pitch: 329.22px; }
  #speakers .speakers__grid > .speaker-col:nth-child(n+13):nth-child(-n+16) { --pitch: 335.22px; }
  #speakers .speakers__grid > .speaker-col:nth-child(n+17) { --pitch: 337.22px; }
  #speakers .speakers__grid--last > .speaker-col:nth-child(n) { --pitch: 332.22px; }
  #speakers .speakers__grid--last { margin-top: 59px; }
}
/* Section titles per Figma: speakers lh 1.22 / rule +37.4px; sponsors & venue lh 1.35 */
@media (min-width: 768px) {
  #speakers .section-title { line-height: 1.22; }
  #speakers .section-title::after { margin-top: 37.4px; }
}

/* ---------- Sponsors: Figma 87:28 ---------- */
.sponsors { padding: 74px 0 61px; }
.sponsors .section-title { line-height: 1.35; }
.sponsors .section-title::after { margin-top: 31.5px; }
.sponsors__item { padding-right: 93px; }
.sponsors__item a { display: block; }

/* ---------- Venue: Figma 74:277 ---------- */
.venue { padding: 71px 0 121px; }
.venue .section-title { line-height: 1.35; }
.venue .section-title::after { margin-top: 27.5px; }
.venue__row { margin-top: calc(64px - var(--bs-gutter-y)); }
.venue__name { font-size: 28px; line-height: 1.35; font-weight: 700; padding-top: 0; }
.venue__address { font-size: 20px; line-height: 1.35; margin-top: 37.8px; }
.venue__link { font-size: 15.934px; line-height: 1.35; margin-top: 39px; }
.venue__map { margin-top: 39.5px; width: 409px; max-width: 100%; height: 231px; border-radius: 21px; box-shadow: none; }
.venue__map img { width: 100%; height: 100%; object-fit: cover; }
.venue__photo { border-radius: 25px; aspect-ratio: 703 / 468; object-fit: cover; }
@media (min-width: 1400px) {
  .venue__row { display: grid; grid-template-columns: 409px 703px; column-gap: 78px; justify-content: start; }
  .venue__row > .venue__info, .venue__row > .venue__media { max-width: none; width: auto; padding: 0; }
}
@media (max-width: 767.98px) {
  .sponsors { padding: 56px 0 48px; } .venue { padding: 56px 0 72px; }
  .venue__map { width: 100%; height: auto; aspect-ratio: 409 / 231; }
}
.venue__link { margin-top: 24.4px; }
/* venue: keep the map (left) and photo (right) bottom-aligned when side by side */
@media (min-width: 992px) {
  .venue__info, .venue__media { display: flex; flex-direction: column; }
  .venue__map, .venue__photo { margin-top: auto; }
}
@media (min-width: 1200px) { .pillars { margin-top: 88px; } }

/* ---------- Footer: Figma 74:286 (all pages) ---------- */
.site-footer, .site-footer a, .brand--footer, .brand--footer:hover { color: #FAF8EF; }
.site-footer .footer__nav a.is-active { color: #fff; font-weight: 700; }
.footer__nav ul { font-size: 15.934px; line-height: 26px; }
.footer__org-logos { gap: 150px; }
.footer__org-logos img[src*="wow"] { width: 120px; height: 35px; object-fit: contain; }
.footer__org-text { font-size: 15.934px; line-height: 1.35; max-width: 600px; }
.footer__legal { font-size: 15.226px; line-height: 1.35; }
@media (min-width: 1200px) {
  .footer__org { top: -2.5px; }
  .footer__legal { display: grid; grid-template-columns: 400px 266px auto; justify-content: start; padding-left: 333px; column-gap: 0; padding-top: 3.6px; }
}
@media (min-width:1200px){ .footer__legal{ padding-left:17.4px; justify-content:center; } }
@media (min-width:1600px){
  .footer__row { grid-template-columns: 336px 315px 1fr; justify-content: start; margin-left: 0; }
  .footer__org { justify-self: stretch; left: 0; }
}
@media (min-width:1200px) and (max-width:1599.98px){ .footer__org-logos{ gap:150px; } }
@media (min-width:1200px) and (max-width:1599.98px){ .footer__row{ grid-template-columns: minmax(190px,336px) minmax(190px,321px) minmax(0,1fr); } }
@media (min-width:1200px) and (max-width:1399.98px){ .footer__row{ grid-template-columns: 230px 230px 1fr; } }
@media (max-width:767.98px){ .sponsors__item{ padding-right:56px; } }
/* Footer: both link columns and the organiser block start on one top line (was vertically centred, which
   left the shorter link column and the logos sitting lower than "Home"). The 7px nudge puts the top of the
   logos on the cap-height of the first link rather than on the top of its 26px line box. */
@media (min-width:1200px){
  .footer__row { align-items: start; }
  .footer__org { top: 7px; }
}

/* ---------- Five Chapters: numbers + headlines on a common line in every card ---------- */
.chapter { justify-content: flex-start; padding-top: 37px; }
.chapter__num { min-height: 1.3em; }
.chapter__title { min-height: 2.6em; margin: 0; display: flex; align-items: flex-end; justify-content: center; }
@media (max-width: 767.98px) { .chapter { padding-top: 22px; } }

/* Footer org logos: original Figma bitmaps (255x350, 600x173) at design size */
.footer__org-logos img[src*="igds-logo"] { height: 74px; width: auto; }
.footer__org-logos img[src*="wow-logo"] { width: 120px; height: auto; }
.footer__org-logos a { display: inline-flex; }

/* ---------- Brand: original Figma vector logo (node 74:22 / 74:292) ---------- */
.brand { gap: 0; }
.brand__logo { display: block; width: 282px; height: auto; aspect-ratio: 282.01 / 87.3013; flex: none; }
@media (max-width: 767.98px) { .site-header .brand__logo { width: 168px; } .site-footer .brand__logo { width: 220px; } }
@media (max-width: 379.98px) { .site-header .brand__logo { width: 140px; } }
@media (max-width: 339.98px) { .site-header .brand__logo { width: 118px; } }
@media (min-width:1400px){ .site-header .brand__logo{ position:relative; top:1px; } }
.site-footer .brand__logo { position: relative; top: 1px; }

/* ---------- Montserrat fit (wider than Gotham): small-screen adjustments ---------- */
@media (max-width: 389.98px) {
  .speaker__name { font-size: 15px; letter-spacing: -.01em; }
  .overview__title { font-size: 23px; line-height: 30px; }
}
@media (max-width: 575.98px) {
  .agenda__row.is-session .agenda__body { padding-inline: 12px; }
  .agenda__row.is-session .agenda__title { font-size: 16px; letter-spacing: -.01em; }
}

/* ---------- Five Chapters v3: subgrid rows (number | headline | description) shared by all cards in a row,
   content block centred vertically in every card => numbers/headlines aligned AND equal top/bottom space ---------- */
.chapters__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: center; gap: 16px; }
.chapter {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px;
  align-content: center; justify-items: center; min-height: 0; padding: 24px 20px; flex: none;
}
.chapter__num, .chapter__title, .chapter__text { margin: 0; }
.chapter__num { align-self: end; }
.chapter__title { align-self: stretch; }
.chapter__text { align-self: start; }
@media (min-width: 768px) {
  .chapters__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 852px; margin-inline: auto; column-gap: 30px; row-gap: 30px; }
  .chapter { grid-column: span 2; padding: 42.8px 19px; }
  .chapter:nth-child(4) { grid-column: 2 / span 2; }
  .chapter:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 1200px) {
  .chapters__grid { grid-template-columns: repeat(5, minmax(0, 264px)); max-width: none; }
  .chapter, .chapter:nth-child(4), .chapter:nth-child(5) { grid-column: auto; }
}
@media (max-width: 767.98px) {
  .chapters__grid { max-width: 480px; margin-inline: auto; }
  .chapter__title { min-height: 0; }
}
@media (min-width:768px) and (max-width:1199.98px){ .chapter__text{ align-self:center; } }

/* ---------- Offcanvas menu: brand gradient, bottom-left (orange) -> top-right (cream) ---------- */
.main-menu { background: linear-gradient(to top right, var(--c-orange), var(--c-cream)); }
.main-menu__list .nav-link { color: var(--c-text); }
.main-menu__list .nav-link:hover, .main-menu__list .nav-link.active, .main-menu__list .nav-link:focus-visible { color: var(--c-burgundy); }
.main-menu__list .nav-link.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.main-menu .btn-close-x::before, .main-menu .btn-close-x::after { background: var(--c-burgundy); }
.main-menu .btn-close-x:hover::before, .main-menu .btn-close-x:hover::after { background: var(--c-text); }
.main-menu .lang-switch__link { color: var(--c-text); }

/* Sponsors & Partners: show logos in their original colours (respect corporate identity).
   B/W logo files stay B/W; colour files render in colour. */
.partner__link img { filter: none; opacity: 1; }
.partner__link:hover img, .partner__link:focus-visible img { filter: none; opacity: 1; }
.sponsors__item img { filter: none; }
/* Cardy | Papa: the uploaded grid file is a tiny wordmark in white space; use the sharp cropped file at a comparable width */
.sponsors__item img[src*="CARDY_PAPA"] { content: url("/assets/img/sponsors/cardy-papa-grey.png"); width: 190px; height: auto; }

/* ---------- Mobile hero: date must sit in the sky, clear of the architecture ---------- */
@media (max-width: 767.98px) {
  .hero { background-position: -260px 0; }
  .hero__inner { padding-top: 118px; }
  .hero__date { font-size: min(22px, 5.6vw); line-height: 1.3; white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero { background-position: 0% 0; }
  .hero__date { font-size: 28px; line-height: 34px; }
}
.chapter { grid-template-columns: minmax(0, 1fr); }
