/* Build 0195 Completion Fix 5 — News article hero full-panel artwork scaling.
 * The resolved custom/category artwork is scaled responsively to the exact
 * dimensions of the right-side hero identity panel. No part of the source
 * image is cropped or hidden; width and height both reach 100% of the panel.
 * This intentionally allows proportional distortion when the panel and the
 * 16:9 source artwork have different aspect ratios, because the production
 * requirement is simultaneous full-panel coverage and full-image visibility. */
.tg-news-article-page .tg-modern-hero--article-cover .tg-modern-hero-identity {
    background: #0b2741;
}

.tg-news-article-page .tg-news-article-hero-cover {
    position: absolute !important;
    z-index: 2;
    inset: 0;
    display: block;
    overflow: hidden;
    padding: 0;
    background: #0b2741;
}

/* CF4 kept this layer for aspect-ratio remainder. CF5 no longer needs it
 * because the visible artwork itself fills the full panel dimensions. */
.tg-news-article-page .tg-news-article-hero-cover-backdrop {
    display: none;
}

.tg-news-article-page .tg-news-article-hero-cover::after {
    display: none;
}

.tg-news-article-page .tg-news-article-hero-cover-image {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
    object-position: center center;
}

@media (max-width: 980px) {
    .tg-news-article-page .tg-modern-hero--article-cover .tg-modern-hero-identity {
        min-height: min(56.25vw, 520px);
    }
}
