/* Figma 6614:2544, 1400 × 615. All content and controls use the shared hero. */
.hero--holidays {
  --holiday-unit: min(clamp(.857142857rem, 1.142857143vw, 1.529051988rem), calc(var(--container-width) / 72.5));
  --hero-title-font-size: 3.082191706rem;
  --hero-location-font-size: 1.6172508rem;
  --hero-offer-font-size: 1.019886374rem;
  --hero-image-overlay: none;
  --hero-compact-ratio: 1020 / 615;
  container: holidays-hero / inline-size;
}

@media (width >= 75rem) {
  .hero--holidays {
    --hero-header-height: 3.0625rem;
    --hero-padding-bottom: calc(7 * var(--holiday-unit));
    --hero-desktop-min-height: calc(38.4375 * var(--holiday-unit));
    padding-top: calc(.875 * var(--holiday-unit));
    background: var(--hero-compact-sky);
  }
  .hero--holidays .breadcrumbs {
    margin-top: calc(5.875 * var(--holiday-unit) - var(--hero-header-height));
    font-size: calc(.698757768 * var(--holiday-unit));
  }
  .hero--holidays .breadcrumbs ol,
  .hero--holidays .breadcrumbs li { gap: calc(.8125 * var(--holiday-unit)); }
  .hero--holidays .hero__content {
    width: min(100%, calc(45 * var(--holiday-unit)));
    padding-top: calc(3.93322981 * var(--holiday-unit));
  }
  .hero--holidays h1 { font-size: calc(3.082191706 * var(--holiday-unit)); line-height: .99; }
  .hero--holidays .hero__location {
    margin-top: calc(1.22089063 * var(--holiday-unit));
    gap: calc(.9375 * var(--holiday-unit));
    font-size: calc(1.6172508 * var(--holiday-unit));
  }
  .hero--holidays .hero__location img {
    width: calc(.875 * var(--holiday-unit));
    height: calc(1.25 * var(--holiday-unit));
    margin-left: calc(.0625 * var(--holiday-unit));
  }
  .hero--holidays .hero__offer {
    margin-top: calc(2.1378747 * var(--holiday-unit));
    margin-left: calc(.0625 * var(--holiday-unit));
    font-size: calc(1.019886374 * var(--holiday-unit));
  }
  .hero--holidays .split-button {
    --button-height: calc(4.875 * var(--holiday-unit));
    --arrow-size: var(--button-height);
    width: min(100%, calc(23.6875 * var(--holiday-unit)));
    margin-top: calc(3.11525 * var(--holiday-unit));
    font-size: calc(1.0625 * var(--holiday-unit));
  }
  .hero--holidays .split-button__arrow img { width: calc(.9 * var(--holiday-unit)); height: auto; }
  .hero--holidays .hero__media { min-height: 0; }
  /* Anchored to the bottom: a longer H1 of a section page (3–4 lines) makes
     the hero taller, and the characters stay cut by its lower edge as in the
     design while the extra height opens sky above them. */
  .hero--holidays .hero__art {
    inset: auto auto 0 50%;
    width: calc(87.5 * var(--holiday-unit));
    max-width: none;
    height: calc(38.4375 * var(--holiday-unit));
    margin: 0;
    translate: -50% 0;
    mask-image: none;
  }
  .hero--holidays .hero__art img { object-position: center; }
  .hero--holidays .hero__art::after { display: none; }
}

