/* Editorial category cards: normalize mixed legacy thumbnail dimensions. */
.post-image-link {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #f4eee7;
}

.post-image-link .post-img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .2s ease;
}

.post-image-link:hover .post-img,
.post-image-link:focus-visible .post-img {
    transform: scale(1.025);
}

.post-first-item > .post-image-link {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.post-side-item > .post-image-link {
    grid-area: img;
    width: 120px;
    height: 80px;
}

.post-item > .post-image-link {
    grid-area: img;
    width: 200px;
    height: 130px;
}

@media (max-width: 620px) {
    .post-first-item > .post-image-link {
        aspect-ratio: 16 / 10;
    }

    .post-side-item > .post-image-link {
        width: 120px !important;
        height: 80px !important;
    }

    .post-item > .post-image-link {
        width: 120px !important;
        height: 80px !important;
    }
}

@media (max-width: 380px) {
    .post-side-item > .post-image-link,
    .post-item > .post-image-link {
        width: 104px !important;
        height: 72px !important;
    }
}
