/* Presa Banners: in-content house ads.
   Sizing is intrinsic throughout. Never give the image a percentage height:
   LiteSpeed wraps converted images in its own <picture>, and a percentage
   would resolve against that wrapper instead of the container and collapse. */

.pb-banner {
	margin: 40px 0;
	clear: both;
}

.pb-banner-link {
	display: block;
	line-height: 0;
	text-decoration: none;
	border-radius: 9px;
	overflow: hidden;
}

.pb-banner-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.pb-banner picture {
	display: block;
}

.pb-banner img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border: 0;
	border-radius: 9px;
	aspect-ratio: var(--pb-ar-d, auto);
}

/* Keep this breakpoint in step with the pb_mobile_breakpoint filter. */
@media (max-width: 767px) {
	.pb-banner img {
		aspect-ratio: var(--pb-ar-m, var(--pb-ar-d, auto));
	}
}

@media (max-width: 767px) {
	.pb-banner {
		margin: 32px 0;
	}
}
