/*
 * Tahiti Restyle 1.1.0 (mu-plugin tahiti-restyle.php)
 * Si appoggia al CSS del tema The7 5.6 e alle opzioni tema: qui solo ritocchi.
 * Il tema mette "a, a:hover { color: #52a7d7 !important }": per questo i colori dei link qui sono !important.
 */

:root {
	--t-orange: #f7a10c;
	--t-orange-dark: #dd8d00;
	--t-blue: #1486bf;
	--t-blue-dark: #0f6f9f;
	--t-navy: #0d4866;
	--t-navy-deep: #08324a;
	--t-sand: #dcd1ab;
	--t-ink: #071e29;
	--t-radius: 8px;
}

/* ------------------------------------------------------------------ */
/* Bottoni (testata e mappa)                                           */
/* ------------------------------------------------------------------ */

.tahiti-cta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}

a.tahiti-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 18px;
	border: 2px solid transparent;
	border-radius: var(--t-radius);
	font: 700 12px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
	letter-spacing: .07em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a.tahiti-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(7, 30, 41, .16);
}

a.tahiti-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

a.tahiti-btn--primary,
a.tahiti-btn--primary:hover {
	color: #fff !important;
}

a.tahiti-btn--primary {
	background: var(--t-orange);
	border-color: var(--t-orange);
}

a.tahiti-btn--primary:hover {
	background: var(--t-orange-dark);
	border-color: var(--t-orange-dark);
}

a.tahiti-btn--outline {
	background: #fff;
	border-color: var(--t-blue);
	color: var(--t-blue) !important;
}

a.tahiti-btn--outline:hover {
	background: var(--t-blue);
	color: #fff !important;
}

a.tahiti-btn--blue,
a.tahiti-btn--blue:hover {
	color: #fff !important;
}

a.tahiti-btn--blue {
	background: var(--t-blue);
	border-color: var(--t-blue);
}

a.tahiti-btn--blue:hover {
	background: var(--t-blue-dark);
	border-color: var(--t-blue-dark);
}

a.tahiti-btn--ghost {
	background: transparent;
	border-color: rgba(7, 30, 41, .25);
	color: var(--t-ink) !important;
}

a.tahiti-btn--ghost:hover {
	background: #fff;
	color: var(--t-ink) !important;
}

a.tahiti-btn--light {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .75);
	color: #fff !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

a.tahiti-btn--light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--t-ink) !important;
}

/* ------------------------------------------------------------------ */
/* Topbar: più bassa, testo scuro sull'arancio (contrasto ~6:1)        */
/* ------------------------------------------------------------------ */

.masthead .top-bar {
	padding: 5px 0 !important;
	min-height: 0;
	align-items: center;
}

.masthead .top-bar .mini-widgets {
	align-items: center;
}

.masthead .top-bar .left-widgets {
	gap: 26px;
}

/* il separatore "|" non serve più */
.masthead .top-bar .left-widgets .text-area {
	display: none !important;
}

.masthead .top-bar .mini-contacts,
.masthead .top-bar .mini-contacts a,
.masthead .top-bar .text-area {
	position: relative;
	margin: 0 !important;
	font: 600 13px/20px "Open Sans", Helvetica, Arial, sans-serif !important;
	letter-spacing: .02em;
	color: var(--t-navy-deep) !important;
	text-decoration: none !important;
}

.masthead .top-bar .mini-contacts {
	padding-left: 24px !important;
	background: none !important;
}

.masthead .top-bar .mini-contacts a:hover {
	color: #fff !important;
}

#page .masthead .top-bar .mini-contacts::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 0;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background: var(--t-navy-deep) !important;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.masthead .top-bar .mini-contacts.phone {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
}

