/* CMS media bindings; component type/colour/spacing remains canonical. */
.cms-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.story-figure:has(>.v49-story-photo){height:auto;aspect-ratio:auto}.story-figure>.v49-story-photo{display:block;width:100%;height:auto;object-fit:contain}.story-body img{max-width:100%;height:auto!important;object-fit:contain}.story-body iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;border:0}.story-body table{display:block;max-width:100%;overflow-x:auto}.story-body{overflow-wrap:anywhere}.story-body :is(span,font,div){font-family:inherit!important}.story-body a{text-decoration:none}.story-source{overflow-wrap:anywhere}.story-tags{display:flex;flex-wrap:wrap;gap:8px}.story-tags a{min-height:24px}.archive-thumb img{display:block;width:100%;height:auto;object-fit:contain}.archive-thumb{height:auto;aspect-ratio:auto}.archive-story--no-photo{grid-template-columns:50px minmax(0,1fr)}.archive-story--no-photo .archive-story-copy{grid-column:2}.archive-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.archive-pagination a,.archive-pagination>span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.archive-pagination [aria-current]{font-weight:600;color:var(--accent-ink)}.aux-search{margin:24px 0}.aux-search label{display:block;margin-bottom:8px}.aux-search>div{display:flex;gap:12px}.aux-search input{flex:1;min-width:0;padding:12px 16px;font:inherit;font-size:16px;color:var(--ink);background:white;border:1px solid var(--prototype-line);border-radius:12px}.aux-search input:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}.author-text{overflow-wrap:anywhere}.authors-item:not(:has(.author-photo)){grid-template-columns:minmax(0,1fr)}.authors-item .author-photo{object-fit:cover;border-radius:50%}.story-related{background:var(--city-tint)}.read-also-inline .read-also-label{display:block;margin-bottom:9px}.read-also-inline{margin-block:24px}.archive-story{position:relative}.archive-story .news-headline:after{content:"";position:absolute;inset:0}.archive-story:focus-within{outline:2px solid var(--accent-ink);outline-offset:2px}.archive-day{clear:both}.footer-band a.logo{display:inline-flex;text-decoration:none}
@media(max-width:600px){.aux-search>div{flex-wrap:wrap}.story-body iframe{height:auto}.archive-story--no-photo{grid-template-columns:44px minmax(0,1fr)}}

.art:has(>img){background:none}.art:has(>img)::before,.art:has(>img)::after{display:none}html body main[data-v49-listing=section][data-section-topic] .section-priority .art:has(img){height:auto!important;min-height:0!important;aspect-ratio:auto!important}html body main[data-v49-listing=section][data-section-topic] .section-priority .art img{position:static;width:100%;height:auto!important;object-fit:contain}.v49-list-photo{display:block;width:100%;height:auto;object-fit:contain}.v49-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.v49-pagination .btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}main[data-v49-listing]{min-width:0}.pagination-gap{padding:8px}

/* Accepted common related/compact-useful composition (TRANSFER-RULES 30.10). */
.story-body .read-also-inline{margin-block:24px}.story-body .read-also-label{display:block;margin-bottom:9px}.story-page>.ad-article[hidden]+.story-related{margin-top:24px}.story-page .story-related{background:var(--city-tint);padding-inline:20px}@media(max-width:900px){.story-page .story-related{padding-inline:16px}}


/* The CMS owns rail measurement; expose it after its complete native data renders. */
@media(min-width:901px){.news-layout>.latest{position:static;grid-column:1;grid-row:1;height:var(--rail-height,auto);min-height:0;align-self:start;visibility:visible}.news-layout>.latest>.rail-window{flex:1 1 0;min-height:0}.news-layout>.latest [data-rail-fit-hidden]{display:none!important}}
/* Shared transfer rules: lower city section has no outer white shell. */
html[data-city="krivbass"] #city.city{background:transparent;border:0;box-shadow:none;border-radius:0;padding-inline:0}

/* The approved lower list follows the two leading cards in this CMS grid. */
@media(min-width:901px){html body #city .city-grid:has(>.useful-title-list){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Match the approved continuous city-band/footer composition; no duplicated reserves. */
html body .city-band #city{margin-bottom:0;padding-bottom:0}
html body:has(.city-band) .footer-band{margin-top:0}

/* Avoid stacking the grid gap and list wrapper reserve before the first row.
   Keep the approved 16px row padding and all headline typography intact. */
html[data-city="krivbass"] body #city.city .city-grid{--useful-row-gap:24px;row-gap:var(--useful-row-gap)}
html[data-city="krivbass"] body #city.city .city-grid>.compact.useful-title-list{margin-top:calc(-1 * var(--useful-row-gap));padding-top:0}
@media(max-width:900px){html[data-city="krivbass"] body #city.city .city-grid{--useful-row-gap:20px}}

/* Owner 01.11: more breathing room between the three visible mobile links. */
@media(max-width:900px){html[data-city="krivbass"][data-header-mode] body .wrap>header[data-shared-header]>.nav{column-gap:clamp(8px,calc((100vw - 312px)/2),16px)!important}}
