/* ============================================================
   Hero slider — full-width crossfade
   ============================================================ */

.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 468px;
  max-height: 936px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-hero);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 767px) {
  .hero-slider {
    height: 62vh;
    min-height: 374px;
  }
}

/* Gap between hero slider and the first section below it (Projekty) */
.hero-slider + .section {
  padding-top: calc(var(--section-padding-y) * 0.4);
}
