/* Load after styles.css. Only the existing hero visual is enhanced. */
.hero-carousel > .hero-image:not(.hero-carousel-overlay) {
  /* The original image stays in flow and retains its declared dimensions. */
  position: relative;
  z-index: 0;
}
.hero-carousel > .hero-carousel-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 700ms ease-in-out;
}
.hero-carousel > .hero-carousel-overlay.is-visible { opacity: 1; }
.hero-carousel > .hero-carousel-overlay.without-transition { transition: none; }
.hero-carousel > .image-index { z-index: 2; }
.hero-carousel > .hero-seal { z-index: 3; }
.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 65px;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px 11px 3px 4px;
  color: #202a43;
  background: #f3f0e8ed;
  border: 1px solid #c9beac;
  border-radius: 28px;
  box-shadow: 0 3px 18px #202a4312;
}
.hero-carousel-button {
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 44px;
  flex: 0 0 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hero-carousel-button:hover { background: #202a430b; }
.hero-carousel-button:focus-visible { outline: 2px solid #5c2c3a; outline-offset: 1px; }
.hero-carousel-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-carousel-play-icon { fill: currentColor; stroke: none; }
.hero-carousel-state {
  min-width: 42px;
  padding-left: 5px;
  font-family: var(--sans, sans-serif);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-align: center;
}
.hero-carousel-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .hero-carousel-controls { right: 20px; bottom: 57px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel > .hero-carousel-overlay { transition: none; }
}
