/*
Theme Name: Sardinia Booking
Theme URI: https://sardiniabooking.it/
Author: 2P Web
Author URI: https://www.2pweb.it/
Description: Tema su misura per Sardinia Booking by Noah's Ark Viaggi. Sostituisce The7 + Elementor/Elementor Pro mantenendo lo stesso design. Template PHP classici, contenuti modificabili da editor classico, ACF e Personalizza.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: sardinia-booking
*/

/* ==========================================================================
   Tokens (from the old Elementor kit)
   ========================================================================== */
:root {
	--c-navy: #021228;
	--c-text: rgba(2, 18, 40, 0.82);
	--c-text-3: rgba(2, 18, 40, 0.57);
	--c-text-4: rgba(2, 18, 40, 0.32);
	--c-border: rgba(2, 18, 40, 0.17);
	--c-bg-accent: #000916;
	--c-boxes: rgba(4, 25, 55, 0.04);
	--c-cyan: #01c2ce;
	--c-cyan-56: rgba(1, 194, 206, 0.56);
	--c-teal: #00a3af;
	--c-blue: #2c74ff;
	--c-blue-dark: #2362d8;
	--c-blue-21: rgba(44, 116, 255, 0.21);
	--c-blue-light-2: #d4e4ff;
	--c-blue-light-3: #e5eeff;
	--c-white: #fff;
	--shadow-card: 0 5px 33px 0 rgba(64, 92, 146, 0.25);
	--shadow-header: 0 0 33px 0 rgba(64, 92, 146, 0.25);
	--grad-kicker: linear-gradient(115deg, #2c74ff 33%, #01c2ce 100%);

	--font: "Outfit", sans-serif;
	--container: 1300px;
	--pad-x: 60px;
	--section-y: 120px;

	--t7: 3.37rem;
	--t6: 2.84rem;
	--t5: 2.38rem;
	--t4: 2rem;
	--t3: 1.68rem;
	--t2: 1.43rem;
	--t1: 1.22rem;
	--p-xl: 1.6rem;
	--p-l: 1.37rem;
	--p-m: 1.2rem;
	--p-s: 1.07rem;
	--p-xs: 0.97rem;
	--up-s: 1.05rem;
	--up-xs: 0.95rem;
	--up-xxs: 0.78rem;
}

@media (max-width: 1024px) {
	:root {
		--pad-x: 40px;
		--t6: 40px;
	}
}

@media (max-width: 767px) {
	:root {
		--pad-x: 20px;
		--t7: 2.55rem;
		--t6: 2.26rem;
		--t5: 2rem;
		--t4: 1.8rem;
		--t3: 1.6rem;
		--p-xl: 1.42rem;
		--p-l: 1.32rem;
		--up-s: 1rem;
	}
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--c-text);
	font-family: var(--font);
	font-size: var(--p-m);
	font-weight: 300;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	border: 0;
	vertical-align: middle;
}

a {
	color: var(--c-blue);
	text-decoration: none;
	transition: color 0.3s;
}

a:hover {
	color: var(--c-teal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 15px;
	color: var(--c-navy);
	font-family: var(--font);
	font-weight: 500;
	line-height: 1.2;
}

h1 { font-size: var(--t7); }
h2 { font-size: var(--t5); }
h3 { font-size: var(--t4); }
h4 { font-size: var(--t3); }
h5 { font-size: var(--t2); }
h6 { font-size: var(--t1); }

p {
	margin: 0 0 15px;
}

b,
strong {
	font-weight: 700;
}

ul,
ol {
	margin: 0 0 15px;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sbt-skip:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: #fff;
	color: var(--c-navy);
	box-shadow: var(--shadow-card);
}

:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 2px;
}

.sbt-main:focus {
	outline: 0;
}

.sbt-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
}

.sbt-container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--pad-x));
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

.sbt-container--narrow {
	max-width: calc(1060px + 2 * var(--pad-x));
}

.sbt-container--text {
	max-width: calc(900px + 2 * var(--pad-x));
}

.sbt-accent,
.sbt-cyan {
	color: var(--c-cyan);
}

.sbt-blue {
	color: var(--c-blue);
}

.sbt-round-br {
	border-radius: 0 0 60px 0;
}

.sbt-noimage {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: #e9ecef linear-gradient(135deg, #f1f3f5 0%, #dee2e6 100%);
}

/* Kicker (gradient label) */
.sbt-kicker {
	display: inline-block;
	max-width: 100%;
	padding: 6px 13px 6px 15px;
	border-radius: 10px 0;
	background: var(--grad-kicker);
}

.sbt-kicker__text {
	margin: 0;
	color: #fff;
	font-size: var(--up-s);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.sbt-kicker__text a,
.sbt-kicker__text a:hover {
	color: #fff;
}

/* Big title text (2.84rem) */
.sbt-big,
.sbt-big p {
	margin: 0;
	color: var(--c-navy);
	font-size: var(--t6);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-big a {
	color: var(--c-cyan);
	text-decoration: underline;
}

.sbt-big a:hover {
	color: var(--c-teal);
}

.sbt-section-title {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 var(--pad-x);
	color: var(--c-blue);
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

/* Badges */
.sbt-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-badges--center {
	justify-content: center;
}

.sbt-badge,
a.sbt-badge {
	display: flex;
	align-items: center;
	padding: 4px 10px 4px 12px;
	border-radius: 100px;
	background: var(--c-blue);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.3s;
}

a.sbt-badge:hover {
	background: var(--c-blue-dark);
	color: #fff;
}

.sbt-badges--sm {
	column-gap: 5px;
}

.sbt-badges--sm .sbt-badge {
	padding: 4px 8px 4px 10px;
	font-size: var(--up-xxs);
	letter-spacing: 0.05em;
}

/* Buttons */
.sbt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 1em 2em;
	border: 1px solid transparent;
	border-radius: 100px;
	font-size: var(--p-m);
	font-weight: 400;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.sbt-btn--solid {
	border-color: var(--c-blue);
	background: var(--c-blue);
	color: #fff;
}

.sbt-btn--solid:hover {
	border-color: var(--c-blue-dark);
	background: var(--c-blue-dark);
	color: #fff;
}

.sbt-btn--outline-light {
	border-color: #fff;
	background: rgba(255, 255, 255, 0);
	color: #fff;
}

.sbt-btn--outline-light:hover {
	background: #fff;
	color: var(--c-navy);
}

.sbt-btn--block {
	display: flex;
	width: 100%;
}

.sbt-btn .sbt-icon {
	font-size: 20px;
}

.sbt-link-btn {
	display: inline-block;
	text-align: center;
	padding: 0 0 5px;
	border-bottom: 2px solid var(--c-blue-21);
	color: var(--c-blue);
	font-size: var(--up-xs);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: border-color 0.3s, color 0.3s;
}

.sbt-link-btn:hover {
	border-color: var(--c-blue);
	color: var(--c-blue);
}

/* ==========================================================================
   Header
   ========================================================================== */
.sbt-header-slot {
	position: relative;
	z-index: 100;
	min-height: 100px;
}

.sbt-header-slot--overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	min-height: 0;
}

body.admin-bar .sbt-header-slot--overlay {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .sbt-header-slot--overlay {
		top: 46px;
	}
}

.sbt-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: #fff;
	box-shadow: var(--shadow-header);
}

.sbt-header--transparent {
	background: transparent;
	box-shadow: none;
}

.sbt-header__desktop {
	padding: 0 var(--pad-x);
}

.sbt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	max-width: var(--container);
	min-height: 100px;
	margin: 0 auto;
}

.sbt-header__logo {
	display: flex;
	align-items: center;
	flex: none;
	line-height: 0;
}

.sbt-header__desktop .sbt-logo {
	width: 285px;
	height: auto;
}

.sbt-header--transparent .sbt-header__desktop .sbt-logo {
	width: 250px;
}

.sbt-header--transparent .sbt-logo--color,
.sbt-header:not(.sbt-header--transparent) .sbt-logo--light {
	display: none;
}

.sbt-nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
	align-self: stretch;
}

.sbt-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 15px;
}

.sbt-nav__list > li:first-child {
	padding-left: 0;
}

