/* Fill each homepage card while keeping one consistent image shape. */
.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .post-thumb > .image-link,
.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .featured > .image-link {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-right: 0;
    margin-left: 0;
    overflow: hidden;
}

.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .post-thumb > .image-link > img.wp-post-image,
.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .featured > .image-link > img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .post-thumb,
.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .featured {
    margin-bottom: 28px;
}

/* Keep category labels aligned with the full-width thumbnail. */
.dq-homepage-images .main-content > .posts-dynamic article.has-post-thumbnail > .post-header > .post-thumb > .cat-label {
    left: 0;
    width: 100%;
    max-width: none;
    transform: none;
}
