/**
 * 主题23 站点 Logo 尺寸（双 Logo display 由 agency_style.css 控制）
 */
:root {
    --theme23-nav-logo-max-h: 52px;
    --theme23-nav-logo-max-w: min(190px, 34vw);
    --theme23-footer-logo-max-h: 50px;
    --theme23-footer-logo-max-w: min(175px, 32vw);
}

@media (max-width: 991.98px) {
    :root {
        --theme23-nav-logo-max-h: 44px;
        --theme23-nav-logo-max-w: min(160px, 42vw);
        --theme23-footer-logo-max-h: 42px;
        --theme23-footer-logo-max-w: min(155px, 38vw);
    }
}

.logo a.main_sticky_main_l img,
.logo a.main_sticky_l img {
    max-height: var(--theme23-nav-logo-max-h) !important;
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: var(--theme23-nav-logo-max-w) !important;
    object-fit: contain !important;
    object-position: left center;
}

.poket-description-area a img {
    max-height: var(--theme23-footer-logo-max-h) !important;
    height: auto !important;
    width: auto !important;
    max-width: var(--theme23-footer-logo-max-w) !important;
    object-fit: contain !important;
}

header img[src*="logo/img"], header img[data-src*="logo/img"],
header img[src*="resource/logo"], header img[data-src*="resource/logo"] {
    max-height: var(--theme23-nav-logo-max-h) !important;
    max-width: var(--theme23-nav-logo-max-w) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.logo img.lozad[data-src],
.poket-description-area img.lozad[data-src] {
    background: transparent !important;
    background-image: none !important;
}

.logo a img,
.poket-description-area a img {
    background-color: transparent !important;
    background-size: auto !important;
}
