/*
 * Theme Name: General AGID Template
 * Description: Template WordPress (Timber + Bootstrap Italia) per siti conformi alle linee guida di accessibilità AgID.
 * Author: Lightage
 * Version: 1.0.0
 * Author URI: https://lightage.it
 * Text Domain: general-agid-template
*/

/* Titillium+Web:300,400,600,700 */

/* titillium-web-300 - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-300italic - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-300italic.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-regular - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-regular.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-italic - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-italic.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-700 - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-700italic - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-700italic.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}
/* titillium-web-600 - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* titillium-web-600italic - latin-ext_latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Titillium_Web/titillium-web-v10-latin-ext_latin-600italic.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
}

/* Lora:400,700 */

/* lora-regular - latin-ext_latin */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-regular.svg#Lora') format('svg'); /* Legacy iOS */
}

/* lora-700 - latin-ext_latin */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700.svg#Lora') format('svg'); /* Legacy iOS */
}

/* lora-italic - latin-ext_latin */
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-italic.svg#Lora') format('svg'); /* Legacy iOS */
}

/* lora-700italic - latin-ext_latin */
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Lora/lora-v20-latin-ext_latin-700italic.svg#Lora') format('svg'); /* Legacy iOS */
}

/* Roboto+Mono:400,700 */

