/*
 Theme Name:	OPI Messina
 Theme URI:	    https://cresoft.eu/
 Description:	Tema child Divi per il sito OPI Messina
 Author:		Cresoft
 Author URI:	https://www.cresoft-eu/
 Template:		Divi
 Version:		1.0.43
 License:		GPLv3
 License URI:	https://www.gnu.org/licenses/gpl-3.0.en.html
 Tags:			opi, opi messina, sicilia
 Text Domain:	opi-messina
*/

/* =====================================================================
   FONT DI BASE
   Famiglia locale «Cresoft» (@font-face in fonts.css).
   ===================================================================== */
body {
	font-family: "Cresoft", Arial, sans-serif;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Cresoft", Arial, sans-serif;
	font-weight: 700;
}

.et_pb_button,
button,
input,
select,
textarea {
	font-family: "Cresoft", Arial, sans-serif;
}

/* =====================================================================
   HEADER (Theme Builder)
   Sotto le fasce del tema possono restare briciole di pane o l'immagine
   della home. La navigazione è la barra del tema figlio.
   ===================================================================== */

/* =====================================================================
   FASCIA SUPERIORE
   Header slim di Bootstrap Italia: sfondo #0059b3, altezza circa 48px,
   testo 14px. L'icona del pulsante resta anche sotto i 992px.
   ===================================================================== */
.it-header-slim-wrapper {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 18px;
	background: #0059b3;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.2;
}

.it-header-slim-container {
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.it-header-slim-wrapper-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
}

.it-header-slim-wrapper .navbar-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.it-header-slim-wrapper .navbar-brand img {
	display: block;
	width: auto;
	height: 24px;
	margin-right: 8px;
	object-fit: contain;
}

.it-header-slim-wrapper .navbar-brand span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.it-header-slim-right-zone {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 16px;
	margin-left: auto;
}

.it-header-slim-wrapper .btn-icon {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.it-header-slim-wrapper .it-rounded-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
}

.it-header-slim-wrapper .it-rounded-icon .et-pb-icon {
	font-family: ETmodules !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 16px;
	line-height: 1;
	color: #0059b3;
}

.it-header-slim-wrapper .it-btn-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

@media (min-width: 576px) {
	.it-header-slim-container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.it-header-slim-container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.it-header-slim-wrapper {
		padding-left: 0;
		padding-right: 0;
	}

	.it-header-slim-container {
		max-width: 960px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.it-header-slim-wrapper .it-rounded-icon {
		margin-right: 8px;
	}

	.it-header-slim-wrapper .it-btn-label {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip-path: none;
	}
}

@media (min-width: 1200px) {
	.it-header-slim-container {
		max-width: 1176px;
	}
}

@media (min-width: 1400px) {
	.it-header-slim-container {
		max-width: 1320px;
	}
}

/* =====================================================================
   NAVIGAZIONE
   Barra bianca di Designer Italia sotto la fascia centrale.
   Sotto i 992 px il menu è nel pannello aperto dall'hamburger.
   ===================================================================== */
.it-header-navbar-wrapper {
	box-sizing: border-box;
	background: #fff;
	border-bottom: 1px solid #d9dadb;
}

.it-header-navbar-container {
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 18px;
	padding-right: 18px;
}

.it-header-navbar-wrapper .navbar {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.it-header-navbar-wrapper .custom-navbar-toggler,
.it-header-navbar-wrapper .close-menu,
.it-header-navbar-wrapper .opi-nav-expand,
.it-header-navbar-wrapper .overlay {
	padding: 0;
	border: 0;
	background: transparent;
	color: #0066cc;
	cursor: pointer;
	line-height: 1;
}

.it-header-navbar-wrapper .et-pb-icon {
	font-family: ETmodules !important;
	font-weight: 400;
	font-style: normal;
	line-height: 1;
}

.it-header-navbar-wrapper .custom-navbar-toggler {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
}

.it-header-navbar-wrapper .custom-navbar-toggler .et-pb-icon,
.it-header-navbar-wrapper .close-menu .et-pb-icon {
	font-size: 24px;
}

.it-header-navbar-wrapper .navbar-collapsable {
	display: none;
}

.it-header-navbar-wrapper.is-open .navbar-collapsable {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: transparent;
}

#opi-main-nav.is-open {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 200000;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	box-sizing: border-box;
	background: transparent;
	color: #0066cc;
}

@keyframes opi-nav-panel-in {
	from {
		transform: translate3d(-100%, 0, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes opi-nav-panel-out {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-100%, 0, 0);
	}
}

@keyframes opi-nav-overlay-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes opi-nav-overlay-out {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

#opi-main-nav.is-open.is-closing .menu-wrapper {
	animation: opi-nav-panel-out 0.32s ease forwards;
}

#opi-main-nav.is-open.is-closing .overlay,
#opi-main-nav.is-open.is-closing .close-div {
	animation: opi-nav-overlay-out 0.32s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
	#opi-main-nav.is-open .overlay,
	#opi-main-nav.is-open .menu-wrapper,
	#opi-main-nav.is-open.is-closing .overlay,
	#opi-main-nav.is-open.is-closing .menu-wrapper,
	#opi-main-nav.is-open.is-closing .close-div {
		animation: none;
	}
}

#opi-main-nav.is-open .overlay {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 28, 56, 0.78);
	cursor: pointer;
	animation: opi-nav-overlay-in 0.32s ease;
}

#opi-main-nav.is-open .menu-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: calc(100% - 56px);
	height: 100%;
	min-height: 0;
	box-sizing: border-box;
	padding: 8px 20px 24px 24px;
	overflow: auto;
	background: #fff;
	animation: opi-nav-panel-in 0.32s ease;
}

#opi-main-nav.is-open .nav-link {
	padding: 14px 8px;
}

#opi-main-nav.is-open .dropdown-menu {
	display: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 4px 0 8px;
	overflow: hidden;
}

#opi-main-nav.is-open .nav-item.is-open > .dropdown-menu {
	display: block;
}

#opi-main-nav.is-open .link-list,
#opi-main-nav.is-open .link-list li {
	max-width: 100%;
	min-width: 0;
}

#opi-main-nav.is-open .dropdown-item {
	display: flex;
	align-items: flex-start;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#opi-main-nav.is-open .dropdown-item span,
#opi-main-nav.is-open .nav-link .opi-nav-label {
	min-width: 0;
	flex: 1 1 auto;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#opi-main-nav.is-open .navbar-nav,
#opi-main-nav.is-open .link-list,
#opi-main-nav.is-open .nav-item,
#opi-main-nav.is-open .link-list li {
	list-style: none;
}

#opi-main-nav.is-open .nav-link .opi-nav-caret {
	display: none;
	width: 0;
	height: 0;
	overflow: hidden;
	font-size: 0;
}

