/*
Theme Name: Fight or Die
Description: Child theme pulito per la palestra Fight or Die.
Author: Fight or Die
Template: blocksy
Version: 1.11.0
Text Domain: fight-or-die
*/

:root {
	--fod-black: #080808;
	--fod-dark: #111111;
	--fod-panel: #181818;
	--fod-white: #f7f7f5;
	--fod-muted: #a9a9a5;
	--fod-line: #303030;
	--fod-green: #16834b;
	--fod-red: #c42b32;
	--theme-palette-color-1: #ffffff;
	--theme-palette-color-2: #d9d9d6;
	--theme-palette-color-3: #b8b8b3;
	--theme-palette-color-4: #080808;
	--theme-palette-color-5: #303030;
	--theme-palette-color-6: #1b1b1b;
	--theme-palette-color-7: #111111;
	--theme-palette-color-8: #ffffff;
	--theme-text-color: #242424;
	--theme-link-initial-color: #111111;
	--theme-link-hover-color: #16834b;
	--theme-headings-color: #0a0a0a;
	--theme-button-background-initial-color: #ffffff;
	--theme-button-background-hover-color: #16834b;
	--theme-button-text-initial-color: #080808;
	--theme-button-text-hover-color: #ffffff;
	--theme-button-border: 2px solid #ffffff;
	--theme-button-border-radius: 0;
	--theme-button-font-weight: 800;
	--theme-button-text-transform: uppercase;
	--theme-normal-container-max-width: 1200px;
	--fod-radius: 16px;
	--fod-radius-sm: 10px;
	--fod-shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
	--fod-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.16);
	--fod-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--fod-black);
	font-family: "Barlow", "Segoe UI", system-ui, sans-serif;
	font-optical-sizing: auto;
	letter-spacing: 0;
}

body::before {
	content: "";
	position: fixed;
	z-index: 9999;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%);
	pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
	text-transform: uppercase;
}

.ct-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.site-title-container,
.site-description {
	display: none !important;
}

[data-header*="type-1"] .ct-header,
[data-header*="type-1"] .ct-header [data-row*="middle"],
[data-header*="type-1"] [data-sticky*="yes"] [data-row*="middle"] {
	background: rgba(8, 8, 8, 0.96);
}

[data-header*="type-1"] .ct-header [data-id="logo"] {
	--margin: 0 !important;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
	--logo-max-height: 78px;
	filter: contrast(1.12);
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
	--theme-link-initial-color: #ffffff;
	--theme-link-hover-color: #ffffff;
	position: relative;
	background: transparent !important;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color 180ms ease, opacity 180ms ease;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a::after,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a::after,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current_page_item > a::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 21px;
	left: 12px;
	height: 2px;
	background: linear-gradient(90deg, var(--fod-green), #fff 50%, var(--fod-red));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 220ms ease;
}

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

[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,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a {
	--theme-link-initial-color: #ffffff;
	--theme-link-hover-color: #ffffff;
	--theme-link-active-color: #ffffff;
	background: transparent !important;
	color: #ffffff !important;
}

[data-header*="type-1"] [data-id="account"],
[data-header*="type-1"] [data-id="search"],
#account-modal {
	display: none !important;
}

.site-main {
	background: var(--fod-black);
}

.page .hero-section[data-type],
.page .entry-header {
	display: none;
}

.page [class*="ct-container"] > article[class*="post"] {
	--has-wide: var(--true);
	margin: 0;
	padding: 0;
}

.page .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.page .site-main {
	--theme-content-vertical-spacing: 0;
}

.fod-section {
	padding: clamp(72px, 9vw, 132px) max(24px, calc((100vw - 1200px) / 2));
}

.fod-section p:not(.fod-kicker):not(.fod-card-number):not(.fod-stat-number):not(.fod-stat-label):not(.fod-subtitle):not(.fod-story-claim):not(.fod-corsi-slogan):not(.fod-manifesto__claim):not(.fod-manifesto__motto):not(.fod-manifesto__lead):not(.fod-map-card__text),
.fod-footer p {
	font-size: 17.5px;
	font-weight: 400;
	line-height: 1.68;
	letter-spacing: 0.003em;
}

.fod-section--light {
	background: var(--fod-white);
	color: #242424;
}

.fod-section--dark {
	background:
		radial-gradient(circle at 12% 8%, rgba(22, 131, 75, 0.07), transparent 28%),
		radial-gradient(circle at 88% 92%, rgba(196, 43, 50, 0.055), transparent 28%),
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.035), transparent 30%),
		var(--fod-dark);
	color: #ffffff;
}

.fod-section--black {
	background: var(--fod-black);
	color: #ffffff;
}

