/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Utility: make a WoodMart image element stretch to its widget box.
   WoodMart renders .wd-image img at the file's natural width, so images
   narrower than the container leave a gap on one side.
   Usage: widget 高级 -> 布局 -> CSS 类 = wd-img-fill (optionally wd-img-cover
   together with a widget height to crop instead of stretch). */
.wd-img-fill img {
	width: 100%;
	height: auto;
	display: block;
}

.wd-img-cover img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