/* The accepted compact structure also handles enlarged text on a desktop. */
@container holidays-hero (width < 70em) {
  .hero--holidays .hero__layout { margin-bottom: calc(-1 * var(--hero-padding-bottom)); }
  .hero--holidays .hero__intro { order: 0; position: relative; z-index: 1; }
  .hero--holidays .hero__content { width: 100%; padding: 1.625rem 0 2rem; text-align: center; }
  .hero--holidays h1 { font-size: clamp(1.875rem, 1.472667rem + 2.011667vw, calc(var(--hero-title-font-size) * 6 / 7)); }
  .hero--holidays .hero__location { justify-content: center; margin-top: 1.125rem; gap: .6875rem; font-size: clamp(1.1875rem, 1.044333rem + .715833vw, calc(var(--hero-location-font-size) * 6 / 7)); line-height: 1.15; }
  .hero--holidays .hero__location img { width: .875rem; height: 1.25rem; }
  .hero--holidays .hero__offer { margin: 1.25rem 0 0; font-size: clamp(.875rem, .826667rem + .241667vw, var(--hero-offer-font-size)); line-height: 1.5; }
  .hero--holidays .hero__offer strong::before { inset: 0; }
  .hero--holidays .hero__media { order: 1; position: relative; flex: none; width: 100%; aspect-ratio: var(--hero-compact-ratio); min-height: 0; margin: 0; }
  .hero--holidays .hero__art { inset: 0; width: 100%; max-width: none; height: 100%; margin: 0; translate: none; mask-image: linear-gradient(transparent, rgb(0 0 0 / 8%) 4%, rgb(0 0 0 / 28%) 8%, rgb(0 0 0 / 56%) 12%, rgb(0 0 0 / 82%) 16%, rgb(0 0 0 / 96%) 20%, #000 24%); }
  .hero--holidays .hero__art img { object-position: right center; }
  .hero--holidays .hero__art::after { display: block; inset: auto 0 0; height: var(--hero-compact-fade-height); background: var(--hero-compact-fade); }
  .hero--holidays .hero__cta { order: 2; position: relative; z-index: 1; width: 100%; max-width: none; padding: 0 var(--page-gutter) 1.5rem; margin-top: calc(-1 * var(--hero-compact-cta-overlap)); text-align: center; background: linear-gradient(transparent var(--hero-compact-cta-overlap), var(--color-page) var(--hero-compact-cta-overlap)); }
  .hero--holidays .split-button { --button-height: 4.25rem; --arrow-size: min(var(--button-height), 18vw, 78px); width: min(100%, 23.6875rem); margin: 0; font-size: 1.0625rem; }
}
@media (width < 75rem) {
  .hero--holidays { --hero-padding-bottom: 0rem; }
}

/* Tablet (client screenshot 22.10.2026): the title sizes of the /animatory/
   tablet hero, and the scene rises behind the offer line so its sky melts into
   the header sky over a long eased edge (smoothstep, opaque just above the
   highest crown at ~19% of the frame) instead of a short band. Applies across
   768–1199 px, including where the container rule above does not. */
@media (48rem <= width < 75rem) {
  .hero--holidays h1 { font-size: clamp(1.896875rem, calc(-.09rem + 9.934vw), 3.88375rem); }
  .hero--holidays .hero__location { font-size: clamp(1.04625rem, calc(.36375rem + 3.4125vw), 1.72875rem); }
  .hero--holidays .hero__offer { font-size: 1.125rem; }
  .hero--holidays .hero__media { margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); }
  .hero--holidays .hero__art { mask-image: linear-gradient(transparent, rgb(0 0 0 / 2.8%) 2%, rgb(0 0 0 / 10.4%) 4%, rgb(0 0 0 / 21.6%) 6%, rgb(0 0 0 / 35.2%) 8%, rgb(0 0 0 / 50%) 10%, rgb(0 0 0 / 64.8%) 12%, rgb(0 0 0 / 78.4%) 14%, rgb(0 0 0 / 89.6%) 16%, rgb(0 0 0 / 97.2%) 18%, #000 20%); }
}

/* Desktop, as on the home page: the hero spans the window with the shared
   rounded lower corners; the 1400 px artwork sits inside it. Its own sky
   continues past the artwork in the artwork's edge colours (sampled per tenth
   of the height, last stops at its lower corners), which also fills the
   export's transparent rounded corners, and wide screens dissolve its sides
   into that sky, so no edge or inner corner of the picture shows. */
@media (width >= 75rem) {
  .hero--holidays {
    --holiday-art-height: calc(38.4375 * var(--holiday-unit));
    --holiday-art-left: calc(50% - 43.75 * var(--holiday-unit));
    --holiday-art-step: calc(8.75 * var(--holiday-unit));
    background:
      linear-gradient(#7c6fde, #866ee8 10%, #9276ed 20%, #a681ed 30%, #ba8ceb 40%, #db9eef 50%, #ebafe6 60%, #f2bedb 70%, #e8cfcb 80%, #a872b1 90%, #885c9c) left bottom / 50% var(--holiday-art-height) no-repeat,
      linear-gradient(#866ddb, #a375ee 10%, #a177ec 20%, #d294f6 30%, #edaceb 40%, #e8a4e7 50%, #e2a0e2 60%, #e5c0c8 70%, #c5a3b5 80%, #7c5a8a 90%, #75528f) right bottom / 50% var(--holiday-art-height) no-repeat,
      /* Above a taller hero's artwork: the colours of its top row (per tenth
         of its width), so the sky continues without a seam. */
      linear-gradient(to right, #7c6fde var(--holiday-art-left), #8072de calc(var(--holiday-art-left) + var(--holiday-art-step)), #8679e0 calc(var(--holiday-art-left) + 2 * var(--holiday-art-step)), #8677e0 calc(var(--holiday-art-left) + 3 * var(--holiday-art-step)), #8174e0 calc(var(--holiday-art-left) + 4 * var(--holiday-art-step)), #8676de 50%, #7e72dd calc(var(--holiday-art-left) + 6 * var(--holiday-art-step)), #786cdb calc(var(--holiday-art-left) + 7 * var(--holiday-art-step)), #7268d9 calc(var(--holiday-art-left) + 8 * var(--holiday-art-step)), #6d64d7 calc(var(--holiday-art-left) + 9 * var(--holiday-art-step)), #866ddb calc(50% + 43.75 * var(--holiday-unit)));
  }
}
@media (width > 87.5rem) {
  .hero--holidays .hero__art { mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
}

/* Phone: a tighter crop around the characters (x 493–1333 of 1400) makes
   them larger and centres the visible group (Elsa's sleeve x≈535 to the
   unicorn girl's hand x≈1295); the sky fade stops above the crowns and the
   pirate's hat. */
@media (width < 48rem) {
  .hero--holidays { --hero-compact-ratio: 840 / 615; }
  .hero--holidays .hero__art { mask-image: linear-gradient(transparent, rgb(0 0 0 / 30%) 4%, rgb(0 0 0 / 70%) 8%, #000 12%); }
  /* 25.10.2026: with the narrower phone frame Elsa keeps a margin on the left
     and the unicorn girl stays whole on the right (client request). */
  .hero--holidays .hero__art img { object-position: 84% center; }
}
