/* Consistent typography across the five Polish cooperation paths. */
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-section__title--compact {
    max-width: 42rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.2;
}
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-eyebrow--prominent {
    font-size: .9rem;
    line-height: 1.5;
}
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-lead,
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-check-list li {
    font-size: 1rem;
    line-height: 1.6;
}
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-button {
    font-size: .9rem;
    line-height: 1.5;
}

html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section[id] {
    scroll-margin-top: 7rem;
    isolation: isolate;
}

/* Attached illustrations for the five Polish cooperation paths. */
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section .website-model-pictogram {
    display: block;
    justify-self: center;
    width: min(100%, 34rem);
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: transparent;
    /* Mute the source red to match the burgundy accents; keep paper white. */
    filter: saturate(.55) contrast(.94) brightness(1.04);
    opacity: .92;
    mix-blend-mode: multiply;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"]) .website-section--navy .website-model-pictogram {
    /* White paper blends into navy; the original icon shapes stay intact. */
    filter: saturate(.55) invert(1) hue-rotate(180deg) brightness(.82);
    mix-blend-mode: screen;
}

/* Keep the illustrations legible when the light sections use a dark theme. */
html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"])[data-theme="dark"] .website-section--surface .website-model-pictogram {
    filter: saturate(.55) invert(1) hue-rotate(180deg) brightness(.82);
    mix-blend-mode: screen;
}
@media (prefers-color-scheme: dark) {
    html:is([lang="pl"], [lang="en"], [lang="de"], [lang="fr"], [lang="it"], [lang="uk"], [lang="ru"])[data-theme="system"] .website-section--surface .website-model-pictogram {
        filter: saturate(.55) invert(1) hue-rotate(180deg) brightness(.82);
        mix-blend-mode: screen;
    }
}
