/* Local, opt-in homepage experiment. No shared Theme or archive overrides. */
.holiday-archive.holiday-archive--cinematic {
  width: 100%;
  padding-top: 0;
}
.hs-halloween-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding-block: 24px;
  overflow: hidden;
}
.hs-halloween-hero__background {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 4144 / 844;
  max-height: 100%;
  z-index: -1;
  background: url('/assets/img/halloween-hero/background-2560-340c0dd84ea5.webp') center top / 100% auto no-repeat;
}
.hs-halloween-hero__content {
  width: min(780px, calc(100% - 48px));
}
.hs-halloween-hero__logo {
  width: 100%;
  height: auto;
  aspect-ratio: 2257 / 810;
  object-fit: contain;
  /* Center the wordmark: half the 374px witch extension at the contained image scale. */
  translate: calc(100% * 187 / 844 * 810 / 2257) 0;
  transform: translateY(-40px);
}
.hs-halloween-hero__blurb {
  max-width: 68ch;
  margin: 16px auto 0;
  color: var(--hs-text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: center;
}
.hs-halloween-hero__browse {
  width: var(--shell);
  margin-inline: auto;
  padding-top: 24px;
}
.hs-halloween-hero__browse .specials-search__field { margin-inline: auto; }
.hs-halloween-hero__browse .archive-nav__row { justify-content: center; }
.hs-halloween-hero__browse .homepage-section--featured .homepage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hs-halloween-hero__browse .homepage-section--featured .homepage-tile:first-child { grid-column: span 2; aspect-ratio: auto; }
@media (min-width: 1121px) {
  .hs-halloween-hero__browse { padding-top: 0; }
}
@media (max-width: 900px) {
  .hs-halloween-hero__browse .homepage-section--featured .homepage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-halloween-hero__browse .homepage-section--featured .homepage-tile:first-child { aspect-ratio: 2/1; }
}
@media (max-width: 300px) {
  .hs-halloween-hero__browse .homepage-section--featured .homepage-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-halloween-hero__browse .homepage-section--featured .homepage-tile:first-child { grid-column: auto; }
}
@media (max-width: 1120px) {
  .hs-halloween-hero { min-height: 330px; }
  .hs-halloween-hero__content { width: min(640px, calc(100% - 48px)); }
}
@media (max-width: 600px) {
  .hs-halloween-hero { min-height: 300px; }
  .hs-halloween-hero__background { background-image: url('/assets/img/halloween-hero/background-1536-340c0dd84ea5.webp'); }
  .hs-halloween-hero__content { width: min(540px, calc(100% - 32px)); }
  .hs-halloween-hero__logo { transform: translateY(-15px); }
  .hs-halloween-hero__browse { padding-top: 20px; }
}

[data-holiday="thanksgiving"] .hs-halloween-hero {
  min-height: calc(100vw * 844 / 4144);
  place-items: start center;
  padding-block: clamp(8px, 1vw, 20px);
}
[data-holiday="thanksgiving"] .hs-halloween-hero__background {
  /* Keep the aspect-ratio box from shrinking sideways on wide screens. */
  width: 100%;
  max-height: none;
}
[data-holiday="thanksgiving"] .hs-halloween-hero__content {
  text-align: center;
}
[data-holiday="thanksgiving"] .hs-halloween-hero__logo {
  width: min(44vw, 300px);
  height: auto;
  aspect-ratio: auto;
  margin-inline: auto;
  translate: none;
  transform: none;
}
@media (max-width: 600px) {
  [data-holiday="thanksgiving"] .hs-halloween-hero__logo {
    width: min(37vw, 300px);
  }
}