.sbt-nav__list > li:last-child {
	padding-right: 0;
}

.sbt-nav__list > li > a {
	position: relative;
	display: block;
	padding: 3px 0;
	white-space: nowrap;
	color: var(--c-navy);
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.3;
}

.sbt-nav__list > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--c-cyan);
	transform: scaleX(0);
	transition: transform 0.3s;
}

.sbt-nav__list > li > a:hover::after,
.sbt-nav__list > .current-menu-item > a::after,
.sbt-nav__list > .current_page_item > a::after {
	transform: scaleX(1);
}

.sbt-nav__list > li > a:hover {
	color: var(--c-navy);
}

.sbt-header--transparent .sbt-nav__list > li > a,
.sbt-header--transparent .sbt-nav__list > li > a:hover {
	color: #fff;
}

.sbt-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -20px;
	z-index: 10;
	min-width: 280px;
	margin: 0;
	padding: 20px;
	background: #fff;
	box-shadow: 0 0 33px 0 rgba(64, 92, 146, 0.25);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
}

.sbt-nav li:hover > .sub-menu,
.sbt-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.sbt-nav .sub-menu li + li {
	margin-top: 20px;
}

.sbt-nav .sub-menu a {
	color: var(--c-navy);
	font-size: 1.07rem;
	font-weight: 400;
	line-height: 1.3;
}

.sbt-nav .sub-menu a:hover,
.sbt-nav .sub-menu .current-menu-item > a {
	color: var(--c-cyan);
}

.sbt-header__icons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	width: 100px;
	flex: none;
}

.sbt-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-navy);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.sbt-icon-btn:hover {
	color: var(--c-navy);
	opacity: 0.8;
}

.sbt-header--transparent .sbt-icon-btn {
	color: #fff;
}

.sbt-header__mobile {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 60px;
	padding: 0 20px;
}

.sbt-header__mobile > .sbt-icon-btn {
	width: 63px;
	justify-content: flex-end;
}

.sbt-header__mobile > .sbt-header__burger {
	justify-content: flex-start;
	font-size: 32px;
}

.sbt-header__mobile .sbt-logo {
	width: 260px;
	margin-top: 10px;
}

/* Sticky header (appears when scrolling up). */
.sbt-header.is-fixed {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background: #fff;
	box-shadow: 0 0 33px 0 rgba(64, 92, 146, 0.25);
	transform: translateY(-100%);
	transition: transform 0.3s ease;
}

.sbt-header.is-fixed.is-visible {
	transform: translateY(0);
}

.sbt-header.is-fixed .sbt-header__inner {
	min-height: 60px;
}

.sbt-header.is-fixed .sbt-header__desktop .sbt-logo {
	width: 95px;
}

.sbt-header.is-fixed .sbt-logo--color {
	display: block;
}

.sbt-header.is-fixed .sbt-logo--light {
	display: none;
}

.sbt-header.is-fixed .sbt-nav__list > li > a,
.sbt-header.is-fixed .sbt-icon-btn {
	color: var(--c-navy);
}

.sbt-header.is-fixed .sbt-header__mobile .sbt-logo {
	width: 95px;
	margin-top: 0;
}

body.admin-bar .sbt-header.is-fixed {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .sbt-header.is-fixed {
		top: 0;
	}
}

/* ==========================================================================
   Overlays: search + mobile menu
   ========================================================================== */
.sbt-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
}

.sbt-overlay[hidden] {
	display: none;
}

.sbt-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.13);
}

.sbt-overlay__panel {
	position: relative;
	background: #fff;
}

.sbt-overlay__close {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 2;
	display: flex;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-text);
	font-size: 20px;
	cursor: pointer;
}

.sbt-overlay__close:hover {
	color: var(--c-navy);
}

.sbt-overlay--search .sbt-overlay__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 240px;
	padding: 0 var(--pad-x);
}

.sbt-searchform {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1000px;
	height: 60px;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.02);
}

.sbt-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0 20px 0 25px;
	border: 0;
	background: transparent;
	color: var(--c-navy);
	font-size: 1.2rem;
	font-weight: 300;
	outline: 0;
}

.sbt-searchform__input::placeholder {
	color: var(--c-navy);
	opacity: 0.5;
}

.sbt-searchform__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.sbt-searchform__submit {
	display: flex;
	margin-right: 25px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-text-4);
	font-size: 32px;
	cursor: pointer;
}

.sbt-searchform__submit:hover {
	color: var(--c-navy);
}

.sbt-overlay--menu .sbt-overlay__backdrop {
	background: rgba(0, 0, 0, 0.25);
}

.sbt-overlay--menu .sbt-overlay__panel {
	width: 100%;
	max-width: 100%;
	height: 100%;
	padding: 63px 40px 40px;
	overflow-y: auto;
}

.sbt-overlay--menu .sbt-overlay__close {
	color: var(--c-text-4);
	font-size: 22px;
}

.sbt-mobile-menu__logo {
	display: inline-block;
	margin: 0 0 65px 8px;
	line-height: 0;
}

.sbt-mobile-menu__logo .sbt-logo {
	width: 165px;
}

.sbt-mobile-menu__list {
	margin: 0 0 60px;
	padding: 0;
	list-style: none;
}

.sbt-mobile-menu__list li + li {
	margin-top: 20px;
}

.sbt-mobile-menu__list a {
	color: var(--c-navy);
	font-size: 1.32rem;
	font-weight: 400;
	line-height: 1.3;
}

.sbt-mobile-menu__list .current-menu-item > a,
.sbt-mobile-menu__list a:hover {
	color: var(--c-blue);
}

.sbt-mobile-menu__list .sub-menu {
	margin: 15px 0 0 15px;
	padding: 0;
	list-style: none;
}

.sbt-overlay--menu .sbt-btn {
	padding: 15px 30px;
	font-size: 1.1rem;
}

body.sbt-no-scroll {
	overflow: hidden;
}

/* Back to top */
.sbt-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	border: 1px solid transparent;
	border-radius: 100%;
	background: #fff;
	box-shadow: 0 2px 15px 0 rgba(14, 44, 102, 0.2);
	color: var(--c-blue);
	font-size: 24px;
	line-height: 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s, box-shadow 0.3s;
}

.sbt-totop.is-visible {
	opacity: 1;
	visibility: visible;
}