.masthead .top-bar .mini-contacts.email {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* Bandierine: via il riquadro arancio chiaro (stile inline nelle opzioni tema), pillole pulite */
.masthead .top-bar .right-widgets .text-area > div[style] {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

.masthead .top-bar .text-area p {
	margin: 0;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal {
	padding: 0;
	border: 0;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal ul {
	display: flex;
	gap: 4px;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal li {
	margin: 0;
	padding: 0;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal a.wpml-ls-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 28px;
	padding: 0;
	border-radius: 6px;
	transition: background-color .2s ease;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal a.wpml-ls-link br {
	display: none;
}

.masthead .top-bar .wpml-ls-legacy-list-horizontal a.wpml-ls-link:hover {
	background: rgba(255, 255, 255, .45);
}

.masthead .top-bar .wpml-ls-current-language a.wpml-ls-link {
	background: #fff;
	box-shadow: 0 1px 4px rgba(8, 50, 74, .18);
}

.masthead .top-bar .wpml-ls-flag {
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(8, 50, 74, .15);
}

/* ------------------------------------------------------------------ */
/* Testata: logo più piccolo, bottoni accanto al logo, meno vuoto sopra il menu */
/* ------------------------------------------------------------------ */

.masthead:not(.side-header):not(.mixed-header) .header-bar,
.header-space {
	min-height: 0;
}

.masthead.classic-header:not(.side-header) .branding {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0 6px;
}

.masthead.classic-header:not(.side-header) .branding > a {
	padding: 0 !important;
}

.masthead.classic-header:not(.side-header) .branding > a img:not(.mobile-logo) {
	width: auto;
	height: 74px;
	max-width: none;
}

/* Sotto i 990px il tema mostra il .mobile-logo nello stesso blocco */
.masthead .branding img.mobile-logo,
.mobile-header-bar .mobile-branding img {
	width: auto !important;
	height: 46px !important;
}

/* Testata fissa durante lo scroll: fondo pieno (il tema la lascia al 90% e il testo traspare) */
body.phantom-sticky.sticky-on .masthead:not(.mixed-header):not(.side-header):not(.masthead-mobile) {
	background: rgba(255, 255, 255, .97) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.masthead.classic-header:not(.side-header) .branding .mini-widgets {
	flex: 0 1 auto;
	justify-content: flex-end;
}

.masthead.classic-header:not(.side-header) .branding .mini-widgets .text-area p {
	margin: 0;
}

.masthead.classic-header:not(.side-header) .main-nav > li > a {
	margin-top: 8px !important;
	margin-bottom: 12px !important;
}

/* Testata "appiccicata" durante lo scroll: più compatta */
.sticky-on .masthead.classic-header:not(.side-header) .branding {
	padding: 6px 0 0;
}

.sticky-on .masthead.classic-header:not(.side-header) .branding > a img:not(.mobile-logo) {
	height: 48px;
}

.sticky-on .masthead.classic-header:not(.side-header) a.tahiti-btn {
	min-height: 38px;
}

.sticky-on .masthead.classic-header:not(.side-header) .main-nav > li > a {
	margin-top: 4px !important;
	margin-bottom: 8px !important;
}

/* ------------------------------------------------------------------ */
/* Hero della home: dissolvenza incrociata + Ken Burns                 */
/* ------------------------------------------------------------------ */

.tahiti-hero {
	--banner-overlap: 185px;
	position: relative;
	z-index: 0;
	isolation: isolate;
	height: clamp(560px, calc(100vh - 150px), 800px);
	overflow: hidden;
	background: var(--t-navy);
	color: #fff;
}

.tahiti-hero__slides,
.tahiti-hero__slide {
	position: absolute;
	inset: 0;
	margin: 0;
}

.tahiti-hero__slide {
	z-index: 0;
	opacity: 0;
	transition: opacity 1.6s ease;
}

.tahiti-hero__slide.is-active {
	z-index: 2;
	opacity: 1;
}

.tahiti-hero__slide.is-leaving {
	z-index: 1;
	opacity: 1;
	transition: none;
}

.tahiti-hero__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transform-origin: center;
	will-change: transform;
}

.tahiti-hero__slide.is-active .tahiti-hero__img,
.tahiti-hero__slide.is-leaving .tahiti-hero__img {
	animation: tahiti-kb-0 9s ease-out both;
}

.tahiti-kb-1.is-active .tahiti-hero__img,
.tahiti-kb-1.is-leaving .tahiti-hero__img {
	animation-name: tahiti-kb-1;
}

.tahiti-kb-2.is-active .tahiti-hero__img,
.tahiti-kb-2.is-leaving .tahiti-hero__img {
	animation-name: tahiti-kb-2;
}

.tahiti-kb-3.is-active .tahiti-hero__img,
.tahiti-kb-3.is-leaving .tahiti-hero__img {
	animation-name: tahiti-kb-3;
}

@keyframes tahiti-kb-0 {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

@keyframes tahiti-kb-1 {
	from { transform: scale(1.14) translate3d(1.5%, 0, 0); }
	to { transform: scale(1.03) translate3d(0, 0, 0); }
}

@keyframes tahiti-kb-2 {
	from { transform: scale(1.03) translate3d(0, 0, 0); }
	to { transform: scale(1.13) translate3d(1.5%, 1%, 0); }
}

@keyframes tahiti-kb-3 {
	from { transform: scale(1.13) translate3d(-1%, 1%, 0); }
	to { transform: scale(1.02) translate3d(0, 0, 0); }
}

.tahiti-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 3;
	background:
		linear-gradient(90deg, rgba(4, 30, 45, .62) 0%, rgba(4, 30, 45, .3) 42%, rgba(4, 30, 45, 0) 72%),
		linear-gradient(0deg, rgba(4, 30, 45, .35) 0%, rgba(4, 30, 45, 0) 45%),
		linear-gradient(180deg, rgba(4, 30, 45, .25) 0%, rgba(4, 30, 45, 0) 22%);
	pointer-events: none;
}

.tahiti-hero__content {
	position: absolute;
	z-index: 4;
	top: 0;
	bottom: var(--banner-overlap);
	left: 50%;
	width: min(1200px, calc(100% - 40px));
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.tahiti-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px !important;
	font: 700 13px/1.3 "Open Sans", Helvetica, Arial, sans-serif;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}

.tahiti-hero__title {
	max-width: 760px;
	margin: 0 !important;
	font: 700 clamp(34px, 4.1vw, 60px)/1.08 Roboto, Helvetica, Arial, sans-serif;
	letter-spacing: -.01em;
	color: #fff;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .28);
}

.tahiti-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.tahiti-hero__actions a.tahiti-btn {
	min-height: 52px;
	padding: 0 26px;
	font-size: 13px;
}

.tahiti-hero__nav {
	position: absolute;
	z-index: 5;
	right: max(20px, calc((100% - 1200px) / 2));
	bottom: calc(var(--banner-overlap) + 26px);
	display: flex;
	align-items: center;
	gap: 14px;
}

.tahiti-hero__arrow {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: rgba(4, 30, 45, .18);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.tahiti-hero__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-65%, -50%) rotate(45deg);
}

.tahiti-hero__arrow.is-prev::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.tahiti-hero__arrow:hover {
	background: var(--t-orange);
	border-color: var(--t-orange);
}

.tahiti-hero__dots {
	display: flex;
	gap: 8px;
}

.tahiti-hero__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: rgba(255, 255, 255, .55);
	cursor: pointer;
	transition: width .3s ease, background-color .3s ease;
}

.tahiti-hero__dot.is-active {
	width: 28px;
	background: var(--t-orange);
}

.tahiti-hero button:focus-visible,
.tahiti-hero a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.tahiti-hero__slide .tahiti-hero__img {
		animation: none !important;
	}

	.tahiti-hero__slide {
		transition-duration: .4s;
	}
}

/* Box newsletter: la riga ha margine negativo e scende sul footer; le sue colonne "float"
 * invadevano il footer e ne schiacciavano la griglia. In flex niente float. */
.vc_custom_1511175617568 {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	z-index: 2;
}

.vc_custom_1511175617568::before,
.vc_custom_1511175617568::after {
	display: none !important;
}

.vc_custom_1511175617568 > .wpb_column {
	float: none;
}

.vc_custom_1511175617568 .wpb_content_element,
.vc_custom_1511175617568 .ubtn-ctn-right {
	margin-bottom: 0 !important;
}

/* ------------------------------------------------------------------ */
/* Home: spazi bianchi tra i blocchi                                   */
/* ------------------------------------------------------------------ */

/*
 * Le righe WPBakery fatte solo da uno "spaziatore" creano i vuoti tra i blocchi colorati.
 * Si nascondono quando precedono un blocco a tutta larghezza o quando sono doppie (succede in DE:
 * la sezione dopo ha già il suo spaziatore interno).
 */
.home .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:only-child):has(+ .vc_row-o-equal-height),
.home .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:only-child):has(+ .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:only-child),
.home .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:only-child) + .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:only-child) {
	display: none !important;
}

