/**
 * Hub-synced advertisement creatives (sidebar + footer widgets + mid-header).
 */

.lnm-hub-banner {
	margin: 0 0 1rem;
	max-width: 100%;
}

.lnm-hub-banner a {
	display: block;
	max-width: 100%;
	line-height: 0;
}

.lnm-hub-banner img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.lnm-hub-banner--right_1 {
	margin-bottom: 1.25rem;
}

/*
 * Featured Business (footer column 1): full column width, natural image height
 * (no fixed height — avoids cropping creatives on mobile).
 */
.lnm-hub-banner--footer {
	margin: 0 0 1rem;
	width: 100%;
	max-width: 100%;
}

.lnm-hub-banner--footer a {
	width: 100%;
}

.lnm-hub-banner--footer img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

/*
 * MagazineNP mid-header ad (next to logo).
 * Cap height so tall uploads cannot blow out the header; width scales responsively.
 */
.mnp-mid-header .navbar-ad-section a.magazinenp-ad-728-90,
.mnp-mid-header .navbar-ad-section {
	max-width: 100%;
}

.mnp-mid-header .navbar-ad-section img,
.mnp-mid-header .navbar-ad-section .img-fluid {
	display: block;
	width: auto;
	max-width: min(100%, 780px);
	height: auto;
	max-height: 150px;
	object-fit: contain;
	object-position: center right;
	margin-left: auto;
}
