.mikado-contact-external .contact-form-heading{display:none}
.mikado-contact-external .contact-editor-content>.contact-form-section.wp-block-group{width:min(980px,calc(100% - clamp(116px,calc(10vw + 40px),192px)))}
.mikado-contact-external .contact-form-panel{padding:0;background:transparent}
.mikado-contact-link.wp-block-button{display:block;width:100%;max-width:none;margin:0;text-align:center}
.mikado-contact-link .wp-block-button__link{width:100%;white-space:normal;line-height:1.35}
.mikado-video-consent{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #dadadd;border-radius:16px;padding:28px;color:#242426;background:#fff;box-shadow:0 24px 80px #0005}
.mikado-video-consent::backdrop{background:#0009}
.mikado-video-consent h2{font-size:24px;line-height:1.25;margin:0 0 16px}
.mikado-video-consent p{font-size:16px;line-height:1.6;margin:0 0 16px}
.mikado-video-consent a{color:#a71725;text-decoration:underline}
.mikado-video-consent-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;justify-content:flex-end}
.mikado-video-consent button{min-height:44px;padding:10px 18px;border:1px solid #bfc0c5;border-radius:8px;background:#fff;color:#242426;font:inherit;cursor:pointer}
.mikado-video-consent button[data-accept]{background:#c51c2c;border-color:#c51c2c;color:white;font-weight:700}
.mikado-video-consent :focus-visible{outline:3px solid #1769aa;outline-offset:3px}
.site-footer-brand>a>img[src*="mikado-logo-horizontal-white"]{filter:none;width:120px;max-width:100%;height:auto;aspect-ratio:7252.85 / 2813.45}
.home-hero-slide.is-campaign .home-hero-text{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:inherit;width:100%;max-width:100%}
.home-hero-slide.is-campaign .home-hero-text::before{content:"";position:absolute;inset:-56px -24px -92px;z-index:-1;background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fffffff0 44px,#fff 80px);pointer-events:none}
@media(min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .home-hero-slide.is-campaign .home-hero-text{transition:transform 460ms cubic-bezier(.16,1,.3,1)}
 .home-hero-slide.is-campaign:has(.home-hero-link:hover,.home-hero-link:focus-visible) .home-hero-text{transform:translateY(-64px)}
 .home-hero-slide.is-campaign:has(.home-hero-link:hover,.home-hero-link:focus-visible) .home-hero-copy .home-hero-text>*{transform:none}
}
@media(max-width:760px){.mikado-contact-external .contact-editor-content>.contact-form-section.wp-block-group{width:calc(100% - 60px)}.home-hero-slide.is-campaign .home-hero-text::before{inset-inline:-14px}}
@media(max-width:600px){.site-footer-brand>a>img[src*="mikado-logo-horizontal-white"]{width:102px}.mikado-video-consent{padding:22px}.mikado-video-consent-actions{flex-direction:column-reverse}.mikado-video-consent-actions button{width:100%}}

/* Static actions need a stacking context above the caption’s gradient. Desktop
   hover actions are already positioned by the theme and keep their animation. */
@media (max-width: 760px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .home-hero-slide.is-campaign .home-hero-button {
    position: relative;
  }
}

@media screen {
  .home-hero-slide.is-campaign .home-hero-button {
    z-index: 1;
    min-height: 44px;
    padding: 10px 16px;
    gap: 12px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .home-hero-slide.is-campaign .home-hero-button.is-light {
    background: var(--home-ink, #20242a);
    color: #fff;
  }

  .home-hero-link:focus-visible .home-hero-button {
    outline: 2px solid var(--home-red, #d71920);
    outline-offset: 3px;
  }

  .home-hero .home-hero-pagination {
    gap: 0;
    flex-wrap: wrap;
    margin-top: 2px;
  }

  .home-hero .home-hero-pagination[aria-hidden="true"] {
    min-height: 44px;
    visibility: hidden;
  }

  .home-hero .home-hero-pagination[hidden] {
    display: none;
  }

  .home-hero .home-hero-pagination button[data-carousel-page] {
    display: grid;
    place-items: center;
    flex: 0 0 min(44px, 12%);
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    appearance: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: none;
  }

  .home-hero .home-hero-pagination button[data-carousel-page]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: #78838b;
  }

  .home-hero .home-hero-pagination button[data-carousel-page][aria-current="true"]::before {
    width: 22px;
    background: var(--home-red, #d71920);
  }

  .home-hero .home-hero-pagination button[data-carousel-page]::after {
    content: none;
  }

  .home-hero .home-hero-pagination button[data-carousel-page]:focus-visible {
    outline: 2px solid var(--home-ink, #20242a);
    outline-offset: -3px;
  }
}

/* Touch tablets and short landscape phones keep all navigation below the cards. */
@media screen and (min-width: 761px) and (hover: none),
       screen and (min-width: 761px) and (pointer: coarse),
       screen and (orientation: landscape) and (max-height: 540px) and (hover: none) {
  .home-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(calc(100% - 104px)) minmax(0, 1fr);
    align-items: center;
    gap: 4px;
  }

  .home-hero-track {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .home-hero .home-hero-pagination {
    grid-area: 2 / 2;
    margin: 0;
  }

  .home-hero .home-hero-pagination button[data-carousel-page] {
    flex-basis: 36px;
    width: 36px;
  }

  .home-hero-controls:not([hidden]) {
    display: contents;
  }

  .home-hero-controls button {
    position: static;
    grid-row: 2;
    width: 44px;
    height: 44px;
    box-shadow: none;
    transform: none;
  }

  .home-hero-controls [data-carousel-previous] {
    grid-column: 1;
    justify-self: end;
  }

  .home-hero-controls [data-carousel-next] {
    grid-column: 3;
    justify-self: start;
  }

  .home-hero-controls button:is(:hover, :focus-visible, :active):not(:disabled) {
    transform: none;
  }

  .home-hero-controls button:disabled {
    visibility: visible;
    opacity: .4;
  }
}

/* Anchor the desktop arrows to the cards, independently of the dots below. */
@media screen and (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .home-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* Each side fits half a 48px arrow, its focus ring and hover scale. */
    max-width: calc(100% - 64px);
  }

  .home-hero-track,
  .home-hero-controls {
    grid-area: 1 / 1;
  }

  .home-hero-controls {
    position: relative;
    inset: auto;
  }

  .home-hero-controls button:disabled {
    visibility: visible;
    opacity: .4;
  }

  .home-hero .home-hero-pagination {
    position: relative;
    justify-self: center;
  }

  .home-hero .home-hero-pagination button[data-carousel-page] {
    flex: 0 0 26px;
    width: 26px;
  }

  .home-hero-pagination[data-moving-indicator] button[data-carousel-page][aria-current="true"]::before {
    width: 7px;
    background: #78838b;
  }

  .home-hero-pagination[data-moving-indicator]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 7px;
    border-radius: 999px;
    background: var(--home-red, #d71920);
    transform: translate(var(--hero-dot-x), var(--hero-dot-y)) translate(-50%, -50%);
    pointer-events: none;
  }
}

@media screen and (min-width: 761px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-hero-pagination[data-moving-indicator]::after {
    transition: transform 230ms cubic-bezier(.22, 1, .36, 1);
  }
}

@media screen and (orientation: landscape) and (max-height: 540px) and (max-width: 1024px) and (hover: none) {
  .home-hero {
    padding-top: 8px;
  }

  .home-hero-slide.is-campaign {
    --hero-landscape-height: clamp(150px, calc(100svh - 172px), 280px);
    flex-basis: 100%;
    aspect-ratio: auto;
    min-height: 0;
  }

  .home-hero-slide.is-campaign .home-hero-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: var(--hero-landscape-height);
  }

  .home-hero-slide.is-campaign .home-hero-media {
    grid-area: 1 / 1;
    position: static;
    height: var(--hero-landscape-height);
    object-fit: contain;
    object-position: 64% center;
  }

  .home-hero-slide.is-campaign .home-hero-copy {
    grid-area: 1 / 2;
    min-height: 0;
    padding: 12px clamp(15px, 3vw, 32px);
  }

  .home-hero-slide.is-campaign .home-hero-text::before {
    content: none;
  }

  .home-hero-slide.is-campaign .home-hero-paragraph {
    margin-block: 6px 12px;
  }

  .home-hero-slide.is-campaign .home-hero-link:not(:has(.home-hero-copy)) .home-hero-media,
  .home-hero-slide.is-campaign .home-hero-link:not(:has(.home-hero-media)) .home-hero-copy {
    grid-column: 1 / -1;
  }

  /* The single-row header leaves more room for the photograph. */
  @media (min-width: 761px) {
    .home-hero-slide.is-campaign {
      --hero-landscape-height: clamp(150px, calc(100svh - 145px), 300px);
    }
  }

  @media (max-width: 600px) and (max-height: 340px) {
    .home-hero-slide.is-campaign {
      --hero-landscape-height: clamp(140px, calc(100svh - 176px), 280px);
    }

    .home-hero-slide.is-campaign .home-hero-copy {
      padding-block: 2px;
    }
  }
}
