/* === HERO Slideshow Background === */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

/* Dua layer untuk crossfade */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02); /* sedikit zoom untuk mencegah garis tepi saat fade */
  transition: opacity 0.8s ease, transform 6s ease;
  opacity: 1; /* layer aktif */
  z-index: 0; /* di bawah overlay */
}
.hero__bg--next {
  opacity: 0; /* layer yang akan masuk berikutnya */
}

/* Overlay tetap di atas bg */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  z-index: 1;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
}

.sidebar__heading {
  font-size: 12px;
  font-weight: bold;
  color: var(--text-muted);
  padding: 10px 12px 4px;
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mt-auto {
  margin-top: auto !important;
}
