/**
 * About Page — overrides on top of the shared SBS rows (service-sbs.css).
 * The About template reuses the Service Page's SBS markup as-is; this file
 * only holds what is specific to the About page's own rows.
 */

/* President row: a portrait photo that should not stretch with the copy
   beside it. The img already fills its cell (height: 100%, object-fit:
   cover), so fixing the cell's height is enough. Targets the row by its post
   slug via the .sbsSection--{slug} modifier (see service-sbs.php). */
.sbsSection--president .sbsImage {
	height: 550px;
}

/* Shift the portrait 80px up inside the cell so the people are framed
   correctly when it is cropped (plain "top" still cut the photo badly). */
.sbsSection--president .sbsImage img {
	object-position: center -80px;
}

/* Energy Star badge on the Windows and Doors rows. A CSS overlay rather than
   a logo baked into the photo: the column crops the photo (object-fit: cover)
   and scales it, so a baked-in badge would drift in size and could be cropped
   off, whereas this stays exactly 100px wide and 15px from its corner at any
   width. Purely decorative — the row heading already says "Energy-Star
   Certified". The asset is a 2x (200px) WebP for sharp rendering. The
   .sbsImage cell is already position: relative (service-sbs.css). */
.sbsSection--energy-star-windows .sbsImage::after,
.sbsSection--energy-star-doors .sbsImage::after {
	content: "";
	position: absolute;
	bottom: 15px;
	width: 100px;
	height: 122px; /* 400x488 artwork at 100px wide */
	background: url("../images/energy-star-badge.webp") center / contain no-repeat;
	pointer-events: none;
}

.sbsSection--energy-star-windows .sbsImage::after {
	left: 15px;
}

.sbsSection--energy-star-doors .sbsImage::after {
	right: 15px;
}
