/* Banner slider: full width, auto-advances until paused.
   Arrows on the sides; dots and a pause / play button at the bottom right.
   Pauses while the pointer or keyboard focus is on the banner.
   Visitors who prefer reduced motion get no auto-advance.
   Controls sit over images, so they use fixed black and white (not theme colours). */

.hero {
  position: relative;
  background: var(--bright-gray);
}

.hero .hero-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hero .hero-track::-webkit-scrollbar { display: none; }

.hero .hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;                   /* one swipe = one banner */
}
.hero .hero-slide a { display: block; }
.hero .hero-slide a:focus-visible { outline: 3px solid var(--key); outline-offset: -3px; }
.hero .hero-slide img { display: block; width: 100%; height: auto; }   /* never stretched or cropped */

/* Arrows: black squares with a white chevron */
.hero .hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  border: 0;
  cursor: pointer;
}
.hero .hero-prev { left: 1rem; }
.hero .hero-next { right: 1rem; }
.hero .hero-btn::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.hero .hero-next::before { transform: translateX(-0.1rem) rotate(45deg); }
.hero .hero-prev::before { transform: translateX(0.1rem) rotate(-135deg); }

/* Controls at the bottom right: dots + pause / play */
.hero .hero-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero .hero-dots {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.125rem 0.5rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}
.hero .hero-dots button {
  position: relative;
  width: 1.5rem;                              /* easy to tap */
  height: 1.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hero .hero-dots button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--columbia-blue);
}
.hero .hero-dots button[aria-current="true"]::before { background: var(--key); }

.hero .hero-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.hero .hero-toggle::before {                  /* pause: two bars */
  content: "";
  width: 0.625rem;
  height: 0.875rem;
  border-left: 0.1875rem solid currentColor;
  border-right: 0.1875rem solid currentColor;
}
.hero.is-paused .hero-toggle::before {        /* play: triangle */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.4375rem 0 0.4375rem 0.75rem;
  border-color: transparent transparent transparent currentColor;
}

.hero .hero-btn:focus-visible,
.hero .hero-toggle:focus-visible,
.hero .hero-dots button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #000000;
}

/* Small screens: smaller controls, tucked into the corners */
@media (max-width: 575.98px) {
  .hero .hero-prev { left: 0.5rem; }
  .hero .hero-next { right: 0.5rem; }
  .hero .hero-controls { right: 0.5rem; bottom: 0.5rem; gap: 0.5rem; }
  .hero .hero-btn { width: 2rem; height: 2rem; }
  .hero .hero-toggle { width: 2rem; height: 2rem; }
}
