/* VSGYM Élan 1.4.20 — ratios admin, scoped to existing news/event media. */
/* By default every context remains 16:9, the value used in version 1.4.19. */
.vsgym-news-cards>li>.wp-block-post-featured-image,
.vsgym-news-cards>.vsgym-news-card>.vsgym-news-card__image,
.vsgym-news-cards>.vsgym-news-card>.vsgym-news-card__placeholder,
.vsgym-news-cards>li:not(:has(>.wp-block-post-featured-image))::before {
    aspect-ratio:var(--vsgym-photo-ratio,16/9)!important;
    height:auto!important;
    flex:0 0 auto!important;
    box-sizing:border-box;
}
.vsgym-news-cards>li>.wp-block-post-featured-image a,
.vsgym-news-cards>li>.wp-block-post-featured-image img {
    width:100%;height:100%;display:block;
}
.vsgym-news-cards>.vsgym-news-card>.vsgym-news-card__image img {
    display:block;width:100%;height:100%;object-fit:cover;
}
/* Only singular posts whose chosen/global format is explicit are cropped. */
body.vsgym-photo-format-active .vsgym-news-single__featured,
body.vsgym-photo-format-active .vsgym-event-single .wp-block-post-featured-image {
    aspect-ratio:var(--vsgym-photo-ratio)!important;
    overflow:hidden;
}
body.vsgym-photo-format-active .vsgym-news-single__featured img,
body.vsgym-photo-format-active .vsgym-event-single .wp-block-post-featured-image img {
    display:block;width:100%!important;height:100%!important;
    max-height:none!important;object-fit:cover!important;aspect-ratio:auto!important;
}
