/* The original home hero sets the text tracks. Measurements are local to the viewport. */
#root .wz-hero-reference {
  position: fixed !important;
  inset: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: -1 !important;
}

html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(var(--wz-label-row), max-content)
    minmax(var(--wz-heading-row), max-content)
    minmax(var(--wz-price-row), max-content)
    minmax(var(--wz-description-row), max-content) max-content;
  gap: 0;
  align-content: start;
  align-items: start;
  justify-items: start;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .eyebrow {
  grid-row: 1;
  font-size: var(--hero-label);
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > h1 {
  grid-row: 2;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .fluid-hero-price {
  grid-row: 3;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .fluid-hero-description {
  grid-row: 4;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .fluid-actions {
  grid-row: 5;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > :is(.eyebrow, h1, .fluid-hero-price, .fluid-hero-description, .fluid-actions, .sms-invite) {
  grid-column: 1;
  margin: 0 !important;
  min-width: 0;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .wz-hero-hidden {
  display: none !important;
}

/* The invitation uses the space directly above the messenger buttons. */
html[data-design-atlas] #root .fluid-hero.sms-hero.wz-hero-aligned .fluid-hero-copy {
  grid-template-rows: minmax(var(--wz-label-row), max-content)
    minmax(var(--wz-heading-row), max-content)
    minmax(var(--wz-price-row), max-content)
    minmax(var(--wz-sms-description-row), max-content)
    minmax(var(--wz-invite-row), max-content) max-content;
}
html[data-design-atlas] #root .fluid-hero.sms-hero.wz-hero-aligned .fluid-hero-copy > .sms-invite {
  grid-row: 5;
}
html[data-design-atlas] #root .fluid-hero.sms-hero.wz-hero-aligned .fluid-hero-copy > .fluid-actions {
  grid-row: 6;
}

/* Play and pause are already represented by the player's SVG. */
#root .wz-video .wz-video-play:has(> svg)::before,
#root .wz-video .wz-video-play:has(> svg)::after {
  content: none !important;
}
html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > [style*="--wz-fit-size"] {
  font-size: var(--wz-fit-size) !important;
}
@media (min-width: 360px) and (max-width: 374px) {
  html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .fluid-actions > .button {
    padding-block: 6px !important;
  }
}


@media (min-width: 760px) {
  html[data-design-atlas] #root .fluid-hero.sms-hero.wz-hero-aligned .fluid-hero-copy > .fluid-hero-description {
    line-height: 1.4;
  }
}

@media (min-width: 1001px) and (max-width: 1120px) {
  html[data-design-atlas] #root .fluid-hero.wz-hero-aligned .fluid-hero-copy > .fluid-actions:has(> .wz-video-anchor) > .button {
    padding-inline: 16px;
  }
}