/* I tre riquadri Sole/Mare/Relax: un po' d'aria prima del blocco sabbia, non 125px. */
.home .vc_row:has(> .wpb_column .all_banner) {
	margin-bottom: 40px;
}

/* Il tema gli dava z-index 5000: scorrendo la pagina i riquadri passavano sopra la testata fissa. */
.home .all_banner {
	z-index: 3 !important;
	border-radius: var(--t-radius);
	box-shadow: 0 18px 40px rgba(7, 30, 41, .10);
}

.home .all_banner .wpb_single_image img,
.home .all_banner .vc_single_image-wrapper {
	border-radius: 6px;
}

/*
 * Riga "raccolta differenziata": la colonna di sinistra è una sidebar vuota (widget tolto anni fa)
 * e restava un riquadro grigio. Se la sidebar è vuota la si nasconde e il riquadro verde va a tutta larghezza.
 */
.vc_row-o-equal-height > .wpb_column:has(.wpb_widgetised_column):not(:has(.wpb_widgetised_column .wpb_wrapper > *)) {
	display: none !important;
}

.vc_row-o-equal-height:has(> .wpb_column .wpb_widgetised_column):not(:has(.wpb_widgetised_column .wpb_wrapper > *)) > .wpb_column {
	width: 100% !important;
	flex: 1 1 100% !important;
}

.vc_row-o-equal-height:has(> .wpb_column .wpb_widgetised_column):not(:has(.wpb_widgetised_column .wpb_wrapper > *)) > .wpb_column > .vc_column-inner {
	padding: 48px 20px !important;
}

.vc_row-o-equal-height:has(> .wpb_column .wpb_widgetised_column):not(:has(.wpb_widgetised_column .wpb_wrapper > *)) .wpb_single_image {
	margin-bottom: 0 !important;
}

.vc_row-o-equal-height:has(> .wpb_column .wpb_widgetised_column):not(:has(.wpb_widgetised_column .wpb_wrapper > *)) .wpb_single_image img {
	max-width: 820px;
	width: 100%;
	height: auto;
}

