:root {
  --blue: #233881;
  --blue-soft: #3b5194;
  --green: #008b57;
  --red: #b81f26;
  --ink: #17211d;
  --cream: #f2f0eb;
  --line: rgba(255, 255, 255, 0.2);
  --hero-wave-duration: .9s;
  --hero-wave-last-delay: .24s;
  --hero-wave-end: calc(var(--hero-wave-last-delay) + var(--hero-wave-duration));
  --burger-line-duration: .65s;
  --burger-line-last-delay: .2s;
  --burger-line-end: calc(var(--hero-wave-end) + var(--burger-line-last-delay) + var(--burger-line-duration));
  --hero-wave-h-scale: 1;
  --hero-wave-bottom: -120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
body.has-internal-layout {
  background: none;
}
main {
  background: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.display { font-family: "Manrope", sans-serif; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  top: var(--drupal-displace-offset-top, 0);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 132px, 1280px);
  max-width: 1280px;
  max-height: 350px;
  margin: 0 auto;
  padding: 30px 0;
}
.site-header.is-solid {
  position: relative;
  top: auto; /* in normal flow, so body's toolbar padding already offsets it — don't add the displace offset twice */
  align-items: flex-start;
  background-color: white;
  background-image: url("../assets/ondas/dll_interna.png");
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 345px;
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
}
.site-header.is-solid .header-actions {
  margin-top: 57px;
}
.site-header.is-solid .desktop-nav {
  margin-top: 57px;
  color: var(--green);
}
.brand img { width: 116px; height: auto; }
.header-actions { color: var(--green); }
.iamcr-wordmark {
  display: none;
}
.iamcr-isotipo {
  display: block;
  width: 1.85em;
  height: 1.85em;
  margin-right: -.05em;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.iamcr-wordmark-text {
  color: inherit;
}

.desktop-nav {
  display: none;
  color: var(--green);
}
.desktop-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-nav > ul > li {
  position: relative;
}
.desktop-nav > ul > li > a,
.iamcr-wordmark-text {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav > ul > li > a {
  display: block;
  padding: .35rem 0;
  color: inherit;
}
.desktop-nav > ul > li > a:hover,
.desktop-nav > ul > li > a:focus-visible {
  opacity: .7;
}
.desktop-nav > ul > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 14rem;
  margin: .35rem 0 0;
  padding: .75rem 0;
  list-style: none;
  background: var(--green);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.25rem);
  transition: opacity .2s, visibility .2s, transform .2s;
}
.desktop-nav > ul > li:hover > ul,
.desktop-nav > ul > li:focus-within > ul,
.desktop-nav > ul > li.is-open > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.desktop-nav > ul > li > ul a {
  display: block;
  padding: .4rem 1rem;
  color: white;
  font-size: .95rem;
  line-height: 1.35;
  white-space: nowrap;
  transition: opacity .2s;
}
.desktop-nav > ul > li > ul a:hover,
.desktop-nav > ul > li > ul a:focus-visible {
  opacity: .55;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 39px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button svg { display: block; width: 37px; height: 29px; }
.menu-button svg rect {
  transform: scaleX(0);
  transform-box: fill-box;
  transform-origin: right center;
  animation: burger-line-draw var(--burger-line-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--burger-line-delay, 0s);
}
.menu-button svg rect:nth-child(1) { --burger-line-delay: 0s; }
.menu-button svg rect:nth-child(2) { --burger-line-delay: .1s; }
.menu-button svg rect:nth-child(3) { --burger-line-delay: var(--burger-line-last-delay); }
body.has-hero .menu-button svg rect {
  animation-delay: calc(var(--hero-wave-end) + var(--burger-line-delay, 0s));
}
@keyframes burger-line-draw {
  to { transform: scaleX(1); }
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: white;
  background: #233881;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-close { position: absolute; top: 28px; right: 34px; display: grid; place-items: center; width: 46px; height: 39px; border: 0; background: transparent; color: white; font-size: 32px; line-height: 1; cursor: pointer; }
.menu-panel nav { width: 70%; max-width: 1180px; margin: 70px auto 0; }
.menu-group { min-width: 0; }
.menu-group-faq { grid-column: 1; }
.menu-group h2 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); color: #9eafe1; font-size: .8rem; font-weight: 400; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; }
.menu-group a { display: block; margin-bottom: 10px; color: white; font-size: 1.05rem; line-height: 1.35; }
.menu-panel a { transition: opacity .2s; }
.menu-panel a:hover { opacity: .55; }

.hero {
  position: relative;
  z-index: 6;
  min-height: 0;
  height: 100svh;
  overflow: visible;
  background: var(--blue);
}
.hero-background { position: absolute; inset: 0; overflow: hidden; }
.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-haze { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.22), transparent 52%), linear-gradient(0deg, rgba(10,21,38,.1), transparent 40%); }
.hero-waves { position: absolute; inset: 0; z-index: 2; overflow: visible; pointer-events: none; }
.hero-wave-motion { position: absolute; inset: 0; opacity: 1; pointer-events: none; }
.hero-wave-motion-upper { z-index: 1; }
.hero-wave-motion-gradient { z-index: 2; }
.hero-wave { position: absolute; bottom: 0; left: 50%; display: block; width: 100%; max-width: none; height: auto; opacity: 0; transform: translate3d(-50%, 28px, 0) scaleY(var(--hero-wave-h-scale)); transform-origin: center bottom; animation: hero-wave-reveal var(--hero-wave-duration) cubic-bezier(.2,.8,.2,1) forwards; }
.hero-wave-stroke { z-index: 1; }
.hero-wave-stroke-upper { top: clamp(240px, 34.5vw, 353px); bottom: auto; width: 100vw; transform-origin: center top; }
.hero-wave-gradient { bottom: var(--hero-wave-bottom); z-index: 2; animation-delay: .12s; }
.hero-wave-main-wrap {
  position: absolute;
  bottom: var(--hero-wave-bottom);
  left: 50%;
  z-index: 3;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-wave.hero-wave-main {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scaleY(var(--hero-wave-h-scale));
  transform-origin: center bottom;
  animation: hero-wave-main-reveal var(--hero-wave-duration) cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--hero-wave-last-delay);
}
@keyframes hero-wave-main-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(var(--hero-wave-h-scale));
  }
}
@keyframes hero-wave-reveal {
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scaleY(var(--hero-wave-h-scale));
  }
}
.hero-cta {
  position: absolute;
  top: calc(100% * (1 - var(--hero-wave-h-scale)) + 25% * var(--hero-wave-h-scale));
  bottom: auto;
  right: max(7vw, calc((100vw - 1280px) / 2));
  z-index: 4;
  /* Grows to fit the CTA link on one line (white-space: nowrap below), but
     never narrower than the original fixed width. */
  width: max-content;
  min-width: 260px;
  color: white;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transform-origin: top right;
  animation: hero-cta-reveal 1s cubic-bezier(0.12, 1, 0.28, 1) forwards;
  animation-delay: var(--hero-wave-end);
}
@keyframes hero-cta-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hero-cta .eyebrow { padding-bottom: 0; font-size: .95rem; line-height: 1.35; }
.hero-cta .eyebrow::after {
  content: "";
  display: block;
  width: 33.33%;
  height: 2px;
  margin: calc(16px * var(--hero-wave-h-scale)) 0;
  background: var(--blue);
}
.hero-cta a {
  display: inline-block;
  margin-top: 0;
  font: 400 clamp(1.7rem, 3vw, 2.6rem)/1.18 "Manrope";
  /* Keeps e.g. "Call for papers >" from wrapping; an explicit <br> in the
     editable CTA text (Appearance > Settings) still breaks the line. */
  white-space: nowrap;
  transform: scale(var(--hero-wave-h-scale));
  transform-origin: top left;
}
.hero-cta-icon { display: inline-block; vertical-align: middle; transition: transform .2s; }
.hero-cta-icon svg { display: block; width: .9em; height: .9em; }
.hero-cta a:hover .hero-cta-icon { transform: translateX(7px); }