#opi-main-nav.is-open .nav-item {
	display: block;
	width: 100%;
	list-style: none;
}

#opi-main-nav.is-open li::marker {
	content: "";
	font-size: 0;
}

#opi-main-nav.is-open .opi-nav-row {
	display: flex;
	align-items: center;
	width: 100%;
}

#opi-main-nav.is-open .nav-link .opi-nav-caret--inline {
	display: none;
}

#opi-main-nav.is-open .dropdown-menu::before,
#opi-main-nav.is-open .dropdown-menu::after {
	content: none;
	display: none;
	width: 0;
	height: 0;
}

#opi-main-nav.is-open a.nav-link,
#opi-main-nav.is-open a.nav-link span.opi-nav-label,
#opi-main-nav.is-open a.dropdown-item,
#opi-main-nav.is-open a.dropdown-item span,
#opi-main-nav.is-open .close-menu,
#opi-main-nav.is-open .opi-nav-expand {
	color: #0066cc;
	-webkit-text-fill-color: #0066cc;
	opacity: 1;
	visibility: visible;
}

#opi-main-nav.is-open .close-div {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	width: 56px;
	box-sizing: border-box;
	justify-content: center;
	padding: 8px 0 0;
}

#opi-main-nav.is-open .close-menu,
#opi-main-nav.is-open .close-menu .et-pb-icon {
	color: #fff;
	-webkit-text-fill-color: #fff;
}

#opi-main-nav.is-open .close-menu,
#opi-main-nav.is-open .opi-nav-expand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	line-height: 1;
}

#opi-main-nav.is-open .nav-link .opi-nav-caret {
	display: none;
}

#opi-main-nav.is-open .opi-nav-caret--fa {
	font-family: "OpiFaSolid", sans-serif;
	font-weight: 900;
}

#opi-main-nav.is-open .opi-nav-caret--divi,
#opi-main-nav.is-open .close-menu .et-pb-icon {
	font-family: ETmodules, sans-serif;
	font-weight: 400;
}

#opi-main-nav.is-open .opi-nav-expand .opi-nav-caret,
#opi-main-nav.is-open .close-menu .et-pb-icon {
	font-size: 24px;
	line-height: 1;
}

.it-header-navbar-wrapper .overlay {
	position: absolute;
	inset: 0;
}

.it-header-navbar-wrapper .menu-wrapper {
	position: relative;
	z-index: 1;
	background: #fff;
	min-height: 100%;
	padding: 8px 0 24px;
}

.it-header-navbar-wrapper .close-div {
	display: flex;
	justify-content: flex-end;
	padding: 8px 12px 0;
}

.it-header-navbar-wrapper .close-menu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
}

.opi-nav-row {
	display: contents;
}

.it-header-navbar-wrapper .navbar-nav,
.it-header-navbar-wrapper .link-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.it-header-navbar-wrapper .nav-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid #e6e9f2;
}

.it-header-navbar-wrapper .nav-link,
.it-header-navbar-wrapper .dropdown-item {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	margin: 0;
	color: #0066cc;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.it-header-navbar-wrapper .nav-link {
	flex: 1 1 auto;
	padding: 14px 8px 14px 24px;
}

.it-header-navbar-wrapper .opi-nav-expand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	min-height: 48px;
}

.it-header-navbar-wrapper .nav-link .opi-nav-caret {
	display: none;
}

.it-header-navbar-wrapper .opi-nav-caret {
	display: block;
	font-size: 16px;
	transition: transform 0.2s ease;
}

.it-header-navbar-wrapper .nav-item.is-open .opi-nav-expand .opi-nav-caret {
	transform: rotate(180deg);
}

.it-header-navbar-wrapper .dropdown-menu {
	display: none;
	flex: 1 1 100%;
	background: #fff;
	padding: 0 0 8px 16px;
}

.it-header-navbar-wrapper .nav-item.is-open > .dropdown-menu {
	display: block;
}

.it-header-navbar-wrapper .dropdown-item {
	display: flex;
	padding: 12px 24px;
	font-weight: 600;
}

.it-header-navbar-wrapper .dropdown-item:hover,
.it-header-navbar-wrapper .dropdown-item:focus,
.it-header-navbar-wrapper .dropdown-item.active {
	background: #f2f7fc;
}

body.opi-nav-open {
	overflow: hidden;
}

.it-header-navbar-wrapper .opi-nav-brand,
.it-header-navbar-wrapper .opi-nav-search {
	display: none;
}

.it-header-navbar-wrapper .opi-nav-brand img {
	display: block;
	width: var(--opi-logo-width-mobile, 48px);
	height: var(--opi-logo-height-mobile, 48px);
	max-width: none;
	object-fit: contain;
}

.it-header-navbar-wrapper .opi-nav-search {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 1;
}

.it-header-navbar-wrapper .opi-nav-search .rounded-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 0;
	background: transparent;
}

.it-header-navbar-wrapper .opi-nav-search .et-pb-icon {
	font-family: ETmodules !important;
	font-size: 24px;
	line-height: 1;
	color: #fff;
}