.fod-kicker {
	margin: 0 0 18px;
	color: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fod-kicker::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 3px;
	margin: 0 12px 3px 0;
	background: linear-gradient(90deg, var(--fod-green) 0 33%, #fff 33% 66%, var(--fod-red) 66%);
}

.fod-display {
	max-width: 950px;
	margin: 0 0 28px;
	color: inherit;
	font-size: clamp(54px, 10vw, 136px);
	letter-spacing: -0.03em;
}

.fod-title {
	max-width: 800px;
	margin: 0 0 24px;
	color: inherit;
	font-size: clamp(42px, 6vw, 78px);
	letter-spacing: -0.02em;
}

.fod-subtitle {
	max-width: 690px;
	margin: 0;
	color: inherit;
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.002em;
}

.fod-muted {
	color: var(--fod-muted);
}

.fod-hero,
.fod-page-hero {
	min-height: calc(100vh - 100px);
}

.fod-page-hero {
	min-height: 520px;
}

.fod-hero .wp-block-cover__background,
.fod-page-hero .wp-block-cover__background {
	background:
		radial-gradient(circle at 80% 10%, rgba(22, 131, 75, 0.08), transparent 34%),
		radial-gradient(circle at 92% 90%, rgba(196, 43, 50, 0.065), transparent 30%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 62%, rgba(0, 0, 0, 0.18) 100%) !important;
	opacity: 1 !important;
}

.fod-hero .wp-block-cover__image-background,
.fod-page-hero .wp-block-cover__image-background {
	filter: brightness(0.8) saturate(0.88) contrast(1.06);
	transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fod-hero:hover .wp-block-cover__image-background,
.fod-page-hero:hover .wp-block-cover__image-background {
	filter: brightness(0.85) saturate(1) contrast(1.04);
	transform: scale(1.015);
}

.fod-hero .wp-block-cover__inner-container,
.fod-page-hero .wp-block-cover__inner-container {
	width: min(1200px, calc(100% - 48px));
}

.fod-hero-copy {
	max-width: 770px;
	padding: 110px 0 80px;
}

.fod-hero .fod-subtitle {
	color: rgba(255, 255, 255, 0.78);
}

.fod-button .wp-block-button__link {
	border: 2px solid #fff;
	border-radius: 0;
	background: #fff;
	color: #080808;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.fod-button .wp-block-button__link:hover {
	border-color: var(--fod-green);
	background: var(--fod-green);
	color: #fff;
	transform: translateY(-2px);
}

.fod-button--ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
}

.fod-button--dark .wp-block-button__link {
	border-color: #080808;
	background: #080808;
	color: #fff;
}

.fod-button--dark .wp-block-button__link:hover {
	border-color: var(--fod-red);
	background: var(--fod-red);
}

.home main .fod-section--black .fod-split > .wp-block-column:last-child .fod-button .wp-block-button__link {
	justify-content: center;
	min-width: 230px;
	min-height: 62px;
	padding: 15px 30px;
	font-size: 13px;
}

.fod-stats {
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(circle at 14% 0%, rgba(22, 131, 75, 0.08), transparent 34%),
		radial-gradient(circle at 86% 100%, rgba(196, 43, 50, 0.07), transparent 34%),
		var(--fod-black);
	counter-reset: fodstat;
}

.fod-stats .wp-block-column {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 5vw, 62px) clamp(22px, 3.5vw, 50px);
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	transition: background-color 280ms ease;
}

.fod-stats .wp-block-column + .wp-block-column {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fod-stats .wp-block-column::before {
	counter-increment: fodstat;
	content: "0" counter(fodstat);
	display: block;
	margin-bottom: 18px;
	color: var(--fod-muted);
	font-family: "Barlow", sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.22em;
}

.fod-stats .wp-block-column::after {
	content: "";
	position: absolute;
	inset: -1px 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	transform: scaleX(0);
	transition: transform 360ms var(--fod-ease);
}

.fod-stats .wp-block-column:hover {
	background: rgba(255, 255, 255, 0.03);
}

.fod-stats .wp-block-column:hover::after {
	transform: scaleX(1);
}

.fod-stat-number {
	margin: 0;
	color: #fff;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1;
	text-transform: uppercase;
}

.fod-stat-label {
	margin: 10px 0 0;
	color: var(--fod-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fod-split {
	gap: clamp(40px, 7vw, 100px);
	align-items: center !important;
}

.fod-image {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: var(--fod-radius);
	box-shadow: var(--fod-shadow);
}

.fod-image::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: inherit;
	pointer-events: none;
}

.fod-section--light .fod-image::after {
	border-color: rgba(0, 0, 0, 0.08);
}

.fod-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: inherit;
	filter: brightness(0.9) saturate(0.9) contrast(1.04);
	transition: filter 500ms ease, transform 700ms var(--fod-ease);
}

.fod-image:hover img {
	filter: brightness(0.98) saturate(1.04) contrast(1.02);
	transform: scale(1.04);
}

.fod-cards,
.fod-contact-grid {
	gap: 18px;
	margin-top: 48px;
}

.fod-card {
	position: relative;
	overflow: hidden;
	min-height: 100%;
	padding: 34px;
	border: 1px solid var(--fod-line);
	border-radius: var(--fod-radius-sm);
	background: var(--fod-panel);
	color: #fff;
	transition: border-color 220ms ease, transform 260ms var(--fod-ease), background-color 220ms ease, box-shadow 260ms ease;
}

.fod-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	opacity: 0.7;
	transition: opacity 220ms ease, width 220ms ease;
}

.fod-card:hover {
	border-color: #666;
	transform: translateY(-6px);
	box-shadow: var(--fod-shadow);
}

.fod-section--light .fod-card:hover {
	box-shadow: var(--fod-shadow-soft);
}

.fod-card:hover::before {
	width: 5px;
	opacity: 1;
}

.fod-section--light .fod-card {
	border-color: #d9d9d3;
	background: #fff;
	color: #181818;
}

.fod-card-number {
	margin: 0 0 60px;
	color: var(--fod-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.fod-card h3,
.fod-card h4 {
	margin: 0 0 18px;
	color: inherit;
	font-size: clamp(25px, 3vw, 38px);
}

.fod-card p:last-child {
	margin-bottom: 0;
}

.fod-cards--compact {
	margin-top: 34px;
}

.fod-cards--compact .fod-card {
	padding: 28px;
}

.fod-cards--compact .fod-card-number {
	margin-bottom: 24px;
}

.fod-cards--compact .fod-card h3 {
	font-size: clamp(25px, 2.5vw, 33px);
}

.fod-card p:not(.fod-card-number) {
	color: #d3d3ce;
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.62;
}

.fod-section--light .fod-card p:not(.fod-card-number) {
	color: #33332f;
}

.fod-quote {
	position: relative;
	margin: 0;
	padding: clamp(70px, 10vw, 150px) 24px;
	border: 0;
	background: var(--fod-white);
	text-align: center;
}

.fod-quote::before {
	content: "";
	display: block;
	width: 84px;
	height: 4px;
	margin: 0 auto 34px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.fod-quote p {
	max-width: 1050px;
	margin: 0 auto;
	color: #080808;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(42px, 7vw, 92px);
	line-height: 1;
	text-transform: uppercase;
}

.fod-tricolor {
	width: 90px !important;
	height: 4px !important;
	margin: 30px auto !important;
	border: 0 !important;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%) !important;
}

.fod-week {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 48px;
}

.fod-day {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--fod-line);
	border-radius: var(--fod-radius-sm);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 45%),
		var(--fod-panel);
	color: #fff;
	transition: border-color 220ms ease, background-color 220ms ease, transform 260ms var(--fod-ease), box-shadow 260ms ease;
}

