/* Burger menu desktop — Studio Zurzolo (attivo solo dove c'è l'header desktop, >=1100px) */
@media (min-width: 1100px) {

	/* nasconde le voci orizzontali, resta solo Prenota */
	#header.desk .desk-menu > ul > li {
		display: none;
	}
	#header.desk .desk-menu > ul > li.prenotamenumob {
		display: inline-block;
	}

	/* bottone burger nell'header */
	.zrz-burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 46px;
		height: 46px;
		margin-left: 18px;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.14);
		cursor: pointer;
		transition: background .3s ease;
		flex-shrink: 0;
	}
	.zrz-burger span {
		display: block;
		width: 22px;
		height: 2px;
		border-radius: 2px;
		background: #ffffff;
		transition: background .3s ease, transform .3s ease;
	}
	.zrz-burger:hover {
		background: rgba(255, 255, 255, 0.28);
	}
	.zrz-burger:hover span {
		background: #f9dd79;
	}

	/* variante scura: pagine con header bianco (logo scuro visibile) e header sticky */
	.zrz-burger.zrz-dark,
	#header.fixed-position .zrz-burger {
		background: rgba(29, 68, 136, 0.10);
	}
	.zrz-burger.zrz-dark span,
	#header.fixed-position .zrz-burger span {
		background: #1d4488;
	}
	.zrz-burger.zrz-dark:hover,
	#header.fixed-position .zrz-burger:hover {
		background: rgba(29, 68, 136, 0.18);
	}
	.zrz-burger.zrz-dark:hover span,
	#header.fixed-position .zrz-burger:hover span {
		background: #cb436d;
	}
}

.zrz-burger {
	display: none;
}
@media (min-width: 1100px) {
	.zrz-burger {
		display: inline-flex;
	}
}

/* ===== overlay ===== */
.zrz-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: linear-gradient(135deg, #1d4488 0%, #183c6c 100%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility .35s ease;
	overflow-y: auto;
}
.zrz-overlay.zrz-open {
	opacity: 1;
	visibility: visible;
}
body.zrz-locked {
	overflow: hidden;
}

.zrz-overlay-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 50px 60px;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.zrz-overlay-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
}
.zrz-overlay-top img {
	max-height: 74px;
	width: auto;
}
.zrz-close {
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: all .3s ease;
}
.zrz-close:hover {
	border-color: #f9dd79;
	color: #f9dd79;
	transform: rotate(90deg);
}

.zrz-overlay-body {
	display: flex;
	gap: 60px;
	flex: 1;
}
.zrz-nav {
	flex: 1.6;
}
.zrz-aside {
	flex: 1;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	padding-left: 50px;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
}

.zrz-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.zrz-item {
	margin-bottom: 6px;
	opacity: 0;
	transform: translateY(18px);
}
.zrz-open .zrz-item {
	animation: zrzFadeUp .45s ease forwards;
}
.zrz-open .zrz-item:nth-child(1) { animation-delay: .05s; }
.zrz-open .zrz-item:nth-child(2) { animation-delay: .1s; }
.zrz-open .zrz-item:nth-child(3) { animation-delay: .15s; }
.zrz-open .zrz-item:nth-child(4) { animation-delay: .2s; }
.zrz-open .zrz-item:nth-child(5) { animation-delay: .25s; }
.zrz-open .zrz-item:nth-child(6) { animation-delay: .3s; }
.zrz-open .zrz-item:nth-child(7) { animation-delay: .35s; }
.zrz-open .zrz-item:nth-child(8) { animation-delay: .4s; }
.zrz-open .zrz-item:nth-child(9) { animation-delay: .45s; }
@keyframes zrzFadeUp {
	to { opacity: 1; transform: translateY(0); }
}

.zrz-item > a {
	font-family: bold, sans-serif;
	font-size: clamp(26px, 2.6vw, 38px);
	line-height: 1.35;
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	transition: color .25s ease, padding-left .25s ease;
}
.zrz-item > a:hover,
.zrz-item.zrz-current > a {
	color: #f9dd79;
	padding-left: 10px;
}

.zrz-sub {
	margin: 2px 0 14px 0 !important;
	padding-left: 4px !important;
}
.zrz-sub li {
	display: inline-block;
	margin: 0 22px 4px 0;
}
.zrz-sub a {
	font-family: semibold, sans-serif;
	font-size: 16px;
	color: #f78caa;
	text-decoration: none;
	transition: color .25s ease;
}
.zrz-sub a:hover {
	color: #ffffff;
}

.zrz-cta {
	margin-top: 30px;
}
.zrz-cta a {
	display: inline-block;
	font-family: bold, sans-serif;
	text-transform: uppercase;
	font-size: 17px;
	letter-spacing: 1px;
	color: #ffffff;
	background: #cb436d;
	border-radius: 100px;
	padding: 16px 52px;
	text-decoration: none;
	transition: all .3s ease;
}
.zrz-cta a:hover {
	background: #f9dd79;
	color: #1d4488;
}

.zrz-aside .zrz-aside-title {
	font-family: italic, serif;
	font-size: 34px;
	color: #f78caa;
	margin-bottom: 4px;
}
.zrz-aside p {
	font-family: regular, sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}
.zrz-aside a {
	color: #ffffff;
	text-decoration: none;
	transition: color .25s ease;
}
.zrz-aside a:hover {
	color: #f9dd79;
}
.zrz-aside .zrz-aside-label {
	font-family: bold, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #f9dd79;
	margin-bottom: 6px;
}

/* widget MioDottore nel footer: un po' d'aria sopra */
#footer .zl-facility-url,
#footer iframe[src*="miodottore"] {
	display: inline-block;
	margin-top: 25px;
}

/* sotto il breakpoint desktop l'overlay non serve (c'è il menu mobile del tema) */
@media (max-width: 1099px) {
	.zrz-overlay,
	.zrz-burger {
		display: none !important;
	}
}
