/*
 * In-article ad slot. Takes no space until AdButler prints something,
 * so an empty zone leaves no grey bar or gap.
 */
.gtc-ad {
	clear: both;
	margin: 0;
	padding: 0;
}
.gtc-ad:has(.gtc-ad__slot :is(iframe, img, a)) {
	margin: 32px 0;
}

/* Banner: centered, with a small label above it. */
.gtc-ad__label {
	display: none;
	margin: 0 0 8px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	color: #475467;
}
.gtc-ad--banner:has(.gtc-ad__slot :is(iframe, img, a)) .gtc-ad__label {
	display: block;
}
.gtc-ad--banner .gtc-ad__slot {
	display: flex;
	justify-content: center;
}

/* Tinted panel behind banners, matching the old in-article ads.
   Only once an ad has filled, so an empty zone stays invisible. */
.gtc-ad--banner:has(.gtc-ad__slot :is(iframe, img, a)) {
	padding: 16px 16px 20px;
	background: #f9f9f9;
}
.gtc-ad--banner .gtc-ad__slot img {
	max-width: 100%;
	height: auto;
}

/* Native: the shared .gtc-card styles do the rest. */
.gtc-ad--native .gtc-ad__slot {
	display: block;
}