body.sc-sedi-v2 {
	--sc-sedi-navy: #0c1e3e;
	--sc-sedi-deep: #07162f;
	--sc-sedi-paper: #fbfaf6;
	--sc-sedi-text: #141a2a;
	--sc-sedi-muted: #33465f;
	--sc-sedi-gold: #b8893c;
}

body.sc-sedi-v2 .sc-sedi-v2 {
	box-sizing: border-box;
	color: var(--sc-sedi-text);
	background: var(--sc-sedi-paper);
}

/* The HTML location section is a single full-width Atomic root.  Elementor
 * can retain the legacy three-column display value on this root; neutralize
 * that inherited value so the inner location grid controls the layout. */
body.sc-sedi-v2 .elementor.elementor-61 > .elementor-element-s61locs.e-flexbox-base:nth-child(3) {
	display: block !important;
	width: 100%;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.sc-sedi-v2 .elementor-element-s61locs > .elementor-widget-html {
	width: 100%;
	max-width: none;
}

/* The page announces a temporary suspension, so do not expose the global
 * booking profile while this controller is active. */
body.sc-sedi-v2 a[href*="miodottore.it"] {
	display: none !important;
}

body.sc-sedi-v2 .sc-sedi-v2 *,
body.sc-sedi-v2 .sc-sedi-v2 *::before,
body.sc-sedi-v2 .sc-sedi-v2 *::after {
	box-sizing: border-box;
}

body.sc-sedi-v2 .sc-sedi-wrap {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

body.sc-sedi-v2 .sc-sedi-locations,
body.sc-sedi-v2 .sc-sedi-related {
	padding: clamp(58px, 8vw, 112px) 0;
}

body.sc-sedi-v2 .sc-sedi-locations {
	background: var(--sc-sedi-paper);
}

body.sc-sedi-v2 .sc-sedi-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr);
	gap: clamp(28px, 6vw, 92px);
	align-items: end;
	margin-bottom: clamp(28px, 4vw, 52px);
}

body.sc-sedi-v2 .sc-sedi-eyebrow {
	margin: 0 0 12px;
	font: 700 12px/1.25 Manrope, sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sc-sedi-gold);
}

body.sc-sedi-v2 .sc-sedi-section-head h2,
body.sc-sedi-v2 .sc-sedi-related h2 {
	margin: 0;
	font: 500 clamp(36px, 4.4vw, 62px)/.98 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.025em;
	color: var(--sc-sedi-deep);
}

body.sc-sedi-v2 .sc-sedi-section-head > p {
	max-width: 40ch;
	margin: 0;
	font: 400 16px/1.65 Manrope, sans-serif;
	color: var(--sc-sedi-muted);
}

body.sc-sedi-v2 .sc-sedi-location-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.3vw, 30px);
	align-items: stretch;
}

body.sc-sedi-v2 .sc-sedi-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	border: 1px solid rgba(12, 30, 62, .14);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(7, 22, 47, .08);
}

body.sc-sedi-v2 .sc-sedi-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0;
	background: var(--sc-sedi-deep);
}

body.sc-sedi-v2 .sc-sedi-card-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--sc-sedi-deep);
}

body.sc-sedi-v2 .sc-sedi-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(22px, 2.5vw, 32px);
}

body.sc-sedi-v2 .sc-sedi-card-body h3 {
	margin: 0 0 12px;
	font: 500 clamp(28px, 2.4vw, 38px)/1.02 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.015em;
	color: var(--sc-sedi-deep);
}

body.sc-sedi-v2 .sc-sedi-card-body address {
	margin: 0;
	font: 600 14px/1.55 Manrope, sans-serif;
	font-style: normal;
	color: var(--sc-sedi-text);
}

body.sc-sedi-v2 .sc-sedi-card-note {
	margin: 14px 0 22px;
	font: 400 14px/1.6 Manrope, sans-serif;
	color: var(--sc-sedi-muted);
}

body.sc-sedi-v2 .sc-sedi-map-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	font: 700 13px/1.2 Manrope, sans-serif;
	letter-spacing: .02em;
	text-decoration: none;
	color: var(--sc-sedi-navy);
	border-bottom: 1px solid var(--sc-sedi-gold);
}

body.sc-sedi-v2 .sc-sedi-map-link:hover,
body.sc-sedi-v2 .sc-sedi-map-link:focus-visible {
	color: var(--sc-sedi-gold);
}

body.sc-sedi-v2 .sc-sedi-related {
	background: var(--sc-sedi-deep);
	color: #fff;
}

body.sc-sedi-v2 .sc-sedi-related-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(30px, 7vw, 110px);
	align-items: center;
}

body.sc-sedi-v2 .sc-sedi-related h2 {
	color: #fff;
}

body.sc-sedi-v2 .sc-sedi-related nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.sc-sedi-v2 .sc-sedi-related nav a {
	display: flex;
	flex-direction: column;
	min-height: 156px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 16px;
	text-decoration: none;
	background: rgba(255, 255, 255, .05);
	transition: border-color .2s ease, transform .2s ease;
}

body.sc-sedi-v2 .sc-sedi-related nav a:hover,
body.sc-sedi-v2 .sc-sedi-related nav a:focus-visible {
	border-color: var(--sc-sedi-gold);
	transform: translateY(-2px);
}

body.sc-sedi-v2 .sc-sedi-related nav span,
body.sc-sedi-v2 .sc-sedi-related nav em {
	font: 700 11px/1.3 Manrope, sans-serif;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-style: normal;
	color: #e2bd78;
}

body.sc-sedi-v2 .sc-sedi-related nav strong {
	margin: 10px 0 auto;
	font: 500 clamp(25px, 2.3vw, 34px)/1 "Cormorant Garamond", Georgia, serif;
	color: #fff;
}

body.sc-sedi-v2 .sc-sedi-related nav em {
	letter-spacing: .02em;
	text-transform: none;
}

@media (max-width: 1023px) {
	body.sc-sedi-v2 .sc-sedi-location-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.sc-sedi-v2 .sc-sedi-location-grid .sc-sedi-card:last-child {
		grid-column: 1 / -1;
		max-width: calc(50% - 9px);
		justify-self: center;
	}
}

@media (max-width: 767px) {
	body.sc-sedi-v2 .sc-sedi-wrap {
		width: min(100% - 32px, 560px);
	}

	body.sc-sedi-v2 .sc-sedi-locations,
	body.sc-sedi-v2 .sc-sedi-related {
		padding: 58px 0;
	}

	body.sc-sedi-v2 .sc-sedi-section-head,
	body.sc-sedi-v2 .sc-sedi-related-grid {
		display: block;
	}

	body.sc-sedi-v2 .sc-sedi-section-head > p {
		margin-top: 18px;
	}

	body.sc-sedi-v2 .sc-sedi-location-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	body.sc-sedi-v2 .sc-sedi-location-grid .sc-sedi-card:last-child {
		grid-column: auto;
		max-width: none;
	}

	body.sc-sedi-v2 .sc-sedi-card-body {
		padding: 24px;
	}

	body.sc-sedi-v2 .sc-sedi-related nav {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.sc-sedi-v2 .sc-sedi-related nav a {
		transition: none;
	}
}
