/* Original hero composition with the accessible screenshot controller. */
.current-home .hm-hero-carousel { --hp-fade: 500ms; }
.current-home .hm-hero-carousel .hp-presentation {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
}
.current-home .hm-hero-carousel .hp-screen {
  position: relative;
  aspect-ratio: 702 / 1519;
  overflow: hidden;
  border-radius: 38px;
  background: #f5f1e8;
}
.current-home .hm-hero-carousel .hp-slide { position: absolute; inset: 0; }
.current-home .hm-hero-carousel .hp-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.current-home .hm-hero-carousel .hp-incoming {
  z-index: 1;
  animation: hp-crossfade var(--hp-fade) ease-in-out both;
}
.current-home .hm-hero-carousel .hp-caption {
  position: absolute;
  top: 100%;
  width: 100%;
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 24px;
  text-align: center;
}
.current-home .hm-hero-carousel .hp-controls {
  position: absolute;
  top: calc(100% + 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  margin-top: 3px;
}
.current-home .hm-hero-carousel .hp-controls button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease;
}
.current-home .hm-hero-carousel .hp-controls button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  background: #e9eddf;
}
.current-home .hm-hero-carousel .hp-controls button:disabled { opacity: .45; cursor: default; }
.current-home .hm-hero-carousel .hp-position {
  min-width: 44px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  letter-spacing: .06em;
}
.current-home .hm-hero-carousel .hp-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes hp-crossfade { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .current-home .hm-hero-carousel .hp-controls button:not(:disabled):hover { background: #e9eddf; }
}
@media (prefers-reduced-motion: reduce) {
  .current-home .hm-hero-carousel .hp-incoming { animation: none; }
  .current-home .hm-hero-carousel .hp-controls button { transition: none; }
}