.fod-day::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	transform: scaleX(0.16);
	transform-origin: left;
	transition: transform 300ms ease;
}

.fod-day:hover {
	border-color: #626262;
	transform: translateY(-4px);
	box-shadow: var(--fod-shadow);
}

.fod-day:hover::before {
	transform: scaleX(1);
}

.fod-day-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: center;
	padding: 26px 26px 22px;
	border-bottom: 1px solid var(--fod-line);
}

.fod-button .wp-block-button__link:focus-visible,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:focus-visible {
	outline: 2px solid var(--fod-green);
	outline-offset: 4px;
}

.fod-day-index {
	color: var(--fod-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.fod-day-name {
	display: block;
	color: #fff;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(27px, 3vw, 40px);
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
}

.fod-day-note {
	display: block;
	margin-top: 4px;
	color: var(--fod-muted);
	font-family: "Barlow", sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.035em;
	line-height: 1.35;
}

.fod-sessions {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.fod-session {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 16px;
	align-items: start;
	padding: 15px 24px;
	border-bottom: 1px solid var(--fod-line);
	background: rgba(8, 8, 8, 0.42);
	transition: background-color 180ms ease;
}

.fod-session:last-child {
	border-bottom: 0;
}

.fod-session:hover {
	background: rgba(255, 255, 255, 0.045);
}

.fod-session-time {
	display: block;
	margin: 0;
	padding-top: 1px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.5;
	white-space: nowrap;
}

.fod-session-body {
	display: block;
}

.fod-session-title {
	display: block;
	color: #deded9;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
}

.fod-session-desc {
	display: block;
	margin-top: 3px;
	color: var(--fod-muted);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.4;
}

.fod-session--rest .fod-session-title {
	color: var(--fod-muted);
	font-weight: 500;
}

.fod-day--short .fod-sessions {
	min-height: 156px;
}

.fod-note {
	margin-top: 24px;
	padding-left: 18px;
	border-left: 3px solid var(--fod-red);
	color: var(--fod-muted);
	font-size: 14px;
}

/* ===========================================================
   Schedule switcher (Boxe / Cross fight / Personal training)
   =========================================================== */
.fod-schedule-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

.fod-schedule-tab {
	padding: 12px 24px;
	border: 1px solid var(--fod-line);
	border-radius: 999px;
	background: transparent;
	color: var(--fod-muted);
	font-family: "Barlow", sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 200ms var(--fod-ease);
}

.fod-schedule-tab:hover {
	color: #fff;
	border-color: #5c5c5c;
	transform: translateY(-2px);
}

.fod-schedule-tab.is-active {
	border-color: #fff;
	background: #fff;
	color: #080808;
}

.fod-schedule-panel {
	display: none;
	animation: fod-rise 500ms var(--fod-ease) both;
}

.fod-schedule-panel.is-active {
	display: block;
}

.fod-schedule-empty {
	color: var(--fod-muted);
}

/* ===========================================================
   Corsi page — course list (Boxe shortcode + reusable)
   =========================================================== */
.fod-area-intro {
	max-width: 760px;
	margin: 0 0 38px;
	color: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 400;
	line-height: 1.62;
}

.fod-section--dark .fod-area-intro,
.fod-section--black .fod-area-intro {
	color: rgba(255, 255, 255, 0.82);
}

.fod-section--light .fod-area-intro {
	color: #33332f;
}

.fod-course-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.fod-course-card {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 22px;
	align-items: start;
	padding: 30px 32px 30px 34px;
	border: 1px solid var(--fod-line);
	border-radius: var(--fod-radius-sm);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)), var(--fod-panel);
	transition: border-color 220ms ease, transform 260ms var(--fod-ease), box-shadow 260ms ease;
}

.fod-course-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	opacity: 0.75;
	transition: width 240ms var(--fod-ease), opacity 240ms ease;
}

.fod-course-card:hover {
	border-color: #5c5c5c;
	transform: translateY(-4px);
	box-shadow: var(--fod-shadow);
}

.fod-course-card:hover::before {
	width: 6px;
	opacity: 1;
}

.fod-course-index {
	color: var(--fod-muted);
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: 27px;
	font-weight: 800;
	line-height: 1;
	padding-top: 2px;
}

.fod-course-name {
	margin: 0 0 9px;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 29px);
}

.fod-course-desc {
	margin: 0;
	color: #d3d3ce;
	font-size: 15.5px;
	line-height: 1.6;
}

.fod-section--light .fod-course-card {
	border-color: #e2e2dc;
	background: #fff;
}

.fod-section--light .fod-course-name {
	color: #181818;
}

.fod-section--light .fod-course-desc {
	color: #44443f;
}

@media (max-width: 781px) {
	.fod-course-list {
		grid-template-columns: 1fr;
	}
}

/* ===========================================================
   Homepage "La nostra storia" — split FOD / SQUARE
   =========================================================== */
.fod-story-split {
	gap: clamp(20px, 2.6vw, 36px);
	align-items: stretch !important;
}

.fod-story-split > .wp-block-column {
	display: flex;
	flex-direction: column;
}

/* Each brand sits in its own centered card: logo, kicker, title, claim, one paragraph, button. */
.fod-story-card {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	padding: clamp(36px, 4.5vw, 60px) clamp(22px, 3.2vw, 52px) clamp(30px, 3.4vw, 46px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #ffffff;
	box-shadow: var(--fod-shadow-soft);
	text-align: center;
}

.fod-story-card::before {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	left: -1px;
	height: 4px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%);
}

.fod-story-card > * {
	margin-right: auto !important;
	margin-left: auto !important;
}

.fod-story-logo {
	margin: 0 auto 30px !important;
}

