/* Automatic monthly homepage themes. Decorative layers never change layout. */
html[data-seasonal-theme] .hero {
  position: relative;
  isolation: isolate;
  background: var(--marble-background);
}
html[data-seasonal-theme] .hero::before,
html[data-seasonal-theme] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
html[data-seasonal-theme] .hero::before {
  background: var(--season-image) center top / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 35%, #000 73%);
}
html[data-seasonal-theme="july"] .hero::before {
  /* Keep the photographic fireworks visible above the pillars. */
  mask-image: linear-gradient(90deg, transparent 32%, #000 52%);
}
html[data-seasonal-theme] .hero::after {
  background: linear-gradient(90deg, transparent 70%, #06132033);
}
html[data-seasonal-theme] .hero-grid { position: relative; z-index: 1; }
html[data-seasonal-theme] .hero h1 span { color: #cdd8e3; }
html[data-seasonal-theme] .hero .eyebrow { color: var(--season-accent); }
html[data-seasonal-theme] .hero .eyebrow::before { background: var(--season-accent); }
html[data-seasonal-theme] .hero .button.light { background: #eef4f7; border-color: var(--season-accent); }
html[data-seasonal-theme] .hero .button.outline { border-color: var(--season-accent); }
html[data-seasonal-theme] .home-header { border-bottom-color: var(--season-accent); }
@media (max-width: 760px) {
  html[data-seasonal-theme] .hero::before {
    background-position: right top;
    mask-image: linear-gradient(90deg, transparent, #0009 55%, #000);
    opacity: .62;
  }
  html[data-seasonal-theme] .hero::after { background: #06132022; }
}