/* Testi centrati della home: righe più corte, e via gli "a capo" forzati che lasciavano parole orfane. */
.home .wpb_text_column p[style*="center"] {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.home .wpb_text_column p[style*="center"] br {
	display: none;
}

/* Riga "Per il divertimento assicurato": era senza margini laterali, testo da bordo a bordo. */
.home .vc_row[data-vc-stretch-content] > .wpb_column:not([class*="padding_lr"]):not(.vc_col-has-fill) .wpb_text_column {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

/* ------------------------------------------------------------------ */
/* Box newsletter (in fondo a ogni pagina, sopra il footer)            */
/* ------------------------------------------------------------------ */

.vc_custom_1511175617568 .vc_inner.vc_row-has-fill {
	border-radius: 14px;
	box-shadow: 0 22px 50px rgba(7, 30, 41, .22);
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

.vc_custom_1511175617568 .vc_inner.vc_row-has-fill .wpb_text_column p {
	margin-bottom: 4px;
}

.vc_custom_1511175617568 .vc_inner.vc_row-has-fill .wpb_text_column p:first-child span {
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 26px !important;
	letter-spacing: .02em;
}

.vc_custom_1511175617568 .vc_inner.vc_row-has-fill .wpb_text_column p + p span {
	font-size: 13px;
	letter-spacing: .1em;
	opacity: .95;
}

.vc_custom_1511175617568 .ubtn {
	border-radius: var(--t-radius) !important;
	padding: 15px 26px !important;
	font: 700 12px/1.2 "Open Sans", Helvetica, Arial, sans-serif !important;
	letter-spacing: .1em;
	color: var(--t-ink) !important;
	box-shadow: 0 8px 20px rgba(7, 30, 41, .15);
	transition: transform .2s ease, box-shadow .2s ease;
}

.vc_custom_1511175617568 .ubtn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(7, 30, 41, .22);
}

@media (min-width: 768px) {
	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill {
		display: flex;
		align-items: center;
	}

	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill::before,
	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill::after {
		display: none;
	}

	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill > .wpb_column > .vc_column-inner {
		padding-top: 0;
	}

	.vc_custom_1511175617568 .ubtn-ctn-right {
		margin: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

#footer.footer {
	background: var(--t-navy) !important;
	color: rgba(255, 255, 255, .82);
}

#footer .wf-wrap {
	width: 100% !important;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

#footer .wf-container-footer {
	padding: 0 !important;
}

#footer .wf-container {
	display: grid !important;
	grid-template-columns: 1.3fr 1fr 1fr .9fr;
	gap: 48px;
	margin: 0 !important;
	padding: 150px 0 60px !important;
}

/* Sulle pagine senza il box newsletter sovrapposto non serve tutto quello spazio in alto. */
body:not(:has(.vc_custom_1511175617568)) #footer .wf-container {
	padding-top: 64px !important;
}

#footer .wf-container::before,
#footer .wf-container::after {
	display: none !important;
}

#footer .wf-container > .widget {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	text-align: left !important;
	float: none !important;
}

#footer .widget-title {
	position: relative;
	width: auto !important;
	margin: 0 0 20px !important;
	padding: 0 0 12px !important;
	border: 0 !important;
	text-align: left !important;
	font: 700 14px/1.3 Roboto, Helvetica, Arial, sans-serif !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff !important;
}

#footer .widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 2px;
	border-radius: 2px;
	background: var(--t-orange);
}

#footer .textwidget,
#footer .menu {
	padding-top: 0 !important;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .82);
}

#footer .textwidget p {
	margin: 0 0 14px;
}

#footer .widget a {
	color: #fff !important;
	text-decoration: none;
}

#footer .widget a:hover {
	color: var(--t-orange) !important;
}

/* Colonna 1: logo, frase, associazioni */
#footer .tahiti-ft-logo {
	display: inline-block;
	margin-bottom: 18px;
}

#footer .tahiti-ft-logo img {
	display: block;
	width: 260px;
	max-width: 100%;
	height: auto;
}

#footer .tahiti-ft-badges {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

#footer .tahiti-ft-badges img {
	display: block;
	width: 64px;
	height: 64px;
	padding: 6px;
	border-radius: var(--t-radius);
	background: #fff;
	object-fit: contain;
}

/* Colonna 2: orari */
#footer .tahiti-hours {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

#footer .tahiti-hours li {
	margin: 0;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

#footer .tahiti-hours li span {
	display: block;
}

#footer .tahiti-hours li span:first-child {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

#footer .tahiti-ft-note {
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}

#footer .tahiti-ft-season {
	padding: 12px 14px;
	border-radius: var(--t-radius);
	background: rgba(255, 255, 255, .08);
	font-size: 13px;
	line-height: 1.6;
}

#footer .tahiti-ft-season strong {
	display: block;
	color: var(--t-orange);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 12px;
}

/* Colonna 3: contatti, con icone disegnate in CSS */
#footer .tahiti-contacts {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