.sbt-totop:hover {
	color: var(--c-blue);
	box-shadow: 0 2px 15px 0 rgba(14, 44, 102, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.sbt-footer__main {
	padding: 100px 0;
	background: var(--c-teal);
	color: #fff;
}

.sbt-footer .sbt-footer__cols {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	max-width: 1300px;
	padding: 0;
}

.sbt-footer__col {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 20%;
}

.sbt-footer__col--about {
	gap: 60px;
	width: 40%;
}

.sbt-footer__logo {
	display: block;
	width: 360px;
	max-width: 100%;
	line-height: 0;
}

.sbt-footer__logo .sbt-logo {
	width: 100%;
}

.sbt-footer__text,
.sbt-footer__text p {
	color: #fff;
	font-size: var(--p-xs);
	font-weight: 300;
	line-height: 1.3;
}

.sbt-footer__text p {
	margin: 0 0 15px;
}

.sbt-footer__text p:last-child {
	margin-bottom: 0;
}

.sbt-footer__text {
	padding-bottom: 5px;
}

.sbt-footer__text a {
	color: #fff;
}

.sbt-footer__text a:hover {
	color: var(--c-navy);
}

.sbt-footer__title {
	margin: 0;
	color: #fff;
	font-size: var(--t1);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-footer__menu a {
	display: block;
	color: #fff;
	font-size: var(--p-s);
	font-weight: 300;
	line-height: 1.3;
}

.sbt-footer__menu .current-menu-item > a,
.sbt-footer__menu a:hover {
	color: var(--c-blue);
}

.sbt-social {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-social a {
	display: flex;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

.sbt-social a:hover {
	color: var(--c-navy);
}

.sbt-social--round {
	gap: 15px;
}

.sbt-social--round a {
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--c-blue-light-3);
	color: var(--c-blue);
}

.sbt-social--round a:hover {
	background: var(--c-blue);
	color: #fff;
}

.sbt-footer__bottom {
	padding: 15px 0 0;
	background: var(--c-navy);
	color: #fff;
	text-align: center;
}

.sbt-footer__bottom p {
	margin: 0 0 15px;
	font-size: var(--p-xs);
	font-weight: 300;
	line-height: 1.3;
}

.sbt-footer__bottom p:last-child {
	padding-bottom: 21px;
	margin-bottom: 0;
}

.sbt-footer__bottom a {
	color: inherit;
	text-decoration: none;
}

.sbt-footer__bottom a:hover,
.sbt-footer__bottom a:focus-visible {
	text-decoration: underline;
}

/* ==========================================================================
   Page hero (Single Page template)
   ========================================================================== */
.sbt-page-hero {
	position: relative;
	padding: 20px 0;
	background-color: var(--c-bg-accent);
	background-position: 100% 100%;
	background-size: cover;
	isolation: isolate;
}

.sbt-art::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url(assets/img/art-top-right.svg) 100% 0 / 90% auto no-repeat;
	mix-blend-mode: lighten;
	opacity: 0.5;
	pointer-events: none;
}

.sbt-page-hero__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: var(--container);
	min-height: 108px;
	margin: 80px auto;
	padding: 0 var(--pad-x);
}

.sbt-page-hero__title {
	width: 80%;
	margin: 0;
	padding: 0;
	background: var(--c-cyan-56);
	color: #fff;
	font-size: var(--t7);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

/* ==========================================================================
   Single hero (proposals, holiday homes, posts)
   ========================================================================== */
.sbt-single-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 810px;
	padding: 0 var(--pad-x);
	background-color: var(--c-bg-accent);
	background-position: center center;
	background-size: cover;
	isolation: isolate;
}

.sbt-single-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: 1060px;
	margin: 80px auto;
	padding: 0 var(--pad-x);
}

.sbt-single-hero__title {
	align-self: center;
	width: 80%;
	margin: 0;
	padding: 8px 0 10px;
	background: var(--c-cyan-56);
	color: #fff;
	font-size: var(--t7);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.sbt-single-hero__label {
	margin: 0;
	padding: 8px 0;
	background: rgba(255, 255, 255, 0.62);
	font-size: 22px;
	line-height: 22px;
	text-align: center;
}

.sbt-single-hero__nobadges {
	height: 0;
}

.sbt-single-hero__label a,
.sbt-single-hero__label span {
	color: var(--c-navy);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
}

.sbt-single-hero .sbt-badges {
	justify-content: center;
	gap: 7px;
}

/* ==========================================================================
   Sections, split layouts
   ========================================================================== */
.sbt-section {
	padding: var(--section-y) 0;
}

.sbt-section-dark {
	background: var(--c-navy);
	color: #fff;
}

.sbt-split {
	display: flex;
	align-items: stretch;
	gap: 80px;
}

.sbt-split__media {
	display: flex;
	flex: 1 1 0;
	justify-content: flex-end;
	min-width: 0;
}

.sbt-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbt-split__body {
	display: flex;
	flex: 0 0 50%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 30px;
	min-width: 0;
}

/* Dark CTA ("Richiedi un preventivo", "Blocca questa offerta") */
.sbt-cta {
	padding: 120px 0;
}

.sbt-cta .sbt-split__media {
	align-items: center;
}

.sbt-cta .sbt-split__media img {
	height: auto;
	aspect-ratio: 3 / 2;
}

.sbt-cta .sbt-big,
.sbt-cta .sbt-big p {
	color: #fff;
}

.sbt-cta__lines {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 20px;
}

.sbt-cta__line,
.sbt-cta__line p {
	margin: 0;
	color: #fff;
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-cta__line a {
	color: #fff;
}

.sbt-cta__line a.sbt-cyan-link,
.sbt-cta__line .sbt-cyan-link {
	color: var(--c-cyan);
	text-decoration: underline;
}

.sbt-cta__line a:hover {
	color: var(--c-teal);
}

/* ==========================================================================
   Home
   ========================================================================== */
.sbt-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 820px;
	overflow: hidden;
	background: var(--c-bg-accent);
	isolation: isolate;
}

.sbt-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.sbt-hero__slide.is-active {
	opacity: 1;
}

.sbt-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, #000916 5%, rgba(0, 9, 22, 0.33) 100%);
	mix-blend-mode: multiply;
}

.sbt-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 540px;
	margin: 160px 0 120px;
}

.sbt-hero__title {
	max-width: 700px;
	margin: 0;
	color: #fff;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.sbt-hero__title .sbt-accent {
	color: var(--c-cyan);
}

.sbt-hero__text {
	max-width: 700px;
	margin: 0;
	padding: 40px 0 50px;
	color: #fff;
	font-size: var(--p-xl);
	font-weight: 300;
	line-height: 1.6;
}

.sbt-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 30px;
}

.sbt-hero .sbt-btn {
	padding: 19.2px 38.4px;
	font-size: 1.2rem;
	line-height: 1;
}

.sbt-boxes-section {
	padding: 120px 0;
	background: linear-gradient(180deg, rgba(229, 238, 255, 0) 0%, var(--c-blue-light-3) 100%) bottom / 100% 400px no-repeat, #fff;
}

.sbt-boxes-section .sbt-head {
	display: flex;
	justify-content: center;
	margin: 0 auto 80px;
	max-width: 900px;
}

.sbt-boxes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
}

.sbt-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.sbt-box__media {
	display: block;
	width: 100%;
	line-height: 0;
}

.sbt-box__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 393 / 225;
	border-radius: 0 0 60px 0;
	object-fit: cover;
}

.sbt-box__title {
	margin: 0;
	padding: 40px 40px 29px;
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.sbt-box__title a {
	color: var(--c-navy);
}

.sbt-box__title a:hover {
	color: var(--c-blue);
}

.sbt-box__btn {
	display: flex;
	justify-content: center;
	padding: 0 0 40px;
	line-height: 1.2;
}

.sbt-about-section {
	padding: 120px 0;
	background: linear-gradient(180deg, rgba(229, 238, 255, 0) 0%, var(--c-blue-light-3) 100%) bottom / 100% 400px no-repeat, #fff;
}

.sbt-about-section .sbt-split__media {
	aspect-ratio: 1;
}

.sbt-about-section .sbt-split__body {
	gap: 30px;
}

.sbt-text-l,
.sbt-text-l p {
	color: var(--c-text);
	font-size: var(--p-l);
	font-weight: 300;
	line-height: 1.62;
}

.sbt-text-l p:last-child {
	margin-bottom: 0;
}

.sbt-text-l a {
	color: var(--c-cyan);
	text-decoration: underline;
}

.sbt-text-l a:hover {
	color: var(--c-teal);
}

.sbt-partners {
	padding: 80px 0;
}

.sbt-partners .sbt-section-title {
	margin-bottom: 40px;
}

.sbt-carousel {
	position: relative;
}

.sbt-carousel__track {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.sbt-carousel__track::-webkit-scrollbar {
	display: none;
}

.sbt-carousel__item {
	flex: 0 0 calc(100% / 6);
	padding: 0 10px;
	scroll-snap-align: start;
	text-align: center;
}

.sbt-carousel__item > a,
.sbt-carousel__item > span {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.sbt-partners .sbt-carousel__item {
	container-type: inline-size;
}

.sbt-partners .sbt-carousel__item img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100cqw;
	object-fit: contain;
}

.sbt-partners .sbt-carousel__item img.is-svg {
	width: 100%;
}

.sbt-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 79px;
}

.sbt-carousel__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid #2a2a2a;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0);
	color: #2a2a2a;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.sbt-carousel__btn:hover:not(:disabled) {
	background: #2a2a2a;
	color: #fff;
}

.sbt-carousel__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.sbt-carousel__btn span {
	display: block;
	margin-top: -2px;
}

.sbt-diario {
	padding: 120px 0;
	border-top: 2px solid var(--c-blue-light-2);
	background: linear-gradient(180deg, rgba(0, 163, 175, 0) 0%, var(--c-teal) 100%) bottom / 100% 400px no-repeat, #fff;
}