/* Both logos are transparent PNGs: same visual height, no white box. */
.fod-story-logo img {
	display: block;
	width: auto;
	max-width: 220px;
	height: 112px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.fod-story-card .fod-kicker {
	margin-bottom: 16px;
}

.fod-story-card .fod-title {
	max-width: none;
	margin-bottom: 14px;
	font-size: clamp(40px, 4.4vw, 60px);
}

.fod-story-card > p:not(.fod-kicker):not(.fod-story-claim) {
	max-width: 520px;
	color: #3a3a36;
}

/* Social block inside the Contatti page (visible without opening the menu) */
.fod-contact-social {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin: 52px auto 0;
	text-align: center;
}

.fod-contact-social .fod-social {
	margin-top: 0;
	gap: 16px;
	justify-content: center;
}

.fod-contact-social .fod-social__link {
	width: 56px;
	height: 56px;
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.04);
	color: #fff !important;
}

.fod-contact-social .fod-social__link svg {
	width: 25px;
	height: 25px;
	fill: #fff;
}

.fod-contact-social__label {
	margin: 0;
	color: var(--fod-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ===========================================================
   Corsi — 3 colonne affiancate (Boxe / Cross fight / Personal)
   =========================================================== */
.fod-corsi-columns {
	gap: clamp(22px, 2.6vw, 40px);
	margin-top: 12px;
}

.fod-corsi-col-title {
	margin: 0 0 20px;
	color: inherit;
	font-size: clamp(28px, 2.6vw, 38px);
}

.fod-corsi-columns .fod-area-intro {
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 1.55;
}

.fod-corsi-columns .fod-course-list {
	grid-template-columns: 1fr;
	gap: 12px;
}

.fod-corsi-columns .fod-course-card {
	padding: 22px 22px 22px 26px;
	gap: 18px;
}

.fod-corsi-columns .fod-course-name {
	font-size: clamp(20px, 1.6vw, 24px);
}

.fod-corsi-columns .fod-course-desc {
	font-size: 15px;
}

@media (min-width: 782px) {
	.fod-corsi-columns > .wp-block-column:not(:first-child) {
		padding-left: clamp(20px, 2.4vw, 38px);
		border-left: 1px solid var(--fod-line);
	}
}

/* Clickable macro-area cards on the homepage */
.fod-stat-link {
	color: inherit;
	text-decoration: none;
}

.fod-stat-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.fod-stats .wp-block-column:hover .fod-stat-link {
	color: #fff;
}

.fod-stats .wp-block-column:hover .fod-stat-label {
	color: #d3d3ce;
}

.fod-contact-card {
	padding: 32px;
	border-top: 3px solid #fff;
	border-radius: 0 0 var(--fod-radius-sm) var(--fod-radius-sm);
	background: var(--fod-panel);
	color: #fff;
	transition: background-color 220ms ease, transform 260ms var(--fod-ease), box-shadow 260ms ease;
}

.fod-contact-card:hover {
	background: #202020;
	transform: translateY(-5px);
	box-shadow: var(--fod-shadow);
}

.fod-contact-card:nth-child(1) {
	border-color: var(--fod-green);
}

.fod-contact-card:nth-child(3) {
	border-color: var(--fod-red);
}

.fod-contact-card h3 {
	margin: 0 0 20px;
	color: #fff;
	font-size: 28px;
}

.fod-contact-card a {
	color: #fff;
}

/* Map section (shortcode [fod_map]): address card + dark-styled Google map */
.fod-map-section {
	border-top: 1px solid var(--fod-line);
	border-bottom: 1px solid var(--fod-line);
}

.fod-map-section__inner {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) 1.5fr;
	gap: clamp(24px, 3vw, 48px);
	align-items: stretch;
}

.fod-map-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3vw, 44px);
	border: 1px solid var(--fod-line);
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%) 1;
	background: var(--fod-panel);
}

.fod-map-card__title {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: clamp(30px, 3vw, 42px);
	letter-spacing: -0.01em;
}

.fod-map-section .fod-map-card__text {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.6;
}

.fod-map-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fod-map-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid #ffffff;
	background: #ffffff;
	color: #080808 !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.fod-map-card__btn:hover {
	border-color: var(--fod-green);
	background: var(--fod-green);
	color: #ffffff !important;
	transform: translateY(-2px);
}

.fod-map-card__btn--ghost {
	border-color: rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #ffffff !important;
}

.fod-map {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--fod-line);
	background: #151515;
	box-shadow: var(--fod-shadow);
}

/* Vignette so the map fades into the black section instead of sitting on top of it. */
.fod-map::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.75);
}

.fod-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 460px;
	border: 0;
	filter: grayscale(1) invert(0.92) hue-rotate(180deg) brightness(0.82) contrast(1.08);
	transition: filter 500ms ease;
}

.fod-map:hover iframe {
	filter: grayscale(0.6) invert(0.92) hue-rotate(180deg) brightness(0.9) contrast(1.05);
}

@media (max-width: 781px) {
	.fod-map-section__inner {
		grid-template-columns: 1fr;
	}

	.fod-map iframe {
		min-height: 360px;
	}
}

.fod-cta {
	padding-top: clamp(70px, 9vw, 120px);
	padding-bottom: clamp(70px, 9vw, 120px);
	border-top: 1px solid var(--fod-line);
	color: #ffffff;
	background:
		radial-gradient(circle at 12% 20%, rgba(22, 131, 75, 0.08), transparent 25%),
		radial-gradient(circle at 88% 80%, rgba(196, 43, 50, 0.065), transparent 25%),
		linear-gradient(135deg, #111 0%, #050505 100%);
	text-align: center;
}

.fod-cta .fod-title,
.fod-cta .fod-subtitle {
	margin-right: auto;
	margin-left: auto;
}

.fod-footer {
	position: relative;
	padding: 54px 24px 26px;
	border-top: 1px solid var(--fod-line);
	background: #050505;
	color: #fff;
}

.fod-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	opacity: 0.8;
}