#footer .tahiti-contacts li {
	position: relative;
	margin: 0 0 12px;
	padding: 0 0 0 30px;
}

#footer .tahiti-contacts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	background: var(--t-orange);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

#footer .tahiti-contacts .is-addr {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

#footer .tahiti-contacts .is-tel {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
}

#footer .tahiti-contacts .is-fax {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V3h10v6M7 17H4v-6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6h-3'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E");
}

#footer .tahiti-contacts .is-mail {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

#footer a.tahiti-ft-link {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--t-orange);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Colonna 4: menu */
#footer .widget_nav_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer .widget_nav_menu li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: left !important;
}

#footer .widget_nav_menu .sub-menu {
	padding: 0 !important;
	margin: 0 !important;
}

#footer .widget_nav_menu a {
	display: inline-block;
	padding: 4px 0;
	font-size: 13px;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82) !important;
	transition: color .2s ease, transform .2s ease;
}

#footer .widget_nav_menu a:hover {
	color: var(--t-orange) !important;
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ */
/* Barra in fondo: copyright + credito                                 */
/* ------------------------------------------------------------------ */

#bottom-bar {
	background: var(--t-navy-deep) !important;
	border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

#bottom-bar .wf-wrap {
	width: 100% !important;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

#bottom-bar .wf-container-bottom {
	padding: 0 !important;
	border: 0 !important;
}

#bottom-bar .wf-table {
	display: block !important;
	width: 100%;
}

#bottom-bar .wf-td:not(.bottom-text-block) {
	display: none !important;
}

#bottom-bar .bottom-text-block {
	display: block !important;
	width: 100%;
	padding: 0 !important;
	text-align: left !important;
}

#bottom-bar .bottom-text-block p:empty {
	display: none;
}

.tahiti-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
	padding: 20px 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .62);
}

.tahiti-bottom__credit {
	flex: none;
	letter-spacing: .04em;
}

#bottom-bar .tahiti-bottom__credit a {
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid var(--t-orange);
	transition: color .2s ease;
}

#bottom-bar .tahiti-bottom__credit a:hover {
	color: var(--t-orange) !important;
}

/* ------------------------------------------------------------------ */
/* Dove siamo: mappa e modulo                                          */
/* ------------------------------------------------------------------ */

.tahiti-map {
	position: relative;
	height: 100%;
	min-height: 460px;
	overflow: hidden;
}

.tahiti-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 460px;
	border: 0;
}

.tahiti-map__actions {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tahiti-map__actions a.tahiti-btn--ghost {
	background: rgba(255, 255, 255, .92);
}

.wpb_text_column:has(.tahiti-map),
.wpb_text_column:has(.tahiti-map) > .wpb_wrapper,
.wpb_column:has(.tahiti-map) > .vc_column-inner,
.wpb_column:has(.tahiti-map) > .vc_column-inner > .wpb_wrapper {
	height: 100%;
	margin-bottom: 0 !important;
	padding: 0 !important;
}

/* I campi del modulo "Hai ancora qualche dubbio" uscivano dal riquadro scuro (min-width: 350px del tema). */
#page .dove-siamo-form input[type="text"],
#page .dove-siamo-form input[type="tel"],
#page .dove-siamo-form input[type="email"],
#page .dove-siamo-form select,
#page .dove-siamo-form textarea {
	min-width: 0 !important;
	width: 100% !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1279px) {
	a.tahiti-btn {
		padding: 0 14px;
		font-size: 11px;
	}

	a.tahiti-btn svg {
		display: none;
	}
}

@media (max-width: 1200px) {
	.masthead.classic-header:not(.side-header) .main-nav > li > a {
		margin-left: 9px !important;
		margin-right: 9px !important;
	}
}

@media (max-width: 1100px) {
	#footer .wf-container {
		grid-template-columns: 1fr 1fr;
		gap: 40px 48px;
	}

	.masthead.classic-header:not(.side-header) .branding > a img:not(.mobile-logo) {
		height: 60px;
	}
}

/* Sotto i 1000px i riquadri Sole/Mare/Relax non si sovrappongono più all'hero. */
@media (max-width: 999px) {
	.tahiti-hero {
		--banner-overlap: 0px;
		height: clamp(440px, 72vh, 640px);
	}

	.tahiti-hero__content {
		justify-content: flex-end;
		padding-bottom: 86px;
	}

	.tahiti-hero__nav {
		left: 50%;
		right: auto;
		bottom: 22px;
		transform: translateX(-50%);
	}

	.tahiti-hero__arrow {
		display: none;
	}
}

