/* Header e menu a scomparsa. Misure prese dal live (Elementor 500) il 17/11:
   barra 150 px (110 sotto 768), hamburger 34 px, logo 150 (110), WhatsApp 40.
   Menu aperto: pannello giallo a schermo intero, voci bianche 40/80 (32/48),
   voce della pagina corrente e hover in nero con sottolineatura. */

.spz-header {
	background: var(--spz-giallo);
}

.spz-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--spz-container);
	height: 150px;
	margin-inline: auto;
}

.spz-header__icon {
	display: inline-flex;
	padding: 0;
	background: none;
	border: 0;
	color: var(--spz-nero);
	cursor: pointer;
	line-height: 1;
}

.spz-header__burger .spz-icon {
	width: 34px;
	height: 34px;
}

.spz-header__wa .spz-icon {
	width: 40px;
	height: 40px;
}

.spz-header__logo {
	display: block;
	flex: none;
	width: 150px;
}

.spz-header__logo img {
	width: 150px;
	height: 150px;
}

@media (max-width: 1024px) {
	.spz-header__inner {
		max-width: 1024px;
		padding-inline: 10px;
	}
}

@media (max-width: 767px) {
	.spz-header {
		padding-inline: 20px;
	}

	.spz-header__inner {
		height: 110px;
		gap: 0;
		padding-inline: 0;
	}

	.spz-header__logo,
	.spz-header__logo img {
		width: 110px;
		height: 110px;
	}
}

/* Menu a scomparsa */
.spz-oc {
	position: fixed;
	inset: 0;
	z-index: 1000;
	overflow: auto;
	background: var(--spz-giallo);
	box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

.spz-oc[hidden] {
	display: none;
}

.spz-oc__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-height: 100vh;
}

.spz-oc.is-open .spz-oc__content {
	animation: spz-fade-in 1.25s both;
}

.spz-oc__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: var(--spz-container);
	height: 170px;
	margin-inline: auto;
}

.spz-oc__close,
.spz-oc__spacer {
	display: inline-flex;
	padding: 0;
	background: none;
	border: 0;
	line-height: 1;
}

.spz-oc__close {
	color: var(--spz-bianco);
	cursor: pointer;
}

.spz-oc__spacer {
	color: var(--spz-giallo);
}

.spz-oc__close .spz-icon,
.spz-oc__spacer .spz-icon {
	width: 40px;
	height: 40px;
}

.spz-oc__logo {
	width: 150px;
	height: 150px;
}

.spz-oc__nav {
	display: flex;
	justify-content: center;
}

.spz-oc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.spz-oc__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	color: var(--spz-bianco);
	font-size: 40px;
	font-weight: 700;
	line-height: 80px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s;
}

.spz-oc__item::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--spz-nero);
	opacity: 0;
	transition: opacity 0.3s;
}

.spz-oc__item.is-current,
.spz-oc__item:focus-visible {
	color: var(--spz-nero);
}

@media (hover: hover) {
	.spz-oc__item:hover {
		color: var(--spz-nero);
	}

	.spz-oc__item:hover::after {
		opacity: 1;
	}
}

/* La voce corrente sul live ha la sottolineatura gialla: su fondo giallo non si vede. */
.spz-oc__item.is-current::after {
	background: var(--spz-giallo);
}

@media (max-width: 1024px) {
	.spz-oc__top {
		padding-inline: 10px;
	}
}

@media (max-width: 767px) {
	.spz-oc__top {
		height: 140px;
		padding-inline: 20px 10px;
	}

	.spz-oc__logo {
		width: 120px;
		height: 120px;
	}

	.spz-oc__item {
		font-size: 32px;
		line-height: 48px;
	}
}

@keyframes spz-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spz-oc.is-open .spz-oc__content {
		animation: none;
	}
}

body.spz-oc-open {
	overflow: hidden;
}
