/**
 * La Spunta Ads — frontend.
 */

.ls-ad {
	display: block;
	margin: 1rem auto;
	text-align: center;
	max-width: 100%;
	clear: both;
}

.ls-ad__link--text {
	display: inline-block;
	line-height: 1.4;
	text-decoration: none;
}

.ls-ad__cta {
	display: inline-block;
	padding: 0.85rem 1.25rem;
	border-radius: 6px;
	background: #12305e;
	color: #fff;
	font-family: "Work Sans", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
}

.ls-ad__link--text:hover .ls-ad__cta,
.ls-ad__link--text:focus-visible .ls-ad__cta {
	background: #1d4ed8;
}

.ls-ad__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.ls-ad--header_after {
	margin: 0.75rem auto 1rem;
}

.ls-ad--page_top,
.ls-ad--page_bottom {
	margin: 1.25rem auto 1.5rem;
}

.ls-ad--footer_before {
	margin: 1.5rem auto 0.5rem;
}

.ls-ad--sidebar {
	margin: 0 0 1rem;
}

/* Supporters: hide campagne, SmartMag ad wraps, Ad Inserter viewports. */
body.ls-ad-free .ls-ad,
body.ls-ad-free .a-wrap,
body.ls-ad-free .code-block,
body.ls-ad-free .ai-viewports,
body.ls-ad-free [class*="ai-viewport-"] {
	display: none !important;
}

/* Pubbliredazionale — fallback label on Bunyad / Elementor loops. */
.l-post.ls-advertorial,
article.ls-advertorial,
.elementor-post.ls-advertorial {
	position: relative;
}

.l-post.ls-advertorial::before,
article.ls-advertorial:not(.ls-single)::before,
.elementor-post.ls-advertorial::before {
	content: "Pubbliredazionale";
	display: inline-block;
	margin: 0 0 0.45rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	color: #92400e;
	font-family: "Work Sans", system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.l-post.ls-advertorial .ls-advertorial-kicker,
article.ls-advertorial .ls-advertorial-kicker {
	display: inline-block;
	margin: 0 0 0.45rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	color: #92400e;
	font-family: "Work Sans", system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ls-advertorial-admin-badge {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	color: #92400e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}
