.hero--carousel {
  --poster-height: clamp(580px, calc(100svh - 210px), 820px);
  --poster-gap: 12px;
  padding-bottom: 0;
}
.hero--carousel .hero-map {
  --map-width: 160px;
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--map-width) * .82) max-content;
  grid-template-rows: calc(var(--map-width) * .72) auto;
  width: max-content;
  min-height: calc(var(--map-width) * .9);
  aspect-ratio: auto;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  justify-self: end;
  margin-bottom: 12px;
}
.hero--carousel .map-graphic {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--map-width);
  aspect-ratio: 1000 / 900;
}
.hero--carousel .map-leader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5px;
  pointer-events: none;
}
.hero--carousel .map-point {
  width: 8px;
  height: 8px;
  left: -4px;
  top: -4px;
  border-width: 2px;
  box-shadow: 0 0 0 4px #FF6B0030;
}
.hero--carousel .map-label {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  width: max-content;
  padding-top: 5px;
  font-size: 16px;
  color: var(--paper);
  text-align: left;
  text-shadow: none;
}
.hero--carousel .map-label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: auto;
  width: 100%;
  height: 1.5px;
  background: var(--orange);
  transform: translateY(-50%);
}
.poster-carousel {position: relative; z-index: 3;}
.poster-viewport {
  position: relative;
  display: flex;
  gap: var(--poster-gap);
  height: calc(var(--poster-height) + 24px);
  padding-block: 12px;
  padding-inline: max(0px, calc((100% - var(--poster-height)*var(--poster-ratio))/2));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.poster-viewport::-webkit-scrollbar {display: none;}
.poster-viewport:focus-visible {outline: 2px solid var(--orange); outline-offset: -3px;}
.poster-slide {
  flex: 0 0 calc(var(--poster-height)*var(--poster-ratio));
  min-width: 0;
  height: var(--poster-height);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: .42;
  transition: opacity .5s ease;
}
.poster-slide.is-current {opacity: 1;}
.is-resetting .poster-slide {transition: none;}
.poster-slide-link {display: block; width: 100%; height: 100%; text-decoration: none;}
.poster-slide-link img {width: 100%; height: 100%; object-fit: contain; user-select: none;}
.poster-slide-link:focus-visible {outline: 3px solid var(--orange); outline-offset: 5px;}
.poster-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 12px;
}
.poster-dots {display: flex; align-items: center; justify-content: center;}
.poster-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.poster-dot > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F4F1EB66;
  transition: background .2s ease, transform .2s ease;
}
.poster-dot:hover > span {background: var(--paper);}
.poster-dot[aria-current="true"] > span {background: var(--orange); transform: scale(1.25);}
.poster-dot:focus-visible {outline-offset: -2px; border-radius: 4px;}
.poster-autoplay:focus-visible {
  clip-path: none;
  overflow: visible;
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 8px 16px;
  margin: 0;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--paper);
  border: 1px solid var(--paper);
  font-size: 14px;
  font-weight: 700;
}
.hero--carousel .hero-meta {
  grid-template-columns: .9fr 1.25fr max-content;
  align-items: center;
  gap: 22px 32px;
  padding: 22px 0 27px;
  border-top-color: #F4F1EB3d;
}
.hero--carousel .hero-meta > .hero-date {grid-column: 1 / 3;}
.hero--carousel .hero-meta > .hero-map {grid-column: 3; grid-row: 1 / 3;}
.hero--carousel .hero-meta .date-value {display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 56px;}
.hero--carousel .hero-meta .date-value small {font-size: 22px;}
.hero--carousel .hero-meta .value {font-size: 18px;}
.hero--carousel .carousel-address {display: block; font-size: 14px; font-weight: 500; margin-top: 3px;}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .hero--carousel {
    --poster-height: min(760px, calc((100vw - 20px)*1.4));
    --poster-gap: 8px;
  }
  .hero--carousel .hero-map {--map-width: 90px;}
  .poster-controls {padding: 8px 0 12px;}
  .poster-dot {width: min(24px, calc((100vw - 40px)/var(--poster-dot-count)));}
  .hero--carousel .hero-meta {grid-template-columns: minmax(0, 1fr) max-content; gap: 20px; padding: 20px 0 25px;}
  .hero--carousel .hero-meta > .hero-date {grid-column: 1 / -1;}
  .hero--carousel .hero-meta > .hero-venue {grid-column: 1; grid-row: 3;}
  .hero--carousel .hero-meta > .hero-map {grid-column: 2; grid-row: 2 / 4;}
  .hero--carousel .hero-meta .label {font-size: 12px; margin-bottom: 8px;}
  .hero--carousel .hero-meta .date-value {gap: 8px; font-size: clamp(36px, 11vw, 52px);}
  .hero--carousel .hero-meta .date-value small {font-size: 20px;}
  .hero--carousel .hero-meta .value {font-size: 16px;}
  .hero--carousel .carousel-address {display: block; font-size: 14px; margin-left: 0;}
}
@media (max-width: 380px) {
  .hero--carousel .carousel-address {display: block; margin-left: 0;}
}
@media (prefers-reduced-motion: reduce) {
  .poster-slide, .poster-dot > span {transition: none;}
}
