/**
 * New Image / SVG — fixed height (responsive via Woodmart --wd-img-height on .wd-rs-*).
 */
.wdt-image.wdt-image-fixed-height .wdt-image-media {
	overflow: hidden;
	border-radius: inherit;
}

.wdt-image.wdt-image-fixed-height .wdt-image-media :is(img, picture) {
	width: 100%;
	height: var(--wd-img-height);
	object-fit: cover;
}

.wdt-image.wdt-image-fixed-height .wdt-image-media[style*="--wd-img-height"] :is(img, picture) {
	height: 100%;
}

.wdt-image.wdt-image-fixed-height .wdt-image-media svg {
	display: block;
	width: 100%;
	height: var(--wd-img-height);
}

.wdt-image.wdt-image-fixed-height .wdt-image-media.wd-without-height :is(img, picture, svg) {
	height: auto;
}
