/* ============================================================
   BKF-GESUCHT.de - kompaktes echtes Logo im Header
   Wird nach style.css geladen und überschreibt ältere Brand-Regeln.
============================================================ */

.site-header .header-inner {
    min-height: 82px;
}

.site-header .brand.brand-with-logo {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.site-header .brand.brand-with-logo .header-logo {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 180px !important;
    height: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Schutz vor allgemeinen Regeln wie img { width:100% } */
.site-header img.header-logo {
    width: auto !important;
    max-width: 180px !important;
    height: 60px !important;
}

@media (max-width: 1199px) {
    .site-header .brand.brand-with-logo {
        width: 165px !important;
        min-width: 165px !important;
        max-width: 165px !important;
    }

    .site-header .brand.brand-with-logo .header-logo,
    .site-header img.header-logo {
        max-width: 155px !important;
        height: 54px !important;
        max-height: 54px !important;
    }
}

@media (max-width: 767px) {
    .site-header .header-inner {
        min-height: 70px;
    }

    .site-header .brand.brand-with-logo {
        width: 138px !important;
        min-width: 138px !important;
        max-width: 138px !important;
        height: 52px !important;
    }

    .site-header .brand.brand-with-logo .header-logo,
    .site-header img.header-logo {
        max-width: 132px !important;
        height: 48px !important;
        max-height: 48px !important;
    }
}

@media (max-width: 380px) {
    .site-header .brand.brand-with-logo {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
    }

    .site-header .brand.brand-with-logo .header-logo,
    .site-header img.header-logo {
        max-width: 116px !important;
        height: 44px !important;
        max-height: 44px !important;
    }
}