@media (max-width: 767px) {
	.home .vc_row:has(> .wpb_column .all_banner) {
		margin-top: 24px !important;
		margin-bottom: 24px;
	}

	.home .all_banner {
		padding: 16px !important;
		box-shadow: none;
	}

	#footer .wf-wrap,
	#bottom-bar .wf-wrap {
		padding: 0 20px;
	}

	#footer .wf-container {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-bottom: 44px !important;
	}

	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill {
		padding-left: 24px !important;
		padding-right: 24px !important;
		text-align: center;
	}

	.vc_custom_1511175617568 .vc_inner.vc_row-has-fill .wpb_text_column p:first-child span {
		font-size: 21px !important;
	}

	.vc_custom_1511175617568 .ubtn-ctn-right,
	.vc_custom_1511175617568 .ubtn-link {
		float: none !important;
		text-align: center;
	}

	.tahiti-bottom {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px 0 22px;
	}

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

	.tahiti-hero__title {
		font-size: 32px;
	}

	.tahiti-hero__eyebrow {
		font-size: 11px;
		letter-spacing: .18em;
	}

	.tahiti-hero__actions a.tahiti-btn {
		min-height: 48px;
		padding: 0 18px;
		font-size: 12px;
	}

	.tahiti-hero__shade {
		background:
			linear-gradient(0deg, rgba(4, 30, 45, .78) 0%, rgba(4, 30, 45, .35) 55%, rgba(4, 30, 45, .1) 100%);
	}
}

/* ------------------------------------------------------------------ */
/* Pagine interne                                                      */
/* ------------------------------------------------------------------ */

/*
 * Fascia del titolo (riga WPBakery .page-header con foto di sfondo): più bassa, velatura in gradiente
 * e titolo grande al posto del riquadro grigio a misura fissa (#title_<pagina>_container nel CSS del tema).
 */
body:not(.home) .vc_row.page-header {
	min-height: clamp(300px, 46vh, 420px) !important;
	isolation: isolate;
}

body:not(.home) .vc_row.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(4, 30, 45, .10) 0%, rgba(4, 30, 45, .28) 45%, rgba(4, 30, 45, .62) 100%);
	pointer-events: none;
}

body:not(.home) .vc_row.page-header > .wpb_column {
	position: relative;
	z-index: 2;
}

/* La riga sale di 55px sotto la testata (margine negativo del tema): si compensa per centrare il titolo. */
body:not(.home) .vc_row.page-header > .wpb_column > .vc_column-inner {
	padding-top: 55px !important;
}

body:not(.home) .page-header [id^="title_"][id$="_container"] {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	background: none !important;
	text-align: center;
}

body:not(.home) .page-header [id^="title_"][id$="_container"] p {
	margin: 0;
	padding: 0 20px !important;
	font: 700 clamp(34px, 4.6vw, 58px)/1.1 Roboto, "Open Sans", Helvetica, Arial, sans-serif !important;
	letter-spacing: .04em;
	color: #fff !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

body:not(.home) .page-header [id^="title_"][id$="_container"] p::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin: 18px auto 0;
	border-radius: 2px;
	background: var(--t-orange);
}

/* Paragrafi con "float: left" scritto a mano nel testo: la colonna non li conteneva più. */
body:not(.home) .wpb_text_column p[style*="float"] {
	float: none !important;
}

/* Testo giustificato: buchi tra le parole, meglio allineato a sinistra. */
body:not(.home) .wpb_text_column p[style*="justify"] {
	text-align: left !important;
}

/*
 * Righe a due colonne testo + foto (Bungalow, Noleggio roulotte, Camping):
 * la foto riempie tutta l'altezza del testo, niente più vuoti beige sotto l'immagine.
 */
@media (min-width: 768px) {
	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) {
		display: flex;
		align-items: stretch;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6:has(> .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) > .vc_column-inner {
		position: relative;
		height: 100%;
		min-height: 420px;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child {
		position: absolute;
		inset: 0;
		margin: 0 !important;
		padding: 0 !important;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child :is(figure, .vc_single_image-wrapper) {
		display: block;
		width: 100%;
		height: 100%;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child img {
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
	}

	/* Colonna di testo accanto alla foto: centrata in verticale, con aria sopra e sotto. */
	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) > .vc_col-sm-6:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_column-inner {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 100%;
		padding-top: 64px !important;
		padding-bottom: 64px !important;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) > .vc_col-sm-6:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_column-inner > .wpb_wrapper > .vc_empty_space:first-child {
		display: none;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) > .vc_col-sm-6:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column) .wpb_text_column:last-child {
		margin-bottom: 0;
	}

	/* Testo accanto a una foto o a un carosello: un po' di distanza, non attaccato. */
	body:not(.home) .vc_inner > .vc_col-sm-6:first-child:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column) + .vc_col-sm-6 > .vc_column-inner {
		padding-left: 28px;
	}

	body:not(.home) .vc_inner > .vc_col-sm-6:first-child:has(> .vc_column-inner > .wpb_wrapper > .wpb_text_column):has(+ .vc_col-sm-6) > .vc_column-inner {
		padding-right: 28px;
	}
}

