/* CLS stability and scoped catalogue spacing. */
.film-poster img[itemprop="image"][width][height] {
    height:auto;
}
.film-poster img.uk-cls-poster-poster { aspect-ratio:260 / 385; object-fit:contain; }
.film-poster img.uk-cls-poster-serial { aspect-ratio:280 / 414; object-fit:contain; }
/* Keep the whole poster visible, including cached cards without image dimensions.
   Specificity overrides the legacy 200px phone frame in styles.css. */
.movie-item.short-item > .movie-img { height:auto; aspect-ratio:216 / 320; }
.main-section-wr .short-item > .movie-img { aspect-ratio:172 / 243; }
.short-item .movie-img > img {
    display:block; width:100%; height:100%; min-height:0; object-fit:contain;
}
/* Reserve the floated catalogue column before its poster images arrive. */
.main-section-wr.with-sidebar > .main-section-inner > .right-side,
.main-section-wr.with-sidebar .right-side > .msi-content.flexed,
.main-section-wr.with-sidebar .msi-content.flexed > #dle-content { width:100%; }

/* Catalogue spacing; branding and header space is reserved by the outer wrapper. */
.all-wrap .cat-wr { padding-top:30px; }
@media (max-width:590px) {
    .all-wrap .cat-wr { padding-top:20px; }
}

/* Match the native desktop controls to Chosen before its initialization. */
@media (min-width:951px) {
    .all-wrap .cat-wr .filter-row > select {
        width:25%; height:37px; margin-right:10px; box-sizing:border-box;
    }
    .all-wrap .cat-wr .filter-row > .year-period > select {
        display:block; width:100%; height:37px; box-sizing:border-box;
    }
}

/* New releases use full-wr rather than the regular category wrapper. */
.all-wrap .full-wr.uk-newpost-page { padding-top:30px; }
.uk-newpost-page .listspage { margin-bottom:0; }
.uk-newpost-page .site-desc.test { padding-top:16px; padding-bottom:24px; }
@media (max-width:1220px) {
    .uk-newpost-page .site-desc.test { padding-top:10px; padding-bottom:10px; }
}
@media (max-width:590px) {
    .all-wrap .full-wr.uk-newpost-page { padding-top:20px; }
    .uk-newpost-page .site-desc.test { padding-top:8px; padding-bottom:12px; }
}

@font-face {font-family:'PT Sans';font-style:normal;font-weight:400;src:url(../fonts/cls/pt-sans-cyrillic-ext-400-normal.woff2?v=20261021-fonts2);unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:400;src:url(../fonts/cls/pt-sans-cyrillic-400-normal.woff2?v=20261021-fonts2);unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:400;src:url(../fonts/cls/pt-sans-latin-400-normal.woff2?v=20261021-fonts2);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:400;src:url(../fonts/cls/pt-sans-latin-ext-400-normal.woff2?v=20261021-fonts2);unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:400;src:url(../fonts/cls/pt-sans-latin-400-italic.woff2?v=20261021-fonts2);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:400;src:url(../fonts/cls/pt-sans-cyrillic-400-italic.woff2?v=20261021-fonts2);unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:400;src:url(../fonts/cls/pt-sans-latin-ext-400-italic.woff2?v=20261021-fonts2);unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:400;src:url(../fonts/cls/pt-sans-cyrillic-ext-400-italic.woff2?v=20261021-fonts2);unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:700;src:url(../fonts/cls/pt-sans-latin-700-normal.woff2?v=20261021-fonts2);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:700;src:url(../fonts/cls/pt-sans-latin-ext-700-normal.woff2?v=20261021-fonts2);unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:700;src:url(../fonts/cls/pt-sans-cyrillic-ext-700-normal.woff2?v=20261021-fonts2);unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:700;src:url(../fonts/cls/pt-sans-cyrillic-700-normal.woff2?v=20261021-fonts2);unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:700;src:url(../fonts/cls/pt-sans-latin-700-italic.woff2?v=20261021-fonts2);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:700;src:url(../fonts/cls/pt-sans-cyrillic-ext-700-italic.woff2?v=20261021-fonts2);unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:700;src:url(../fonts/cls/pt-sans-cyrillic-700-italic.woff2?v=20261021-fonts2);unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-display:optional;}
@font-face {font-family:'PT Sans';font-style:italic;font-weight:700;src:url(../fonts/cls/pt-sans-latin-ext-700-italic.woff2?v=20261021-fonts2);unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:optional;}