.it-header-navbar-wrapper.is-stuck {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100000;
	width: 100%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

body.admin-bar .it-header-navbar-wrapper.is-stuck {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .it-header-navbar-wrapper.is-stuck {
		top: 46px;
	}
}

.it-header-navbar-wrapper.is-stuck .it-header-navbar-container {
	display: flex;
	align-items: center;
	gap: 0;
}

.it-header-navbar-wrapper.is-stuck .opi-nav-brand,
.it-header-navbar-wrapper.is-stuck .opi-nav-search {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.it-header-navbar-wrapper.is-stuck .opi-nav-brand {
	flex: 1 1 auto;
	max-width: none;
}

.it-header-navbar-wrapper.is-stuck .opi-nav-search {
	flex: 0 0 auto;
	margin-left: auto;
}

.it-header-navbar-wrapper .opi-nav-title {
	display: none;
	font-weight: 600;
	line-height: 1.15;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.it-header-navbar-wrapper.is-stuck .opi-nav-title {
	display: inline;
}

.it-header-navbar-wrapper.is-stuck .opi-nav-title.is-hidden-mobile {
	display: none;
}

.it-header-navbar-wrapper.is-stuck .navbar {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.it-header-navbar-wrapper.is-open .nav-link,
.it-header-navbar-wrapper.is-open .close-menu,
.it-header-navbar-wrapper.is-open .close-menu .et-pb-icon,
.it-header-navbar-wrapper.is-open .opi-nav-expand,
.it-header-navbar-wrapper.is-open .opi-nav-caret {
	color: #0066cc;
}

@media (max-width: 991px) {
	.opi-header-main {
		position: relative;
	}

	.opi-header-main .it-header-center-wrapper {
		padding-left: 72px;
		padding-right: 18px;
	}

	.opi-header-main .it-header-navbar-wrapper:not(.is-stuck) {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: auto;
		min-height: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		z-index: 4;
		display: flex;
		align-items: center;
	}

	.opi-header-main .it-header-navbar-wrapper:not(.is-stuck) .it-header-navbar-container {
		width: auto;
		max-width: none;
		padding: 0 0 0 4px;
	}

	.opi-header-main .it-header-navbar-wrapper:not(.is-stuck) .navbar {
		min-height: 0;
		width: auto;
	}

	.it-header-navbar-wrapper.is-stuck .it-header-navbar-container {
		padding-left: 0;
		padding-right: 0;
	}

	.it-header-navbar-wrapper.is-stuck .navbar {
		order: -1;
		margin-left: 0;
		margin-right: 0;
		flex: 0 0 auto;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-brand {
		gap: 16px;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-title {
		padding-right: 24px;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-search {
		margin-left: auto;
	}
}

@media (min-width: 576px) {
	.it-header-navbar-container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.it-header-navbar-container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.it-header-navbar-container {
		max-width: 960px;
	}

	.it-header-navbar-wrapper .custom-navbar-toggler,
	.it-header-navbar-wrapper .close-div,
	.it-header-navbar-wrapper .overlay {
		display: none;
	}

	.it-header-navbar-wrapper .navbar {
		display: block;
		width: 100%;
	}

	.it-header-navbar-wrapper .navbar-collapsable,
	.it-header-navbar-wrapper.is-open .navbar-collapsable,
	.it-header-navbar-wrapper .menu-wrapper {
		display: block;
		position: static;
		inset: auto;
		z-index: auto;
		width: 100%;
		min-height: 0;
		padding: 0;
		background: transparent;
	}

	.it-header-navbar-wrapper .navbar-nav {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		width: 100%;
	}

	.it-header-navbar-wrapper .nav-item {
		width: auto;
		flex: 0 0 auto;
		border-bottom: 0;
		flex-wrap: nowrap;
	}

	.it-header-navbar-wrapper .nav-link {
		flex: 0 1 auto;
		padding: 16px 20px;
		gap: 6px;
	}

	.it-header-navbar-wrapper .nav-link .opi-nav-caret {
		display: inline-block;
	}

	.it-header-navbar-wrapper .opi-nav-expand {
		display: none;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-title.is-hidden-mobile {
		display: inline;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-title.is-hidden-desktop {
		display: none;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-brand {
		max-width: 280px;
	}

	.it-header-navbar-wrapper.is-stuck {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100000;
		width: 100%;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	}

	body.admin-bar .it-header-navbar-wrapper.is-stuck {
		top: 32px;
	}

	.it-header-navbar-wrapper .opi-nav-brand,
	.it-header-navbar-wrapper .opi-nav-search {
		display: none;
	}

	.it-header-navbar-wrapper.is-stuck .it-header-navbar-container {
		display: flex;
		align-items: center;
		gap: 24px;
	}

	.it-header-navbar-wrapper.is-stuck .opi-nav-brand,
	.it-header-navbar-wrapper.is-stuck .opi-nav-search {
		display: inline-flex;
		align-items: center;
		flex: 0 0 auto;
	}

	.it-header-navbar-wrapper.is-stuck .navbar {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.it-header-navbar-wrapper .opi-nav-brand img {
		display: block;
		width: auto;
		height: 40px;
	}

	.it-header-navbar-wrapper .opi-nav-search {
		margin-left: auto;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		line-height: 1;
	}

	.it-header-navbar-wrapper .opi-nav-search .rounded-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: #fff;
	}

	.it-header-navbar-wrapper .opi-nav-search .et-pb-icon {
		font-family: ETmodules !important;
		line-height: 1;
	}

	.it-header-navbar-wrapper .nav-item.dropdown {
		position: relative;
	}

	.it-header-navbar-wrapper .dropdown-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
		flex: none;
		min-width: 240px;
		padding: 8px 0;
		background: #fff;
		border: 1px solid #d9dadb;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	}

	.it-header-navbar-wrapper .nav-item.dropdown:hover > .dropdown-menu,
	.it-header-navbar-wrapper .nav-item.dropdown:focus-within > .dropdown-menu,
	.it-header-navbar-wrapper .nav-item.is-open > .dropdown-menu {
		display: block;
	}

	.it-header-navbar-wrapper .dropdown-item {
		padding: 10px 20px;
		white-space: nowrap;
	}

	body.opi-nav-open {
		overflow: auto;
	}
}

@media (min-width: 1200px) {
	.it-header-navbar-container {
		max-width: 1176px;
	}
}

@media (min-width: 1400px) {
	.it-header-navbar-container {
		max-width: 1320px;
	}
}

/* =====================================================================
   FASCIA CENTRALE
   Misure header-center di Bootstrap Italia, come il Comune di Torino.
   Sfondo #0066cc, testo bianco. Stemmi e foto si sostituiscono dopo.
   ===================================================================== */
.it-header-center-wrapper {
	box-sizing: border-box;
	background: #0066cc;
	color: #fff;
	min-height: 80px;
	height: auto;
	display: flex;
	align-items: center;
	padding: 0 18px;
	margin: 0;
}

.it-header-center-container {
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.it-header-center-content-wrapper,
.it-brand-wrapper a,
.it-right-zone,
.it-socials,
.it-socials ul,
.it-search-wrapper,
.it-search-open {
	display: flex;
	align-items: center;
}

.it-header-center-content-wrapper {
	justify-content: space-between;
	flex-basis: 100%;
	min-width: 0;
}

.it-brand-wrapper {
	min-width: 0;
}

.it-brand-wrapper a {
	color: #fff;
	text-decoration: none;
	min-width: 0;
}

.it-brand-wrapper a:hover,
.it-brand-wrapper a:focus {
	color: #fff;
	text-decoration: none;
}

.it-header-center-wrapper .logo-bg {
	display: flex;
	flex-shrink: 0;
	margin-right: 8px;
}

.it-header-center-wrapper .logo-bg .icon {
	width: var(--opi-logo-width-mobile, 48px);
	height: var(--opi-logo-height-mobile, 48px);
	object-fit: contain;
	display: block;
}

.it-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding-right: 24px;
}

.it-header-center-wrapper .it-brand-title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: var(--opi-title-size-mobile, 20px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: normal;
}

.it-header-center-wrapper .it-brand-tagline {
	display: block;
	margin: 4px 0 0;
	padding: 0;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: var(--opi-tagline-size-mobile, 14px);
	font-weight: 400;
	line-height: 1.2;
}

.it-right-zone {
	flex-shrink: 0;
	color: #fff;
}

.it-socials {
	display: none;
	font-size: 0.875rem;
	line-height: 1.2;
}

.it-socials p {
	margin: 0;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.2;
}

.it-socials ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.it-socials a {
	color: #fff;
	text-decoration: none;
	display: flex;
}

.it-socials .et-pb-icon {
	font-size: 24px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	margin-left: 16px;
	color: #fff;
}

.it-socials a:hover .et-pb-icon,
.it-socials a:focus .et-pb-icon {
	color: #f2f2f2;
}

.it-search-wrapper {
	font-size: 0.875rem;
}

.it-search-open {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
}

.it-search-label {
	display: none;
}

.it-header-center-wrapper .rounded-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.it-header-center-wrapper .rounded-icon .et-pb-icon {
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

.it-search-open:focus-visible {
	outline: 4px solid #fff;
	outline-offset: 2px;
}

dialog.opi-header-search:not([open]) {
	display: none !important;
}

.opi-header-search {
	box-sizing: border-box;
	position: fixed;
	z-index: 100000;
	width: calc(100% - 32px);
	max-width: 32rem;
	margin: auto;
	border: 0;
	border-radius: 4px;
	padding: 48px 24px 24px;
	color: #262626;
	background: #fff;
}

.opi-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.opi-header-search::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.opi-header-search__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #0066cc;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.opi-header-search__close .et-pb-icon {
	font-family: ETmodules !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 28px;
	line-height: 1;
}

.opi-header-search h2 {
	margin: 0 0 16px;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 600;
	color: #262626;
}

.opi-header-search label {
	display: block;
	margin-bottom: 8px;
	font-size: 1rem;
	font-weight: 600;
}

.opi-header-search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 16px;
	padding: 12px;
	border: 1px solid #5c6f82;
	border-radius: 4px;
	font-size: 1rem;
	color: #262626;
	background: #fff;
}

.opi-header-search button[type="submit"] {
	appearance: none;
	border: 0;
	border-radius: 4px;
	background: #0066cc;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	padding: 12px 24px;
	cursor: pointer;
}

.opi-header-search button[type="submit"]:hover {
	background: #0053a5;
}

@media (min-width: 576px) {
	.it-header-center-container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.it-header-center-container {
		max-width: 720px;
	}

	.it-search-wrapper {
		margin-left: 40px;
	}

	.it-search-label {
		display: inline;
	}

	.it-header-center-wrapper .rounded-icon {
		margin-left: 8px;
	}
}

@media (min-width: 992px) {
	.it-header-center-wrapper {
		min-height: 120px;
		height: auto;
		padding: 6px 0 0;
	}

	.it-header-center-container {
		max-width: 960px;
	}

	.it-header-center-content-wrapper {
		padding-left: 18px;
		padding-right: 18px;
	}

	.it-header-center-wrapper .logo-bg {
		margin-right: 16px;
	}

	.it-header-center-wrapper .logo-bg .icon {
		width: var(--opi-logo-width, 82px);
		height: var(--opi-logo-height, 82px);
	}

	.it-header-center-wrapper .it-brand-title {
		font-size: var(--opi-title-size, 28px);
	}

	.it-header-center-wrapper .it-brand-tagline {
		font-size: var(--opi-tagline-size, 14px);
	}

	.it-socials {
		display: flex;
	}

	.it-search-wrapper {
		margin-left: 80px;
	}

	.it-header-center-wrapper .rounded-icon {
		width: 48px;
		height: 48px;
		margin-left: 16px;
		border-radius: 24px;
		background: #fff;
		transition: background-color 0.3s;
	}

	.it-header-center-wrapper .rounded-icon .et-pb-icon {
		color: #0066cc;
		font-size: 24px;
	}

	.it-search-open:hover .rounded-icon {
		background: #f2f2f2;
	}
}

@media (min-width: 1200px) {
	.it-header-center-container {
		max-width: 1176px;
	}
}

@media (min-width: 1400px) {
	.it-header-center-container {
		max-width: 1320px;
	}
}

/* =====================================================================
   TITOLI
   pa-h2-section — H2 sezioni home (Notizie, Servizi, Trasparenza)
   opi-h1-preset — H1 pagine
   opi-h2-line-accent — H2 con barra solida + puntinato
   ===================================================================== */
.pa-h2-section h2,
h2.pa-h2-section {
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	margin-bottom: 0;
	line-height: var(--pa-line-heading, 1.15);
}

.pa-h2-section h2::before,
h2.pa-h2-section::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 80px;
	height: 3px;
	background: var(--gcid-primary-color, #016064);
}

.pa-h2-section h2::after,
h2.pa-h2-section::after {
	content: "";
	position: absolute;
	left: 85px;
	bottom: 0;
	width: 6px;
	height: 3px;
	background: var(--gcid-primary-color, #016064);
}

.opi-h1-preset {
	--opi-h1-accent: var(--gcid-primary-color, #016064);
	--opi-h1-accent-2: var(--gcid-secondary-color, #0d8a8f);
	--opi-h1-line: #e8e8e8;
}

.opi-h1-preset h1,
h1.opi-h1-preset {
	position: relative;
	display: inline-block;
	padding-bottom: 18px;
	margin-bottom: 22px;
	line-height: 1.15;
}

.opi-h1-preset h1::before,
h1.opi-h1-preset::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--opi-h1-line);
}

.opi-h1-preset h1::after,
h1.opi-h1-preset::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 74px;
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--opi-h1-accent), var(--opi-h1-accent-2));
	box-shadow: 0 6px 14px rgba(1, 96, 100, 0.18);
}

.opi-h1-preset.et_pb_text_align_center h1::before,
.opi-h1-preset.et_pb_text_align_center h1::after,
h1.opi-h1-preset.et_pb_text_align_center::before,
h1.opi-h1-preset.et_pb_text_align_center::after {
	left: 50%;
	transform: translateX(-50%);
}

.opi-h1-preset.et_pb_text_align_right h1::after,
h1.opi-h1-preset.et_pb_text_align_right::after {
	left: auto;
	right: 0;
}

.opi-h2-line-accent,
h2.opi-h2-line-accent {
	--opi-accent-width: 66px;
	--opi-accent-height: 3px;
	--opi-accent-color: #016064;
	--opi-dot-width: 3px;
	--opi-dot-step: 4px;
	--opi-dot-height: 1px;
	--opi-dot-color: rgba(36, 48, 51, 0.25);
	margin-bottom: 0.75rem;
}

.opi-h2-line-accent.opi-h2-line-accent--dots-tight,
h2.opi-h2-line-accent.opi-h2-line-accent--dots-tight {
	--opi-dot-step: 5px;
}

.opi-h2-line-accent.opi-h2-line-accent--dots-wide,
h2.opi-h2-line-accent.opi-h2-line-accent--dots-wide {
	--opi-dot-step: 10px;
}

.opi-h2-line-accent.opi-h2-line-accent--accent-short,
h2.opi-h2-line-accent.opi-h2-line-accent--accent-short {
	--opi-accent-width: 40px;
}

.opi-h2-line-accent.opi-h2-line-accent--accent-long,
h2.opi-h2-line-accent.opi-h2-line-accent--accent-long {
	--opi-accent-width: 80px;
}

/*
 * Linee decorative sul .et_pb_heading_container (non sul modulo né sull'h2):
 * in Visual Builder Divi usa ::before/::after sul modulo e azzera spesso
 * il padding degli heading → le linee finivano a metà testo.
 */
.opi-h2-line-accent .et_pb_heading_container,
.opi-h2-line-accent.et_pb_heading_container {
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 10px !important;
	box-sizing: border-box;
}

.opi-h2-line-accent h2,
.opi-h2-line-accent .et_pb_module_header,
h2.opi-h2-line-accent {
	position: relative;
	display: block;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
	line-height: 1.15;
}

/* Fallback se la classe è sull'h2 (senza container Divi). */
h2.opi-h2-line-accent {
	padding-bottom: 10px !important;
}

.opi-h2-line-accent .et_pb_heading_container::before,
.opi-h2-line-accent.et_pb_heading_container::before,
h2.opi-h2-line-accent::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: var(--opi-dot-height);
	background-image: repeating-linear-gradient(
		90deg,
		var(--opi-dot-color) 0 var(--opi-dot-width),
		transparent var(--opi-dot-width) var(--opi-dot-step)
	);
	pointer-events: none;
}

.opi-h2-line-accent .et_pb_heading_container::after,
.opi-h2-line-accent.et_pb_heading_container::after,
h2.opi-h2-line-accent::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--opi-accent-width);
	height: var(--opi-accent-height);
	background: var(--opi-accent-color);
	pointer-events: none;
}

.opi-h2-line-accent.et_pb_text_align_center .et_pb_heading_container::after,
.opi-h2-line-accent.et_pb_text_align_center.et_pb_heading_container::after,
h2.opi-h2-line-accent.et_pb_text_align_center::after {
	left: 50%;
	transform: translateX(-50%);
}

.opi-h2-line-accent.et_pb_text_align_right .et_pb_heading_container::after,
.opi-h2-line-accent.et_pb_text_align_right.et_pb_heading_container::after,
h2.opi-h2-line-accent.et_pb_text_align_right::after {
	left: auto;
	right: 0;
}

/* =====================================================================
   HOME — CARD SERVIZI
   Classe colonna/icona: box-servizi
   ===================================================================== */
.box-servizi .et_pb_blurb .et-pb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

.box-servizi:hover .et_pb_blurb .et-pb-icon {
	color: #fff;
	background-color: #016064;
	border-color: #fff;
}

.box-servizi .et_pb_icon .et_pb_icon_wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #016064;
	border-radius: 50%;
	padding: 10px;
	background-color: transparent;
	transition: background-color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

.box-servizi .et_pb_icon .et_pb_icon_wrap .et-pb-icon {
	color: inherit;
	transform: rotate(-45deg);
	transition: transform 0.5s ease-in-out, color 0.5s ease-in-out;
}

.box-servizi:hover .et_pb_icon .et_pb_icon_wrap {
	background-color: #016064;
}

.box-servizi:hover .et_pb_icon .et_pb_icon_wrap .et-pb-icon {
	color: #fff;
	transform: rotate(0deg);
}

/* =====================================================================
   MENU ORGANI (moduli Link Divi con classe menu-ordine)
   Icone FA solo se è presente anche menu-ordine (non sui Link generici).
   ===================================================================== */
.et_pb_link.menu-ordine {
	display: block !important;
	margin-bottom: 4px !important;
	width: 100% !important;
}

.et_pb_link.menu-ordine .et_pb_link_inner {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.et_pb_link.menu-ordine .et_pb_link_inner::after {
	content: none !important;
	display: none !important;
}

.et_pb_link.menu-ordine .et_pb_link_inner::before {
	font-family: "FontAwesome" !important;
	font-weight: 900 !important;
	font-size: 18px !important;
	color: #00a8ff !important;
	margin-right: 14px !important;
	flex-shrink: 0 !important;
	transition: color 0.3s ease !important;
}

.et_pb_link.menu-ordine:hover .et_pb_link_inner::before {
	color: #ffffff !important;
}

.et_pb_link.menu-ordine .et_pb_link_text,
.et_pb_link.menu-ordine .et_pb_link_text p {
	margin: 0 !important;
	padding: 0 !important;
}

.et_pb_link.menu-ordine .et_pb_link_text {
	flex: 1 !important;
}

.et_pb_link.menu-ordine.et_pb_link_0 .et_pb_link_inner::before {
	content: "\f0c0" !important;
}

.et_pb_link.menu-ordine.et_pb_link_1 .et_pb_link_inner::before {
	content: "\f82f" !important;
}

.et_pb_link.menu-ordine.et_pb_link_2 .et_pb_link_inner::before {
	content: "\f1ae" !important;
}

.et_pb_link.menu-ordine.et_pb_link_3 .et_pb_link_inner::before {
	content: "\f500" !important;
}

.et_pb_link.menu-ordine.et_pb_link_4 .et_pb_link_inner::before {
	content: "\f4ff" !important;
}

/* =====================================================================
   FOOTER — MENU INFORMATIVE / TRASPARENZA
   Classe modulo: footer-menu
   ===================================================================== */
.footer-menu.et_pb_menu :is(.et_pb_menu__wrap, .et_pb_menu__menu, .et-menu-nav, .et-menu) {
	display: block !important;
	width: 100%;
	text-align: left;
}

.footer-menu.et_pb_menu .et_mobile_nav_menu {
	display: none;
}

.footer-menu.et_pb_menu .et-menu {
	margin: 0;
	padding: 0;
}

.footer-menu.et_pb_menu .et-menu > li {
	display: block;
	position: relative;
	padding: 0 0 0 22px;
}

.footer-menu.et_pb_menu .et-menu > li > a {
	display: inline-block;
	position: relative;
	padding: 0 0 4px !important;
}

.footer-menu.et_pb_menu .et-menu > li > a:hover {
	opacity: 1;
}

.footer-menu.et_pb_menu .et-menu > li::before {
	content: "\35";
	font-family: "ETmodules";
	position: absolute;
	left: 0;
	color: #515151;
	transition: color 0.3s ease;
}

.footer-menu.et_pb_menu .et-menu > li:hover::before {
	color: #fff;
}

.footer-menu.et_pb_menu .et-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--gcid-secondary-color, #0d8a8f);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.footer-menu.et_pb_menu .et-menu > li > a:hover::after {
	transform: scaleX(1);
}

/* Orari in elenco (footer / contatti, se la classe è sul modulo) */
.orari-di-apertura li {
	margin-bottom: 2px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	transition: all 500ms ease;
}

p.ico-orologio::before {
	content: "\f017" !important;
	font-family: "Font Awesome 5 Free" !important;
	color: #fff;
	margin-right: 6px;
}

/* =====================================================================
   ACCORDION DOCUMENTI
   Classe modulo Accordion: opi-accordion-docs
   --opi-pdf-icon-url impostato da functions.php (URL assoluto)
   ===================================================================== */
.opi-accordion-docs.et_pb_accordion {
	--opi-acc-dot-color: #016064;
	--opi-acc-dot-width: 2px;
	--opi-acc-dot-step: 4px;
	--opi-pdf-icon-url: url("images/icona-pdf.png");
	--opi-pdf-icon-width: 20px;
	--opi-pdf-icon-height: 22px;
	--opi-pdf-icon-gap: 8px;
}

.opi-accordion-docs.opi-accordion-docs--pdf-large {
	--opi-pdf-icon-width: 28px;
	--opi-pdf-icon-height: 30px;
}

.opi-accordion-docs.opi-accordion-docs--pdf-small {
	--opi-pdf-icon-width: 16px;
	--opi-pdf-icon-height: 18px;
}

.opi-accordion-docs.opi-accordion-docs--no-pdf-icon .et_pb_toggle_content a[href$=".pdf"]::before,
.opi-accordion-docs.opi-accordion-docs--no-pdf-icon .et_pb_toggle_content a[href*=".pdf?"]::before,
.opi-accordion-docs.opi-accordion-docs--no-pdf-icon .et_pb_toggle_content a[href*=".pdf#"]::before {
	content: none;
	display: none;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle {
	border: none !important;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_close,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open {
	background-color: transparent !important;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h1.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h2.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h3.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h4.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h5.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion h6.et_pb_toggle_title::before {
	transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > .et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h1.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h2.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h3.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h4.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h5.et_pb_toggle_title::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_open > h6.et_pb_toggle_title::before {
	display: block !important;
	font-family: "ETmodules" !important;
	content: "\33" !important;
	font-weight: 400 !important;
	font-size: 26px !important;
	line-height: 26px !important;
	right: -5px !important;
	color: #fff !important;
	transform: rotate(180deg);
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a.opi-pdf-link {
	display: inline-flex;
	align-items: center;
	gap: var(--opi-pdf-icon-gap);
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a.opi-pdf-link img.opi-pdf-icon {
	display: block;
	width: var(--opi-pdf-icon-width);
	height: var(--opi-pdf-icon-height);
	flex-shrink: 0;
	margin: 0;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href$=".pdf" i]::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf?" i]::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf#" i]::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href$=".pdf"]::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf?"]::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf#"]::before {
	content: "" !important;
	display: inline-block;
	width: var(--opi-pdf-icon-width);
	height: var(--opi-pdf-icon-height);
	margin-right: var(--opi-pdf-icon-gap);
	vertical-align: middle;
	flex-shrink: 0;
	background-image: var(--opi-pdf-icon-url);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href$=".pdf" i]:has(img)::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf?" i]:has(img)::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href$=".pdf"]:has(img)::before,
.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a[href*=".pdf?"]:has(img)::before {
	content: none !important;
	display: none !important;
}

.opi-accordion-docs.et_pb_accordion .et_pb_toggle_content a:hover {
	text-decoration: underline;
}

/* =====================================================================
   PAGINA NEWS (/news/) e SINGOLO ARTICOLO
   Classi: opi-news-list, opi-news-sidebar, opi-news-date, opi-sidebar-title
   ===================================================================== */
.opi-news-list.et_pb_blog .et_pb_post {
	box-shadow: 2px 7px 22px -9px rgba(0, 0, 0, 0.58);
	padding: 40px;
}

.opi-news-list.et_pb_blog .entry-featured-image-url {
	width: 40%;
	float: left;
	margin-bottom: 0 !important;
}

.opi-news-list.et_pb_blog .entry-title,
.opi-news-list.et_pb_blog .post-meta,
.opi-news-list.et_pb_blog .post-content {
	width: 60%;
	float: right;
	padding-left: 30px;
}

.opi-news-list.et_pb_blog .et_pb_post a.more-link {
	text-align: center;
	color: #016064;
	background: transparent;
	border: 2px solid #016064;
	padding: 0.4em 1.3em;
	margin-top: 20px;
	border-radius: 10px;
	display: inline-block;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}

.opi-news-list.et_pb_blog .et_pb_post a.more-link:hover {
	background: #016064;
	color: #fff;
	border-color: #016064;
}

@media (max-width: 480px) {
	.opi-news-list.et_pb_blog .et_pb_post {
		padding: 20px;
	}

	.opi-news-list.et_pb_blog .entry-featured-image-url {
		width: 100%;
	}

	.opi-news-list.et_pb_blog .entry-title,
	.opi-news-list.et_pb_blog .post-meta,
	.opi-news-list.et_pb_blog .post-content {
		width: 100%;
		padding: 5px;
	}

	.opi-news-list.et_pb_blog .entry-title {
		margin-top: 10px;
		font-weight: 600;
	}
}

/* Sidebar News recenti: classe sul modulo oppure subito dopo .sidebar-titoli */
.opi-news-sidebar.et_pb_blog,
.sidebar-titoli + .et_pb_blog {
	margin-top: 12px;
}

.opi-news-sidebar.et_pb_blog .et_pb_post,
.sidebar-titoli + .et_pb_blog .et_pb_post {
	float: none !important;
	overflow: hidden;
	position: relative;
	background: #f7fafb;
	border: 1px solid #e2e8ea;
	border-radius: 6px;
	padding: 16px 12px 12px;
	margin-bottom: 12px !important;
	box-shadow: none;
}

.opi-news-sidebar.et_pb_blog .entry-featured-image-url,
.sidebar-titoli + .et_pb_blog .entry-featured-image-url {
	width: 100px;
	float: left;
	margin-bottom: 0 !important;
	padding-top: 100px;
	display: block;
	position: relative;
}

.opi-news-sidebar.et_pb_blog .entry-featured-image-url img,
.sidebar-titoli + .et_pb_blog .entry-featured-image-url img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}

.opi-news-sidebar.et_pb_blog .entry-title,
.sidebar-titoli + .et_pb_blog .entry-title {
	width: calc(100% - 100px);
	float: left;
	padding-left: 10px;
	font-size: 14px;
	color: #2e2e2e;
	font-weight: 600;
	line-height: 18px;
	margin: 0 0 5px;
}

.opi-news-sidebar.et_pb_blog .published,
.sidebar-titoli + .et_pb_blog .published {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	font-size: 12px;
	color: #fff;
	font-weight: 600;
	line-height: 18px;
	margin: 0;
	display: block;
	background-color: #016064;
	border: 1px solid #fff;
	padding: 4px 8px;
}

.et-l--body .et_pb_column_2_3 {
	position: relative;
}

.opi-news-date.et_pb_text {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: #016064;
	color: #fff;
	border-radius: 30px;
	margin: 0;
	padding: 4px 14px;
}

.opi-news-date.et_pb_text .et_pb_text_inner {
	color: inherit;
}

.opi-sidebar-title,
.sidebar-titoli {
	position: relative;
	font-size: 18px;
	font-weight: 600;
	color: #2e2e2e;
	padding-bottom: 11px;
	margin-top: -4px;
	margin-bottom: 34px !important;
	border-bottom: 1px solid #e8e8e8;
}

.opi-sidebar-title::before,
.sidebar-titoli::before {
	position: absolute;
	content: "";
	bottom: -2px;
	width: 34px;
	border-radius: 5px;
	left: 0;
	border: 2px solid #016064;
}

.autore-img .et_pb_main_blurb_image {
	max-width: 150px;
	width: 60px !important;
}

/* Paginazione WP-PageNavi (escluso plugin PA Navigation) */
.wp-pagenavi:not(.pa-navigation) a,
.wp-pagenavi:not(.pa-navigation) span {
	padding: 0.3em 0.8em !important;
	font-size: 1em !important;
	color: #333333;
	line-height: 2em;
	background: #eeeeee;
	transition: all 0.5s;
}

.wp-pagenavi:not(.pa-navigation) span.current {
	color: #ffffff !important;
	background: #016064 !important;
}

.wp-pagenavi:not(.pa-navigation) a:hover {
	color: #ffffff !important;
	background: #016064 !important;
}

.wp-pagenavi:not(.pa-navigation) .pages {
	background: none;
}

/* =====================================================================
   CONTATTI — MAPPA OSM (Leaflet)
   ===================================================================== */
.opi-osm-map {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 1.5rem 0 2rem;
	border: 1px solid #e2e8ea;
	border-radius: 8px;
	overflow: hidden;
	background: #f7fafb;
}

.opi-osm-map__placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1rem;
	min-height: var(--opi-osm-height, 360px);
	padding: 1.5rem 1.75rem;
	box-sizing: border-box;
}

.opi-osm-map__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	max-width: none !important;
}

.opi-osm-map--has-preview .opi-osm-map__placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(247, 250, 251, 0.88) 100%);
	pointer-events: none;
}

.opi-osm-map__overlay {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	max-width: 40rem;
}

.opi-osm-map--has-preview .opi-osm-map__overlay {
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(226, 232, 234, 0.95);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.opi-osm-map__privacy {
	margin: 0;
	max-width: 40rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #2e2e2e;
}

.opi-osm-map__load {
	appearance: none;
	border: 0;
	border-radius: 4px;
	padding: 0.65rem 1.25rem;
	background: #016064;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
}

.opi-osm-map__load:hover,
.opi-osm-map__load:focus {
	background: #014d50;
	color: #fff;
}

.opi-osm-map__fallback {
	margin: 0;
	font-size: 0.875rem;
}

.opi-osm-map__fallback a {
	color: #016064;
}

.opi-osm-map__canvas {
	width: 100%;
	height: var(--opi-osm-height, 360px);
	z-index: 0;
}

.opi-osm-map .leaflet-container {
	font: inherit;
	z-index: 1;
}

/* Divi/tema: max-width sulle img spezza i marker Leaflet */
.opi-osm-map .leaflet-marker-icon,
.opi-osm-map .leaflet-marker-shadow,
.opi-osm-map .leaflet-tile,
.opi-osm-map .opi-osm-map__preview {
	max-width: none !important;
	max-height: none !important;
}

.opi-osm-map .leaflet-control-attribution {
	font-size: 11px;
	max-width: 100%;
}

/* =====================================================================
   CONTATTI — CARD RECAPITI
   Classi riga: riga-recapiti, col-recapiti / riga-form, col-form
   ===================================================================== */
.riga-recapiti .col-recapiti,
.riga-form .col-form {
	position: relative;
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
	transition: 0.5s;
}

.riga-recapiti .col-recapiti .et-pb-icon {
	position: relative;
	border-radius: 50%;
	font-size: 40px;
	color: #016064;
	background-color: #f2f3f5;
	line-height: 76px;
	text-align: center;
	height: 76px;
	width: 76px;
	display: block;
	z-index: 1;
	transition: 0.5s;
}

.riga-recapiti .col-recapiti .et-pb-icon::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border-radius: 50%;
	background: #016064;
	z-index: -1;
	transform: scale(0, 0);
	transition: all 500ms ease;
}

.riga-recapiti .col-recapiti:hover .et-pb-icon {
	color: #fff;
}

.riga-recapiti .col-recapiti:hover .et-pb-icon::before {
	transform: scale(1, 1);
}

/* Card servizio: modulo Blurb con classe pa-card-servizio */
.et_pb_blurb.pa-card-servizio {
	position: relative;
	height: 100%;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid #d9dadb;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.et_pb_blurb.pa-card-servizio .et_pb_blurb_content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 24px;
	text-align: left;
}

.et_pb_blurb.pa-card-servizio .et_pb_main_blurb_image,
.et_pb_blurb.pa-card-servizio .et_pb_main_blurb_image .et_pb_image_wrap {
	width: auto !important;
	max-width: 64px;
	margin: 0 !important;
}

.et_pb_blurb.pa-card-servizio .et_pb_main_blurb_image img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.et_pb_blurb.pa-card-servizio .et-pb-icon {
	font-size: 40px;
	color: #0066cc;
	line-height: 1;
}

.et_pb_blurb.pa-card-servizio .et_pb_blurb_container {
	width: 100%;
}

.et_pb_blurb.pa-card-servizio .et_pb_module_header {
	margin: 0;
	padding: 0;
}

.et_pb_blurb.pa-card-servizio .et_pb_module_header,
.et_pb_blurb.pa-card-servizio .et_pb_module_header a {
	font-family: "Cresoft", Arial, sans-serif !important;
	font-weight: 600 !important;
	font-size: clamp(20px, 0.417vw + 18.67px, 24px) !important;
	line-height: clamp(24px, 0.833vw + 21.33px, 32px) !important;
	color: #0066cc !important;
	text-decoration: none !important;
}

.et_pb_blurb.pa-card-servizio .et_pb_blurb_description,
.et_pb_blurb.pa-card-servizio .et_pb_blurb_description p {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	color: #19191a;
}

.et_pb_blurb.pa-card-servizio:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.et_pb_blurb.pa-card-servizio:hover .et_pb_module_header a {
	color: #0053a5 !important;
	text-decoration: underline !important;
}

.et_pb_blurb.pa-card-servizio:focus-within {
	outline: 2px solid #0066cc;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.et_pb_blurb.pa-card-servizio {
		transition: none;
	}
}

/* =====================================================================
   FOOTER
   Fascia principale e chiusura, misure Bootstrap Italia 2.16.
   ===================================================================== */
.it-footer {
	box-sizing: border-box;
	color: #fff;
	font-family: "Cresoft", Arial, sans-serif;
	font-size: var(--opi-footer-font, clamp(14px, 0.208vw + 13.33px, 16px));
	line-height: 1.5;
}

.it-footer h2,
.it-footer h3,
.it-footer p,
.it-footer li,
.it-footer address {
	font-family: "Cresoft", Arial, sans-serif;
}

.it-footer a {
	color: #fff;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.it-footer a:hover,
.it-footer a:focus {
	color: #e6e6e6;
}

.it-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.it-footer-main {
	background-color: #004d99;
	padding: 16px 0 32px;
}

.it-footer-container {
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

.it-footer-brand {
	padding: 32px 0;
}

.it-footer-brand a {
	display: flex;
	align-items: center;
	min-width: 0;
	color: #fff;
	text-decoration: none;
}

.it-footer-brand a:hover,
.it-footer-brand a:focus {
	color: #fff;
	text-decoration: none;
}

.it-footer-brand .icon {
	width: 48px;
	height: 48px;
	margin-right: 8px;
	object-fit: contain;
	flex-shrink: 0;
}

.it-footer-brand .it-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-right: 24px;
}

.it-footer-name {
	font-size: var(--opi-footer-name, clamp(18px, 0.208vw + 17.33px, 20px));
	font-weight: 600;
	line-height: 1.1;
}

.it-footer-tagline {
	margin-top: 4px;
	font-size: var(--opi-footer-small, clamp(12px, 0.208vw + 11.33px, 14px));
	font-weight: 400;
	line-height: 1.2;
}

.it-footer-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}

.it-footer-main h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: var(--opi-footer-font, clamp(14px, 0.208vw + 13.33px, 16px));
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.it-footer-main h3.opi-footer-title-rule::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-top: 6px;
	background-color: currentColor;
}

