/* Hide all slides until Slick initializes */
.hero-slick:not(.slick-initialized) .hero-slide { display: none; }
.hero-slick:not(.slick-initialized) .hero-slide:first-child { display: block; }

/* ===== Desktop/Tablet default ===== */
.hero-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 600;  /* standard banner ratio */
  max-height: 80vh;
  overflow: hidden;
}

@supports not (aspect-ratio: 1) {
  .hero-slide { height: 31.25vw; } /* 600/1920 */
}

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 6% 6% auto 6%;
  z-index: 2;
  color: #fff;
  max-width: 70ch;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.85);
  color: #111;
  font-size: 22px;
  line-height: 44px;
  cursor: pointer;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-arrow:focus { outline: 2px solid #0a67b2; outline-offset: 2px; }

/* Dots for mobile */
.slick-dots { bottom: 10px; }
.slick-dots li button:before { font-size: 10px; }

/* Tablet adjustments */
@media (max-width: 1024px) {
  .hero-slide { aspect-ratio: 1920 / 600; max-height: 70vh; }
  .hero-overlay { inset: 5% 5% auto 5%; }
}

/* ===== Mobile: respect smart rule artwork ===== */
@media (max-width: 768px) {
  .hero-slide {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
  }
  .hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;  /* show full mobile banner */
    background: #000;     /* optional letterbox color */
  }
  .hero-overlay {
    inset: 4% 4% auto 4%;
    font-size: clamp(.95rem, 2.6vw, 1.1rem);
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .hero-slide { max-height: 700px; }
}
