/* Shared layout for the seasonal article pages. */
body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: clip;
  background: var(--warm);
  color: var(--ink);
  line-height: 1.6;
}

body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > section.wrap:first-of-type {
  position: relative;
  z-index: 2;
  background: var(--warm);
}

body[data-seasonal-layout="refined"]:not(:has(.gbg-seasonal > .hero-image)) .site-header:not(.is-sticky) {
  background: var(--dark);
}

body[data-seasonal-layout="refined"] .gbg-seasonal:not(:has(> .hero-image)) > .wrap:first-child {
  width: 100%;
  max-width: none;
  padding: 145px max(28px, calc((100vw - 1160px) / 2)) 80px;
  background: var(--warm);
}

body[data-seasonal-layout="refined"] .gbg-seasonal:not(:has(> .hero-image)) > .wrap:first-child .button {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--cream);
}

body[data-seasonal-layout="refined"] .gbg-seasonal:not(:has(> .hero-image)) > .wrap:first-child .button.secondary {
  background: transparent;
  color: var(--dark);
}

body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image)::before,
body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > .hero-image,
body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > .wrap:first-child {
  grid-column: 1;
  grid-row: 1;
}

body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > .hero-image {
  order: 0;
  z-index: 0;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  /* The supplied banner has dark padded edges. Crop them within the hero. */
  transform: scale(1.3);
  border-radius: 0;
}

body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image)::before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgb(24 23 21 / 82%), rgb(24 23 21 / 45%) 65%, rgb(24 23 21 / 25%)),
    linear-gradient(0deg, rgb(24 23 21 / 45%), transparent 70%);
  pointer-events: none;
}

body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > .wrap:first-child {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 1200px;
  min-height: 650px;
  padding: 170px 32px 70px;
  color: var(--cream);
}

body[data-seasonal-layout="refined"] .gbg-seasonal .crumbs {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

body[data-seasonal-layout="refined"] .gbg-seasonal h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .intro {
  max-width: 750px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 500;
  line-height: 1.55;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .actions {
  gap: 14px;
  margin: 28px 0 0;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: var(--dark);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap:last-child .actions + p {
  max-width: 750px;
  margin-top: 24px;
}

body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap:last-child .actions + p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-seasonal-layout="refined"] .gbg-seasonal > .wrap:first-child .button {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--dark);
}

body[data-seasonal-layout="refined"] .gbg-seasonal > .wrap:first-child .button.secondary {
  background: transparent;
  color: var(--cream);
}

body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap,
body[data-seasonal-layout="refined"] .gbg-seasonal > div.wrap:not(:first-child) {
  width: 100%;
  max-width: none;
  padding: 88px max(28px, calc((100vw - 1160px) / 2));
}

body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap:nth-of-type(2),
body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap:nth-of-type(4) {
  background: #fff;
}

body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap:nth-of-type(3) {
  background: var(--dark);
  color: var(--cream);
}

body[data-seasonal-layout="refined"] .gbg-seasonal h2 {
  max-width: 780px;
  margin: 0 0 26px;
  font-family: var(--font-body);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

body[data-seasonal-layout="refined"] .gbg-seasonal h3 {
  font-size: 20px;
  font-weight: 700;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .grid {
  gap: 24px;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .card {
  padding: 32px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .card p {
  margin-bottom: 20px;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .card > a {
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  text-decoration: none;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .step {
  border-color: rgb(255 255 255 / 35%);
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq {
  max-width: 1160px;
  margin: 0;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq details {
  margin-bottom: 10px;
  padding: 18px 22px;
  border: 1px solid #dedbd4;
  border-radius: 12px;
  background: #fff;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq summary::-webkit-details-marker {
  display: none;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq summary::after {
  content: "+";
  flex: none;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

body[data-seasonal-layout="refined"] .gbg-seasonal .gbg-faq details[open] summary::after {
  content: "−";
}

@media (max-width: 680px) {
  body[data-seasonal-layout="refined"] .site-header:not(.is-sticky) {
    background: var(--dark);
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal:not(:has(> .hero-image)) > .wrap:first-child {
    padding: 50px 20px 60px;
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal:has(> .hero-image) > .wrap:first-child {
    min-height: 760px;
    padding: 145px 20px 46px;
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal .crumbs {
    margin-bottom: 22px;
    font-size: 11px;
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal h1 {
    font-size: clamp(39px, 11vw, 49px);
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal > section.wrap,
  body[data-seasonal-layout="refined"] .gbg-seasonal > div.wrap:not(:first-child) {
    padding: 60px 20px;
  }

  body[data-seasonal-layout="refined"] .gbg-seasonal .card {
    padding: 26px;
  }
}
