/* Full technical cover artwork on home, directory and related article cards.
   Scoped selectors also override the older blog.css fixed-height image rule. */
.sz-blog-card .sz-blog-card__media {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #15171b;
}

.sz-blog-card .sz-blog-card__media > img.sz-blog-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #15171b;
    transform: none;
    filter: none;
    transition: none;
}

.sz-blog-card:hover .sz-blog-card__media > img.sz-blog-card__image,
.sz-blog-card:focus-within .sz-blog-card__media > img.sz-blog-card__image {
    transform: none;
    filter: none;
}

/* Labels belong in the body so they never cover a poster headline or logo. */
.sz-blog-card .sz-blog-card__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sz-blog-card .sz-blog-card__labels > .sz-blog-card__category,
.sz-blog-card .sz-blog-card__labels > .sz-blog-card__featured {
    position: static;
    inset: auto;
    z-index: auto;
    max-width: 100%;
    min-height: 28px;
    padding: 6px 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    backdrop-filter: none;
}

.sz-blog-card .sz-blog-card__labels > .sz-blog-card__category {
    border-color: #e7e9ed;
    background: #f5f6f8;
}

/* Do not cap hero height: the entire image must remain visible at every width. */
.sz-blog-article img.sz-blog-article__hero {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #15171b;
}