.it-footer-main h3 a {
	text-decoration: none;
}

.it-footer-main h3 a:hover,
.it-footer-main h3 a:focus {
	text-decoration: underline;
}

.it-footer-main ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.it-footer-main li a,
.it-footer address a {
	text-decoration: underline;
	line-height: 2rem;
}

.it-footer address {
	margin: 0;
	font-style: normal;
}

.it-footer address p,
.it-footer-contacts > p {
	margin: 0;
}

.it-footer-contacts address {
	display: flex;
	flex-direction: column;
	gap: var(--opi-footer-contacts-gap, 0px);
}

.it-footer-hours li {
	line-height: 2rem;
}

.it-footer .opi-footer-line {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.it-footer .opi-footer-icon {
	font-family: "OpiFaSolid" !important;
	font-weight: 900 !important;
	font-style: normal !important;
	flex: 0 0 auto;
	width: 1.25em;
	font-size: var(--opi-footer-font, clamp(14px, 0.208vw + 13.33px, 16px));
	line-height: 2rem;
	text-align: center;
	color: #fff;
}

.it-footer .opi-footer-line-text {
	min-width: 0;
}

.it-footer-contacts address p {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.it-footer-contacts address a,
.it-footer-contacts .opi-footer-line,
.it-footer-contacts .opi-footer-icon {
	line-height: 1.2;
}

.it-footer-contacts .opi-footer-line {
	align-items: center;
}

.it-footer-links a.opi-footer-line {
	align-items: center;
	text-decoration: none;
}

.it-footer-links a.opi-footer-line .opi-footer-line-text {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.it-footer-links a.opi-footer-line.opi-external-link .opi-footer-line-text {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.it-footer-links .opi-footer-icon {
	width: 0.85em;
	font-size: 0.7em;
	line-height: 1;
}

.it-footer-booking {
	margin-top: 12px;
	font-weight: 600;
}

.it-footer-booking a {
	font-weight: 600;
	text-decoration-thickness: 2px;
}

.it-footer-follow {
	margin: 16px 0 8px;
	font-weight: 600;
}

.it-footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.it-footer-socials a {
	display: inline-flex;
	line-height: 1;
	text-decoration: none;
}

.it-footer-socials .et-pb-icon {
	font-family: ETmodules !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 24px;
	line-height: 1;
	color: #fff;
}

.it-footer-socials .opi-icon-fa {
	font-family: "OpiFaBrands" !important;
	font-weight: 400 !important;
}

.it-footer-small-prints {
	background-color: #003366;
}

.it-footer-small-prints-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 24px 0;
	list-style: none;
}

.it-footer-small-prints-list a {
	text-decoration: underline;
	font-size: var(--opi-footer-small, clamp(12px, 0.208vw + 11.33px, 14px));
	line-height: 1.5;
}

.opi-external-icon {
	display: block;
	margin-left: 0.3em;
	flex: 0 0 auto;
	align-self: center;
}

.it-footer-main li a.opi-external-link,
.it-footer-small-prints-list a.opi-external-link {
	text-decoration: none;
}

.it-footer-main li a.opi-external-link:not(.opi-footer-line),
.it-footer-small-prints-list a.opi-external-link {
	display: inline-flex;
	align-items: center;
}

.it-footer a.opi-external-link .opi-link-text {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.it-footer-small-prints-list li {
	padding: 8px 0;
}

.it-footer-small-prints-list li:first-child {
	padding-top: 0;
}

.it-footer-small-prints-list li:last-child {
	padding-bottom: 0;
}

@media (min-width: 576px) {
	.it-footer-container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.it-footer-container {
		max-width: 720px;
	}

	.it-footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.it-footer-small-prints-list {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding: 24px 0;
	}

	.it-footer-small-prints-list li {
		padding: 0 16px;
	}

	.it-footer-small-prints-list li:first-child {
		padding-left: 0;
	}

	.it-footer-small-prints-list li:last-child {
		padding-right: 0;
	}
}

@media (min-width: 992px) {
	.it-footer-container {
		max-width: 960px;
	}

	.it-footer-columns {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.it-footer-container {
		max-width: 1176px;
	}
}

@media (min-width: 1400px) {
	.it-footer-container {
		max-width: 1320px;
	}
}


