/**
 * Override CSS untuk .aztech-hero.has-image
 * Gambar seamless dengan content
 */

.aztech-hero.has-image {
  width: 100%;
  aspect-ratio: 990 / 200;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #f5f5f5;
  display: block;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

/* Hilangkan overlay sepenuhnya */
.aztech-hero.has-image .aztech-hero-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hapus margin atas dari content yang mengikuti hero */
.aztech-hero.has-image+section,
.aztech-hero.has-image+div {
  margin-top: 0 !important;
}

/* Hapus margin & padding dari parent container */
.page_index_journal {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_page {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* Hilangkan whitespace dari dalam hero */
.aztech-hero.has-image>* {
  margin: 0 !important;
  padding: 0 !important;
}

/* Tablet: Sesuaikan aspect ratio */
@media (min-width: 768px) and (max-width: 991px) {
  .aztech-hero.has-image {
    aspect-ratio: 768 / 240;
  }
}

/* Mobile Landscape: Sedang */
@media (min-width: 577px) and (max-width: 767px) {
  .aztech-hero.has-image {
    aspect-ratio: 600 / 220;
  }
}

/* Mobile Portrait: Kecil */
@media (max-width: 576px) {
  .aztech-hero.has-image {
    aspect-ratio: 400 / 180;
    background-attachment: scroll;
  }
}