.fod-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	width: min(1200px, 100%);
	margin: 0 auto 46px;
}

.fod-footer__brand {
	margin: 0 0 10px;
	color: #fff;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: 34px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.fod-footer p,
.fod-footer a {
	color: var(--fod-muted);
}

.fod-footer a:hover {
	color: #fff;
}

.fod-footer__label {
	margin: 0 0 12px;
	color: #fff !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fod-social {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.fod-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--fod-line);
	border-radius: 50%;
	color: #fff !important;
	transition: transform 240ms var(--fod-ease), background 240ms ease, border-color 240ms ease;
}

.fod-social__link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.fod-social__link:hover {
	transform: translateY(-3px);
	border-color: transparent;
}

.fod-social__link--ig:hover {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.fod-social__link--fb:hover {
	background: #1877f2;
}

/* Social in header (navbar) */
.fod-nav-social {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 16px;
	list-style: none;
}

.fod-nav-social .fod-social__link {
	width: 34px;
	height: 34px;
	border-color: rgba(255, 255, 255, 0.28);
}

.fod-nav-social .fod-social__link svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 999px) {
	.fod-nav-social {
		margin: 22px 0 0;
		padding-left: 20px;
	}
}

/* Larger, clearer hero buttons */
.fod-hero .fod-button .wp-block-button__link,
.fod-page-hero .fod-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 32px;
	font-size: 13px;
	letter-spacing: 0.14em;
}

.fod-hero .fod-button:not(.fod-button--ghost) .wp-block-button__link {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Home hero: the two buttons share the same width, side by side; stacked full-width on small phones. */
.fod-hero .fod-hero-copy .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.fod-hero .fod-hero-copy .wp-block-button {
	flex: 0 1 236px;
	margin: 0;
}

.fod-hero .fod-hero-copy .wp-block-button .wp-block-button__link {
	width: 100%;
	justify-content: center;
	text-align: center;
}

@media (max-width: 781px) {
	.fod-hero .fod-hero-copy .wp-block-buttons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.fod-hero .fod-hero-copy .wp-block-button {
		flex: none;
		width: 100%;
	}

	.fod-hero .fod-hero-copy .wp-block-button .wp-block-button__link {
		min-height: 52px;
		padding: 0 14px;
		font-size: 12px;
		letter-spacing: 0.1em;
	}
}

@media (max-width: 420px) {
	.fod-hero .fod-hero-copy .wp-block-buttons {
		grid-template-columns: 1fr;
	}
}

.fod-button--ghost .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.55);
}

.fod-footer__bottom {
	width: min(1200px, 100%);
	margin: 0 auto;
	padding-top: 22px;
	border-top: 1px solid var(--fod-line);
	color: #777;
	font-size: 12px;
}

.ct-footer {
	display: none;
}

.fod-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 650ms ease, transform 650ms var(--fod-ease);
	transition-delay: var(--fod-reveal-delay, 0ms);
}

.fod-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===========================================================
   Hero entrance animation (load)
   =========================================================== */
@keyframes fod-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fod-hero-copy > * {
	animation: fod-rise 800ms var(--fod-ease) both;
}

.fod-hero-copy > *:nth-child(1) { animation-delay: 120ms; }
.fod-hero-copy > *:nth-child(2) { animation-delay: 220ms; }
.fod-hero-copy > *:nth-child(3) { animation-delay: 320ms; }
.fod-hero-copy > *:nth-child(4) { animation-delay: 420ms; }

/* Slow ambient zoom on hero background image */
@keyframes fod-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}

.fod-hero .wp-block-cover__image-background {
	animation: fod-kenburns 18s ease-out both;
}

/* ===========================================================
   Galleria
   =========================================================== */
.fod-gallery {
	margin-top: 52px;
	column-count: 3;
	column-gap: 18px;
}

/* Neutralise the flow-layout vertical margins so the masonry stays even. */
.fod-gallery.wp-block-group-is-layout-flow > *,
.fod-gallery > .fod-gallery-item {
	margin-top: 0;
	margin-block-start: 0;
}

.fod-gallery-item {
	position: relative;
	display: block;
	margin: 0 0 18px;
	overflow: hidden;
	border-radius: var(--fod-radius);
	background: #0d0d0d;
	box-shadow: var(--fod-shadow);
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	cursor: pointer;
}

.fod-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
	filter: brightness(0.86) saturate(0.92) contrast(1.04);
	transition: filter 600ms ease, transform 800ms var(--fod-ease);
}

.fod-gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(8, 8, 8, 0) 38%, rgba(8, 8, 8, 0.82) 100%);
	opacity: 0.85;
	transition: opacity 400ms ease;
	pointer-events: none;
}

.fod-gallery-item figcaption {
	position: absolute;
	right: 22px;
	bottom: 20px;
	left: 22px;
	z-index: 2;
	margin: 0;
	color: #fff;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	transform: translateY(6px);
	transition: transform 400ms var(--fod-ease);
}

.fod-gallery-item figcaption::before {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin: 0 0 12px;
	background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #fff 33.333% 66.666%, var(--fod-red) 66.666%);
	transform: scaleX(0.5);
	transform-origin: left;
	transition: transform 450ms var(--fod-ease);
}

.fod-gallery-item:hover img {
	filter: brightness(1) saturate(1.05) contrast(1.02);
	transform: scale(1.06);
}

.fod-gallery-item:hover::after {
	opacity: 1;
}

.fod-gallery-item:hover figcaption {
	transform: translateY(0);
}

.fod-gallery-item:hover figcaption::before {
	transform: scaleX(1);
}

@media (max-width: 999px) {
	.fod-gallery {
		column-count: 2;
	}
}

@media (max-width: 600px) {
	.fod-gallery {
		column-count: 1;
		column-gap: 0;
	}
}

