/* Rakuza Seventeen 1.1.8: Latest Posts thumbnails in the "News / Events" page (ID 190).
 * Affects that page on its own and when embedded as a Twenty Seventeen
 * front-page panel. This does not change the large panel header/banner images,
 * carousel photos, uploaded source images, or other Latest Posts blocks.
 * The core Latest Posts block emits inline max-width/height on its <img>
 * (currently 240px x 135px); override them so object-fit can actually crop.
 */
article.post-190 .wp-block-latest-posts__featured-image {
    display: block;
    position: relative;
    width: 240px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
article.post-190 .wp-block-latest-posts__featured-image a {
    display: block;
    position: absolute;
    inset: 0;
}
article.post-190 .wp-block-latest-posts__featured-image img {
    display: block;
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
}
