:root {
  --festive-stitch-gap: 22px;
}

.site-header:has(+ main > .festive-promo:not([hidden])) {
  padding-bottom: var(--festive-stitch-gap);
}

.festive-promo[hidden] {
  display: none;
}

.festive-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding: var(--festive-stitch-gap) clamp(18px, 4vw, 56px);
  border-block: 1px dashed #b88a4e99;
  background: linear-gradient(110deg, #030b16, #030c16 62%, #040c16);
  color: #fff;
}

.packages-page .festive-promo {
  padding-inline: clamp(24px, 7vw, 110px);
  background: var(--navy);
}

.festive-promo:not([hidden]) + #home .home-hero,
.festive-promo:not([hidden]) + .packages-hero {
  padding-top: calc(var(--festive-stitch-gap) - 2px);
}

.festive-promo:not([hidden]) + #home .hero-copy,
.festive-promo:not([hidden]) + .packages-hero > .packages-hero-copy {
  align-self: start;
}

.festive-promo:not([hidden]) + #home .hero-copy > .eyebrow,
.festive-promo:not([hidden]) + .packages-hero .eyebrow {
  margin-top: 0;
  line-height: 1;
}

.festive-promo-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  margin: 0;
  color: #f4ddb6;
  font-size: 0.75rem;
  font-weight: 750;
}

.festive-promo-dates > span:first-child {
  padding: 2px 7px;
  border: 1px solid #ffce6859;
  border-radius: 4px;
  color: #ffd06a;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.festive-promo h2 {
  margin: 5px 0 3px;
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.festive-promo-summary {
  margin: 0;
  color: #ccd4e0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.festive-promo-ticket {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 9px clamp(9px, 1.5vw, 18px);
  border: 1px dashed #b88a4e;
  border-radius: 8px;
  background: #ffce6812;
  color: #ffcf68;
  transform: rotate(-3deg);
}

.festive-promo-ticket strong {
  font-size: clamp(1.125rem, 2.4vw, 1.875rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.festive-promo-ticket span {
  color: #f4ddb6;
  font-size: 0.6875rem;
  white-space: nowrap;
}

.festive-promo .festive-promo-cta {
  min-height: 52px;
  gap: 9px;
  padding-inline: 17px;
  background: #ffd06a;
  color: #23140b;
  box-shadow: 0 5px 24px #ffbf4d38;
}

.festive-promo .festive-promo-cta:hover {
  background: #ffe09a;
}

.festive-promo .festive-promo-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.festive-promo-cta small {
  padding: 3px 4px;
  border: 1px solid #8f6027;
  border-radius: 3px;
  font-size: 0.625rem;
  line-height: 1;
}

@media (min-width: 1120px) {
  .festive-promo {
    position: relative;
  }

  .festive-promo::before {
    position: absolute;
    top: 50%;
    left: 59%;
    width: 68px;
    height: 42px;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 64'%3E%3Cpath fill='%23ffd06a' d='M46 9l5 16 16 5-16 5-5 16-5-16-16-5 16-5z'/%3E%3Cpath fill='%23f4ddb6' d='M85 1l2 7 7 2-7 2-2 7-2-7-7-2 7-2zM15 40l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Ccircle cx='80' cy='50' r='2' fill='%23ffd06a'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.56;
    pointer-events: none;
    content: "";
  }
}

@media (max-width: 720px) {
  .festive-promo {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  .packages-page .festive-promo {
    padding-inline: 20px;
  }

  .festive-promo-copy {
    display: contents;
  }

  .festive-promo-dates {
    grid-column: 1 / -1;
  }

  .festive-promo h2 {
    grid-row: 2;
    margin: 0;
  }

  .festive-promo-summary {
    grid-row: 3;
  }

  .festive-promo-ticket {
    grid-area: 2 / 2 / 4;
  }

  .festive-promo .festive-promo-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-height: 46px;
  }
}