@media (max-width: 999px) {
	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
		--logo-max-height: 54px;
	}

	/* Hamburger: white on the dark header, inside a thin ring so it always reads. */
	#header .ct-header-trigger {
		--theme-icon-color: #ffffff;
		--theme-icon-hover-color: #ffffff;
		--theme-button-text-initial-color: #ffffff;
		--theme-button-text-hover-color: #ffffff;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: transparent;
		/* Blocksy forces box-shadow from this variable with !important, so set the variable. */
		--toggle-button-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
		color: #ffffff !important;
	}

	#header .ct-header-trigger .ct-icon {
		fill: #ffffff;
	}

	#header .ct-header-trigger:hover {
		--toggle-button-shadow: inset 0 0 0 1px var(--fod-green);
	}

	[data-header*="type-1"] #offcanvas {
		background: #090909;
	}

	#offcanvas .ct-panel-inner {
		border-left: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
	}

	#offcanvas .ct-panel-inner::before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		height: 3px;
		background: linear-gradient(90deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%);
	}

	#offcanvas .ct-panel-actions {
		justify-content: flex-end;
		padding: 18px 20px 0;
	}

	#offcanvas .ct-toggle-close {
		--theme-icon-color: #ffffff;
		width: 44px;
		height: 44px;
		margin: 0;
		border-radius: 50%;
		--toggle-button-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
		color: #ffffff !important;
	}

	#offcanvas .ct-toggle-close .ct-icon {
		fill: #ffffff;
	}

	#offcanvas .ct-panel-content-inner {
		padding: 28px 28px 40px;
	}

	[data-header*="type-1"] [data-id="mobile-menu"] {
		--theme-link-initial-color: #ffffff;
		--theme-link-hover-color: #ffffff;
	}

	#offcanvas [data-id="mobile-menu"] > ul {
		width: 100%;
	}

	#offcanvas [data-id="mobile-menu"] > ul > li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	#offcanvas [data-id="mobile-menu"] > ul > li > a {
		padding: 18px 0;
		font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
		font-size: 34px;
		font-weight: 800;
		letter-spacing: 0.01em;
		line-height: 1;
		text-transform: uppercase;
	}

	#offcanvas [data-id="mobile-menu"] .current-menu-item > a,
	#offcanvas [data-id="mobile-menu"] .current_page_item > a {
		text-decoration: none !important;
		box-shadow: inset 4px 0 0 var(--fod-green);
		padding-left: 14px;
	}

	/* Social row at the bottom of the drawer: side by side, not stacked. */
	#offcanvas .fod-nav-social {
		display: flex !important;
		flex-direction: row !important;
		gap: 12px;
		width: 100%;
		margin: 26px 0 0;
		padding: 0;
		border-bottom: 0;
	}

	#offcanvas .fod-nav-social .fod-social__link {
		width: 46px;
		height: 46px;
		padding: 0;
		border-color: rgba(255, 255, 255, 0.35);
	}

	#offcanvas .fod-nav-social .fod-social__link svg {
		width: 20px;
		height: 20px;
	}

	[data-header*="type-1"] [data-id="mobile-menu"] .current-menu-item > a,
	[data-header*="type-1"] [data-id="mobile-menu"] .current_page_item > a {
		color: #ffffff !important;
		text-decoration: underline;
		text-decoration-color: var(--fod-green);
		text-underline-offset: 7px;
	}

	.fod-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 781px) {
	.fod-hero,
	.fod-page-hero {
		min-height: 580px;
	}

	.fod-hero .wp-block-cover__inner-container,
	.fod-page-hero .wp-block-cover__inner-container {
		width: min(100% - 32px, 1200px);
	}

	.fod-section {
		padding-right: 20px;
		padding-left: 20px;
	}

	.fod-stats .wp-block-column + .wp-block-column {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.fod-card-number {
		margin-bottom: 32px;
	}

	.fod-week {
		grid-template-columns: 1fr;
	}

	.fod-day--short .fod-sessions {
		min-height: 0;
	}

	.fod-map iframe {
		height: 390px;
	}

	.fod-footer__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

@media (min-width: 1000px) {
	#header.ct-header {
		position: sticky;
		z-index: 1000;
		top: var(--wp-admin--admin-bar--height, 0px);
		transition: box-shadow 350ms ease, background-color 350ms ease, border-color 350ms ease;
	}

	#header [data-device="desktop"] [data-row="middle"] {
		--height: 90px;
	}

	#header [data-device="desktop"] [data-id="logo"],
	#header [data-device="desktop"] [data-id="logo"] .site-logo-container {
		align-self: stretch;
		height: 90px;
		max-height: 90px;
	}

	#header [data-device="desktop"] [data-id="logo"] .site-logo-container {
		--logo-max-height: none;
		display: flex;
		align-items: center;
		overflow: hidden;
		padding: 0;
	}

	#header [data-device="desktop"] [data-id="logo"] img {
		width: auto;
		height: 100px;
		max-height: 100px;
		flex: none;
		object-fit: contain;
	}

	#header.ct-header::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: -1px;
		left: 0;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--fod-green) 25%, #fff 50%, var(--fod-red) 75%, transparent);
		opacity: 0;
		transform: scaleX(0.35);
		transition: opacity 350ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	#header [data-device="desktop"] [data-row="middle"],
	#header [data-device="desktop"] [data-row="middle"] > .ct-container,
	#header [data-device="desktop"] [data-column],
	#header [data-device="desktop"] [data-id="logo"],
	#header [data-device="desktop"] [data-column="end"],
	#header [data-device="desktop"] [data-id="menu"] > ul > li {
		transition: height 360ms cubic-bezier(0.2, 0.8, 0.2, 1), min-height 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), width 360ms ease;
	}

	#header [data-device="desktop"] [data-row="middle"] > .ct-container {
		position: relative;
	}

	#header [data-device="desktop"] [data-column="start"] {
		opacity: 1;
		transform: translateY(0) scale(1);
		transform-origin: left center;
	}

	#header [data-device="desktop"] [data-column="end"] {
		transform: translateX(0);
	}

	#header [data-device="desktop"] [data-id="menu"] > ul > li:nth-child(1) {
		transition-delay: 0ms;
	}

	#header [data-device="desktop"] [data-id="menu"] > ul > li:nth-child(2) {
		transition-delay: 35ms;
	}

	#header [data-device="desktop"] [data-id="menu"] > ul > li:nth-child(3) {
		transition-delay: 70ms;
	}

	.fod-header-compact #header.ct-header {
		border-bottom-color: rgba(255, 255, 255, 0.2);
		background: rgba(5, 5, 5, 0.91);
		box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
	}

	.fod-header-compact #header.ct-header::after {
		opacity: 0.7;
		transform: scaleX(1);
	}

	.fod-header-compact #header [data-device="desktop"] [data-row="middle"] {
		--height: 58px;
	}

	.fod-header-compact #header [data-device="desktop"] [data-row="middle"] > .ct-container {
		display: flex;
		justify-content: center;
		min-height: 58px;
	}

	.fod-header-compact #header [data-device="desktop"] [data-column="start"] {
		position: absolute;
		left: 0;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-16px) scale(0.72);
	}

	.fod-header-compact #header [data-device="desktop"] [data-column="end"] {
		position: absolute;
		left: 50%;
		justify-content: center;
		width: max-content;
		transform: translateX(-50%);
	}

	.fod-header-compact #header [data-device="desktop"] [data-id="menu"] > ul > li > a::after {
		bottom: 12px;
	}

	.fod-header-compact #header [data-device="desktop"] [data-id="menu"] > ul > li {
		transform: translateY(-1px);
	}
}