/* Blocchi sabbia: le righe a zig-zag foto/testo vanno da bordo a bordo, senza la striscia sopra. */
body:not(.home) .vc_row.vc_row-has-fill:not(.vc_inner):not(.page-header):has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_inner > .padding_lr_70_70) > .wpb_column > .vc_column-inner {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body:not(.home) .vc_row.vc_row-has-fill:not(.vc_inner):not(.page-header) .vc_inner[class*="vc_custom_"] {
	margin-bottom: 0 !important;
}

/* Gli altri blocchi colorati: il testo non tocca più il bordo sotto. */
body:not(.home) .vc_row.vc_row-has-fill:not(.vc_inner):not(.page-header):not(.vc_custom_1511175617568):not(:has(.padding_lr_70_70)) > .wpb_column > .vc_column-inner {
	padding-top: 64px !important;
	padding-bottom: 64px !important;
}

body:not(.home) .vc_row.vc_row-has-fill:not(.vc_inner):not(.page-header):not(:has(.padding_lr_70_70)) .vc_inner > .vc_col-sm-6 .wpb_single_image img {
	border-radius: 6px;
}

/* Testo subito prima di un blocco colorato: stacco sotto (se la riga non finisce già con uno spaziatore). */
body:not(.home) .vc_row:not(.vc_inner):not(.vc_row-has-fill):not(:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:last-child)):has(+ .vc_row-full-width + .vc_row.vc_row-has-fill:not(.page-header)),
body:not(.home) .vc_row:not(.vc_inner):not(.vc_row-has-fill):not(:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:last-child)):has(+ .vc_row.vc_row-has-fill:not(.page-header)) {
	padding-bottom: 64px !important;
}

/*
 * Foto a tutta larghezza da sola in una riga (es. Camping): era alta più di 1000px.
 * Si taglia a una fascia e si toglie lo spaziatore bianco sopra.
 */
body:not(.home) .vc_row[data-vc-stretch-content] > .wpb_column.vc_col-sm-12:not([class*="padding_lr"]) > .vc_column-inner:has(> .wpb_wrapper > .wpb_single_image:last-child):not(:has(.wpb_text_column)) {
	padding-top: 0 !important;
}

body:not(.home) .vc_row[data-vc-stretch-content] > .wpb_column.vc_col-sm-12:not([class*="padding_lr"]) > .vc_column-inner > .wpb_wrapper:not(:has(.wpb_text_column)) > .vc_empty_space:has(+ .wpb_single_image:last-child) {
	display: none;
}

body:not(.home) .vc_row[data-vc-stretch-content] > .wpb_column.vc_col-sm-12:not([class*="padding_lr"]) > .vc_column-inner > .wpb_wrapper:not(:has(.wpb_text_column)) > .wpb_single_image:last-child {
	margin-bottom: 0 !important;
}

body:not(.home) .vc_row[data-vc-stretch-content] > .wpb_column.vc_col-sm-12:not([class*="padding_lr"]) > .vc_column-inner > .wpb_wrapper:not(:has(.wpb_text_column)) > .wpb_single_image:last-child :is(figure, .vc_single_image-wrapper) {
	display: block;
	width: 100%;
}

body:not(.home) .vc_row[data-vc-stretch-content] > .wpb_column.vc_col-sm-12:not([class*="padding_lr"]) > .vc_column-inner > .wpb_wrapper:not(:has(.wpb_text_column)) > .wpb_single_image:last-child img {
	display: block;
	width: 100%;
	height: clamp(300px, 52vw, 600px);
	max-height: 70vh;
	object-fit: cover;
}

/* Due foto affiancate a tutta larghezza (Camping): stessa altezza, niente scalino. */
body:not(.home) .vc_row:not(.vc_inner):has(> .vc_col-sm-6 + .vc_col-sm-6):not(:has(.wpb_text_column)) > .vc_col-sm-6 > .vc_column-inner {
	padding-top: 0 !important;
}

body:not(.home) .vc_row:not(.vc_inner):has(> .vc_col-sm-6 + .vc_col-sm-6):not(:has(.wpb_text_column)) > .vc_col-sm-6 .wpb_single_image:only-child {
	margin-bottom: 0 !important;
}

body:not(.home) .vc_row:not(.vc_inner):has(> .vc_col-sm-6 + .vc_col-sm-6):not(:has(.wpb_text_column)) > .vc_col-sm-6 .wpb_single_image:only-child img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Spaziatori bianchi messi a mano (fino a 120px): al massimo 64px. */
body:not(.home) .wpb_wrapper > .vc_empty_space {
	max-height: 64px;
}

/* Prima del box newsletter bastano 56px, non 90 (il box scende già sul footer). */
body:not(.home) .vc_row:has(+ .vc_row-full-width + .vc_custom_1511175617568) .wpb_wrapper > .vc_empty_space:last-child,
body:not(.home) .vc_row:has(+ .vc_custom_1511175617568) .wpb_wrapper > .vc_empty_space:last-child {
	height: 56px !important;
}

/* ------------------------------------------------------------------ */
/* Icone dei servizi: griglia centrata e righe tutte uguali            */
/* ------------------------------------------------------------------ */

