.page-hero[data-astro-cid-75ysl5lo] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.page-hero--plain[data-astro-cid-75ysl5lo] {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero-art[data-astro-cid-75ysl5lo] {
  --bleed: clamp(0rem, (100vw - var(--content-width)) / 2 - 1.5rem, 5rem);
  margin: calc(var(--space-md) * -1) calc(var(--bleed) * -1) 0 0;
  color: var(--color-accent);
  pointer-events: none;
}

.page-hero-art[data-astro-cid-75ysl5lo] .hero-art {
  display: block;
  width: 100%;
  height: auto;
  stroke-width: 1.15px;
}

.page-hero-art[data-astro-cid-75ysl5lo] .hero-art [stroke-width="1"] {
  stroke-width: .75px;
}

.page-hero-art[data-astro-cid-75ysl5lo] .hero-art [stroke-width="0.7"] {
  stroke-width: .5px;
}

.page-hero-art[data-astro-cid-75ysl5lo] .art-solid {
  fill: var(--color-paper);
}

.page-hero-text[data-astro-cid-75ysl5lo] {
  position: relative;
  z-index: 1;
  align-self: center;
}

.page-hero--compact[data-astro-cid-75ysl5lo] .page-hero-art[data-astro-cid-75ysl5lo] {
  width: min(100%, 21rem);
  margin-left: auto;
}

.page-hero-text[data-astro-cid-75ysl5lo] > :last-child {
  margin-bottom: 0;
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-brand);
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next .eyebrow {
  margin-bottom: 0;
  color: var(--color-on-brand-accent);
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next a.next-tile-link:focus-visible:after {
  outline-color: var(--color-on-brand-accent);
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: var(--space-sm) 0 0;
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tiles[data-next-count="2"], .page-hero-text[data-astro-cid-75ysl5lo] .hero-next[data-next-done] .date-tiles:not(:has( > :nth-child(3 of :not([hidden])))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tiles[data-next-count="1"], .page-hero-text[data-astro-cid-75ysl5lo] .hero-next[data-next-done] .date-tiles:not(:has( > :nth-child(2 of :not([hidden])))) {
  grid-template-columns: minmax(0, 1fr);
}

@media (width >= 901px) {
  .page-hero-text[data-astro-cid-75ysl5lo] .hero-next:has(.date-tiles[data-next-count="1"]), .page-hero-text[data-astro-cid-75ysl5lo] .hero-next[data-next-done]:not(:has(.date-tiles > :nth-child(2 of :not([hidden])))) {
    width: fit-content;
    min-width: min(100%, 17rem);
  }
}

.page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tile-label {
  line-height: 1.5;
}

.page-hero-art[data-astro-cid-75ysl5lo], .page-hero-month[data-astro-cid-75ysl5lo] {
  grid-column: 2;
  grid-row: 1;
}

.page-hero-month[data-astro-cid-75ysl5lo] {
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.page-hero-month-title[data-astro-cid-75ysl5lo] {
  margin: 0 0 var(--space-sm);
  color: var(--color-heading);
  font-size: var(--text-xl);
  letter-spacing: .08em;
}

.page-hero-month[data-astro-cid-75ysl5lo] .cal td {
  height: 3.4rem;
}

.page-hero-month[data-astro-cid-75ysl5lo] .cal-day {
  font-size: var(--text-md);
}

.page-hero[data-astro-cid-75ysl5lo]:has(.page-hero-month:not([hidden])) .page-hero-art[data-astro-cid-75ysl5lo] {
  display: none;
}

@media (scripting: enabled) and (width >= 901px) {
  .page-hero-month[data-astro-cid-75ysl5lo][hidden]:not([data-none]) {
    display: block;
    visibility: hidden;
    min-height: 26rem;
    animation: 0s linear 8s forwards reserve-give-up !important;
  }

  .page-hero[data-astro-cid-75ysl5lo]:has(.page-hero-month[hidden]:not([data-none])) .page-hero-art[data-astro-cid-75ysl5lo] {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    animation: 0s linear 8s forwards reserve-come-back !important;
  }
}

@media (width <= 480px) {
  .page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-text[data-astro-cid-75ysl5lo] .hero-next .date-tile:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero-text[data-astro-cid-75ysl5lo] > * {
    animation: rise 1s var(--ease-out) both;
  }

  .page-hero-text[data-astro-cid-75ysl5lo] > :nth-child(2) {
    animation-delay: .1s;
  }

  .page-hero-text[data-astro-cid-75ysl5lo] > :nth-child(3) {
    animation-delay: .2s;
  }

  .page-hero-text[data-astro-cid-75ysl5lo] > :nth-child(n+4) {
    animation-delay: .3s;
  }

  .page-hero-art[data-astro-cid-75ysl5lo], .page-hero-month[data-astro-cid-75ysl5lo]:not([hidden]) {
    animation: fade 1.2s var(--ease-out) both;
  }
}

@media (width <= 900px) {
  .page-hero[data-astro-cid-75ysl5lo] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: var(--space-lg);
  }

  .page-hero-text[data-astro-cid-75ysl5lo] .hero-next {
    margin-inline: calc(var(--space-sm) * -1);
    padding: var(--space-sm);
  }

  .page-hero-art[data-astro-cid-75ysl5lo], .page-hero--compact[data-astro-cid-75ysl5lo] .page-hero-art[data-astro-cid-75ysl5lo] {
    position: absolute;
    top: calc(var(--space-xl) * -1);
    right: -2.75rem;
    width: min(60vw, 16rem);
    margin: 0;
    opacity: .3;
    grid-column: auto;
    grid-row: auto;
  }

  .page-hero-month[data-astro-cid-75ysl5lo] {
    display: none;
  }

  .page-hero[data-astro-cid-75ysl5lo]:has(.page-hero-month:not([hidden])) .page-hero-art[data-astro-cid-75ysl5lo] {
    display: block;
  }
}