.sbt-diario__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	margin: 0 auto 80px;
	max-width: 506px;
	text-align: center;
}

/* Extra space above the cards, as on the old site (where it came from an
   invisible block inside the title, partly compensated by a negative margin). */
.sbt-diario .sbt-hcards {
	margin-top: 192px; /* collapses with the 80px bottom margin of the head */
}

@media (min-width: 1600px) {
	.sbt-diario .sbt-hcards {
		margin-top: 314px;
	}
}

.sbt-diario__head .sbt-big {
	text-align: center;
}

.sbt-hcards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px;
}

.sbt-hcard {
	display: flex;
	align-items: center;
	min-height: 250px;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.sbt-hcard__media {
	align-self: stretch;
	flex: 0 0 200px;
	line-height: 0;
}

.sbt-hcard__img,
.sbt-hcard__media .sbt-noimage {
	width: 200px;
	height: 100%;
	min-height: 250px;
	border-radius: 0 0 60px 0;
	object-fit: cover;
}

.sbt-hcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	min-width: 0;
	min-height: 140px;
	padding: 20px 40px;
}

.sbt-hcard__title {
	margin: 0;
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-hcard__title a {
	color: var(--c-navy);
}

.sbt-hcard__title a:hover {
	color: var(--c-blue);
}

.sbt-hcard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 15px;
}

.sbt-hcard__date {
	margin: 0;
	color: var(--c-blue);
	font-size: var(--p-xs);
	font-weight: 400;
	line-height: 1.3;
}

.sbt-reviews {
	padding: 80px 0 0;
	border-top: 2px solid var(--c-blue-light-2);
	background: #fff;
}

.sbt-reviews .sbt-section-title {
	margin-bottom: 80px;
}

.sbt-reviews__body {
	padding-bottom: 30px;
}

.sbt-reviews--compact .sbt-reviews__body {
	padding-bottom: 0;
}

@media (min-width: 1600px) {
	.sbt-reviews__body,
	.sbt-reviews--compact .sbt-reviews__body {
		padding-bottom: 70px;
	}
}

/* ==========================================================================
   Pages with the contact form
   ========================================================================== */
.sbt-form-page {
	padding: 120px 0;
}

