/* Hero slider Puskesmas (IDDS) — rotasi otomatis + panah + dots */
.hero { overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero .container { z-index: 2; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3; transition: background .2s;
}
.hero-arrow:hover { background: var(--color-primary-500); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-dots {
    position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
    width: 28px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,.4); border: none;
    cursor: pointer; padding: 0; transition: background .2s;
}
.hero-dot.active { background: #fff; }
@media (max-width: 768px) {
    .hero-arrow { display: none; }
    .hero-dots { bottom: 76px; }
}
