/* Lightened historic-centre illustration; the white overlay is applied in CSS. */
body.polotsk-city-background {
    background: #e1e8ec;
    isolation: isolate;
}

body.polotsk-city-background::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), url("polotsk-historic-centre-v2.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Match Newsmag's native content widths. */
body.polotsk-city-background .td-outer-container {
    max-width: 1021px;
    margin-inline: auto;
    background-color: transparent;
    box-shadow: 0 0 28px rgba(24, 43, 56, .16);
}

/* Transparent masthead; preserve the menu's existing background. */
body.polotsk-city-background .td-header-wrap,
body.polotsk-city-background .td-header-top-menu,
body.polotsk-city-background .td-header-header {
    background-color: transparent;
}

body.polotsk-city-background .td-header-main-menu {
    background-color: rgba(34, 34, 34, .7);
}

body.polotsk-city-background .td-main-content-wrap {
    background-color: #fff;
}

/* Tight white halo follows only the opaque pixels of the logo image. */
body.polotsk-city-background .td-header-wrap .td-main-logo img {
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 14px #fff);
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.polotsk-city-background .td-outer-container {
        max-width: 756px;
    }
}

@media (max-width: 767px) {
    body.polotsk-city-background .td-outer-container {
        max-width: 100%;
    }

}

@media print {
    body.polotsk-city-background {
        background: #fff;
    }
    body.polotsk-city-background::before {
        display: none;
    }
    body.polotsk-city-background .td-outer-container {
        box-shadow: none;
    }
}