.wpb_wrapper:has(> .aio-icon-component.servizi-container) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 30px 10px;
	max-width: 960px;
	margin: 0 auto;
}

.wpb_wrapper > .aio-icon-component.servizi-container {
	float: none !important;
	width: 140px !important;
	height: auto !important;
	margin: 0 !important;
}

.servizi-container .aio-icon-top {
	margin-bottom: 12px;
}

.servizi-container .aio-icon-img.uavc-circle {
	width: 76px;
	height: 76px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	transition: background-color .2s ease, transform .2s ease;
}

.servizi-container:hover .aio-icon-img.uavc-circle {
	background: #fde7bf !important;
	transform: translateY(-2px);
}

.servizi-container .aio-icon-header {
	margin: 0 !important;
}

.servizi-container .aio-icon-title {
	margin: 0 !important;
	font: 600 14px/1.35 Roboto, "Open Sans", Helvetica, Arial, sans-serif !important;
	color: #2b2b2b;
}

/* Pagina Servizi: la riga delle icone aveva 150px di margine sopra. */
body:not(.home) .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .servizi-container) {
	margin-top: 24px !important;
}

/* ------------------------------------------------------------------ */
/* Listino prezzi: schede dei PDF tutte uguali, bottone coerente        */
/* ------------------------------------------------------------------ */

body:not(.home) .w3eden .link-template-default.card {
	min-height: 112px;
	border-radius: var(--t-radius);
	border-color: rgba(7, 30, 41, .12);
}

body:not(.home) .w3eden .link-template-default .package-title {
	font-size: 19px !important;
	line-height: 1.25 !important;
}

/* Le icone Font Awesome del plugin non vengono caricate e uscivano come quadratini. */
body:not(.home) .w3eden .link-template-default .text-muted .fas {
	display: none;
}

body:not(.home) .w3eden .link-template-default .btn-primary {
	border-radius: 6px;
	background: var(--t-blue);
	border-color: var(--t-blue);
	font-weight: 600;
}

body:not(.home) .vc_btn3-container a.vc_btn3 {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: var(--t-radius) !important;
	background: var(--t-orange) !important;
	color: #fff !important;
	font: 700 13px/1.2 "Open Sans", Helvetica, Arial, sans-serif !important;
	letter-spacing: .07em;
	text-transform: uppercase;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body:not(.home) .vc_btn3-container a.vc_btn3:hover {
	background: var(--t-orange-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(7, 30, 41, .16);
}

/* ------------------------------------------------------------------ */
/* Pagine interne su telefono                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	body:not(.home) .vc_row.page-header {
		min-height: 240px !important;
	}

	/* Foto delle righe testo + foto: proporzione fissa invece dell'altezza naturale. */
	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child {
		margin-bottom: 24px !important;
	}

	body:not(.home) :is(.vc_row, .vc_inner):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child img {
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	body:not(.home) .padding_lr_70_70 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body:not(.home) .padding_lr_70_70 > .vc_column-inner {
		padding: 40px 20px !important;
	}

	/* Righe testo + foto: la foto sopra il testo, mai due foto di fila. */
	body:not(.home) .vc_inner:has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column):has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) {
		display: flex;
		flex-direction: column;
	}

	body:not(.home) .vc_inner:has(> .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper > .wpb_text_column) > .vc_col-sm-6:has(> .vc_column-inner > .wpb_wrapper > .wpb_single_image:only-child) {
		order: -1;
	}

	/* Margini laterali messi in WPBakery per il desktop: su telefono spostavano foto e carosello. */
	body:not(.home) .vc_inner > .vc_col-sm-6 > .vc_column-inner[class*="vc_custom_"] {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Tabelle dei prezzi: scorrono di lato invece di essere tagliate. */
	body:not(.home) .wpb_text_column table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		font-size: 14px;
	}

	body:not(.home) .wpb_text_column table :is(td, th) {
		white-space: nowrap;
	}

	body:not(.home) .padding_lr_70_70 > .vc_column-inner > .wpb_wrapper > .vc_empty_space:first-child {
		display: none;
	}

	body:not(.home) .vc_row.vc_row-has-fill:not(.vc_inner):not(.page-header):not(.vc_custom_1511175617568):not(:has(.padding_lr_70_70)) > .wpb_column > .vc_column-inner {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}

	body:not(.home) .vc_row:not(.vc_inner):not(.vc_row-has-fill):not(:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:last-child)):has(+ .vc_row-full-width + .vc_row.vc_row-has-fill:not(.page-header)),
	body:not(.home) .vc_row:not(.vc_inner):not(.vc_row-has-fill):not(:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_empty_space:last-child)):has(+ .vc_row.vc_row-has-fill:not(.page-header)) {
		padding-bottom: 40px !important;
	}

	.wpb_wrapper > .aio-icon-component.servizi-container {
		width: calc(33.333% - 8px) !important;
	}
}
