/* RedThunder — layout articoli (single.php). Nav/footer: landing-redthunder.css */

body.single-post {
	margin: 0;
	background: #f8fafc;
}

.rt-landing.rt-article {
	--rt-bg: #0c0c0c;
	--rt-surface: #171717;
	--rt-border: rgba(255, 255, 255, 0.08);
	--rt-text: #fafafa;
	--rt-muted: #a3a3a3;
	--rt-red: #dc2626;
	--rt-red-deep: #b91c1c;
	--rt-orange: #ea580c;
	--rt-gradient-text: linear-gradient(
		90deg,
		#9f0000 0%,
		#f00 22%,
		#f97316 48%,
		#ffb800 72%,
		#f7f300 100%
	);
	--rt-gradient-btn: linear-gradient(90deg, #ff2d2d 0%, #dc2626 45%, #7f1d1d 100%);
	--rt-btn-radius: 14px;
	--rt-btn-shadow: 0 10px 28px rgba(220, 38, 38, 0.22), 0 18px 52px rgba(0, 0, 0, 0.5);
	--rt-btn-shadow-hover: 0 14px 36px rgba(220, 38, 38, 0.28), 0 22px 72px rgba(0, 0, 0, 0.55);
	--rt-max: 1120px;
	--rt-radius: 10px;
	--rt-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	background: #f8fafc;
	color: #0f172a;
	min-height: 100vh;
}

/* Nav: stesso nero solido della home (niente translucenza sul chiaro) */
.rt-article .rt-landing__nav {
	background: #0c0c0c;
	color: #fafafa;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: none;
}

.rt-article .rt-landing__footer {
	background: #0c0c0c;
	color: #fafafa;
	margin-top: 0;
	border-top-color: rgba(255, 255, 255, 0.08);
}

.rt-article__main {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 3.5rem;
}

.rt-article__header {
	margin-bottom: 1.75rem;
}

.rt-article__meta {
	margin: 0 0 0.65rem;
	font-size: 0.875rem;
	color: #64748b;
}

.rt-article__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.rt-article__thumb {
	margin: 0 0 1.75rem;
	border-radius: 12px;
	overflow: hidden;
}

.rt-article__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.rt-article__content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #334155;
}

.rt-article__content > *:first-child {
	margin-top: 0;
}

.rt-article__content h2,
.rt-article__content h3,
.rt-article__content h4 {
	color: #0f172a;
	line-height: 1.3;
	margin: 2rem 0 0.75rem;
}

.rt-article__content h2 {
	font-size: 1.5rem;
}

.rt-article__content h3 {
	font-size: 1.25rem;
}

.rt-article__content p,
.rt-article__content ul,
.rt-article__content ol {
	margin: 0 0 1.15rem;
}

.rt-article__content a {
	color: #b91c1c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rt-article__content a:hover {
	color: #991b1b;
}

.rt-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.rt-article__content blockquote {
	margin: 1.5rem 0;
	padding: 0.25rem 0 0.25rem 1rem;
	border-left: 3px solid #dc2626;
	color: #475569;
}

/* Box CTA finale — stile vicino a .es-btn.es-btn-redthunder (dashboard) */
.rt-article__cta {
	margin-top: 3rem;
	padding: 1.75rem 1.5rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
	text-align: center;
}

.rt-article__cta-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
}

.rt-article__cta-text {
	margin: 0 auto 1.25rem;
	max-width: 36rem;
	font-size: 0.975rem;
	line-height: 1.55;
	color: #64748b;
}

.rt-btn-redthunder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.35rem;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	background: linear-gradient(135deg, #b91c1c 0%, #dc2626 38%, #ea580c 72%, #facc15 100%);
	color: #fff;
	border: none;
	box-shadow: 0 2px 12px rgba(185, 28, 28, 0.38);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
	transition: box-shadow 0.15s ease, filter 0.15s ease, transform 0.15s ease;
}

.rt-btn-redthunder:hover {
	background: linear-gradient(135deg, #c41e1e 0%, #e62e2e 38%, #f56e0c 72%, #fdda20 100%);
	color: #fff;
	box-shadow: 0 4px 16px rgba(185, 28, 28, 0.48);
	filter: brightness(1.02);
}

@media (max-width: 640px) {
	.rt-article__main {
		padding: 1.75rem 1.15rem 2.75rem;
	}

	.rt-article__cta {
		padding: 1.4rem 1.15rem;
	}

	.rt-btn-redthunder {
		width: 100%;
	}
}
