/* Override khusus logo header agar tampil PNG polos tanpa lingkaran */
header .ansor-brand__badge,
header .ansor-preview-brand__badge,
header .site-logo-circle,
header .brand-logo-circle,
header .logo-circle,
header .navbar-logo-badge,
header .header-logo-badge,
header [class*="logo-badge"],
header [class*="brand__badge"] {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

header .ansor-brand__badge svg,
header .ansor-preview-brand__badge svg,
header [class*="logo-badge"] svg,
header [class*="brand__badge"] svg {
    display: none !important;
}

header .ansor-brand img,
header .ansor-preview-brand img,
header .site-logo img,
header .navbar-brand img,
header .header-logo img,
header a img[src*="logo"],
header a img[src*="Logo"],
header a img[src*="ansor"],
header a img[src*="Ansor"] {
    width: auto !important;
    height: 56px !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

header .ansor-brand,
header .ansor-preview-brand,
header .navbar-brand,
header .site-brand {
    gap: 14px !important;
}

@media (max-width: 1024px) {
    header .ansor-brand img,
    header .ansor-preview-brand img,
    header .site-logo img,
    header .navbar-brand img,
    header .header-logo img,
    header a img[src*="logo"],
    header a img[src*="Logo"],
    header a img[src*="ansor"],
    header a img[src*="Ansor"] {
        height: 50px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 640px) {
    header .ansor-brand img,
    header .ansor-preview-brand img,
    header .site-logo img,
    header .navbar-brand img,
    header .header-logo img,
    header a img[src*="logo"],
    header a img[src*="Logo"],
    header a img[src*="ansor"],
    header a img[src*="Ansor"] {
        height: 44px !important;
        max-width: 100px !important;
    }
}