.sbt-form-page__grid {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.sbt-form-page__info {
	display: flex;
	flex: 0 0 calc(40% - 36px);
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.sbt-form-page__card {
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	padding: 60px;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.sbt-form-page__card-title {
	margin: 0 0 25px;
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
}

/* Content blocks inside the editor content */
:where(.sbt-entry) > *:first-child {
	margin-top: 0;
}

:where(.sbt-entry) > p:last-child {
	margin-bottom: 0;
}

:where(.sbt-entry) img {
	height: auto;
}

.sbt-intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.sbt-intro .sbt-kicker {
	margin: 0;
}

.sbt-info-text,
.sbt-info-text p {
	color: var(--c-text);
	font-size: var(--p-m);
	font-weight: 300;
	line-height: 1.62;
}

.sbt-info-text p {
	margin: 0 0 15px;
}

.sbt-info-text p:last-child {
	margin-bottom: 0;
}

.sbt-info-text a {
	color: var(--c-cyan);
	text-decoration: underline;
}

.sbt-info-text a:hover {
	color: var(--c-teal);
}

.sbt-recapiti {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sbt-recapiti p {
	margin: 0;
}

.sbt-recapiti a {
	text-decoration: none;
}

.sbt-recapiti__phone,
.sbt-recapiti__phone a {
	margin: 0;
	color: var(--c-blue);
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-recapiti__phone--muted,
.sbt-recapiti__phone--muted a {
	color: var(--c-text);
	font-weight: 400;
}

.sbt-recapiti__phone a:hover {
	color: var(--c-teal);
}

.sbt-recapiti__note,
.sbt-recapiti__note p {
	color: var(--c-text-3);
	font-size: var(--p-m);
	font-weight: 300;
	line-height: 1.3;
}

.sbt-recapiti__strong,
.sbt-recapiti__strong a {
	margin: 0;
	color: var(--c-navy);
	font-size: var(--t2);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-recapiti__strong a:hover {
	color: var(--c-blue);
}

.sbt-form-page__info .sbt-social {
	margin-top: auto;
}

/* Form */
.sbt-form {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: 30px;
}

.sbt-form__row--half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.sbt-field label {
	display: block;
	padding-bottom: 10px;
	color: var(--c-navy);
	font-size: var(--p-s);
	font-weight: 400;
	line-height: 1.3;
}

.sbt-req {
	color: var(--c-cyan);
	padding-left: 0.2em;
}

.sbt-field input[type="text"],
.sbt-field input[type="email"],
.sbt-field input[type="tel"],
.sbt-field select,
.sbt-field textarea {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 7px 14px;
	border: 1px solid var(--c-border);
	border-radius: 0;
	background: #fff;
	color: var(--c-text);
	font-size: var(--p-s);
	font-weight: 300;
	line-height: 1.65;
	transition: border-color 0.3s;
	-webkit-appearance: none;
	appearance: none;
}

.sbt-field textarea {
	height: 214px;
	resize: vertical;
}

.sbt-field input:focus,
.sbt-field select:focus,
.sbt-field textarea:focus {
	border-color: var(--c-blue);
	outline: 0;
}

.sbt-field ::placeholder {
	color: var(--c-text);
	opacity: 0.33;
}

.sbt-field :focus::placeholder {
	opacity: 0;
}

.sbt-select {
	position: relative;
}

.sbt-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 0;
	height: 0;
	border-top: 5px solid var(--c-navy);
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	transform: translateY(-50%);
	pointer-events: none;
}

.sbt-field--check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: -10px;
}

.sbt-field--check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--c-blue);
}

.sbt-field--check label {
	padding: 0;
	color: var(--c-text);
	font-size: var(--p-xs);
	font-weight: 300;
	line-height: 1.4;
}

.sbt-field--check a {
	color: var(--c-blue);
	text-decoration: underline;
}

.sbt-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sbt-form__submit .sbt-btn {
	min-height: 58px;
	padding: 19.2px 38.4px;
	font-size: 1.2rem;
}

.sbt-form-msg {
	margin: 0 0 30px;
	padding: 15px 20px;
	font-size: var(--p-s);
	line-height: 1.4;
}

.sbt-form-msg--ok {
	background: var(--c-cyan-56);
	color: var(--c-navy);
}

.sbt-form-msg--error {
	background: #fde8e8;
	color: #8a1f11;
}

.grecaptcha-badge {
	visibility: hidden;
}

@media (max-width: 1024px) {
	.sbt-form__row--half {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Case vacanza / proposals grids (overlay cards)
   ========================================================================== */
.sbt-grid-section {
	padding: 120px 0;
}

.sbt-grid-section--tinted {
	background: var(--c-boxes);
}

.sbt-ocards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 80px;
}

.sbt-ocards--inset {
	padding: 0 var(--pad-x);
	gap: 80px;
}

.sbt-ocard {
	display: flex;
	flex-direction: column;
}

.sbt-ocard__media {
	display: block;
	line-height: 0;
}

.sbt-ocard__img,
.sbt-ocard__media .sbt-noimage {
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
	min-height: 0;
}

.sbt-ocard__box {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 80%;
	min-height: 230px;
	margin: -160px auto 0;
	padding: 40px;
	background: #fff;
	box-shadow: var(--shadow-card);
	text-align: center;
}

.sbt-ocard__title {
	margin: 0;
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-ocard__title a {
	color: var(--c-navy);
}

.sbt-ocard__title a:hover {
	color: var(--c-blue);
}

.sbt-ocard__price,
.sbt-ocard__expiry {
	color: var(--c-text);
	font-size: var(--p-m);
	font-weight: 300;
	line-height: 1.65;
}

.sbt-case .sbt-ocard__title {
	text-transform: none;
}

.sbt-empty {
	margin: 0;
	padding: 40px;
	background: var(--c-boxes);
	color: var(--c-text);
	font-size: var(--p-m);
	text-align: center;
}

/* Filters on "Proposte di viaggio" */
.sbt-filters {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	margin: -60px 0 45px;
}

.sbt-no-offers {
	margin: 0;
	padding: 40px 0;
	color: var(--c-text);
	font-size: 1.1rem;
	text-align: center;
}

.sbt-filters__mete,
.sbt-filters__partenze {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-filters__partenze {
	gap: 12px;
}

.sbt-filters__mete li {
	display: flex;
	line-height: 1.2;
}

.sbt-filter {
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-navy);
	font-size: var(--up-xs);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.3s;
}

.sbt-filter:hover,
.sbt-filter.is-active {
	color: var(--c-blue);
}

.sbt-filters__label {
	color: var(--c-text);
	opacity: 0.55;
	font-size: var(--up-xxs);
	font-weight: 600;
	line-height: 2.54;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sbt-filter--pill {
	padding: 8px 20px;
	border: 1px solid rgba(0, 0, 0, 0.22);
	border-radius: 100px;
	background: #fff;
	color: #333;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
}

.sbt-filter--pill:hover {
	border-color: var(--c-blue);
	color: var(--c-blue);
}

.sbt-filter--pill.is-active {
	border-color: var(--c-blue);
	background: var(--c-blue);
	color: #fff;
}

.sbt-ocard.is-hidden {
	display: none;
}

@media (max-width: 1366px) {
	.sbt-ocards,
	.sbt-ocards--inset {
		gap: 60px;
	}
}

@media (max-width: 1024px) {
	.sbt-ocards {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.sbt-ocards--inset {
		padding: 0 40px;
		gap: 60px;
	}

	.sbt-filters__mete {
		column-gap: 20px;
	}
}

@media (max-width: 767px) {
	.sbt-grid-section {
		padding: 120px 0;
	}

	.sbt-ocards {
		gap: 60px;
	}

	.sbt-ocards--inset {
		padding: 0 20px;
	}

	.sbt-ocard__box {
		width: 100%;
		margin-top: 0;
		padding: 40px;
	}

	.sbt-filters {
		margin: -60px 0 45px;
	}
}

/* ==========================================================================
   Single (proposal / holiday home)
   ========================================================================== */
.sbt-single-body {
	padding: 50px 0 120px;
}

.sbt-single-body--gallery {
	padding-bottom: 40px;
}

.sbt-single-body .sbt-container {
	max-width: calc(1060px + 2 * var(--pad-x));
}

.sbt-entry,
:where(.sbt-entry) p,
:where(.sbt-entry) li {
	color: var(--c-text);
	font-size: var(--p-m);
	font-weight: 300;
	line-height: 1.65;
}

:where(.sbt-entry) a {
	color: var(--c-blue);
	text-decoration: underline;
}

:where(.sbt-entry) a:hover {
	color: var(--c-teal);
}

:where(.sbt-entry) :is(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 10px;
	line-height: 1.2em;
}

:where(.sbt-entry) :is(ul, ol) {
	margin: 0 0 15px 20px;
	padding: 0;
}

:where(.sbt-entry) li > p {
	margin-bottom: 10px;
}

:where(.sbt-entry) h1 {
	font-size: var(--t6);
}

:where(.sbt-entry) h2 {
	font-size: var(--t5);
}

:where(.sbt-entry) h3 {
	font-size: var(--t4);
}

:where(.sbt-entry) img.aligncenter,
:where(.sbt-entry) .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

:where(.sbt-entry) .alignleft {
	float: left;
	margin: 0 20px 15px 0;
}

:where(.sbt-entry) .alignright {
	float: right;
	margin: 0 0 15px 20px;
}

.sbt-entry {
	display: flow-root;
}

:where(.sbt-entry) blockquote {
	margin: 30px 0;
	padding: 0 0 0 20px;
	border-left: 4px solid var(--c-cyan);
}

:where(.sbt-entry) figure {
	margin: 0 0 15px;
}

:where(.sbt-entry) .wp-caption-text,
:where(.sbt-entry) figcaption {
	color: var(--c-text-3);
	font-size: var(--p-xs);
}

:where(.sbt-entry) table {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
}

:where(.sbt-entry) :is(th, td) {
	padding: 8px 10px;
	border: 1px solid #dfe3e8;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

:where(.sbt-entry) th {
	background: #f4f7f9;
	font-weight: 600;
}

.sbt-proposta-facts {
	margin: 0;
}

.sbt-proposta-facts p {
	margin: 0;
}

.sbt-cost {
	margin: 0;
	padding: 5px 10px;
	background: var(--c-cyan-56);
	color: var(--c-text);
	font-size: var(--p-m);
	font-weight: 600;
	line-height: 1.65;
	text-align: center;
}

.sbt-breadcrumb {
	display: block;
	margin: 0 0 27px;
	color: var(--c-text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.4;
}

.sbt-breadcrumb a {
	color: var(--c-cyan);
}

.sbt-breadcrumb__sep {
	margin: 0 4px;
}

.sbt-breadcrumb a:hover {
	color: var(--c-teal);
}

.sbt-strutture {
	padding: 0 0 50px;
}

.sbt-strutture__title {
	margin: 0 0 80px;
	color: var(--c-navy);
	font-size: var(--t5);
	font-weight: 500;
	line-height: 1;
}

.sbt-strutture .sbt-ocards {
	grid-template-columns: repeat(2, 1fr);
	gap: 80px 30px;
}

/* Structure without units yet: same empty space as the old loop. */
.sbt-strutture__empty {
	height: 60px;
}

/* Gallery */
.sbt-gallery {
	position: relative;
	margin: 0;
}

.sbt-gallery__stage {
	position: relative;
}

.sbt-gallery__track {
	display: flex;
	gap: 1px;
	height: 300px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.sbt-gallery__track::-webkit-scrollbar {
	display: none;
}

.sbt-gallery__slide {
	flex: none;
	height: 100%;
	scroll-snap-align: center;
}

.sbt-gallery__slide button {
	display: block;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.sbt-gallery__slide img {
	width: auto;
	max-width: none;
	height: 100%;
}

.sbt-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #2c74ff;
	font-size: 28px;
	transform: translateY(-50%);
	cursor: pointer;
	filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.sbt-gallery__arrow--prev {
	left: 10px;
}

.sbt-gallery__arrow--next {
	right: 10px;
}

.sbt-gallery__thumbs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 5px;
	margin: 10px 0 0;
	padding: 5px 5px 5px 43px;
	overflow-x: auto;
	background: rgba(0, 0, 0, 0.4);
	list-style: none;
	scrollbar-width: none;
}

.sbt-gallery__thumbs li {
	flex: none;
}

.sbt-gallery__thumbs button {
	display: block;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s;
}

.sbt-gallery__thumbs button.is-active,
.sbt-gallery__thumbs button:hover {
	opacity: 1;
}

.sbt-gallery__thumbs img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.sbt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 9, 22, 0.92);
}

.sbt-lightbox[hidden] {
	display: none;
}

.sbt-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	width: auto;
	height: auto;
}

.sbt-lightbox button {
	position: absolute;
	display: flex;
	padding: 10px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
}

.sbt-lightbox__close {
	top: 15px;
	right: 15px;
}

.sbt-lightbox__prev {
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
}

.sbt-lightbox__next {
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

/* "Altre proposte" / related */
.sbt-more .sbt-carousel__track {
	align-items: flex-start;
	justify-content: safe center;
	gap: 40px;
}

.sbt-more .sbt-carousel__item {
	flex: 0 0 max(300px, 19.5vw);
	padding: 0;
	text-align: left;
}

@media (min-width: 1201px) and (max-width: 1366px) {
	.sbt-more .sbt-carousel__item {
		flex-basis: calc((100vw - 212px) / 3.32);
	}
}

@media (max-width: 1024px) {
	.sbt-more .sbt-carousel__item {
		flex-basis: 250px;
	}
}

@media (max-width: 767px) {
	.sbt-more .sbt-carousel__item {
		flex-basis: 75%;
	}
}

/* Scroll progress (shown only when the track overflows) */
.sbt-carousel__progress {
	position: absolute;
	top: calc(100% + 57px);
	left: 50%;
	display: none;
	width: 400px;
	max-width: 100%;
	height: 5px;
	overflow: hidden;
	border-radius: 100px;
	background: var(--c-blue-light-2);
	transform: translateX(-50%);
}

.sbt-carousel.is-scrollable .sbt-carousel__progress {
	display: block;
}

.sbt-carousel__progress span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 100px;
	background: var(--c-blue-21);
}

.sbt-more {
	padding: 80px 0 120px;
}

.sbt-more .sbt-section-title {
	margin-bottom: 60px;
}

.sbt-scards {
	display: grid;
	grid-template-columns: repeat(3, 300px);
	justify-content: center;
	gap: 40px;
}

.sbt-scard__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 0 0 60px 0;
	line-height: 0;
}

.sbt-scard__img,
.sbt-scard__media .sbt-noimage {
	width: 100%;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
	min-height: 0;
}

.sbt-scard__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.6);
	color: var(--c-navy);
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.3s;
}

.sbt-scard__media:hover .sbt-scard__overlay,
.sbt-scard__media:focus-visible .sbt-scard__overlay {
	opacity: 1;
}

.sbt-scard__title {
	margin: 29px 0 0;
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-scard__title a {
	color: var(--c-navy);
}

.sbt-scard__title a:hover {
	color: var(--c-blue);
}

@media (max-width: 1024px) {
	.sbt-scards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.sbt-single-hero .sbt-badges {
		justify-content: flex-start;
		gap: 5px;
	}

	.sbt-single-hero .sbt-badge {
		font-size: 0.8rem;
	}

	.sbt-gallery__track {
		height: 900px;
	}

	.sbt-gallery__slide {
		flex-basis: 100%;
	}

	.sbt-gallery__slide button,
	.sbt-gallery__slide img {
		width: 100%;
		object-fit: cover;
	}

	.sbt-scards {
		grid-template-columns: 1fr;
	}

	.sbt-strutture .sbt-ocards {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* ==========================================================================
   Blog: single post, archives, search, 404
   ========================================================================== */
.sbt-post-hero {
	position: relative;
	padding: 80px var(--pad-x) 0;
	background: var(--c-bg-accent);
	isolation: isolate;
}

.sbt-post-hero__head {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 30px;
	max-width: 900px;
	min-height: 207px;
	margin: 0 auto 80px;
}

.sbt-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.sbt-post-hero .sbt-badges {
	gap: 7px;
}

.sbt-post-hero__date {
	margin: 0;
	color: #fff;
	font-size: var(--p-s);
	font-weight: 300;
	line-height: 1.3;
}

.sbt-post-hero__title {
	margin: 0;
	color: #fff;
	font-size: var(--t7);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.sbt-post-hero__media {
	position: relative;
	max-width: 1060px;
	margin: 0 auto -120px;
	overflow: visible;
	line-height: 0;
}

.sbt-post-hero__media img,
.sbt-post-hero__media .sbt-noimage {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 7 / 4;
	border-radius: 0 0 60px 0;
	object-fit: cover;
}

.sbt-post-body {
	padding: 200px 0 120px;
}

.sbt-post-body .sbt-container {
	max-width: calc(900px + 2 * var(--pad-x));
}

.sbt-post-body :where(.sbt-entry) h2 {
	font-size: var(--t5);
}

.sbt-related {
	padding: 80px 0 120px;
}

.sbt-related .sbt-section-title {
	margin-bottom: 60px;
}

.sbt-related .sbt-carousel__track {
	align-items: flex-start;
	justify-content: safe center;
	gap: 60px;
	padding: 0 60px;
	scroll-padding: 0 60px;
}

.sbt-related .sbt-carousel__item {
	flex: 0 0 350px;
	min-width: 0;
	padding: 0;
	text-align: left;
}

@media (max-width: 1200px) {
	.sbt-related .sbt-carousel__track {
		gap: 40px;
	}

	.sbt-related .sbt-carousel__item {
		flex-basis: 300px;
	}
}

@media (max-width: 767px) {
	.sbt-related .sbt-carousel__track {
		padding: 0 20px;
		scroll-padding: 0 20px;
	}

	.sbt-related .sbt-carousel__item {
		flex-basis: 75%;
	}

	.sbt-carousel__progress {
		width: 90vw;
	}
}

.sbt-vcard__media {
	display: block;
	line-height: 0;
}

.sbt-vcard__img,
.sbt-vcard__media .sbt-noimage {
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
	min-height: 0;
}

.sbt-vcard__body {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-top: 24px;
}

.sbt-vcard__title {
	margin: 0;
	font-size: var(--t2);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-vcard__title a {
	color: var(--c-navy);
}

.sbt-vcard__title a:hover {
	color: var(--c-blue);
}

.sbt-vcard__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	font-size: var(--p-xs);
	line-height: 1.3;
}

.sbt-vcard__cats a {
	color: var(--c-blue);
	font-weight: 400;
}

.sbt-vcard__sep {
	color: var(--c-border);
	font-weight: 300;
}

.sbt-vcard__date {
	color: var(--c-text-3);
	font-weight: 300;
}

.sbt-archive-hero {
	position: relative;
	padding: 80px var(--pad-x);
	background: var(--c-bg-accent);
	text-align: center;
	isolation: isolate;
}

.sbt-archive-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
	max-width: 900px;
	min-height: 135px;
	margin: 0 auto;
}

.sbt-archive-hero__title {
	margin: 0;
	color: #fff;
	font-size: var(--t7);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-archive-hero__desc,
.sbt-archive-hero__desc p {
	margin: 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: var(--p-m);
}

.sbt-archive-hero .sbt-kicker--pill {
	padding: 4px 10px 4px 12px;
	border-radius: 100px;
	background: var(--c-blue);
}

.sbt-archive-hero .sbt-kicker--pill .sbt-kicker__text {
	font-size: var(--up-xxs);
	letter-spacing: 0.06em;
}

.sbt-archive {
	padding: 120px 0;
}

.sbt-archive__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 80px;
}

.sbt-acard {
	display: flex;
	align-items: center;
	gap: 40px;
}

.sbt-acard__media {
	flex: 0 0 33%;
	line-height: 0;
}

.sbt-acard__img,
.sbt-acard__media .sbt-noimage {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 1;
	object-fit: cover;
}

.sbt-acard__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.sbt-acard__title {
	margin: 0;
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-acard__title a {
	color: var(--c-navy);
}

.sbt-acard__title a:hover {
	color: var(--c-blue);
}

.sbt-acard__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: var(--p-xs);
	line-height: 1.3;
}

.sbt-acard__meta a {
	color: var(--c-blue);
	font-weight: 400;
}

.sbt-acard__meta .sbt-vcard__sep {
	color: var(--c-border);
}

.sbt-acard__date {
	color: var(--c-text-3);
}

.sbt-acard__excerpt {
	margin: 0;
	color: var(--c-text);
	font-size: var(--p-s);
	line-height: 1.65;
}

.sbt-acard__type {
	color: var(--c-text-3);
	font-size: var(--up-xxs);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sbt-pagination {
	margin-top: 80px;
}

.sbt-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-pagination a,
.sbt-pagination span {
	line-height: 1.3;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 100px;
	color: var(--c-navy);
	font-size: var(--p-s);
	font-weight: 400;
}

.sbt-pagination a:not(:hover) {
	background: var(--c-boxes);
}

.sbt-pagination .current {
	background: var(--c-blue);
	color: #fff;
}

.sbt-pagination a:hover {
	background: var(--c-blue-light-3);
	color: var(--c-blue);
}

.sbt-search-hero .sbt-searchform {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
}

.sbt-search-hero .sbt-searchform__input::placeholder {
	opacity: 0.4;
}

.sbt-404 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 540px;
	padding: 120px 20px;
	background-color: var(--c-bg-accent);
	background-position: center center;
	background-size: cover;
	text-align: center;
	isolation: isolate;
}

.sbt-404::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.33);
}

.sbt-404__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.sbt-404__code {
	margin: 0;
	color: #fff;
	font-size: 9rem;
	font-weight: 600;
	line-height: 1;
}

.sbt-404__title {
	margin: 0;
	color: #fff;
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-404 .sbt-btn {
	margin-top: 60px;
	padding: 19.2px 38.4px;
	font-size: 1.2rem;
	line-height: 1;
}

@media (max-width: 1024px) {
	.sbt-archive__list {
		grid-template-columns: 1fr;
	}

	.sbt-acard {
		width: 100%;
		max-width: 700px;
		margin: 0 auto;
	}

	.sbt-acard__media {
		flex-basis: 30%;
	}

	.sbt-404 {
		min-height: 675px;
	}
}

@media (max-width: 767px) {
	.sbt-post-hero {
		padding-top: 60px;
	}

	.sbt-post-hero__head {
		margin-bottom: 60px;
	}

	.sbt-post-hero .sbt-badges {
		gap: 5px;
	}

	.sbt-post-hero .sbt-badge {
		font-size: 0.8rem;
	}

	.sbt-post-hero__media img,
	.sbt-post-hero__media .sbt-noimage {
		aspect-ratio: 3 / 2;
	}

	.sbt-archive-hero {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.sbt-acard {
		flex-direction: column;
		gap: 30px;
	}

	.sbt-acard__media {
		flex-basis: auto;
		width: 100%;
	}

	.sbt-acard__img,
	.sbt-acard__media .sbt-noimage {
		aspect-ratio: 7 / 4;
	}

	.sbt-404__code {
		font-size: 7rem;
	}

	.sbt-404__title {
		font-size: 1.8rem;
	}

	.sbt-404__inner {
		gap: 10px;
	}

	.sbt-404 .sbt-btn {
		margin-top: 40px;
	}
}

/* ==========================================================================
   Chi siamo
   ========================================================================== */
.sbt-cs-intro {
	padding: 120px 0;
	background: linear-gradient(180deg, rgba(229, 238, 255, 0) 0%, var(--c-blue-light-3) 100%) bottom / 100% 400px no-repeat, #fff;
}

.sbt-cs-intro .sbt-split__media {
	aspect-ratio: 1;
}

.sbt-cs-center {
	padding: 50px 0;
	text-align: center;
}

.sbt-cs-center .sbt-text-l {
	max-width: 900px;
	margin: 0 auto;
}

.sbt-cs-offer .sbt-text-l {
	max-width: 860.02px; /* 860 + sub-pixel like Elementor: keeps the bold link on one line */
	margin: 0 auto;
}

.sbt-text-l strong {
	color: inherit;
	font-weight: 700;
}

.sbt-cs-services {
	position: relative;
	padding: 120px 0;
	background: var(--c-bg-accent);
	isolation: isolate;
}

.sbt-cs-services::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url(assets/img/art-top-right.svg) 100% 0 / 115% auto no-repeat;
	mix-blend-mode: lighten;
	opacity: 0.55;
	pointer-events: none;
}

.sbt-cs-services__title {
	max-width: 900px;
	margin: 0 auto 80px;
	color: #fff;
	font-size: var(--t6);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.sbt-cs-services__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sbt-cs-services__item {
	display: flex;
	flex-direction: column;
	gap: 25px;
	color: #fff;
}

.sbt-cs-services__item .sbt-icon {
	color: var(--c-cyan);
	font-size: 52px;
}

.sbt-cs-services__item h3 {
	margin: 0;
	color: #fff;
	font-size: var(--t3);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-cs-offer {
	padding: 50px 0;
	background: var(--c-boxes);
}

.sbt-cs-offer .sbt-text-l a {
	color: var(--c-cyan);
	text-decoration: underline;
}

.sbt-reviews--compact {
	padding-top: 50px;
	border-top: 0;
}

@media (max-width: 767px) {
	.sbt-reviews--compact {
		padding-top: 0;
	}
}

@media (max-width: 1366px) and (min-width: 1201px) {
	.sbt-cs-services__list {
		margin: 0 5px;
	}
}

@media (max-width: 1200px) {
	.sbt-cs-services__list {
		gap: 60px;
	}
}

@media (max-width: 1024px) {
	.sbt-cs-services__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 60px;
	}

	.sbt-cs-offer .sbt-text-l {
		max-width: 900px;
	}
}

@media (max-width: 767px) {
	.sbt-cs-intro {
		padding: 120px 0;
	}

	.sbt-cs-services {
		padding: 120px 0;
	}

	.sbt-cs-services__list {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* ==========================================================================
   Generic page content (e.g. cookie policy)
   ========================================================================== */
.sbt-page-body {
	padding: 120px 0;
}

.sbt-page-body .sbt-container {
	max-width: calc(1060px + 2 * var(--pad-x));
}

/* Google Reviews widget spacing inside the theme */
.sbt-reviews__body .wp-gr {
	margin: 0 auto;
}

/* Click to Chat sits under the back-to-top button: keep both visible */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Entrance animations (replicate Elementor fadeIn / fadeInUp) */
.sbt-anim {
	opacity: 0;
}

.sbt-anim.is-in {
	animation: sbt-fade-in 1.25s both;
}

.sbt-anim--up.is-in {
	animation-name: sbt-fade-in-up;
}

@keyframes sbt-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sbt-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 100%, 0); }
	to { opacity: 1; transform: none; }
}

.no-js .sbt-anim {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.sbt-anim {
		opacity: 1;
	}
}

/* Search results list */
.sbt-search-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 225px;
	padding: 0 var(--pad-x);
}

.sbt-search-hero .sbt-searchform {
	max-width: 1000px;
	border: 0;
	background: #fff;
}

.sbt-search-results {
	padding: 120px 0;
}

.sbt-container--search {
	max-width: calc(1000px + 2 * var(--pad-x));
}

.sbt-search-results__title {
	margin: 0 0 20px;
	font-size: var(--t4);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-results {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.sbt-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-height: 233px;
	padding-top: 40px;
	border-top: 1px solid var(--c-border);
}

.sbt-result__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 15px;
	min-width: 0;
	max-width: 768px;
}

.sbt-result__title {
	margin: 0;
	font-size: var(--t2);
	font-weight: 500;
	line-height: 1.2;
}

.sbt-result__title a {
	color: var(--c-navy);
}

.sbt-result__title a:hover {
	color: var(--c-blue);
}

.sbt-result__excerpt {
	margin: 0;
	color: var(--c-text);
	font-size: var(--p-s);
	line-height: 1.65;
}

.sbt-result__media {
	flex: 0 0 192px;
	line-height: 0;
}

.sbt-result__media img {
	width: 192px;
	height: 192px;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.sbt-result {
		gap: 25px;
		min-height: calc(min(192px, 21vw) + 41px);
	}

	.sbt-result__media {
		flex-basis: min(192px, 21vw);
	}

	.sbt-result__media img {
		width: min(192px, 21vw);
		height: min(192px, 21vw);
	}
}

@media (max-width: 767px) {
	.sbt-search-results__title {
		font-size: 1.8rem;
		text-align: center;
	}

	.sbt-result {
		flex-direction: column-reverse;
		justify-content: flex-start;
		min-height: 0;
		text-align: center;
	}

	.sbt-result__body {
		align-self: stretch;
		max-width: none;
	}

	.sbt-result__media {
		flex: none;
		width: 150px;
	}

	.sbt-result__media img {
		width: 150px;
		height: auto;
	}
}

/* Editor content of the pages with the form */
.sbt-form-page__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.sbt-form-page__content > p:empty {
	display: none;
}

.sbt-info-text--l,
.sbt-info-text--l p {
	font-size: var(--p-l);
}

.sbt-info-text img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.sbt-info-text a strong {
	color: inherit;
}

.sbt-recapiti__note--gap {
	margin-top: 20px !important;
	padding-top: 10px;
}

.sbt-recapiti__note--gap strong {
	font-weight: 700;
}

.sbt-recapiti__note--sede {
	margin-top: 12px !important;
}

.sbt-recapiti--first {
	margin-top: 10px;
}

.sbt-recapiti--biglietteria + .sbt-recapiti {
	margin-top: -30px;
}

/* ==========================================================================
   Responsive (values measured on the old Elementor site)
   Breakpoints: laptop 1366, tablet-extra 1200, tablet 1024, mobile-extra 880, mobile 767
   ========================================================================== */

/* Laptop */
@media (max-width: 1366px) {
	/* Home (transparent header) only: the other pages keep the desktop sizes. */
	.sbt-header--transparent .sbt-header__desktop .sbt-logo {
		width: 250px;
	}

	.sbt-header--transparent:not(.is-fixed) .sbt-nav__list > li {
		padding: 0 11.5px;
	}

	.sbt-header--transparent:not(.is-fixed) .sbt-nav__list > li:first-child {
		padding-left: 0;
	}

	.sbt-header--transparent:not(.is-fixed) .sbt-nav__list > li:last-child {
		padding-right: 0;
	}

	.sbt-header--transparent:not(.is-fixed) .sbt-nav__list > li > a {
		padding: 0;
		font-size: 16px;
	}
}

/* Widescreen (>= 1600px) */
@media (min-width: 1600px) {
	.sbt-header--transparent .sbt-header__desktop .sbt-logo {
		width: 300px;
	}

	.sbt-hero__title {
		font-size: 5.25rem;
	}

	.sbt-footer__logo {
		width: 397px;
	}

	.sbt-footer__col--about {
		gap: 20px;
	}

	.sbt-footer__text,
	.sbt-footer__text p {
		font-size: 1.0625rem;
	}

	.sbt-more .sbt-carousel__track {
		gap: 60px;
	}

	.sbt-more .sbt-carousel__item,
	.sbt-related .sbt-carousel__item {
		flex-basis: max(350px, 16vw);
	}
}

/* Laptop: tighter diario grid */
@media (max-width: 1366px) {
	.sbt-hcards {
		gap: 40px;
	}
}

/* Tablet extra: mobile header, centered hero, one-column diario */
@media (max-width: 1200px) {
	/* Header: mobile bar */
	.sbt-header-slot {
		min-height: 84px;
	}

	.sbt-header-slot--overlay {
		min-height: 0;
	}

	.sbt-header__desktop {
		display: none;
	}

	.sbt-header__mobile {
		display: flex;
		min-height: 60px;
	}

	.sbt-header__mobile > .sbt-icon-btn {
		width: 80px;
	}

	.sbt-header__mobile .sbt-logo {
		width: 280px;
		margin-top: 0;
	}

	.sbt-header--transparent {
		background: rgba(255, 255, 255, 0);
	}

	.sbt-header--transparent .sbt-header__mobile .sbt-logo {
		width: 270px;
		margin-top: 9px;
	}

	.sbt-header.is-fixed .sbt-header__mobile .sbt-logo {
		width: 95px;
		margin-top: 0;
	}

	/* Hero */
	.sbt-hero {
		min-height: 557px;
	}

	.sbt-hero__content {
		align-items: center;
		min-height: 0;
		margin: 160px 0 120px;
		text-align: center;
	}

	.sbt-hero__title,
	.sbt-hero__text {
		max-width: 700px;
	}

	.sbt-hero__buttons {
		justify-content: center;
	}

	/* Proposal boxes */
	.sbt-boxes {
		gap: 40px;
	}

	/* Blog archive */
	.sbt-archive__list {
		column-gap: 60px;
	}

	/* Diario: one column */
	.sbt-hcards {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	/* Footer: three centered columns */
	.sbt-footer .sbt-footer__cols {
		justify-content: center;
		gap: 60px;
	}

	.sbt-footer__col {
		width: 20%;
	}

	.sbt-footer__col--about {
		width: 33%;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	/* Proposal boxes */
	.sbt-boxes {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	/* Split sections: text first, image below */
	.sbt-split {
		flex-direction: column-reverse;
		gap: 80px;
	}

	.sbt-split__media,
	.sbt-split__body {
		flex: none;
		width: 100%;
	}

	.sbt-about-section .sbt-split__media,
	.sbt-cs-intro .sbt-split__media {
		flex-basis: auto;
		height: auto;
	}

	.sbt-about-section .sbt-split__media img,
	.sbt-cs-intro .sbt-split__media img {
		height: auto;
		aspect-ratio: 1;
	}

	/* Partners: 4 per view */
	.sbt-partners .sbt-carousel__item {
		flex-basis: 25%;
	}

	/* Footer: one centered column */
	.sbt-footer .sbt-footer__cols {
		flex-direction: column;
		align-items: stretch;
		gap: 80px;
		padding: 0;
	}

	.sbt-footer__col,
	.sbt-footer__col--about {
		width: 100%;
		align-items: center;
		text-align: center;
	}

	.sbt-footer__menu {
		align-items: center;
	}

	.sbt-social {
		justify-content: center;
	}

	.sbt-form-page__info .sbt-social {
		justify-content: flex-start;
	}

	/* Pages with the form: stacked */
	.sbt-form-page__grid {
		flex-direction: column;
		align-items: stretch;
		gap: 80px;
	}

	.sbt-form-page__info {
		flex: none;
		width: 100%;
	}

	.sbt-form-page__card {
		width: 100%;
		padding: 60px;
	}
}

@media (max-width: 880px) {
	.sbt-header--transparent .sbt-header__mobile .sbt-logo {
		width: 285px;
		margin-top: 8px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	/* The logo scales with the viewport (280px max, 210px at 390px). */
	.sbt-header-slot {
		min-height: max(60px, min(84px, calc(19vw - 11.1px)));
	}

	.sbt-header__mobile > .sbt-icon-btn {
		width: 60px;
	}

	.sbt-header__mobile .sbt-logo {
		width: min(280px, calc(63.33vw - 37px));
	}

	.sbt-header--transparent .sbt-header__mobile .sbt-logo {
		width: min(260px, calc(62.5vw - 39.75px));
		margin-top: 10px;
	}

	.sbt-page-hero {
		padding: 0;
	}

	/* Hero: height follows the content (one-line subtitle = 482px) */
	.sbt-hero {
		min-height: 0;
	}

	.sbt-hero__content {
		margin: 160px 0 120px;
	}

	.sbt-hero__title {
		font-size: 2.4rem;
	}

	.sbt-hero__text {
		padding: 25px 0 35px;
		font-size: var(--p-xl);
	}

	.sbt-boxes-section {
		padding: 50px 0;
	}

	.sbt-boxes-section .sbt-head {
		margin-bottom: 81px;
	}

	.sbt-box__title {
		padding: 39px 20px 30px;
	}

	.sbt-partners .sbt-carousel__item {
		flex-basis: 50%;
	}

	.sbt-cta {
		padding: 120px 0;
	}

	/* Diario: vertical cards */
	.sbt-diario {
		padding: 120px 0;
	}

	.sbt-hcard {
		flex-direction: column;
		align-items: stretch;
	}

	.sbt-hcard__media {
		flex-basis: auto;
	}

	.sbt-hcard__img,
	.sbt-hcard__media .sbt-noimage {
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 7 / 4;
	}

	.sbt-hcard__body {
		align-items: center;
		padding: 35px 30px 40px;
		text-align: center;
	}

	.sbt-hcard__meta {
		justify-content: center;
	}

	/* Footer: mixed alignment as on the old site */
	.sbt-footer__logo {
		width: 300px;
	}

	.sbt-footer__col--about,
	.sbt-footer__col {
		align-items: stretch;
		text-align: left;
	}

	.sbt-footer__col--about .sbt-footer__logo {
		align-self: center;
	}

	.sbt-footer__col:nth-child(3) .sbt-footer__title {
		text-align: center;
	}

	.sbt-footer__menu {
		align-items: flex-start;
	}

	.sbt-footer .sbt-footer__cols {
		padding: 0 20px;
	}

	.sbt-footer__col:nth-child(2) .sbt-footer__title {
		margin-left: -10px;
	}

	.sbt-footer__bottom .sbt-container {
		padding: 0 40px;
	}

	.sbt-footer__bottom {
		padding: 20px 0 19px;
	}

	/* Pages with the form */
	.sbt-info-text,
	.sbt-info-text p {
		font-size: var(--p-l);
		line-height: 1.62;
	}

	.sbt-form-page__card {
		padding: 60px 40px;
	}

	/* Chi siamo */
	.sbt-cs-services__list {
		gap: 60px;
	}

	.sbt-form-page__card-title {
		margin-bottom: 20px;
	}
}

.sbt-intro > .sbt-info-text {
	align-self: stretch;
}
