/* Homepage carousel controls: one layout, shared by all three languages.
   The React carousel owns the six-second clock and its pause/resume state. */
.home-hero .home-carousel-controls {
  position: static;
  z-index: 4;
  inset: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  margin: 32px 0 0;
  padding: 0;
  gap: 12px;
  transform: none;
}

.home-hero .home-carousel-controls button {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #315969;
  box-shadow: none;
  overflow: visible;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease;
}

.home-hero .home-carousel-controls button.active,
.home-hero .home-carousel-controls button:hover {
  color: #007ca5;
}

.home-hero .home-carousel-controls button.active {
  border-color: #007ca5;
}

.home-hero .home-carousel-controls button:focus-visible {
  outline: 2px solid #007ca5;
  outline-offset: 3px;
}

.home-hero .home-carousel-controls button img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 65% center;
  opacity: .7;
}

.home-hero .home-carousel-controls button.active img,
.home-hero .home-carousel-controls button:hover img {
  opacity: 1;
}

.home-hero .home-carousel-controls button:nth-child(2) img { object-position: 76% center; }
.home-hero .home-carousel-controls button:nth-child(3) img { object-position: 72% center; }
.home-hero .home-carousel-controls button:nth-child(4) img { object-position: 68% center; }

.home-hero .home-carousel-controls .thumbnail-countdown {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  transform: rotate(-90deg);
  pointer-events: none;
}

.home-hero .thumbnail-countdown circle {
  vector-effect: non-scaling-stroke;
}

.home-hero .thumbnail-countdown .countdown-track {
  stroke: rgba(0,124,165,.18);
  stroke-width: 2;
}

.home-hero .thumbnail-countdown .countdown-progress {
  stroke: #007ca5;
  stroke-width: 3;
  stroke-linecap: round;
  animation: none;
}

@media (max-width: 720px) {
  .home-hero .home-carousel-controls {
    margin-top: 28px;
    gap: 10px;
  }

  .home-hero .home-carousel-controls button {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 680px) {
  .home-hero .home-carousel-controls button { font-size: 12px; }
}