/* roboto-mono-regular - latin-ext_latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

/* roboto-mono-700 - latin-ext_latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

/* roboto-mono-italic - latin-ext_latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-italic.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

/* roboto-mono-700italic - latin-ext_latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.woff') format('woff'), /* Modern Browsers */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('dist/fonts/Roboto_Mono/roboto-mono-v13-latin-ext_latin-700italic.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

/* Colori del sito — modifica queste variabili */
:root {
	--bs-primary: #00529b;
	--bs-primary-rgb: 0, 82, 155;
	--bs-secondary: #e51a38;
	--bs-secondary-rgb: 229, 26, 56;
	--bs-link-color: var(--bs-primary);
	--bs-link-hover-color: color-mix(in srgb, var(--bs-primary) 82%, #000);
}

.btn-primary {
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-bg: color-mix(in srgb, var(--bs-primary) 82%, #000);
	--bs-btn-hover-border-color: color-mix(in srgb, var(--bs-primary) 82%, #000);
	--bs-btn-active-bg: color-mix(in srgb, var(--bs-primary) 72%, #000);
	--bs-btn-active-border-color: color-mix(in srgb, var(--bs-primary) 72%, #000);
	--bs-btn-disabled-bg: var(--bs-primary);
	--bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-secondary {
	--bs-btn-bg: var(--bs-secondary);
	--bs-btn-border-color: var(--bs-secondary);
	--bs-btn-hover-bg: color-mix(in srgb, var(--bs-secondary) 82%, #000);
	--bs-btn-hover-border-color: color-mix(in srgb, var(--bs-secondary) 82%, #000);
	--bs-btn-active-bg: color-mix(in srgb, var(--bs-secondary) 72%, #000);
	--bs-btn-active-border-color: color-mix(in srgb, var(--bs-secondary) 72%, #000);
	--bs-btn-disabled-bg: var(--bs-secondary);
	--bs-btn-disabled-border-color: var(--bs-secondary);
}

.it-brand-wrapper .it-brand-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 3rem;
	max-width: min(14rem, 52vw);
	object-fit: contain;
	object-position: left center;
}

.it-header-center-wrapper .it-brand-wrapper a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.it-footer .it-brand-logo {
	max-height: 3.5rem;
	max-width: min(16rem, 70vw);
}


.it-header-center-wrapper,
.it-header-navbar-wrapper {
	background-color: var(--bs-primary) !important;
}

.it-header-wrapper--light .it-header-center-wrapper,
.it-header-wrapper--light .it-header-navbar-wrapper {
	background-color: #fff !important;
}

/* Mobile: burger a sinistra accanto al logo, senza coprirlo */
@media (max-width: 991.98px) {
	.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
		left: 0;
		right: auto;
		width: auto;
		background-color: transparent !important;
	}

	.it-header-wrapper.it-header-sticky.is-sticky .it-header-navbar-wrapper,
	.it-header-wrapper.is-sticky .it-nav-wrapper .it-header-navbar-wrapper {
		left: 0;
		right: auto;
		width: auto;
		background-color: transparent !important;
	}

	.it-header-wrapper--light .it-nav-wrapper .it-header-navbar-wrapper {
		background-color: transparent !important;
	}

	.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper nav {
		padding-left: 1rem;
		padding-right: 0;
		background: transparent;
	}

	.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper .custom-navbar-toggler {
		background: transparent !important;
		border: 0;
		box-shadow: none;
		padding: 0.25rem;
	}

	.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper .custom-navbar-toggler .icon {
		background: transparent !important;
		fill: #fff;
	}

	.it-header-wrapper--light .it-nav-wrapper .it-header-navbar-wrapper .custom-navbar-toggler .icon,
	.it-header-center-wrapper.theme-light + .it-header-navbar-wrapper .custom-navbar-toggler .icon {
		fill: var(--bs-primary) !important;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper {
		padding-left: 1rem;
		padding-right: 0;
	}

	.it-header-center-wrapper .it-brand-wrapper {
		padding-left: 0.25rem;
	}

	.it-brand-wrapper .it-brand-logo {
		max-width: min(12rem, calc(100vw - 7rem));
	}
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper {
	margin-left: 0;
}

.it-search-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.it-search-form__input[type="search"] {
	width: 8rem;
	height: 2.25rem;
	margin: 0;
	padding: 0.25rem 0.25rem 0.35rem;
	border: 0;
	border-bottom: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-align: center;
	appearance: none;
	-webkit-appearance: none;
}

.it-search-form__input[type="search"]::placeholder {
	color: #fff;
	text-align: center;
	opacity: 1;
}

.it-search-form__input[type="search"]::-webkit-search-decoration,
.it-search-form__input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.it-search-form__input[type="search"]:focus,
.it-search-form__input[type="search"]:focus-visible {
	outline: none;
	border-bottom: 2px solid #fff;
	box-shadow: none;
	background: transparent;
	color: #fff;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon {
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon svg {
	fill: var(--bs-primary);
	width: 1.15rem;
	height: 1.15rem;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:hover,
.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:focus-visible {
	background-color: var(--bs-secondary);
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:hover svg,
.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:focus-visible svg {
	fill: #fff;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-socials {
	margin-right: 1.25rem;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:hover svg,
.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:focus-visible svg {
	fill: var(--bs-secondary);
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-socials a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Header chiaro (options.header_bg = white) */
.it-header-wrapper--light .it-search-form__input[type="search"],
.it-header-wrapper--light .it-search-form__input[type="search"]:focus,
.it-header-wrapper--light .it-search-form__input[type="search"]:focus-visible {
	border-bottom-color: var(--bs-primary);
	color: var(--bs-primary);
}

.it-header-wrapper--light .it-search-form__input[type="search"]::placeholder {
	color: var(--bs-primary);
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon {
	background-color: var(--bs-primary);
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon svg {
	fill: #fff;
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:hover,
.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:focus-visible {
	background-color: var(--bs-secondary);
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon:focus-visible {
	outline-color: var(--bs-primary);
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a svg,
.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a .icon,
.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul .icon,
.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul a svg {
	fill: var(--bs-primary) !important;
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:hover svg,
.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:focus-visible svg,
.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:hover .icon,
.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul a:focus-visible .icon,
.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul a:hover svg,
.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul a:focus-visible svg {
	fill: var(--bs-secondary) !important;
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-socials a:focus-visible {
	outline-color: var(--bs-primary);
}

.it-header-wrapper--light .it-brand-wrapper .it-brand-title,
.it-header-wrapper--light .it-brand-wrapper .it-brand-tagline {
	color: var(--bs-primary);
}

.it-header-wrapper--light .it-brand-wrapper .icon:not(.it-brand-logo) {
	fill: var(--bs-primary);
}

/* Allinea header/nav/dropdown/icone al primary custom (BI hardcoda #06c) */
.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-brand-wrapper a .icon,
.it-header-center-wrapper.theme-light + .it-header-navbar-wrapper .custom-navbar-toggler .icon,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li a.nav-link.dropdown-toggle svg,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li button.nav-link.dropdown-toggle svg,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu > button.nav-link svg,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu a.nav-link svg {
	fill: var(--bs-primary) !important;
}

.it-header-navbar-wrapper.theme-light-desk {
	border-bottom-color: rgba(var(--bs-primary-rgb), 0.2) !important;
}

.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li a.nav-link,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu > button.nav-link,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li > button.nav-link {
	color: var(--bs-primary) !important;
}

.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li a.nav-link.active,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu > button.nav-link.active {
	border-bottom-color: var(--bs-primary) !important;
}

.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu > button.nav-link::before,
.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li.megamenu a.nav-link:before {
	background-color: var(--bs-primary) !important;
}

@media (min-width: 992px) {
	.it-header-navbar-wrapper .navbar .dropdown-menu,
	.it-header-navbar-wrapper .navbar .dropdown-menu:before,
	.it-header-navbar-wrapper.theme-light-desk .navbar .dropdown-menu,
	.it-header-navbar-wrapper.theme-light-desk .navbar .dropdown-menu:before {
		background-color: var(--bs-primary) !important;
		background: var(--bs-primary) !important;
	}
}

/* Da mobile il dropdown del menu resta senza sfondo: solo le voci in primary */
.it-header-navbar-wrapper .navbar .dropdown-menu .link-list-wrapper ul li a span,
.it-header-navbar-wrapper .navbar .dropdown-menu .link-list-wrapper ul li a i {
	color: var(--bs-primary);
}

.it-header-slim-wrapper.theme-light .it-header-slim-wrapper-content .it-header-slim-right-zone .dropdown-menu:before,
.it-header-slim-wrapper.theme-light .it-header-slim-wrapper-content .header-slim-right-zone .dropdown-menu:before {
	background: var(--bs-primary) !important;
}

.it-header-slim-wrapper.theme-light .it-header-slim-wrapper-content .it-header-slim-right-zone .dropdown-menu a,
.it-header-slim-wrapper.theme-light .it-header-slim-wrapper-content .header-slim-right-zone .dropdown-menu a {
	color: var(--bs-primary) !important;
	border-bottom-color: var(--bs-primary) !important;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper a.rounded-icon svg,
.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon svg {
	fill: var(--bs-primary) !important;
}

.it-header-wrapper--light .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper .search-link.rounded-icon svg {
	fill: #fff !important;
}

@media (min-width: 768px) {
	.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper {
		margin-left: 0;
	}
}

.it-header-slim-wrapper {
	background-color: color-mix(in srgb, var(--bs-primary) 72%, #000) !important;
}

.it-header-slim-contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	min-width: 0;
}

.it-header-slim-contacts .navbar-brand {
	margin-right: 0;
}

.it-header-slim-contacts__sep {
	color: #fff;
}

.it-header-slim-wrapper .it-access-top-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
}

.it-header-slim-wrapper .it-access-top-wrapper > a {
	background-color: color-mix(in srgb, var(--bs-primary) 72%, #000) !important;
}

.it-footer-main {
	background-color: color-mix(in srgb, var(--bs-primary) 72%, #000) !important;
}

.it-footer-small-prints {
	background-color: color-mix(in srgb, var(--bs-primary) 55%, #000) !important;
}

.it-footer-copyright {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.9);
}

.it-footer-copyright a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.it-footer-copyright a:hover,
.it-footer-copyright a:focus-visible {
	color: #fff;
}

.it-footer-copyright__sep {
	opacity: 0.6;
}

.icon-primary {
	fill: var(--bs-primary) !important;
}

.icon-secondary {
	fill: var(--bs-secondary) !important;
}

.chip.chip-primary {
	border-color: var(--bs-primary);
	color: var(--bs-primary);
}

.chip.chip-primary > .chip-label {
	color: var(--bs-primary);
}

.chip.chip-primary:hover,
.chip.chip-primary:focus-visible {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
}

.chip.chip-primary:focus-visible,
.chip.chip-secondary:focus-visible {
	outline: 2px solid var(--bs-primary);
	outline-offset: 2px;
}

.chip.chip-primary:hover > .chip-label,
.chip.chip-primary:focus-visible > .chip-label {
	color: #fff;
}

.chip.chip-secondary {
	border-color: var(--bs-secondary);
	color: var(--bs-secondary);
}

.chip.chip-secondary > .chip-label {
	color: var(--bs-secondary);
}

.chip.chip-secondary:hover,
.chip.chip-secondary:focus-visible {
	background-color: var(--bs-secondary);
	border-color: var(--bs-secondary);
	color: #fff;
}

.chip.chip-secondary:hover > .chip-label,
.chip.chip-secondary:focus-visible > .chip-label {
	color: #fff;
}

.primary-bg {
	background-color: var(--bs-primary) !important;
}

/* Header sticky — spacer avoids content jump when header becomes fixed */
.it-header-spacer {
	height: 0;
	transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.it-header-wrapper {
	position: relative;
	top: 0;
	width: 100%;
	transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
	z-index: 1000;
}

.it-header-wrapper.is-sticky {
	position: fixed;
	top: calc(-1 * var(--header-hide, 0px));
	left: 0;
	right: 0;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
	.it-header-spacer,
	.it-header-wrapper {
		transition: none !important;
	}
}

/* Hero banner */
.hero-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.hero-banner__overlay,
.hero-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.45) 0%,
		rgba(0, 0, 0, 0.65) 100%
	);
	pointer-events: none;
	z-index: 0;
}

.hero-banner__content,
.hero-slider__content {
	position: relative;
	z-index: 1;
}

.breadcrumb-container--hero {
	width: 100%;
	margin-bottom: 1rem;
	text-align: left;
}

.hero-banner--custom .breadcrumb-container--hero .breadcrumb {
	background: transparent;
	color: #fff;
}

.hero-banner--custom .breadcrumb-container--hero .breadcrumb .breadcrumb-item,
.hero-banner--custom .breadcrumb-container--hero .breadcrumb .breadcrumb-item.active,
.hero-banner--custom .breadcrumb-container--hero .breadcrumb .breadcrumb-item a,
.hero-banner--custom .breadcrumb-container--hero .breadcrumb .breadcrumb-item span.separator {
	color: #fff;
}

.hero-banner__title,
.hero-slider__title {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 0.75rem;
}

/* Variante custom_hero: metà testo + metà immagine, full-bleed */
.hero-banner--custom {
	height: auto;
	display: block;
	color: #fff;
	padding: 0;
	overflow: hidden;
}

.hero-banner--custom__split {
	display: flex;
	align-items: stretch;
	min-height: 500px;
}

.hero-banner--custom__text,
.hero-banner--custom__media {
	position: relative;
	flex: 1 1 50%;
	width: 50%;
}

.hero-banner--custom--wide-text .hero-banner--custom__text {
	flex: 1 1 66%;
	width: 66%;
}

.hero-banner--custom--wide-text .hero-banner--custom__media {
	flex: 1 1 34%;
	width: 34%;
}

.hero-banner--custom__text {
	display: flex;
	align-items: center;
	z-index: 1;
	overflow: hidden;
}

.hero-banner--custom__bg {
	position: absolute;
	inset: 0;
	background-color: var(--bs-secondary);
	z-index: 0;
	border-bottom-right-radius: 50px;
}

.hero-banner--custom:not(:has(.hero-banner--custom__media)) .hero-banner--custom__text,
.hero-banner--custom--no-media .hero-banner--custom__text {
	width: 80%;
	flex: 0 0 80%;
	max-width: 80%;
}

.hero-banner--custom--no-media .hero-banner--custom__split,
.hero-banner--custom:not(:has(.hero-banner--custom__media)) .hero-banner--custom__split {
	min-height: 0;
}

.hero-banner--custom--no-media .hero-banner--custom__content,
.hero-banner--custom:not(:has(.hero-banner--custom__media)) .hero-banner--custom__content {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.hero-banner--custom__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 4rem;
	padding-bottom: 4rem;
	padding-right: 2rem;
	padding-left: max(0.75rem, calc((100vw - 1320px) / 2));
}

.hero-banner--custom__media {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	align-self: stretch;
	height: auto;
	margin-bottom: 50px;
}

.hero-banner--custom__media--map {
	background: none;
	overflow: hidden;
}

.hero-banner--custom__media--map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (max-width: 991.98px) {
	.hero-banner--custom__split {
		flex-direction: column;
		min-height: 0;
	}

	.hero-banner__title {
		font-size: 2.5rem;
	}

	.hero-banner--custom__text,
	.hero--cpt .hero-banner--custom__text,
	.hero .hero-banner--custom--no-media .hero-banner--custom__text {
		width: 100%;
		flex: 1 1 100%;
		max-width: none;
	}

	.hero-banner--custom__media {
		display: none;
	}

	.hero-banner--custom__media--map {
		display: block;
		width: 100%;
		flex: 1 1 auto;
		max-width: none;
		min-height: 280px;
		margin-bottom: 0;
	}

	.hero-banner--custom__content {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.hero-banner--custom--show-media-mobile .hero-banner--custom__media:not(.hero-banner--custom__media--map) {
		display: block;
		width: 100%;
		flex: 1 1 auto;
		max-width: none;
		min-height: 220px;
		margin-bottom: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.js [data-motion] {
		opacity: 0;
	}

	.js .hero-banner--custom__bg,
	.js .page-contacts__info-bg {
		transform: translateX(-100%);
	}

	.js .hero-banner--custom__content {
		opacity: 0;
	}

	.js .hero-banner--custom__media {
		transform: translateX(100%);
	}

	.js .page-section__text li {
		opacity: 0;
		transform: translateX(-2rem);
	}

	.js .page-section__title-text {
		opacity: 0;
		transform: translateX(-2.5rem);
	}

	.js .page-section__title-line {
		transform: scaleX(0);
		transform-origin: left center;
	}

	.js .page-section--text-bg .page-section__text {
		opacity: 0;
		transform: translateX(-2.5rem);
	}

	.js .page-section--text-bg.page-section--image-left .page-section__text {
		transform: translateX(2.5rem);
	}

	.js .page-section--text-bg .page-section__media {
		opacity: 0;
		transform: translateX(2.5rem);
	}

	.js .page-section--text-bg.page-section--image-left .page-section__media {
		transform: translateX(-2.5rem);
	}

	.js .page-section-cta {
		opacity: 0;
		transform: translateY(2.5rem);
	}
}

/* Hero slider */
.hero-slider {
	position: relative;
	height: 700px;
	color: #fff;
}

.hero-slider .swiper-slide {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
	color: var(--bs-primary);
	background-color: #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
	background-color: var(--bs-primary);
	color: #fff;
}

.hero-slider .swiper-button-prev:focus-visible,
.hero-slider .swiper-button-next:focus-visible {
	outline: 2px solid var(--bs-primary);
	outline-offset: 2px;
}

.hero-slider .swiper-pagination .swiper-pagination-bullet {
	background-color: #fff;
	opacity: 1;
	border: 1px solid #fff;
	width: 12px;
	height: 12px;
}

.hero-slider .swiper-pagination .swiper-pagination-bullet-active {
	background-color: var(--bs-secondary);
	border: 1px solid #fff;
}

/* Sezioni pagina (ACF) */
.page-sections {
	overflow-x: hidden;
}

.page-sections--sidebar .page-section > .container-xxl {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.page-sections--switch .page-section-group {
	transition: opacity 0.35s ease;
}

.page-sections--switch .page-section-group:not(.is-active) {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.page-sections--switch .page-section-group {
		transition: none;
	}
}

.layout-sidebar {
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.layout-sidebar {
		position: sticky;
		top: 4rem;
		max-height: calc(100dvh - 4.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		margin-bottom: 0;
		padding-right: 0.25rem;
	}
}

.page-section {
	padding: 2.5rem 0;
}

.page-section + .page-section {
	padding-top: 0;
}

.page-sections > .page-section:first-child:not(.page-section--primary):not(.page-section--cta),
.page-section--after-hero {
	padding-top: 100px;
}

.page-section--primary {
	background-color: var(--bs-primary);
	color: #fff;
	border-radius: 0;
}

.hero:has(.hero-banner--custom:not(.hero-banner--custom--no-media)) + article > .page-sections:first-child:has(> .page-section--primary:first-child) {
	margin-top: -50px;
}

.hero:has(.hero-banner--custom:not(.hero-banner--custom--no-media)) + article > .page-sections:first-child > .page-section--primary:first-child {
	padding-top: 150px;
}

.page-section--primary:last-child,
.page-section--primary:has(+ .page-section:not(.page-section--primary)) {
	padding-bottom: 100px;
}

.page-section--primary + .page-section:not(.page-section--primary):not(.page-section--cta) {
	padding-top: 100px;
}

.page-section:not(.page-section--primary):not(.page-section--cta):last-child,
.page-section:not(.page-section--primary):has(+ .page-section--primary) {
	padding-bottom: 100px;
}

.page-section:not(.page-section--primary) + .page-section--primary {
	padding-top: 100px;
}

.page-section:not(.page-section--primary) + .page-section:not(.page-section--primary):has(.page-section__title) {
	padding-top: 50px;
}

.page-section.page-section--cta {
	padding-top: 3rem;
	padding-bottom: 5.5rem;
}

.page-sections--sidebar .page-section-group > .page-section:first-child:not(.page-section--primary) {
	padding-top: 0;
}

.page-sections--sidebar .page-section-group > .page-section:last-child,
.page-sections--sidebar .page-section-group > .page-section--primary:last-child,
.page-sections--sidebar .page-section-group > .page-section:not(.page-section--primary):last-child {
	padding-bottom: 0;
}

.page-section--primary .page-section__title,
.page-section--primary .page-section__text,
.page-section--primary .page-section__text a {
	color: #fff;
}

.page-section--primary .page-section__text li {
	background-color: rgba(255, 255, 255, 0.12);
	border-left-color: #fff;
}

.page-section__title {
	position: relative;
	display: block;
	width: max-content;
	max-width: 100%;
	font-size: clamp(1.875rem, 3.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 3rem;
	text-align: left;
	padding-bottom: 0.4rem;
	isolation: isolate;
}

.page-section__title-line {
	position: absolute;
	left: 0;
	right: auto;
	bottom: 0;
	width: clamp(22rem, 70vw, 56rem);
	max-width: calc(100vw - 2rem);
	height: 6px;
	background: linear-gradient(
		90deg,
		var(--bs-primary) 0%,
		var(--bs-primary) 22%,
		rgba(var(--bs-primary-rgb), 0.45) 52%,
		transparent 100%
	);
	transform-origin: left center;
	z-index: 0;
	pointer-events: none;
}

.page-section__title-text {
	position: relative;
	z-index: 1;
	display: block;
}

.page-section--primary .page-section__title-line {
	background: linear-gradient(
		90deg,
		#fff 0%,
		#fff 28%,
		rgba(255, 255, 255, 0.45) 58%,
		transparent 100%
	);
}

.page-section__text p:last-child {
	margin-bottom: 0;
}

.page-section__actions {
	margin-top: 1.5rem;
}

.page-section__text ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.page-section__text li {
	background-color: var(--bs-secondary);
	color: #fff;
	border-left: 8px solid var(--bs-primary);
	border-radius: 12px;
	padding: 0.85rem 1.25rem;
	margin-bottom: 0.75rem;
}

.page-section__text li:last-child {
	margin-bottom: 0;
}

.page-section__text li a {
	display: block;
	font-weight: 700;
	background: #fff;
	color: var(--bs-primary);
	width: fit-content;
	padding: 10px 20px;
	border: none;
	margin-top: 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.page-section--primary .page-section__text li a {
	color: var(--bs-primary);
}

.page-section__text li a:hover,
.page-section__text li a:focus-visible {
	background-color: var(--bs-primary);
	color: #fff;
	text-decoration: none;
}

.page-section--primary .page-section__text li a:hover,
.page-section--primary .page-section__text li a:focus-visible {
	background-color: var(--bs-secondary);
	color: #fff;
}

.page-section__media img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.page-section__gallery {
	margin-top: 2rem;
}

.page-section--text-bg .page-section__text {
	background-color: var(--bs-primary);
	color: #fff;
	border-radius: 24px;
	padding: 1.75rem;
}

.page-section--text-bg .page-section__text a {
	color: #fff;
}

.page-section--text-bg .page-section__text li {
	background-color: rgba(255, 255, 255, 0.12);
	border-left-color: #fff;
}

.page-section--text-bg .page-section__text li a {
	color: var(--bs-primary);
}

.page-section--text-bg .page-section__text li a:hover,
.page-section--text-bg .page-section__text li a:focus-visible {
	background-color: var(--bs-secondary);
	color: #fff;
}

.page-section--text-bg .page-section__media img {
	border-radius: 16px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.page-section__gallery-slider {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.page-section__gallery-slider .swiper-slide {
	height: 100%;
}

.page-section__gallery-slider .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.page-section__gallery-slider .swiper-button-prev,
.page-section__gallery-slider .swiper-button-next {
	width: 2rem;
	height: 2rem;
	margin-top: -0.75rem;
	top: 50%;
	padding: 10px;
	background-color: var(--bs-primary);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}

.page-section__gallery-slider .swiper-button-prev {
	left: 0.5rem;
}

.page-section__gallery-slider .swiper-button-next {
	right: 0.5rem;
}

.page-section__gallery-slider .swiper-button-prev::after,
.page-section__gallery-slider .swiper-button-next::after {
	font-size: 0.5rem;
	font-weight: 700;
}

.page-section__gallery-slider .swiper-button-prev:hover,
.page-section__gallery-slider .swiper-button-next:hover,
.page-section__gallery-slider .swiper-button-prev:focus-visible,
.page-section__gallery-slider .swiper-button-next:focus-visible {
	background-color: var(--bs-secondary);
}

.page-section__gallery-slider .swiper-pagination {
	bottom: 0.6rem;
}

.page-section__gallery-slider .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.7;
}

.page-section__gallery-slider .swiper-pagination-bullet-active {
	background: var(--bs-primary);
	opacity: 1;
}

@media (min-width: 992px) {
	.page-section--image-left .row {
		flex-direction: row-reverse;
	}

	.page-section--text-bg.page-section--text-image,
	.page-section--text-bg.page-section--gallery {
		overflow: visible;
		--page-section-media-overlap: 5rem;
	}

	.page-section--text-bg.page-section--text-image .row,
	.page-section--text-bg.page-section--gallery .row {
		align-items: flex-start;
		overflow: visible;
	}

	.page-section--text-bg.page-section--text-image .page-section__text,
	.page-section--text-bg.page-section--gallery .page-section__text {
		padding: 2rem 5.5rem 2rem 1.75rem;
	}

	.page-section--text-bg.page-section--text-image.page-section--image-left .page-section__text,
	.page-section--text-bg.page-section--gallery.page-section--image-left .page-section__text {
		padding: 2rem 1.75rem 2rem 5.5rem;
	}

	.page-section--text-bg.page-section--text-image .page-section__media,
	.page-section--text-bg.page-section--gallery .page-section__media {
		position: relative;
		z-index: 2;
		margin-left: calc(-1 * var(--page-section-media-overlap));
		flex: 0 0 calc(33.33333333% + var(--page-section-media-overlap));
		max-width: calc(33.33333333% + var(--page-section-media-overlap));
		width: calc(33.33333333% + var(--page-section-media-overlap));
	}

	.page-section--text-bg.page-section--image-left .page-section__media {
		margin-left: 0;
		margin-right: calc(-1 * var(--page-section-media-overlap));
	}
}

/* Contact Form 7 + Bootstrap Italia */
.it-contact-form .wpcf7-form-control-wrap {
	display: block;
}

.it-contact-form .wpcf7-not-valid {
	border-color: var(--bs-danger, #d94a4a);
}

.it-contact-form .wpcf7-not-valid-tip {
	color: var(--bs-danger, #d94a4a);
	font-size: 0.875rem;
	margin-top: 0.25rem;
}

.it-contact-form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: 4px;
}

/*
 * BI nasconde input[type=checkbox] in .form-check (opacity:0) e disegna
 * il box su input+label. CF7 wrappa l'input in <label>, quindi il box
 * sparisce: ripristiniamo la checkbox nativa.
 */
.it-contact-form .form-check {
	padding-left: 0;
	width: auto;
	height: auto;
	margin-bottom: 1rem;
}

.it-contact-form .wpcf7-acceptance .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	margin: 0;
}

.it-contact-form .wpcf7-acceptance .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding-left: 0 !important;
	font-weight: 600;
	cursor: pointer;
}

.it-contact-form .wpcf7-acceptance .wpcf7-list-item label::before,
.it-contact-form .wpcf7-acceptance .wpcf7-list-item label::after {
	content: none !important;
	display: none !important;
}

.it-contact-form .form-check [type="checkbox"],
.it-contact-form .wpcf7-acceptance input[type="checkbox"],
.it-contact-form .form-check-input[type="checkbox"] {
	position: static !important;
	opacity: 1 !important;
	left: auto !important;
	top: auto !important;
	float: none !important;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem;
	margin: 0.15rem 0 0 !important;
	appearance: auto;
	-webkit-appearance: checkbox;
	accent-color: #06c;
	flex-shrink: 0;
	cursor: pointer;
}

.it-contact-form .wpcf7-list-item-label {
	font-weight: 600;
	line-height: 1.4;
}

.it-contact-form .form-check > .form-check-label {
	display: inline;
	padding-left: 0;
	font-weight: 600;
}

.page-section--contacts {
	overflow: visible;
	--contacts-info-bleed-top: 2.5rem;
}

.page-section--contacts.page-section--after-hero {
	--contacts-info-bleed-top: 100px;
}

.page-contacts__info {
	position: relative;
	overflow: hidden;
	z-index: 0;
	color: #fff;
	padding: 2rem 1.75rem;
	padding-top: calc(.5rem + var(--contacts-info-bleed-top));
	padding-left: calc(1.75rem + max(0px, (100vw - 1320px) / 2) + var(--bs-gutter-x, 1.5rem) / 2);
	margin-top: calc(-1 * var(--contacts-info-bleed-top));
	margin-left: calc(-1 * (max(0px, (100vw - 1320px) / 2) + var(--bs-gutter-x, 1.5rem) / 2));
}

.page-contacts__info-bg {
	position: absolute;
	inset: 0;
	background-color: var(--bs-primary);
	border-radius: 0 0 24px 0;
	z-index: -1;
}

.page-contacts__info a {
	color: #fff;
}

.page-contacts__info a:hover,
.page-contacts__info a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.page-contacts__info .icon {
	fill: #fff;
}

.page-contacts__org {
	margin-bottom: 1.25rem;
}

.page-contacts__message {
	margin-bottom: 1.25rem;
}

.page-contacts__message p:last-child {
	margin-bottom: 0;
}

.page-contacts__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-contacts__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.page-contacts__list .icon {
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.page-contacts__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.page-contacts__hours p:last-child {
	margin-bottom: 0;
}

.page-section-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	background-color: var(--bs-primary);
	color: #fff;
	border-radius: 24px;
	padding: 3rem 3.25rem;
}

.page-section-cta__content {
	flex: 1 1 auto;
	min-width: 0;
}

.page-section-cta__content p:last-child {
	margin-bottom: 0;
}

.page-section-cta__content a {
	color: #fff;
}

.page-section-cta__action {
	flex: 0 0 auto;
}

.page-section-cta__action .btn {
	background-color: #fff;
	border-color: #fff;
	color: var(--bs-primary);
	white-space: nowrap;
}

.page-section-cta__action .btn:hover,
.page-section-cta__action .btn:focus-visible {
	background-color: var(--bs-secondary);
	border-color: var(--bs-secondary);
	color: #fff;
}

@media (max-width: 767.98px) {
	.it-header-slim-contacts {
		display: none;
	}

	.it-header-slim-wrapper-content {
		justify-content: flex-end;
	}

	.it-header-slim-right-zone {
		margin-left: auto;
	}

	.page-section-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
		padding: 1.75rem 1.5rem;
		border-radius: 16px;
	}

	.page-section-cta__action .btn {
		display: inline-flex;
		width: 100%;
		justify-content: center;
		white-space: normal;
	}

	.page-section.page-section--cta {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}

	.page-section {
		padding: 1.75rem 0;
	}

	.container-xxl.py-5 {
		padding-top: 1.5rem !important;
		padding-bottom: 1.5rem !important;
	}

	.article-body.pt-5 {
		padding-top: 1.5rem !important;
	}

	.article-body.pb-5 {
		padding-bottom: 1.5rem !important;
	}

	.it-brand-wrapper .it-brand-logo {
		max-height: 2.5rem;
		max-width: min(11rem, 48vw);
	}

	.it-footer .it-brand-logo {
		max-height: 3rem;
		max-width: min(12rem, 70vw);
	}

	.it-footer-copyright {
		flex-direction: column;
		gap: 0.35rem;
	}

	.it-footer-copyright__sep {
		display: none;
	}

	.page-section__text li {
		padding: 0.75rem 1rem;
		border-left-width: 6px;
	}

	.page-section--text-bg .page-section__text {
		padding: 1.25rem;
		border-radius: 16px;
	}

	.news-latest__header {
		margin-bottom: 1.75rem;
	}

	.news-adjacent {
		padding-top: 2rem;
		margin-top: 1.25rem;
	}
}

@media (max-width: 575.98px) {
	.it-search-form__input[type="search"] {
		width: 5.5rem;
		font-size: 0.875rem;
	}

	.hero-banner--custom__content {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.page-section-cta {
		padding: 1.75rem 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-slider .swiper-slide {
		transition: none !important;
	}
}

/* Hero news: kicker, data, categorie */
.hero-banner__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.hero-banner__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	margin: 0.75rem 0 0;
	font-size: 1.05rem;
}

.hero-banner__date {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.hero-banner__date .icon {
	flex-shrink: 0;
	fill: currentColor;
}

.hero-banner__terms {
	margin: 0.75rem 0 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
}

.hero-banner__terms a,
.hero-banner__meta a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.hero-banner__terms a:hover,
.hero-banner__terms a:focus-visible,
.hero-banner__meta a:hover,
.hero-banner__meta a:focus-visible {
	color: #fff;
}

/* News listing + articolo */
.news-featured__side {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: 100%;
}

.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--bs-primary);
	border-radius: 24px;
	overflow: hidden;
	color: #fff;
}

.news-card__link {
	color: inherit;
	text-decoration: none;
}

.news-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.news-card:focus-within {
	box-shadow: inset 0 0 0 3px #fff;
}

.news-card__link:hover,
.news-card__link:focus-visible {
	color: inherit;
	text-decoration: none;
}

.news-card__link:focus-visible {
	outline: none;
}

.news-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: var(--bs-secondary);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	transform: scale(1);
	transition: transform 0.7s cubic-bezier(0.45, 0.05, 0.25, 1);
}

.news-card--side .news-card__media {
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.news-card__body {
	position: relative;
	z-index: 0;
	padding: 1.25rem 1.5rem 1.5rem;
	transition: background-color 0.45s cubic-bezier(0.33, 0, 0.2, 1);
}

.news-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.4rem;
	font-size: 0.875rem;
	color: #fff;
}

.news-card__date .icon {
	flex-shrink: 0;
	fill: currentColor;
}

.news-card__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.news-card__title .news-card__link {
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size 0.45s cubic-bezier(0.33, 0, 0.2, 1);
}

.news-card:hover .news-card__media,
.news-card:focus-within .news-card__media {
	transform: scale(1.06);
}

.news-card:hover .news-card__title .news-card__link,
.news-card:focus-within .news-card__title .news-card__link {
	background-size: 100% 2px;
}

.news-card--featured .news-card__date {
	margin-bottom: 0;
}

.news-card--featured .news-card__title {
	font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.news-card__cats {
	position: relative;
	z-index: 2;
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.news-card:not(.news-card--featured) .news-card__cats {
	margin: 0 0 0.4rem;
}

.news-card__cats a {
	position: relative;
	z-index: 2;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.18em;
	transition: text-decoration-color 0.35s cubic-bezier(0.33, 0, 0.2, 1);
}

.news-card__cats a:hover,
.news-card__cats a:focus-visible {
	color: #fff;
	text-decoration-color: currentColor;
}

.news-card--featured {
	display: grid;
	grid-template-columns: minmax(15rem, 38%) 1fr;
	min-height: 420px;
}

.news-card--featured .news-card__media {
	grid-column: 1 / -1;
	grid-row: 1;
	aspect-ratio: auto;
	min-height: 100%;
	height: 100%;
}

.news-card--featured .news-card__body {
	grid-column: 1;
	grid-row: 1;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 100%;
	padding: 1.75rem 1.5rem 1.5rem;
	background-color: var(--bs-primary);
}

.news-card--featured .news-card__heading {
	min-width: 0;
}

.news-card--featured .news-card__date {
	margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
	.news-card__media,
	.news-card__title .news-card__link,
	.news-card__cats a,
	.news-card__body {
		transition: none;
	}

	.news-card:hover .news-card__media,
	.news-card:focus-within .news-card__media {
		transform: none;
	}
}

.news-empty {
	margin: 0;
}

.news-archive__intro {
	max-width: 48rem;
	padding-bottom: 0;
}

.news-pagination {
	margin-top: 2.5rem;
}

.news-article__content {
	font-size: 1.125rem;
	line-height: 1.7;
}

.news-article__content > *:first-child {
	margin-top: 0;
}

.news-article__content img {
	max-width: 100%;
	height: auto;
}

.news-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
	padding: 1.15rem 1.5rem;
	background-color: var(--bs-primary);
	color: #fff;
	border-radius: 24px;
}

.news-share__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.news-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	color: var(--bs-primary);
}

.news-share__btn .icon {
	fill: var(--bs-primary);
}

.news-share__btn:hover,
.news-share__btn:focus-visible {
	background-color: var(--bs-secondary);
}

.news-share__btn:hover .icon,
.news-share__btn:focus-visible .icon {
	fill: #fff;
}

.news-share__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.news-share__btn[data-copied] {
	background-color: var(--bs-secondary);
}

.news-share__btn[data-copied] .icon {
	fill: #fff;
}

.news-tags {
	margin-top: 2rem;
}

.news-tags__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--bs-primary);
}

.news-sidebar__block {
	border: 1px solid color-mix(in srgb, var(--bs-primary) 18%, transparent);
	border-radius: 24px;
	overflow: hidden;
	background-color: #fff;
}

.news-sidebar__block + .news-sidebar__block {
	margin-top: 1.5rem;
}

.news-sidebar__title {
	margin: 0;
	padding: 0.85rem 1.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	background-color: var(--bs-primary);
}

.news-sidebar__body {
	padding: 1rem 1.25rem 1.25rem;
}

.news-sidebar__body .link-list {
	margin-bottom: 0;
}

.news-sidebar__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.news-related {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-related__item + .news-related__item {
	margin-top: 1rem;
}

.news-related__link {
	display: flex;
	gap: 0.85rem;
	color: inherit;
	text-decoration: none;
}

.news-related__link:hover,
.news-related__link:focus-visible {
	color: inherit;
	text-decoration: none;
}

.news-related__media {
	flex: 0 0 4.5rem;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 12px;
	background-color: var(--bs-secondary);
	background-size: cover;
	background-position: center;
}

.news-related__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.news-related__date {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	color: var(--bs-secondary);
}

.news-related__date .icon {
	flex-shrink: 0;
	fill: currentColor;
}

.news-related__name {
	font-weight: 700;
	color: var(--bs-primary);
	line-height: 1.3;
}

.news-related__link:hover .news-related__name,
.news-related__link:focus-visible .news-related__name {
	text-decoration: underline;
}

.news-adjacent {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	padding-top: 3rem;
	margin-top: 2rem;
	border-top: 1px solid var(--bs-border-color, #d9dadb);
}

.news-adjacent__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.news-adjacent__link--next {
	text-align: right;
	align-items: flex-end;
}

.news-adjacent__link--empty {
	pointer-events: none;
}

.news-adjacent__dir {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-primary);
}

.news-adjacent__dir .icon {
	fill: currentColor;
}

.news-adjacent__title {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bs-body-color);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-adjacent__link:hover .news-adjacent__title,
.news-adjacent__link:focus-visible .news-adjacent__title {
	color: var(--bs-primary);
	text-decoration: underline;
}

.news-adjacent__link:focus-visible {
	outline: 2px solid var(--bs-primary);
	outline-offset: 4px;
}

@media (max-width: 575.98px) {
	.news-adjacent {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.news-adjacent__link--next {
		text-align: left;
		align-items: flex-start;
	}

	.news-adjacent__link--empty {
		display: none;
	}
}

.news-latest {
	padding-top: 100px;
}

.news-latest__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}

.news-latest__header .page-section__title {
	margin-bottom: 0;
}

.news-latest__cta {
	flex-shrink: 0;
	margin-left: auto;
}

.news-latest__footer {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.news-latest__footer .news-latest__cta {
	margin-left: 0;
}

@media (max-width: 991.98px) {
	.page-sections > .page-section:first-child:not(.page-section--primary):not(.page-section--cta),
	.page-section--after-hero {
		padding-top: 3rem;
	}

	.hero:has(.hero-banner--custom:not(.hero-banner--custom--no-media)) + article > .page-sections:first-child:has(> .page-section--primary:first-child) {
		margin-top: -1.5rem;
	}

	.hero:has(.hero-banner--custom:not(.hero-banner--custom--no-media)) + article > .page-sections:first-child > .page-section--primary:first-child {
		padding-top: 4rem;
	}

	.page-section--primary:last-child,
	.page-section--primary:has(+ .page-section:not(.page-section--primary)),
	.page-section:not(.page-section--primary):not(.page-section--cta):last-child,
	.page-section:not(.page-section--primary):has(+ .page-section--primary) {
		padding-bottom: 3rem;
	}

	.page-section--primary + .page-section:not(.page-section--primary):not(.page-section--cta),
	.page-section:not(.page-section--primary) + .page-section--primary {
		padding-top: 3rem;
	}

	.page-section:not(.page-section--primary) + .page-section:not(.page-section--primary):has(.page-section__title) {
		padding-top: 2rem;
	}

	.page-section__title {
		margin-bottom: 1.75rem;
		font-size: clamp(1.5rem, 6vw, 2rem);
	}

	.page-section--contacts {
		--contacts-info-bleed-top: 1.5rem;
	}

	.page-section--contacts.page-section--after-hero {
		--contacts-info-bleed-top: 3rem;
	}

	.page-contacts__info {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		margin-left: -.8rem;
		margin-right: -.8rem;
		border-radius: 0 0 16px 0;
	}

	.page-contacts__info-bg {
		border-radius: 0 0 16px 0;
	}

	.hero-banner--custom__content {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.news-latest {
		padding-top: 3rem;
	}

	.news-latest__header {
		gap: 0.75rem 1rem;
	}

	.news-card--featured {
		display: flex;
		min-height: 0;
	}

	.news-card--featured .news-card__media {
		position: relative;
		aspect-ratio: 16 / 9;
		min-height: 200px;
		height: auto;
	}

	.news-card--featured .news-card__body {
		min-height: 12rem;
	}

	.layout-sidebar {
		margin-bottom: 1.5rem;
	}

	.sidebar-wrapper.page-section-nav {
		border-right: none;
	}

	.sidebar-wrapper.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper .link-list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.page-section-nav .link-list > li {
		flex: 0 1 auto;
		max-width: 100%;
	}

	.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper ul li a.list-item {
		display: block;
		padding: 0.5rem 1rem;
		line-height: 1.4;
		border: 1px solid color-mix(in srgb, var(--bs-primary) 30%, transparent);
		border-radius: 1.25rem;
		white-space: normal;
		max-width: 100%;
	}

	.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper ul li a.list-item:hover {
		border-color: var(--bs-primary);
	}

	.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper ul li a.active::after {
		content: none;
	}

	.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper ul li a.list-item.active {
		background-color: var(--bs-primary);
		border-color: var(--bs-primary);
	}

	.page-section-nav .sidebar-linklist-wrapper .link-list-wrapper ul li a.list-item.active span {
		color: #fff;
	}
}
/* Hero home: frasi che scorrono sulla stessa foto */
.hero-slider--phrases .hero-slider__title {
	max-width: 24ch;
	margin-inline: auto;
	font-size: clamp(2rem, 4.6vw, 3.75rem);
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

.hero-slider--phrases .hero-slider__title::after {
	content: "";
	display: block;
	width: 0;
	height: 4px;
	margin: 1.25rem auto 0;
	background: #fff;
}

.hero-slider--phrases .swiper-slide .hero-slider__title {
	opacity: 0;
	transform: translateX(-80px);
}

.hero-slider--phrases .swiper-slide-active .hero-slider__title {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s ease 0.3s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.hero-slider--phrases .swiper-slide-active .hero-slider__title::after {
	width: 6rem;
	transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s;
}

@media (prefers-reduced-motion: reduce) {
	.hero-slider--phrases .swiper-slide .hero-slider__title,
	.hero-slider--phrases .swiper-slide-active .hero-slider__title {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.hero-slider--phrases .swiper-slide-active .hero-slider__title::after {
		width: 6rem;
		transition: none;
	}
}

/* Home: percorso Ediltermica (unico interlocutore) */
.home-process {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.home-process__lead {
	max-width: 62rem;
	margin: 0 0 3rem;
	font-size: clamp(1.125rem, 1.6vw, 1.5rem);
	line-height: 1.5;
	font-weight: 600;
}

.home-process__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.home-process__step {
	position: relative;
	padding: 1.5rem 1.5rem 1.75rem;
	background: #fff;
	color: var(--bs-primary);
	border-radius: 12px;
	border-left: 4px solid var(--bs-secondary);
}

.home-process__icon {
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 0.9rem;
	fill: var(--bs-secondary);
}

.home-process__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--bs-primary);
}

.home-process__text {
	margin: 0;
	color: #1a1a1a;
}

@media (max-width: 991.98px) {
	.home-process {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.home-process__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575.98px) {
	.home-process__steps {
		grid-template-columns: 1fr;
	}
}

/* Banner di contatto (più pulsanti) */
.page-section-cta__action--multi {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.page-section-cta__content .h3 {
	margin: 0 0 0.5rem;
	color: #fff;
}

@media (max-width: 767.98px) {
	.page-section-cta__action--multi {
		flex-direction: column;
	}
}

/* Realizzazioni: titolo e introduzione */
.cpt-showcase__intro {
	max-width: 56rem;
	margin: 0 0 2rem;
	font-size: 1.125rem;
	line-height: 1.55;
}

.cpt-showcase .page-section__title-text {
	text-transform: none;
}

.hero-banner__lead-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.3;
}

.hero-banner__lead-text {
	max-width: 48rem;
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.55;
}

/* Pagina con modulo CF7 (es. Lavora con noi) */
.article-content--form {
	max-width: 56rem;
	margin-inline: auto;
}

.it-contact-form .form-group {
	margin-bottom: 1.5rem;
}

.it-contact-form .form-group label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
}

.it-contact-form input.form-control,
.it-contact-form textarea.form-control {
	width: 100%;
}

.it-contact-form input[type="file"].form-control {
	padding: 0.65rem 0.75rem;
	border: 1px solid #5c6f82;
	border-radius: 4px;
	background: #fff;
}

.it-contact-form .form-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875rem;
	color: #455b71;
}

.it-contact-form .wpcf7-submit {
	min-width: 12rem;
}

@media (max-width: 575.98px) {
	.it-contact-form .wpcf7-submit {
		width: 100%;
	}
}

/* Pagina a schede (es. Chi siamo): una sezione per volta */
.section-tabs {
	margin-bottom: 0;
}

.section-tabs .nav-link {
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 1rem 1.6rem;
}

.page-tabs .tab-pane > .page-section:first-child {
	padding-top: 3.5rem;
}

@media (max-width: 767.98px) {
	.section-tabs .nav-link {
		font-size: 0.95rem;
		padding: 0.8rem 0.9rem;
	}
}

/* Header: menu accanto al logo (stessa riga), logo piu' grande */
@media (min-width: 992px) {
	.it-header-wrapper .it-header-center-wrapper .it-header-center-content-wrapper {
		display: flex;
		align-items: center;
		gap: 2.5rem;
		padding-top: 0.9rem;
		padding-bottom: 0.9rem;
	}

	.it-header-wrapper .it-header-center-wrapper .it-brand-wrapper {
		flex: 0 0 auto;
	}

	.it-header-wrapper .it-brand-wrapper .it-brand-logo {
		height: 5.25rem;
		max-height: none;
		max-width: 17rem;
	}

	.it-header-wrapper .it-header-center-wrapper .it-header-navbar-wrapper {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		background-color: transparent !important;
		border: 0 !important;
	}

	.it-header-wrapper .it-header-center-wrapper .it-header-navbar-wrapper .navbar {
		padding: 0;
	}

	.it-header-wrapper .it-header-center-wrapper .it-right-zone {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.it-header-wrapper--light .it-header-center-wrapper {
		border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.2);
	}
}

@media (min-width: 992px) {
	.it-header-wrapper .it-header-center-wrapper .navbar-nav .nav-link {
		white-space: nowrap;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.it-header-wrapper .it-header-center-wrapper .it-socials {
		display: none !important;
	}

	.it-header-wrapper .it-header-center-wrapper .it-header-center-content-wrapper {
		gap: 1rem;
	}

	.it-header-wrapper .it-brand-wrapper .it-brand-logo {
		height: 4.25rem;
	}

	.it-header-wrapper .it-header-center-wrapper .navbar-nav .nav-link {
		padding-left: 0.7rem;
		padding-right: 0.7rem;
		font-size: 0.95rem;
	}

	.it-header-wrapper .it-header-center-wrapper .it-search-form__input {
		width: 6rem;
	}
}

@media (max-width: 991.98px) {
	.it-header-wrapper .it-brand-wrapper .it-brand-logo {
		height: 3.5rem;
		max-height: none;
	}
}

/* Hero home: overlay piu' leggero */
.hero-slider--phrases .hero-slider__overlay {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.18) 0%,
		rgba(0, 0, 0, 0.38) 100%
	);
}

.hero-slider--phrases .hero-slider__title {
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

/* Pulsante pausa/riprendi per gli slider che scorrono da soli (WCAG 2.2.2) */
.slider-autoplay-toggle {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--bs-primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.slider-autoplay-toggle .icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

.slider-autoplay-toggle:hover {
	background: var(--bs-primary);
	color: #fff;
}

.slider-autoplay-toggle:focus-visible {
	outline: 3px solid var(--bs-secondary);
	outline-offset: 2px;
}

.it-search-form__input[type="search"]:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Moduli: frase sui campi obbligatori */
.form-required-note {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
}

/* Contatti: il blocco blu esce a filo del bordo, senza creare scroll orizzontale (WCAG 1.4.10) */
.page-section--contacts {
	overflow-x: clip;
}
