.cc_twdhaapa_ohKRkRXzQl .madlen-hero {
  width: 100%;
  background: var(--madlen-color-white, #ffffff);
  font-family: var(--madlen-font-base, "Afacad Flux", Arial, sans-serif);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero, .cc_twdhaapa_ohKRkRXzQl .madlen-hero * {
  font-family: var(--madlen-font-base, "Afacad Flux", Arial, sans-serif) !important;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-inner {
  width: min(100% - 48px, 1500px);
  margin: 0 auto;
  padding: 18px 0 10px;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
  gap: 16px;
  /* Desktop/laptop hero height; below 900px the media queries take over. */
  height: min(46vw, 540px);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-grid-single {
  grid-template-columns: 1fr;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 0;
}

@media (max-width: 900px) {
  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-inner {
    width: calc(100% - 32px);
    padding: 12px 0 6px;
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider {
    height: min(58vw, 340px);
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-right {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    min-height: 170px;
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-side {
    min-height: 170px;
  }
}

@media (max-width: 560px) {
  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-inner {
    width: calc(100% - 28px);
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-right {
    grid-template-columns: 1fr;
  }

  /* Phones: taller main slider and banners (was ~214px / 138px at 375px).
     The grid prefix outranks the sub-components' own height:100% /
     min-height:0, which load after this file. */
  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-grid .madlen-hero-slider {
    height: min(78vw, 360px);
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-right .madlen-hero-side {
    min-height: 185px;
  }
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--madlen-color-cream-alt, #f4f1ea);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider-viewport {
  height: 100%;
  overflow: hidden;
  /* Browser keeps vertical scrolling; horizontal swipes go to the slider. */
  touch-action: pan-y;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider-track.is-dragging {
  transition: none;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider-track > *, .cc_twdhaapa_ohKRkRXzQl .madlen-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slider-track > * > * > * {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slide-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-slide-inner .madlen-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--madlen-color-text, #5a422e);
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-arrow:hover {
  color: var(--madlen-color-text, #5a422e);
  opacity: 0.75;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-arrow-prev {
  left: 16px;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-arrow-next {
  right: 16px;
}

/* Slide position dots, centred along the bottom edge. */
.cc_twdhaapa_ohKRkRXzQl .madlen-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--madlen-color-white, #ffffff);
  border-radius: 50%;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-dot.is-active {
  width: 26px;
  border-color: var(--madlen-color-brand, #c3c000);
  border-radius: 999px;
  background: var(--madlen-color-brand, #c3c000);
}

@media (max-width: 760px) {
  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-dots {
    bottom: 10px;
    gap: 7px;
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-dot {
    width: 9px;
    height: 9px;
  }

  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-dot.is-active {
    width: 22px;
  }
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side {
  display: block;
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f7f4ef;
  color: inherit;
  text-decoration: none;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side .madlen-hero-media {
  position: absolute;
  inset: 0;
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  max-width: 54%;
  padding: 22px 18px;
  color: var(--madlen-color-white, #ffffff);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-title, .cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-subtitle {
  margin: 0;
  font-family: var(--madlen-font-base, "Afacad Flux", Arial, sans-serif) !important;
  line-height: 1.15;
  -webkit-text-stroke: 1px var(--madlen-color-text, #5a422e);
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 var(--madlen-color-text, #5a422e),
    1px -1px 0 var(--madlen-color-text, #5a422e),
    -1px 1px 0 var(--madlen-color-text, #5a422e),
    1px 1px 0 var(--madlen-color-text, #5a422e);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--madlen-color-white, #ffffff);
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--madlen-color-white, #ffffff);
}

/* Text-only call to action; the editor's button colour now tints the text. */
.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--madlen-color-brand, #c3c000);
  font-family: var(--madlen-font-base, "Afacad Flux", Arial, sans-serif) !important;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgb(0 0 0 / 45%), 0 0 10px rgb(0 0 0 / 25%);
}

@media (max-width: 760px) {
  .cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-cta {
    font-size: 18px;
  }
}

.cc_twdhaapa_ohKRkRXzQl .madlen-hero-side-cta svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 45%));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
