/* =========================================================
   BANNER JUDUL SERAGAM SEMUA MENU SinTast
   Logo karantina (kiri) | Judul + Subjudul (tengah) |
   Logo Kemenkes BBKK Batam (kanan, panel lengkung teal)
   ========================================================= */

.halaman-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 28px;
    margin: 0 0 20px;
    box-shadow: 0 10px 30px rgba(0, 107, 112, .14);
}

.halaman-banner .hb-logo-kiri {
    justify-self: start;
    margin-left: 48px;
    height: 86px !important;
    width: auto !important;
    max-width: 340px !important;
    flex: none;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, .95))
            drop-shadow(0 0 9px rgba(20, 176, 181, .95))
            drop-shadow(0 0 20px rgba(32, 196, 199, .60))
            drop-shadow(0 4px 8px rgba(0, 107, 112, .30));
}

.halaman-banner .hb-judul {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.halaman-banner .hb-judul h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0B5F66;
    letter-spacing: .3px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.halaman-banner .hb-judul p {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #0B5F66;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.halaman-banner .hb-kanan {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: clamp(190px, 24vw, 320px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.halaman-banner .hb-kanan::before,
.halaman-banner .hb-kanan::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 100% 0 0 0 / 100% 0 0 0;
}

.halaman-banner .hb-kanan::before {
    left: -34px;
    right: 0;
    background: rgba(32, 196, 199, .35);
}

.halaman-banner .hb-kanan::after {
    left: 0;
    right: 0;
    background: linear-gradient(120deg, #20C4C7 0%, #008C91 45%, #006B70 100%);
}

.halaman-banner .hb-kanan img {
    height: 70px !important;
    width: auto !important;
    max-width: 90%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 1.5px #fff)
            drop-shadow(0 0 1.5px #fff)
            drop-shadow(0 3px 5px rgba(0, 60, 68, .30));
}

@media (max-width: 800px) {
    .halaman-banner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 16px;
    }
    .halaman-banner .hb-logo-kiri {
        height: 30px !important;
        margin-left: 0;
        filter: none;
    }
    .halaman-banner .hb-judul h1 { font-size: 15px; }
    .halaman-banner .hb-judul p { font-size: 10.5px; }
    .halaman-banner .hb-kanan { position: static; width: auto; flex: 0 0 auto; }
    .halaman-banner .hb-kanan::before,
    .halaman-banner .hb-kanan::after { display: none; }
    .halaman-banner .hb-kanan img { height: 30px !important; }
}

/* Sembunyikan banner saat halaman tampil di dalam iframe Administrasi Sistem */
.admin-popup-clean .halaman-banner,
body.admin-popup-mode .halaman-banner { display: none !important; }

@media print {
    .halaman-banner { display: none !important; }
}
