@font-face {
	font-display: swap;
	font-family: "SID Inter Tight";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/inter-tight/inter-tight-sid-700.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "SID Inter Tight";
	font-style: normal;
	font-weight: 800;
	src: url("../fonts/inter-tight/inter-tight-sid-800.ttf") format("truetype");
}

:root {
	--sid-ink: #14181f;
	--sid-muted: #5d6877;
	--sid-line: #d9dee7;
	--sid-panel: #ffffff;
	--sid-soft: #f3f6fa;
	--sid-accent: #1c7f1c;
	--sid-accent-strong: #155f15;
	--sid-orange: #e14e25;
	--sid-orange-soft: rgba(225, 78, 37, 0.1);
	--sid-green-soft: rgba(28, 127, 28, 0.12);
	--sid-blue: #174a8b;
	--sid-warning: #e14e25;
	--sid-radius: 8px;
	--sid-shadow: 0 14px 35px rgba(20, 24, 31, 0.08);
}

body {
	color: var(--sid-ink);
	overflow-x: clip;
}

.home .hero-section {
	display: none;
}

.home .ct-container-full[data-vertical-spacing*="top"] {
	padding-top: 0;
}

[data-header*="type-1"] {
	--header-height: 88px;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
	--height: 88px;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
	line-height: 1;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-title a {
	align-items: center;
	color: var(--sid-ink);
	display: inline-flex;
	font-family: "SID Inter Tight", "Inter Tight", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 800;
	gap: 0.62rem;
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-title a::before {
	background: url("../images/streamingindiretta-mark.svg") center / contain no-repeat;
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	height: 2.25rem;
	width: 2.25rem;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current_page_item > a {
	color: var(--sid-orange);
}

a {
	text-underline-offset: 0.16em;
}

.sid-answer-box,
.sid-event-card,
.sid-sources,
.sid-home-section {
	background: var(--sid-panel);
	border: 1px solid var(--sid-line);
	border-radius: var(--sid-radius);
	box-shadow: var(--sid-shadow);
	margin: 1.4rem 0;
	padding: clamp(1rem, 2vw, 1.4rem);
}

.sid-kicker,
.sid-section-kicker,
.sid-ad-slot span {
	color: var(--sid-muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
}

.sid-answer-content {
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.65;
}

.sid-answer-content p:first-child {
	margin-top: 0;
}

.sid-answer-content p:last-child {
	margin-bottom: 0;
}

.sid-event-card {
	border-top: 4px solid var(--sid-orange);
}

.sid-event-title {
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.2;
	margin: 0 0 1rem;
}

.sid-event-facts {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.sid-event-fact {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
		var(--sid-green-soft);
	border: 1px solid #e8edf4;
	border-radius: 6px;
	min-width: 0;
	padding: 0.8rem;
}

.sid-event-fact dt {
	color: var(--sid-muted);
	font-size: 0.78rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.sid-event-fact dd {
	color: var(--sid-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.sid-event-note {
	border-left: 4px solid var(--sid-warning);
	color: var(--sid-muted);
	margin: 1rem 0 0;
	padding-left: 0.85rem;
}

.sid-official-link {
	margin: 1.1rem 0 0;
}

.sid-official-link a,
.sid-home-cta {
	background: var(--sid-accent);
	border-radius: 6px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 800;
	line-height: 1.2;
	padding: 0.78rem 1rem;
	text-decoration: none;
}

.sid-official-link a:hover,
.sid-home-cta:hover {
	background: var(--sid-accent-strong);
	color: #ffffff;
}

.sid-ad-slot {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(20, 24, 31, 0.04) 1px, transparent 1px),
		linear-gradient(rgba(20, 24, 31, 0.04) 1px, transparent 1px),
		linear-gradient(135deg, rgba(28, 127, 28, 0.06), rgba(225, 78, 37, 0.05)),
		#f8fafc;
	background-size: 18px 18px;
	border: 1px dashed #aeb8c6;
	border-radius: 6px;
	color: var(--sid-muted);
	display: flex;
	justify-content: center;
	margin: 1.8rem 0;
	min-height: 140px;
	padding: 1rem;
	text-align: center;
}

.sid-ad-slot span {
	background: #ffffff;
	border: 1px solid #e0e5ed;
	border-radius: 999px;
	margin: 0;
	padding: 0.25rem 0.65rem;
}

.sid-sources {
	background:
		linear-gradient(90deg, rgba(28, 127, 28, 0.1), rgba(225, 78, 37, 0.08) 46%, rgba(255, 255, 255, 0) 46%),
		#fbfcfe;
	box-shadow: none;
}

.sid-sources h2 {
	font-size: 1.1rem;
	margin: 0 0 0.8rem;
}

.sid-sources ul,
.sid-sources ol {
	margin-bottom: 0;
}

.sid-home-hero {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(7, 18, 30, 0.9) 0%, rgba(7, 18, 30, 0.78) 36%, rgba(7, 18, 30, 0.2) 68%),
		url("../images/hero-dirette-2026.jpg") center right / cover no-repeat;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	display: flex;
	margin-left: calc(50% - 50vw);
	min-height: clamp(430px, 52vw, 620px);
	padding: clamp(2rem, 5vw, 4.5rem) 0;
	width: 100vw;
}

.entry-content.is-layout-constrained > .sid-home-hero {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	max-width: none !important;
	width: 100vw !important;
}

.sid-home-inner {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.sid-home-title {
	color: #ffffff;
	font-size: clamp(2rem, 5vw, 4rem);
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 1rem;
	max-width: 900px;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.sid-home-title::after {
	background:
		linear-gradient(90deg, var(--sid-orange) 0 50%, var(--sid-accent) 50% 100%);
	border-radius: 999px;
	content: "";
	display: block;
	height: 5px;
	margin-top: 1rem;
	width: min(12rem, 42vw);
}

.sid-home-hero .sid-section-kicker {
	color: rgba(255, 255, 255, 0.76);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.sid-home-section h2 {
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	line-height: 1.15;
	margin-top: 0;
}

.sid-home-section h2::after {
	background:
		linear-gradient(90deg, var(--sid-orange) 0 50%, var(--sid-accent) 50% 100%);
	border-radius: 999px;
	content: "";
	display: block;
	height: 4px;
	margin-top: 0.7rem;
	width: 7.5rem;
}

.sid-home-section {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: clamp(2rem, 4vw, 3.2rem) 0;
	padding: 0;
}

.sid-home-section + .sid-home-section {
	border-top: 1px solid var(--sid-line);
	padding-top: clamp(1.6rem, 3vw, 2.4rem);
}

.sid-home-summary {
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	margin: 0;
	max-width: 760px;
}

.sid-home-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.5rem;
}

.sid-home-card {
	background: var(--sid-panel);
	border: 1px solid var(--sid-line);
	border-radius: var(--sid-radius);
	overflow: hidden;
	min-width: 0;
}

.sid-home-card:nth-child(odd) {
	border-top: 3px solid var(--sid-orange);
}

.sid-home-card:nth-child(even) {
	border-top: 3px solid var(--sid-accent);
}

.sid-home-card h3 {
	font-size: 1.05rem;
	line-height: 1.3;
	margin: 0 0 0.45rem;
}

.sid-home-card p {
	color: var(--sid-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
}

.sid-card-media,
.sid-article-visual img {
	display: block;
	height: 150px;
	object-fit: cover;
	width: 100%;
}

.sid-card-body {
	padding: 1rem;
}

.sid-article-visual {
	border-radius: var(--sid-radius);
	box-shadow: var(--sid-shadow);
	margin: 0 0 1.5rem;
	overflow: hidden;
}

.sid-article-visual img {
	height: clamp(220px, 28vw, 360px);
}

.sid-meta-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.sid-meta-pill {
	background: rgba(20, 24, 31, 0.26);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0.35rem 0.65rem;
}

.sid-widget {
	border-top: 3px solid var(--sid-orange);
}

.sid-widget-title {
	font-size: 1rem;
	margin-bottom: 0.8rem;
}

.entry-content .sid-quick-card {
	background: #ffffff;
	border: 1px solid rgba(20, 24, 31, 0.12);
	border-left: 4px solid var(--sid-orange);
	border-radius: var(--sid-radius);
	box-shadow: 0 18px 40px rgba(20, 24, 31, 0.08);
	margin: 1.4rem 0;
	overflow: hidden;
	padding: 1rem;
}

.entry-content .sid-quick-card h2 {
	font-size: 1.25rem;
	margin-top: 0;
}

.entry-content .sid-quick-card table {
	border-collapse: collapse;
	margin-bottom: 0;
	width: 100%;
}

.entry-content .sid-quick-card th,
.entry-content .sid-quick-card td {
	border-bottom: 1px solid rgba(20, 24, 31, 0.1);
	padding: 0.7rem 0.45rem;
	text-align: left;
	vertical-align: top;
}

.entry-content .sid-quick-card th {
	color: var(--sid-ink);
	font-weight: 800;
	width: 28%;
}

.entry-content .sid-quick-card tr:last-child th,
.entry-content .sid-quick-card tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 760px) {
	.sid-home-hero {
		background:
			linear-gradient(180deg, rgba(7, 18, 30, 0.92) 0%, rgba(7, 18, 30, 0.76) 64%, rgba(7, 18, 30, 0.58) 100%),
			url("../images/hero-dirette-2026.jpg") center / cover no-repeat;
		min-height: 540px;
	}

	.sid-event-facts,
	.sid-home-grid {
		grid-template-columns: 1fr;
	}

	.sid-answer-box,
	.sid-event-card,
	.sid-sources,
	.sid-home-card {
		box-shadow: none;
	}

	.sid-official-link a,
	.sid-home-cta {
		justify-content: center;
		width: 100%;
	}

	.sid-ad-slot {
		margin: 1.4rem 0;
		min-height: 120px;
	}

	.entry-content .sid-quick-card th,
	.entry-content .sid-quick-card td {
		display: block;
		padding: 0.5rem 0;
		width: 100%;
	}

	.entry-content .sid-quick-card th {
		border-bottom: 0;
	}
}