@media (min-width: 1440px) and (min-height: 850px) {
	.fod-hero {
		min-height: 600px !important;
	}

	.fod-hero .fod-display {
		font-size: 112px;
	}

	.fod-page-hero {
		min-height: 500px !important;
	}

	.fod-hero-copy,
	.fod-page-hero .fod-hero-copy {
		padding-top: 55px;
		padding-bottom: 55px;
	}

	.fod-page-hero + .fod-section {
		padding-top: 88px;
	}

	.fod-stats + .fod-section {
		padding-top: 64px;
	}

	.fod-stats .wp-block-column {
		padding-top: 25px;
		padding-bottom: 25px;
	}
}

@media (min-width: 1000px) and (max-width: 1999px) and (max-height: 1200px) {
	.fod-hero {
		min-height: 470px !important;
	}

	.fod-page-hero {
		min-height: 450px !important;
	}

	.fod-hero .fod-display {
		font-size: 86px;
	}

	.fod-page-hero .fod-display {
		font-size: 96px;
	}

	.fod-hero-copy,
	.fod-page-hero .fod-hero-copy {
		max-width: 690px;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.fod-subtitle {
		font-size: 20px;
		line-height: 1.48;
	}

	.fod-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.fod-page-hero + .fod-section,
	.fod-stats + .fod-section {
		padding-top: 60px;
	}

	.fod-section p:not(.fod-kicker):not(.fod-card-number):not(.fod-stat-number):not(.fod-stat-label):not(.fod-subtitle):not(.fod-story-claim):not(.fod-corsi-slogan):not(.fod-manifesto__claim):not(.fod-manifesto__motto):not(.fod-manifesto__lead):not(.fod-map-card__text),
	.fod-footer p {
		font-size: 16px;
		line-height: 1.58;
	}

	.fod-title {
		max-width: 720px;
		margin-bottom: 18px;
		font-size: 58px;
	}

	.fod-stats .wp-block-column {
		padding-top: 19px;
		padding-bottom: 19px;
	}

	.fod-stat-number {
		font-size: 40px;
	}

	.fod-stat-label {
		margin-top: 7px;
		font-size: 10px;
	}

	.fod-split {
		gap: 64px;
	}

	.fod-week {
		gap: 12px;
		margin-top: 30px;
	}

	.fod-day-head {
		gap: 13px;
		padding: 18px 20px 15px;
	}

	.fod-day-name {
		font-size: 30px;
	}

	.fod-day-note {
		font-size: 10px;
	}

	.fod-session {
		grid-template-columns: 62px 1fr;
		gap: 12px;
		padding: 11px 20px;
	}

	.fod-session-time {
		font-size: 10px;
	}

	.fod-session-title {
		font-size: 14px;
	}

	.fod-day--short .fod-sessions {
		min-height: 120px;
	}
}

/* ===========================================================
   Story cards (home): claim + "Scopri di più"
   =========================================================== */
.fod-story-claim {
	max-width: 480px;
	margin: 0 0 22px;
	color: #0a0a0a;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(20px, 1.9vw, 25px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* Button pinned to the bottom of the card, centered, so both cards line up. */
.fod-story-card .fod-story-actions {
	justify-content: center;
	margin-top: auto !important;
	padding-top: 30px;
}

@media (max-width: 781px) {
	.fod-story-split {
		gap: 20px;
	}

	.fod-story-card {
		padding: 32px 22px 28px;
	}

	.fod-story-logo {
		margin-bottom: 24px !important;
	}

	.fod-story-logo img {
		height: 96px;
	}
}

/* ===========================================================
   Manifesto typography (shared by home popups + /manifesto/)
   =========================================================== */
.fod-manifesto__claim {
	max-width: 760px;
	margin: 0 0 26px;
	color: inherit;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.005em;
	text-transform: uppercase;
}

.fod-manifesto__lead {
	max-width: 760px;
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 400;
	line-height: 1.55;
}

.fod-manifesto__h {
	margin: 44px 0 14px;
	color: inherit;
	font-size: clamp(30px, 3.4vw, 44px);
	letter-spacing: -0.01em;
}

.fod-manifesto__h--green {
	color: var(--fod-green);
}

.fod-manifesto__h--red {
	color: var(--fod-red);
}

.fod-manifesto__pair {
	gap: clamp(24px, 3vw, 44px);
	margin: 26px 0 0;
}

.fod-manifesto__pair .fod-manifesto__h {
	margin-top: 8px;
	font-size: clamp(48px, 6vw, 76px);
	letter-spacing: -0.02em;
}

.fod-manifesto__quote {
	margin: 30px 0;
	padding: 8px 0 8px 26px;
	border: 0;
	border-left: 4px solid;
	border-image: linear-gradient(180deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%) 1;
	background: transparent;
	font-style: italic;
}

.fod-manifesto__quote p {
	margin: 0;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.5;
}

.fod-manifesto__quote cite {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.7;
}

.fod-manifesto__motto {
	max-width: 760px;
	margin: 22px 0 6px;
	padding-left: 18px;
	border-left: 3px solid var(--fod-green);
	color: inherit;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0.005em;
	text-transform: uppercase;
}

.fod-manifesto__list {
	display: grid;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.fod-manifesto__list li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	font-size: 16px;
	line-height: 1.45;
}

.fod-manifesto__list li strong {
	flex: 0 0 auto;
	min-width: 118px;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.fod-section--light .fod-manifesto__list li {
	border-color: rgba(0, 0, 0, 0.12);
	background: #ffffff;
}

/* /manifesto/ page: readable column inside the section */
.fod-manifesto {
	scroll-margin-top: 90px;
}

.fod-manifesto .fod-manifesto__inner {
	max-width: 880px;
}

/* ===========================================================
   Popup (modal) used on the home for the full manifesto texts
   =========================================================== */
.fod-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: none;
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(14px, 4vw, 48px);
	background: rgba(4, 4, 4, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.fod-modal.is-open {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	animation: fod-modal-fade 220ms var(--fod-ease) both;
}

body.fod-modal-lock {
	overflow: hidden;
}

.fod-modal__panel {
	position: relative;
	box-sizing: border-box;
	width: min(900px, 100%);
	max-height: 100%;
	margin: auto;
	padding: clamp(22px, 4vw, 48px) clamp(22px, 5vw, 72px) clamp(36px, 5vw, 64px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--fod-green) 0 33.333%, #f4f4f1 33.333% 66.666%, var(--fod-red) 66.666%) 1;
	background:
		radial-gradient(circle at 12% 8%, rgba(22, 131, 75, 0.09), transparent 30%),
		radial-gradient(circle at 88% 92%, rgba(196, 43, 50, 0.07), transparent 30%),
		var(--fod-dark);
	color: #ffffff;
	box-shadow: var(--fod-shadow);
	animation: fod-modal-rise 320ms var(--fod-ease) both;
}

.fod-modal__close {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -8px 0 auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.9);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.fod-modal__close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.fod-modal__close:hover,
.fod-modal__close:focus-visible {
	border-color: var(--fod-green);
	background: var(--fod-green);
	transform: rotate(90deg);
	outline: none;
}

.fod-modal__panel .fod-kicker {
	margin-top: -30px;
	color: #ffffff;
}

.fod-modal__title {
	margin: 0 0 22px;
	color: #ffffff;
	font-size: clamp(46px, 6vw, 76px);
	letter-spacing: -0.02em;
}

.fod-modal__panel p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.68;
}

.fod-modal__panel .fod-manifesto__claim,
.fod-modal__panel .fod-manifesto__motto,
.fod-modal__panel .fod-manifesto__quote p {
	color: #ffffff;
}

.fod-modal__panel .fod-manifesto__claim {
	font-size: clamp(24px, 2.6vw, 34px);
}

.fod-modal__panel .fod-manifesto__lead {
	font-size: clamp(18px, 1.9vw, 21px);
}

.fod-modal__panel .fod-manifesto__h {
	color: #ffffff;
}

.fod-modal__panel .fod-manifesto__h--green {
	color: var(--fod-green);
}

.fod-modal__panel .fod-manifesto__h--red {
	color: var(--fod-red);
}

.fod-modal__panel .fod-manifesto__quote p {
	font-size: clamp(18px, 1.9vw, 22px);
}

.fod-modal__actions {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@keyframes fod-modal-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fod-modal-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 781px) {
	.fod-modal {
		padding: 0;
	}

	.fod-modal__panel {
		min-height: 100%;
		border-top-width: 3px;
	}

	.fod-modal__close {
		margin-right: 0;
	}

	.fod-manifesto__pair .fod-manifesto__h {
		margin-top: 0;
	}

	.fod-manifesto__list li strong {
		min-width: 96px;
		font-size: 18px;
	}
}

/* ===========================================================
   Corsi: slogan under each area title
   =========================================================== */
.fod-corsi-slogan {
	margin: -8px 0 22px;
	color: #ffffff;
	font-family: "Barlow Condensed", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* ===========================================================
   Mobile polish: tighter hero, compact area tiles, 3-up schedule tabs
   =========================================================== */
@media (max-width: 781px) {
	.fod-hero .fod-hero-copy {
		padding: 56px 0 52px;
	}

	.fod-hero .fod-display {
		margin-bottom: 20px;
	}

	.fod-stats .wp-block-column {
		padding: 24px 20px 26px;
	}

	.fod-stats .wp-block-column::before {
		margin-bottom: 10px;
	}

	.fod-stats .wp-block-column + .wp-block-column {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
}

@media (max-width: 600px) {
	.fod-schedule-switch {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.fod-schedule-tab {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 8px 6px;
		font-size: 11px;
		letter-spacing: 0.08em;
		line-height: 1.2;
		text-align: center;
	}

	.fod-schedule-tab:hover {
		transform: none;
	}
}

/* ===========================================================
   Back-to-top button (injected by site.js)
   =========================================================== */
.fod-totop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(8, 8, 8, 0.9);
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 220ms ease, transform 260ms var(--fod-ease), visibility 0s linear 220ms, background-color 180ms ease, border-color 180ms ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.fod-totop svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fod-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.fod-totop:hover,
.fod-totop:focus-visible {
	border-color: var(--fod-green);
	background: var(--fod-green);
	outline: none;
}

body.fod-modal-lock .fod-totop {
	opacity: 0;
	visibility: hidden;
}

@media (max-width: 781px) {
	.fod-totop {
		right: 16px;
		bottom: 16px;
		width: 46px;
		height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.fod-reveal {
		opacity: 1;
		transform: none;
	}
}
