/* Hero slider — úvod (fade, šířka jako .content-wrap, šipky) */
.content-wrap > .hero-slider + .content-box {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.hero-slider {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
  margin: 0 auto;
  background: #1a1214;
  overflow: hidden;
  border-radius: 6px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1214;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.hero-slider__nav:hover {
  filter: brightness(0.96);
}

.hero-slider__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-slider__prev {
  left: 0.6rem;
}

.hero-slider__next {
  right: 0.6rem;
}

.hero-slider__dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 9;
  pointer-events: auto;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
}

.hero-slider__dot.is-active {
  background: #fff;
  opacity: 1;
}

.hero-slider__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-slider__placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  color: #e8e0e0;
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.hero-slider__placeholder code {
  font-size: 0.9em;
}