.programme { position: relative; z-index: 5; margin-top: -2px; padding: 120px 0 110px; color: white; background: var(--blue); }
.programme > .container { width: min(100% - 180px, 1400px); }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.programme-highlight { max-width: 820px; margin: 0 0 56px; font: 400 clamp(1.55rem, 2.2vw, 2rem)/1.15 "Manrope"; letter-spacing: -.025em; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  display: grid;
  grid-template-columns: 51px 1fr 28px;
  align-items: center;
  width: 100%;
  padding: 25px 0;
  border: 0;
  color: white;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.accordion-icon { display: flex; align-items: center; width: 30px; height: 34px; }
.accordion-icon img { display: block; width: auto; height: auto; max-width: 25px; max-height: 27px; }
.accordion-trigger strong { font-size: clamp(0.95rem, 1.75vw, 1.2rem); font-weight: 400; }
.chevron { width: 11px; height: 11px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); transition: transform .25s; }
.chevron-right { display: inline-block; width: 11px; height: 11px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-45deg); transition: transform .2s; }
.accordion-item.active .chevron { transform: rotate(225deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .65s cubic-bezier(.22, 1, .36, 1); }
.accordion-inner {
  margin: 0 0 24px 30px;
  padding: 26px 30px;
  background: rgba(255,255,255,.09);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .55s ease .08s, transform .55s cubic-bezier(.22, 1, .36, 1) .08s;
}
.accordion-item.active .accordion-inner { opacity: 1; transform: none; }
.date-list { max-width: 820px; color: #e2e8fa; font-size: .93rem; }
/* Plain <table> pasted into an accordion block body via CKEditor 5 (which
   wraps it in <figure class="table">) — same look as .date-list. */
.accordion-inner figure.table { margin: 0; }
.accordion-inner table { max-width: 820px; border-collapse: collapse; color: #e2e8fa; font-size: .93rem; }
.accordion-inner table td, .accordion-inner table th { padding: 6px 28px 6px 0; border: 0; text-align: left; vertical-align: top; font-weight: inherit; }
.accordion-inner table td:first-child, .accordion-inner table th:first-child { width: 10rem; white-space: nowrap; }
.event-group-title { margin: 28px 0 16px; color: #b9caed; font: 400 .72rem "DM Sans"; letter-spacing: .14em; text-transform: uppercase; }
.event-group-title:first-of-type { margin-top: 20px; }
.event-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.event-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #e2e8fa; font-size: .93rem; }
.event-list li:last-child { border-bottom: 0; }
.event-meta { color: #b9caed; font-size: .82rem; }
.event-title { line-height: 1.45; }
.event-note { max-width: 820px; margin: 16px 0 0; color: #e2e8fa; font-size: .93rem; line-height: 1.55; }
.cfp-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  max-width: 820px;
  column-gap: 40px;
}
.cfp-list li { break-inside: avoid; margin-bottom: 10px; }
.cfp-list a {
  color: #e2e8fa;
  font-size: .93rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.cfp-list a:hover { opacity: .65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: white; text-decoration: underline; text-underline-offset: 4px; }

.host-intro { padding: 110px 0 40px; background: var(--cream); }
.section-kicker { display: flex; align-items: center; gap: 14px; color: var(--green); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.host-intro .section-kicker { display: block; margin: 0 0 45px; font: 400 clamp(1.35rem, 1.9vw, 1.75rem)/1.15 "Manrope"; letter-spacing: -.025em; text-transform: none; }
.host-intro .section-kicker::before { display: none; }
.host-intro .section-kicker::after { content: ""; display: block; width: 60px; height: 2px; margin-top: 20px; background: var(--blue); }
.section-kicker.on-red, .header-actions.header-light { color: white; }
.text-link.green-link { color: var(--green); }
.date-list.ink-dates { color: var(--ink); }
.host-copy h2 { align-self: start; margin: 0; color: var(--blue); font: 400 clamp(1.85rem, 3.9vw, 3.8rem)/.98 "Manrope"; letter-spacing: -.045em; }
.host-copy p { max-width: 620px; margin: 0; color: #4f5b55; font-size: 1.08rem; line-height: 1.75; cursor: help; }
.host-more { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s ease, opacity .35s ease; }
.host-copy p:hover .host-more,
.host-copy p.is-expanded .host-more { max-height: 700px; opacity: 1; }
.host-copy p[data-host-more] { cursor: pointer; }
.horizontal-section { position: relative; height: 260vh; background: var(--cream); }
.horizontal-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: flex-start; padding-top: 28px; overflow: hidden; }
.horizontal-track { display: flex; gap: 24px; padding-left: max(24px, calc((100vw - 1180px)/2)); will-change: transform; }
.host-card { display: block; flex: 0 0 min(55vw, 545px); }
.host-card:nth-child(2) { flex-basis: min(37vw, 375px); }
.host-card:nth-child(3) { flex-basis: min(44vw, 445px); }
.host-card:nth-child(4) { flex-basis: min(40vw, 405px); }
.host-card:nth-child(5) { flex-basis: min(36vw, 360px); }
.host-card-media { height: min(47vh, 450px); overflow: hidden; margin-bottom: 18px; background: #ddd; }
.host-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.host-card-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.host-card:hover .host-card-media img { transform: scale(1.035); }
.host-card-caption { display: flex; justify-content: space-between; align-items: center; margin: 0; color: var(--ink); font-size: 1rem; }
.host-card-caption span:last-child { transition: transform .2s; }
.host-card:hover .host-card-caption .chevron-right { transform: translateX(5px) rotate(-45deg); }
.host-card-link,
.trip-card-link { display: contents; color: inherit; text-decoration: none; }

.gallery-scroll { --gallery-fade: var(--cream); }
.trip-sticky.gallery-scroll { --gallery-fade: var(--red); }
.gallery-scroll::before,
.gallery-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(88px, 14vw);
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
}
.gallery-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--gallery-fade), transparent);
  opacity: 0;
}
.gallery-scroll::after {
  right: 0;
  background: linear-gradient(to right, transparent, var(--gallery-fade));
}
.gallery-next,
.gallery-prev {
  position: absolute;
  top: calc(28px + min(23.5vh, 225px));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: opacity .35s ease;
}
.gallery-next {
  right: 16px;
  animation: gallery-chevron-nudge 1.6s ease-in-out infinite;
}
.gallery-prev {
  left: 16px;
  opacity: 0;
  pointer-events: none;
  animation: gallery-chevron-nudge-prev 1.6s ease-in-out infinite;
}
.gallery-next::before,
.gallery-prev::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.gallery-next::before { transform: rotate(-45deg); }
.gallery-prev::before { transform: rotate(135deg); }
.trip-sticky .gallery-next,
.trip-sticky .gallery-prev {
  top: calc(110px + min(20vh, 195px) + 9rem);
  color: #fff;
}
.gallery-scroll.is-at-end::after,
.gallery-scroll.is-at-end .gallery-next {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.gallery-scroll:not(.is-at-start)::before,
.gallery-scroll:not(.is-at-start) .gallery-prev {
  opacity: 1;
  pointer-events: auto;
}
.gallery-scroll:not(.is-at-start)::before {
  pointer-events: none;
}
.gallery-scroll.is-at-start::before,
.gallery-scroll.is-at-start .gallery-prev {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
@keyframes gallery-chevron-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@keyframes gallery-chevron-nudge-prev {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

.trip { position: relative; height: 260vh; color: white; background: var(--red); }
.trip-sticky { position: sticky; top: 0; height: 100vh; padding-top: 110px; overflow: hidden; }
.trip .section-kicker { display: block; margin: 0 0 45px; font: 400 clamp(1.35rem, 1.9vw, 1.75rem)/1.15 "Manrope"; letter-spacing: -.025em; text-transform: none; }
.trip .section-kicker::before { display: none; }
.trip .section-kicker::after { content: ""; display: block; width: 60px; height: 2px; margin-top: 20px; background: var(--blue); }
.trip h2 { margin: 0 0 44px; font: 400 clamp(1.85rem, 3.9vw, 3.45rem)/.98 "Manrope"; letter-spacing: -.045em; }
.trip-track { display: flex; gap: 24px; padding-left: max(24px, calc((100vw - 1180px)/2)); will-change: transform; }
.trip-card { display: block; flex: 0 0 min(45vw, 505px); }
.trip-card:nth-child(2) { flex-basis: min(35vw, 375px); }
.trip-card:nth-child(3) { flex-basis: min(42vw, 445px); }
.trip-card:nth-child(4) { flex-basis: min(37vw, 375px); }
.trip-card:nth-child(5) { flex-basis: min(42vw, 445px); }
.trip-image { height: min(40vh, 390px); overflow: hidden; margin-bottom: 18px; background: white; }
.trip-card:first-child .trip-image { display: flex; align-items: center; justify-content: center; background: transparent; }
.trip-card:first-child .trip-image img { width: auto; height: auto; max-width: 85%; max-height: 90%; object-fit: contain; }
.trip-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.trip-card:hover img { transform: scale(1.04); }
.trip-card p { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 1rem; }
.trip-card p span:last-child { transition: transform .2s; }
.trip-card:hover .chevron-right { transform: translateX(5px) rotate(-45deg); }

.sponsors { padding: 80px 0; background: white; color: #26322d; }
/* Partner logos (templates/partials/partners.html.twig). Each img's --logo-w
   is an equal-area width from _iamcr2027_partner_groups(); --logo-scale
   shrinks them all on smaller screens. */
.sponsors { --logo-scale: 1; }
.sponsors--compact { padding: 48px 0; }
.partners { display: grid; gap: 48px 64px; }
.partners-heading { margin: 0 0 22px; color: #6b7a73; font-size: .72rem; font-weight: 300; text-align: center; text-transform: uppercase; letter-spacing: .14em; }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 36px; margin: 0; padding: 0; list-style: none; }
.partners-group--organisers .partners-row { gap: 28px 72px; }
.partner-logo { display: flex; align-items: center; gap: 20px; }
.partner-logo a { display: block; border-radius: 4px; }
.partner-logo a:focus-visible { outline: 2px solid #233881; outline-offset: 6px; }
.partner-logo img { display: block; width: calc(var(--logo-w) * var(--logo-scale)); max-width: 100%; height: auto; mix-blend-mode: multiply; }
.site-footer { padding: 72px 0 34px; color: white; background: #007934; }
.footer-brand { font: 400 clamp(1.5rem, 2.5vw, 2.4rem)/1.1 "Manrope"; }
.footer-col h3 { margin: 0 0 20px; color: #91b6a5; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-col a, .footer-col p, .footer-col button.footer-more { display: block; margin: 9px 0; color: #e0e7e3; font-size: .94rem; }
.footer-col button.footer-more { padding: 0; border: 0; font: inherit; background: transparent; text-align: left; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); color: #8ea097; font-size: .78rem; }

/* Internal page */
.page-nav h2 {
  margin: 0 0 18px;
  color: #8ea0c7;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}
.page-nav-secondary {
  margin-top: 48px !important;
}
.page-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 0;
  color: #6b7480;
  font-size: .92rem;
  line-height: 1.35;
}
.page-nav a.active {
  color: var(--blue);
  font-weight: 500;
}
.prose {
  padding-left: clamp(36px, 5vw, 72px);
  min-width: 0;
}
.prose-intro {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #d9dee6;
}
.prose-intro h1 {
  margin: 0 0 28px;
  color: var(--blue);
  font: 500 clamp(1.9rem, 3.8vw, 3rem)/1.1 "Manrope", sans-serif;
  letter-spacing: -.03em;
}
.prose-intro p {
  margin: 0;
  max-width: 54rem;
}
.prose section {
  scroll-margin-top: 40px;
  padding-bottom: 8px;
  margin-bottom: 42px;
  border-bottom: 0;
}
.prose section:last-child { margin-bottom: 0; }
.prose h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font: 500 clamp(1.3rem, 1.9vw, 1.55rem)/1.3 "Manrope", sans-serif;
  letter-spacing: -.01em;
}
.prose h3, .prose h4, .prose h5, .prose h6 { margin: 32px 0 12px; color: var(--blue); font-family: "Manrope", sans-serif; line-height: 1.35; }
.prose h3 { font-size: 1.1rem; font-weight: 500; }
.prose h4 { margin-top: 28px; font-size: 1.05rem; font-weight: 600; }
.prose h5 { margin-top: 24px; font-size: 1rem; font-weight: 600; }
.prose h6 { margin-top: 24px; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.prose p, .prose li { color: #6b7480; font-size: 1rem; line-height: 1.75; }
.prose p + p { margin-top: 1.1em; }
.prose .callout { margin-top: 35px; padding: 28px; border-left: 3px solid var(--green); background: white; }
/* Gutenberg core blocks in the Body (.prose-body). The Body is rendered via
   check_markup(), not the field formatter, so Gutenberg's own block CSS never
   loads, and Tailwind's preflight strips list bullets, link underlines and
   element margins — every block/class an editor can produce needs a rule
   here. Mobile overrides live in the `width < 48rem` block below. */
.prose-body::after, .prose section::after { content: ""; display: table; clear: both; }
.prose-body :is(ul, ol, blockquote, pre, hr, table, details, figure,
  .wp-block-buttons, .wp-block-columns, .wp-block-media-text, .wp-block-group,
  .wp-block-cover, .wp-block-file) { margin: 1.25em 0; }
.prose-body :is(.wp-block-column, .wp-block-group, .wp-block-cover__inner-container, .wp-block-media-text__content, blockquote, details) > :first-child { margin-top: 0; }
.prose-body :is(.wp-block-column, .wp-block-group, .wp-block-cover__inner-container, .wp-block-media-text__content, blockquote, details) > :last-child { margin-bottom: 0; }
.prose-body :is(ul, ol, blockquote, pre, figure, table, details) + p { margin-top: 1.1em; }

/* Inline: links, highlights, code. */
.prose-body a:not(.wp-block-button__link, .wp-block-file__button) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose-body a:not(.wp-block-button__link, .wp-block-file__button):hover { color: var(--green); }
.prose-body code { padding: .1em .35em; border-radius: 4px; background: #e6e9ee; font-size: .9em; }

/* Lists */
.prose-body ul { list-style: disc; padding-left: 1.5em; }
.prose-body ol { list-style: decimal; padding-left: 1.5em; }
.prose-body li + li { margin-top: .35em; }
.prose-body li > :is(ul, ol) { margin: .35em 0 0; }
.prose-body ul ul { list-style: circle; }

/* Text alignment, font sizes, drop cap */
.prose-body .has-text-align-left { text-align: left; }
.prose-body .has-text-align-center { text-align: center; }
.prose-body .has-text-align-right { text-align: right; }
.prose-body .has-small-font-size { font-size: .85rem; }
.prose-body :is(.has-normal-font-size, .has-medium-font-size) { font-size: 1.1rem; }
.prose-body .has-large-font-size { font-size: 1.4rem; line-height: 1.4; }
.prose-body :is(.has-x-large-font-size, .has-huge-font-size) { font-size: 1.9rem; line-height: 1.25; }
.prose-body .has-drop-cap::first-letter { float: left; margin: .05em .12em 0 0; color: var(--blue); font: 500 4.2em/.8 "Manrope", sans-serif; }

/* Colors: Gutenberg's default palette (class-based; custom colors come as
   inline styles and already work). A block with its own text color must win
   over .prose p's grey, so descendants inherit it. */
.prose-body .has-text-color :where(p, li, h2, h3, h4, h5, h6, figcaption, cite) { color: inherit; }
.prose-body .has-background { padding: 1.25em 1.5em; }
.prose-body .has-black-color { color: #000; } .prose-body .has-black-background-color { background-color: #000; }
.prose-body .has-white-color { color: #fff; } .prose-body .has-white-background-color { background-color: #fff; }
.prose-body .has-cyan-bluish-gray-color { color: #abb8c3; } .prose-body .has-cyan-bluish-gray-background-color { background-color: #abb8c3; }
.prose-body .has-pale-pink-color { color: #f78da7; } .prose-body .has-pale-pink-background-color { background-color: #f78da7; }
.prose-body .has-vivid-red-color { color: #cf2e2e; } .prose-body .has-vivid-red-background-color { background-color: #cf2e2e; }
.prose-body .has-luminous-vivid-orange-color { color: #ff6900; } .prose-body .has-luminous-vivid-orange-background-color { background-color: #ff6900; }
.prose-body .has-luminous-vivid-amber-color { color: #fcb900; } .prose-body .has-luminous-vivid-amber-background-color { background-color: #fcb900; }
.prose-body .has-light-green-cyan-color { color: #7bdcb5; } .prose-body .has-light-green-cyan-background-color { background-color: #7bdcb5; }
.prose-body .has-vivid-green-cyan-color { color: #00d084; } .prose-body .has-vivid-green-cyan-background-color { background-color: #00d084; }
.prose-body .has-pale-cyan-blue-color { color: #8ed1fc; } .prose-body .has-pale-cyan-blue-background-color { background-color: #8ed1fc; }
.prose-body .has-vivid-cyan-blue-color { color: #0693e3; } .prose-body .has-vivid-cyan-blue-background-color { background-color: #0693e3; }
.prose-body .has-vivid-purple-color { color: #9b51e0; } .prose-body .has-vivid-purple-background-color { background-color: #9b51e0; }

/* Images (alignment, rounded style), wide/full treated as full column width */
.prose-body figure img { display: block; max-width: 100%; height: auto; }
.prose-body figcaption { margin-top: .6em; color: #6e7783; font-size: .78rem; line-height: 1.5; text-align: center; }
.prose-body .alignright { float: right; max-width: 50%; margin: .4em 0 1em 2em; }
.prose-body .alignleft { float: left; max-width: 50%; margin: .4em 2em 1em 0; }
.prose-body .aligncenter { display: table; margin-left: auto; margin-right: auto; }
.prose-body .aligncenter img { margin-left: auto; margin-right: auto; }
.prose-body :is(.alignwide, .alignfull) { width: 100%; max-width: 100%; }
.prose-body :is(.alignwide, .alignfull) img { width: 100%; }
.prose-body .is-style-rounded img { border-radius: 9999px; }

/* Gallery (current nested-images markup + legacy ul.blocks-gallery-grid) */
.prose-body .wp-block-gallery,
.prose-body .blocks-gallery-grid { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
/* Legacy markup: the <ul> is the gallery figure's only flex child, so it
   must span the full width or the items shrink to their images' size. */
.prose-body .wp-block-gallery > .blocks-gallery-grid { flex: 1 1 100%; margin: 0; }
.prose-body .wp-block-gallery > :is(figure, .blocks-gallery-item),
.prose-body .blocks-gallery-grid > .blocks-gallery-item { flex: 1 1 calc(33.333% - 12px); margin: 0; }
.prose-body .wp-block-gallery.columns-2 > figure,
.prose-body .wp-block-gallery.columns-2 .blocks-gallery-item { flex-basis: calc(50% - 12px); }
.prose-body .wp-block-gallery.columns-4 > figure,
.prose-body .wp-block-gallery.columns-4 .blocks-gallery-item { flex-basis: calc(25% - 12px); }
/* "Crop images" works like Gutenberg's own: no fixed aspect ratio — each row
   takes the height of its tallest image and the rest cover that box, so
   portraits stay portraits (a fixed 4:3 cut off heads). */
.prose-body .wp-block-gallery.is-cropped > figure,
.prose-body .wp-block-gallery.is-cropped .blocks-gallery-item,
.prose-body .wp-block-gallery.is-cropped .blocks-gallery-item > figure { display: flex; flex-direction: column; }
.prose-body .wp-block-gallery.is-cropped .blocks-gallery-item > figure { flex: 1; margin: 0; }
.prose-body .wp-block-gallery.is-cropped img { flex: 1; width: 100%; height: 100%; object-fit: cover; }
.prose-body .wp-block-gallery > figcaption { flex-basis: 100%; }

/* Quote / pullquote / code / preformatted / verse */
.prose-body blockquote { padding: .25em 0 .25em 1.4em; border-left: 3px solid var(--green); }
.prose-body blockquote p { color: var(--ink); font-size: 1.1rem; }
.prose-body cite { display: block; margin-top: .6em; color: #6b7480; font-size: .85rem; font-style: normal; }
.prose-body .wp-block-pullquote { padding: 1.5em 0; border-top: 3px solid var(--blue); border-bottom: 3px solid var(--blue); text-align: center; }
.prose-body .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.prose-body .wp-block-pullquote p { color: var(--blue); font: 500 1.45rem/1.4 "Manrope", sans-serif; }
.prose-body pre { overflow-x: auto; padding: 1em 1.25em; border-radius: 6px; background: #e6e9ee; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; }
.prose-body pre code { padding: 0; background: none; }
.prose-body pre.wp-block-verse { background: none; padding: 0; font-family: inherit; font-size: 1rem; color: #6b7480; }

/* Separator / spacer */
.prose-body hr { height: 0; border: 0; border-top: 1px solid #d9dee6; }
.prose-body hr:not(.is-style-wide, .is-style-dots) { width: 6rem; margin-left: auto; margin-right: auto; }
.prose-body hr.is-style-dots { height: auto; border: 0; text-align: center; }
.prose-body hr.is-style-dots::before { content: "\00b7 \00b7 \00b7"; color: #6b7480; font-size: 1.5rem; letter-spacing: 1em; }
.prose-body hr.has-background { padding: 0; height: 2px; border: 0; }

/* Buttons + file download */
.prose-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose-body .wp-block-buttons.is-content-justification-center { justify-content: center; }
.prose-body .wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.prose-body .wp-block-buttons.is-vertical { flex-direction: column; align-items: flex-start; }
.prose-body :is(.wp-block-button__link, .wp-block-file__button) { display: inline-block; padding: .7em 1.4em; border: 2px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s; }
.prose-body :is(.wp-block-button__link, .wp-block-file__button):hover { border-color: var(--green); background: var(--green); color: #fff; }
.prose-body .is-style-outline .wp-block-button__link:not(.has-background) { background: transparent; color: var(--blue); }
.prose-body .is-style-outline .wp-block-button__link:not(.has-background):hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.prose-body .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.prose-body .wp-block-file__button { padding: .45em 1.1em; font-size: .9rem; }
.prose-body .wp-block-file object { display: block; width: 100%; height: 600px; margin-bottom: 12px; }

/* Columns / media & text / group / cover */
.prose-body .wp-block-columns { display: flex; gap: 2em; }
.prose-body .wp-block-columns.are-vertically-aligned-center { align-items: center; }
.prose-body .wp-block-columns.are-vertically-aligned-bottom { align-items: flex-end; }
.prose-body .wp-block-column { flex: 1 1 0; min-width: 0; }
.prose-body .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
.prose-body .wp-block-column.is-vertically-aligned-center { align-self: center; }
.prose-body .wp-block-column.is-vertically-aligned-bottom { align-self: flex-end; }
.prose-body .wp-block-media-text { display: grid; grid-template-columns: 50% 1fr; align-items: center; gap: 2em; }
.prose-body .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 50%; }
.prose-body .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { grid-column: 2; grid-row: 1; }
.prose-body .wp-block-media-text.is-vertically-aligned-top { align-items: start; }
.prose-body .wp-block-media-text__media { margin: 0; }
.prose-body .wp-block-media-text__media :is(img, video) { display: block; width: 100%; height: auto; }
.prose-body .wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 2em; overflow: hidden; color: #fff; }
.prose-body .wp-block-cover :is(.wp-block-cover__image-background, .wp-block-cover__video-background) { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.prose-body .wp-block-cover__background { position: absolute; inset: 0; }
:where(.prose-body .wp-block-cover__background) { background-color: #000; opacity: .5; }
.prose-body .wp-block-cover__background.has-background-dim-0 { opacity: 0; }
.prose-body .wp-block-cover__background.has-background-dim-10 { opacity: 0.1; }
.prose-body .wp-block-cover__background.has-background-dim-20 { opacity: 0.2; }
.prose-body .wp-block-cover__background.has-background-dim-30 { opacity: 0.3; }
.prose-body .wp-block-cover__background.has-background-dim-40 { opacity: 0.4; }
.prose-body .wp-block-cover__background.has-background-dim-50 { opacity: 0.5; }
.prose-body .wp-block-cover__background.has-background-dim-60 { opacity: 0.6; }
.prose-body .wp-block-cover__background.has-background-dim-70 { opacity: 0.7; }
.prose-body .wp-block-cover__background.has-background-dim-80 { opacity: 0.8; }
.prose-body .wp-block-cover__background.has-background-dim-90 { opacity: 0.9; }
.prose-body .wp-block-cover__background.has-background-dim-100 { opacity: 1; }
.prose-body .wp-block-cover__inner-container { position: relative; z-index: 1; width: 100%; }
.prose-body .wp-block-cover :is(p, h2, h3, h4) { color: inherit; }

/* Tables */
.prose-body .wp-block-table { overflow-x: auto; }
.prose-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose-body :is(th, td) { padding: .6em .8em; border: 1px solid #d9dee6; color: #6b7480; text-align: left; vertical-align: top; }
.prose-body th, .prose-body thead td { color: var(--blue); font-weight: 600; }
.prose-body .wp-block-table.is-style-stripes :is(th, td) { border: 0; }
.prose-body .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: rgba(35, 56, 129, .05); }

/* Embeds (YouTube/Vimeo/...), video, audio */
.prose-body .wp-block-embed iframe { display: block; max-width: 100%; }
.prose-body .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; }
.prose-body .wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.prose-body .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before { padding-top: 75%; }
.prose-body .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before { padding-top: 100%; }
.prose-body .wp-embed-aspect-9-16 .wp-block-embed__wrapper::before { padding-top: 177.78%; }
.prose-body .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose-body :is(.wp-block-video, .wp-block-audio) :is(video, audio) { display: block; width: 100%; }

/* Details (accordion) */
.prose-body details { padding: .9em 1.1em; border: 1px solid #d9dee6; background: #fff; }
.prose-body summary { color: var(--blue); font-weight: 500; cursor: pointer; }
.prose-body details[open] > summary { margin-bottom: .6em; }
.internal-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 56px;
  object-fit: cover;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Desktop-only: wave scale + CTA vertical fine-tuning (incl. alt) */
@media (min-width: 48rem) and (max-height: 800px) {
  :root {
    --hero-wave-h-scale: clamp(0.35, calc(100svh / 1000px), 1);
    --hero-wave-bottom: calc(-120px * var(--hero-wave-h-scale));
  }
}

/* Wide screens: also shrink waves in height as width grows past 1600px */
@media (min-width: 1601px) {
  :root {
    --hero-wave-h-scale: clamp(
      0.35,
      min(calc(100svh / 1000px), calc(1600px / 100vw)),
      1
    );
    --hero-wave-bottom: calc(-120px * var(--hero-wave-h-scale));
  }
}

/* Wide desktop: explicit header nav */
@media (width >= 64rem) {
  .desktop-nav {
    display: block;
    flex: 1;
    margin-left: 2rem;
    margin-right: 1.5rem;
  }
  .desktop-nav > ul {
    justify-content: flex-end;
    gap: clamp(.85rem, 1.4vw, 1.25rem);
  }
  .iamcr-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0;
  }
  .menu-button {
    display: none;
  }
}

/* Tablet */
@media (width >= 48rem) and (width < 64rem) {
  :root {
    --hero-wave-h-scale: 1;
    --hero-wave-bottom: -120px;
  }
  .site-header {
    width: calc(100% - 64px);
    padding-top: 28px;
  }
  .site-header.is-solid {
    min-height: 280px;
    padding-inline: 32px;
    background-size: 100% auto;
  }
  .site-header.is-solid .header-actions {
    margin-top: 36px;
  }
  .site-header.is-solid .desktop-nav {
    margin-top: 36px;
  }

  /* conference.html: fondo del header a tamaño natural (no escalar) */
  body.has-internal-layout .site-header.is-solid {
    min-height: 270px;
    background-size: auto;
    background-position: center bottom;
  }
  body.has-internal-layout .site-header.is-solid .header-actions {
    margin-top: 40px;
  }
  body.has-internal-layout .site-header.is-solid .desktop-nav {
    margin-top: 40px;
  }

  /* Ondas a tamaño completo, ancladas a la derecha */
  .hero {
    overflow-x: clip;
    overflow-y: visible;
  }
  .hero-wave-main-wrap {
    width: 1280px;
    left: auto;
    right: 0;
    transform: none;
  }
  .hero-wave.hero-wave-main {
    width: 100%;
    max-width: none;
    transform-origin: right bottom;
  }
  .hero-wave-gradient {
    width: 1280px;
    left: auto;
    right: 0;
    transform: translate3d(0, 28px, 0) scaleY(var(--hero-wave-h-scale));
    transform-origin: right bottom;
    animation-name: hero-wave-main-reveal;
  }
  .hero-wave-stroke-upper {
    width: 1360px;
    left: auto;
    right: 0;
    transform: translate3d(0, 28px, 0) scaleY(var(--hero-wave-h-scale));
    transform-origin: right top;
    animation-name: hero-wave-main-reveal;
  }

  .programme {
    padding: 96px 0 88px;
  }
  .programme > .container {
    width: calc(100% - 96px);
  }
  .host-intro {
    padding: 88px 0 36px;
  }
  .trip-sticky {
    padding-top: 88px;
  }
  .menu-panel nav {
    width: calc(100% - 80px);
  }
  .menu-group-faq {
    grid-column: auto;
  }
}

/* Mobile / small tablet */
@media (width < 48rem) {
  .site-header {
    width: calc(100% - 4rem); /* matches Tailwind mx-8 */
    margin-inline: 2rem;
    padding-top: 20px;
    padding-bottom: 16px;
    max-height: none;
  }
  .site-header.is-solid {
    width: 100%;
    margin-inline: 0;
    min-height: 210px;
    padding: 18px 2rem 28px; /* matches Tailwind px-8 */
    background-size: auto;
    background-position: center bottom;
    align-items: flex-start;
  }
  .site-header.is-solid .header-actions {
    margin-top: 32px;
  }
  .brand {
    margin-left: 0;
  }
  .brand img {
    width: 96px;
  }
  .menu-button {
    width: 44px;
    height: 36px;
  }
  .menu-button svg {
    width: 32px;
    height: 25px;
  }
  .menu-button svg rect,
  body.has-hero .menu-button svg rect {
    transform: scaleX(1);
    animation: none;
  }
  .menu-close {
    top: 18px;
    right: 2rem;
  }
  .menu-panel nav {
    width: calc(100% - 40px);
    margin: 72px auto 48px;
    padding-bottom: 32px;
  }
  .menu-group-faq {
    grid-column: auto;
  }
  .menu-group h2 {
    font-size: .72rem;
  }
  .menu-group a {
    font-size: .98rem;
  }

  /* Hero: mobile-native CTA/waves — do not reuse desktop alt fine-tuning */
  .hero {
    min-height: 100svh;
    height: 100svh;
    overflow-x: clip;
    overflow-y: visible;
  }
  .hero-background {
    overflow: hidden;
  }
  .hero-wave-main-wrap {
    width: 860px;
    left: auto;
    right: 0;
    transform: none;
    bottom: -40px;
  }
  .hero-wave.hero-wave-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .hero-wave-stroke-upper {
    width: 100vw;
    top: clamp(160px, 42vw, 280px);
  }
  .hero-wave-gradient {
    width: 860px;
    left: auto;
    right: 0;
    transform: translate3d(0, 28px, 0) scaleY(var(--hero-wave-h-scale));
    transform-origin: right bottom;
    bottom: -40px;
    animation-name: hero-wave-main-reveal;
  }
  .hero-cta {
    right: 20px;
    min-width: min(200px, calc(100vw - 48px));
    transform: translate3d(0, 12px, 0);
    transform-origin: top right;
  }
  .hero-cta .eyebrow {
    font-size: .85rem;
  }
  .hero-cta .eyebrow::after {
    margin: 12px 0;
  }
  .hero-cta a {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    transform: none;
  }

  .programme {
    padding: 64px 0 72px;
  }
  .programme > .container {
    width: calc(100% - 40px);
  }
  .programme-highlight {
    margin-bottom: 32px;
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }
  .accordion-trigger {
    grid-template-columns: 40px 1fr 24px;
    padding: 20px 0;
  }
  .accordion-inner {
    margin-left: 0;
    padding: 18px;
  }
  .date-list span:nth-child(even) {
    margin-bottom: 11px;
  }
  .accordion-inner table, .accordion-inner tbody, .accordion-inner tr, .accordion-inner td {
    display: block;
    width: auto;
  }
  .accordion-inner table td { padding: 0; }
  .accordion-inner table td:last-child { margin-bottom: 11px; }
  .host-intro {
    padding: 64px 0 24px;
  }
  .host-intro .section-kicker {
    margin-bottom: 28px;
  }
  .host-copy h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }
  .host-copy p {
    font-size: 1rem;
  }
  .horizontal-section {
    height: auto;
    padding: 12px 0 64px;
  }
  .horizontal-sticky {
    position: relative;
    height: auto;
    padding-top: 0;
    overflow: hidden;
  }
  .horizontal-track {
    transform: none !important;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-next,
  .gallery-prev {
    top: calc(min(22.5vw, 110px));
  }
  .gallery-next {
    right: 10px;
  }
  .gallery-prev {
    left: 10px;
  }
  .gallery-next::before,
  .gallery-prev::before {
    width: 12px;
    height: 12px;
  }
  .trip-sticky .gallery-next,
  .trip-sticky .gallery-prev {
    top: calc(min(22.5vw, 110px) + 7.5rem);
  }
  .host-card,
  .host-card:nth-child(2),
  .host-card:nth-child(3),
  .host-card:nth-child(4),
  .host-card:nth-child(5) {
    flex-basis: min(64vw, 265px);
    scroll-snap-align: start;
  }
  .host-card-media {
    height: min(45vw, 220px);
  }
  .host-card-caption {
    font-size: .92rem;
    gap: 12px;
  }
  .trip {
    height: auto;
    padding: 64px 0 72px;
  }
  .trip-sticky {
    position: relative;
    height: auto;
    padding-top: 0;
    overflow: hidden;
  }
  .trip .section-kicker {
    margin-bottom: 28px;
  }
  .trip h2 {
    margin-bottom: 28px;
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }
  .trip-track {
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .trip-card,
  .trip-card:nth-child(2),
  .trip-card:nth-child(3),
  .trip-card:nth-child(4),
  .trip-card:nth-child(5) {
    flex-basis: min(64vw, 265px);
    scroll-snap-align: start;
  }
  .trip-image {
    height: min(45vw, 220px);
  }
  .sponsors {
    --logo-scale: .78;
    padding: 56px 0;
  }
  .sponsors--compact {
    padding: 36px 0;
  }
  .partners {
    gap: 40px;
  }
  .partners-row {
    gap: 20px 32px;
  }
  .partners-group--organisers .partners-row {
    gap: 24px 40px;
  }
  .site-footer {
    padding: 56px 0 28px;
  }
  .footer-bottom {
    font-size: .72rem;
    line-height: 1.45;
  }
  .prose {
    padding-left: 0;
  }
  .internal-layout {
    padding-top: 1.5rem; /* less than Tailwind max-md:pt-10 */
  }
  .prose-intro h1 {
    margin-bottom: 20px;
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .prose-body .alignright, .prose-body .alignleft {
    float: none;
    max-width: 100%;
    margin: 1.5em 0;
  }
  .prose-body .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; }
  .prose-body .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: auto !important; }
  .prose-body .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 1fr; }
  .prose-body .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
  .prose-body .wp-block-gallery > figure,
  .prose-body .wp-block-gallery .blocks-gallery-item { flex-basis: calc(50% - 12px); }
  .prose section {
    scroll-margin-top: 24px;
    margin-bottom: 32px;
  }
  .internal-image {
    margin-bottom: 36px;
  }
  .page-nav {
    display: none;
  }
  .page-nav-secondary {
    margin-top: 28px !important;
  }
}

/* Small phones */
@media (width < 40rem) {
  .site-header {
    width: calc(100% - 3rem); /* matches Tailwind mx-6 */
    margin-inline: 1.5rem;
    padding-top: 16px;
  }
  .site-header.is-solid {
    padding: 14px 1.5rem 24px; /* matches Tailwind px-6 */
  }
  .brand img {
    width: 88px;
  }
  .hero-cta {
    right: 16px;
    min-width: min(180px, calc(100vw - 40px));
  }
  .hero-cta a {
    font-size: clamp(1.25rem, 6.8vw, 1.55rem);
  }
  .programme > .container,
  .container {
    width: calc(100% - 32px);
  }
  .accordion-trigger strong {
    font-size: 0.95rem;
  }
  .host-card,
  .host-card:nth-child(2),
  .host-card:nth-child(3),
  .host-card:nth-child(4),
  .host-card:nth-child(5),
  .trip-card,
  .trip-card:nth-child(2),
  .trip-card:nth-child(3),
  .trip-card:nth-child(4),
  .trip-card:nth-child(5) {
    flex-basis: 70vw;
  }
  .host-card-media,
  .trip-image {
    height: min(48vw, 205px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-photo, .horizontal-track, .trip-track { transform: none !important; }
  .gallery-next,
  .gallery-prev { animation: none; }
  .menu-button svg rect { transform: scaleX(1); }
  .hero-cta { opacity: 1; transform: none; }
  .hero-cta a { transform: scale(var(--hero-wave-h-scale)); transform-origin: top left; }
  @media (width < 48rem) {
    .hero-cta { transform: none; }
    .hero-cta a { transform: none; }
  }
}

/* --- Editor affordance: edit-mode toggle + per-item edit pencils ---
   New feature, no equivalent in the original static site / reference/styles.css.
   See CLAUDE.md's "Theme structure" section for the full write-up. */

.iamcr2027-edit-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: .85rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.iamcr2027-edit-toggle[aria-pressed="true"] { background: var(--red); }

.iamcr2027-edit-pencil {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 10;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(23, 33, 29, .8);
  color: white;
}
body.iamcr2027-edit-mode .iamcr2027-edit-pencil { display: flex; }

.accordion-item,
.host-card,
.trip-card {
  position: relative;
}

.accordion-item > .iamcr2027-edit-pencil { top: 14px; right: 44px; }
.host-card > .iamcr2027-edit-pencil,
.trip-card > .iamcr2027-edit-pencil { top: 10px; right: 10px; }

/* Main nav: one pencil for the whole menu (links to its Edit menu form),
   not one per link. Desktop: an extra trailing <li> in the nav's flex row,
   hidden outside edit mode so it doesn't add a gap (js/script.js's dropdown
   behavior skips it via :not(.iamcr2027-edit-pencil-item)). Mobile overlay: pinned
   to the top-left corner of .menu-panel (position: fixed, so it's already
   the containing block), mirroring .menu-close on the right. */
.iamcr2027-edit-pencil-item { display: none; }
body.iamcr2027-edit-mode .iamcr2027-edit-pencil-item { display: flex; align-items: center; }
/* padding: 0 beats .desktop-nav > ul > li > a's padding (2 classes > 1). */
.iamcr2027-edit-pencil-item > .iamcr2027-edit-pencil { position: static; width: 22px; height: 22px; padding: 0; }
.menu-panel > .iamcr2027-edit-pencil { top: 34px; left: 34px; }

.iamcr2027-edit-pencil--inline {
  display: none;
  position: static;
  width: 20px;
  height: 20px;
  margin-left: .4rem;
  vertical-align: middle;
}
body.iamcr2027-edit-mode .iamcr2027-edit-pencil--inline { display: inline-flex; }

/* Overrides: existing broad "<ancestor> a" rules elsewhere in this file
   (.hero-cta a, .page-nav a) are specific
   enough to catch these new pencil <a> elements too and clobber their
   display/sizing. Each override below adds a second class to the selector,
   which wins on specificity over the 1-class rules above regardless of how
   many elements they chain (and also beats their mobile-breakpoint
   font-size tweaks the same way), without needing !important. */
.hero-cta .iamcr2027-edit-pencil {
  display: none;
  font: initial;
  transform: none;
}
body.iamcr2027-edit-mode .hero-cta .iamcr2027-edit-pencil { display: inline-flex; }

.page-nav .iamcr2027-edit-pencil {
  display: none;
  padding: 0;
  font-size: initial;
  line-height: initial;
}
body.iamcr2027-edit-mode .page-nav .iamcr2027-edit-pencil--inline { display: inline-flex; }
body.iamcr2027-edit-mode .page-nav .iamcr2027-edit-pencil:not(.iamcr2027-edit-pencil--inline) { display: flex; }

/* Wraps each "Important links" row so the pencil can sit as a static flex
   item instead of absolutely positioned against .page-nav. */
.page-nav-item-row { display: flex; align-items: center; gap: .4rem; }
.page-nav-item-row .iamcr2027-edit-pencil { position: static; width: 18px; height: 18px; flex-shrink: 0; }

/* Footer: .footer-col a (display: block; margin: 9px 0) would otherwise
   catch the pencils in the column headings and show them outside edit mode. */
.footer-col .iamcr2027-edit-pencil { display: none; margin: 0 0 0 .4rem; }
body.iamcr2027-edit-mode .footer-col .iamcr2027-edit-pencil { display: inline-flex; }

/* New wrapper around each mobile-overlay nav link + its pencil, replacing
   the margin-bottom:10px that used to live directly on .menu-group a so
   row spacing is unchanged. (Per-link pencils used to sit here; the main
   nav now has a single whole-menu pencil instead — see above.) */
.menu-item-row { display: flex; align-items: center; gap: .4rem; margin-bottom: 10px; }
.menu-item-row a { margin-bottom: 0; }

/* Internal page with both sidebar lists turned off on the node: no <aside>,
   so the prose loses the left gutter that separated it from the sidebar. */
.internal-layout--full .prose { padding-left: 0; }

/* Current page in the nav menus (desktop dropdown + mobile overlay). The
   group label is bold too when one of its children is the current page. */
.desktop-nav > ul > li.is-active > a,
.desktop-nav > ul > li > ul a.is-active,
.menu-group.is-active h2,
.menu-group a.is-active {
  font-weight: 700;
}
