/**
 * Adjustments where WordPress' markup differs from the delivered HTML.
 *
 * Kept separate so assets/css/main.css can stay a byte-faithful copy of the
 * client's stylesheet.
 */

/**
 * The original document wrote these hero images as bare <img src alt>, with no
 * width/height attributes, so the browser derived the height from the file's
 * aspect ratio and `width:100%` scaled it proportionally.
 *
 * wp_get_attachment_image() adds width/height attributes — which we want, they
 * prevent layout shift while the image loads — but the height attribute then
 * fights `width:100%` and squashes or stretches the picture. `height:auto`
 * restores the intended behaviour while keeping the CLS benefit.
 *
 * main.css already does exactly this for .work-img img; these three selectors
 * were simply never written with WordPress in mind.
 */
.home-art img,
.st-hero img,
.st-second img {
	height: auto;
}
