/* Logo jest transparentne; oprawa nie dodaje tła ani marginesu do znaku. */
.inwestpol-logo-tlo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0;
    background: transparent;
}
.inwestpol-logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.inwestpol-logo--pasek { width: 140px; }
.inwestpol-logo--panel { width: 172px; max-height: 76px; }
.inwestpol-logo--logowanie { width: 270px; }
.marka .marka__podpis { margin: 4px 0 0; }
.inwestpol-sidebar-naglowek { height: 92px; min-height: 92px; }
.inwestpol-sidebar-naglowek__marka { height: 90px; }
.inwestpol-sidebar-marka { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; }
.inwestpol-branding { display: flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; }
.inwestpol-branding__link { display: inline-flex; align-items: center; max-width: 100%; }
.inwestpol-branding__wersja { display: block; font-size: calc(12px * var(--skala-tekstu)); }
.inwestpol-logowanie-branding { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #bb8b3c; }
.inwestpol-logowanie-branding__tytul { margin-top: 22px; font-size: calc(22px * var(--skala-tekstu)); line-height: 1.3; font-weight: 650; }
.inwestpol-logowanie-branding__podpis { margin-top: 4px; font-size: calc(14px * var(--skala-tekstu)); }
/* Monochromatyczny wariant ekranowy zapewnia kontrast na ciemnym tle.
   Wydruki i pliki dokumentów zachowują oryginalne barwy granat/złoto. */
@media screen {
    html.dark .inwestpol-logo { filter: brightness(0) invert(1); }
}
@media screen and (prefers-color-scheme: dark) {
    html:not(.light):not(.dark) .inwestpol-logo { filter: brightness(0) invert(1); }
}
@media (max-width: 600px) {
    .inwestpol-logo--pasek { width: 114px; }
    .inwestpol-logo--logowanie { width: 235px; }
}
