/* ==========================================================================
   Header by editings – replica dell'header di editings.eu per il blog Foxiz
   ========================================================================== */

:root {
	--edh-acc: #0072FF;
	--edh-soft: #A9CBFF;
	--edh-glow: rgba(0, 114, 255, .75);
	--edh-ov: rgba(0, 21, 64, .86);
	--edh-ink: #0B0B0B;
	--edh-blue: #0072FF;
	--edh-yellow: #FFCE00;
	--edh-top: 0px;
	--edh-h: 96px;
	--edh-gap: 22px;
	--edh-ease: cubic-bezier(.23, 1, .32, 1);
}

body.admin-bar { --edh-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --edh-top: 46px; } }
@media (max-width: 1024px) { :root { --edh-h: 93px; } }
@media (max-width: 768px) { :root { --edh-h: 83px; --edh-gap: 16px; } }

/* L'header di Foxiz non viene più stampato: nascondiamo eventuali resti */
.has-edh-header .header-wrap,
.has-edh-header .header-mobile,
.has-edh-header #header-mobile,
.has-edh-header .header-template { display: none !important; }

.edh *, .edh *::before, .edh *::after,
.edh-layer *, .edh-layer *::before, .edh-layer *::after { box-sizing: border-box; }

.edh .screen-reader-text, .edh-layer .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.edh-ico { display: block; width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Barra
   -------------------------------------------------------------------------- */

.edh {
	position: fixed;
	top: var(--edh-top);
	left: 0;
	right: 0;
	z-index: 9999;
	padding: 15px 75px 0;
	pointer-events: none;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 21px;
	color: #4A4A4A;
	-webkit-font-smoothing: antialiased;
}

.edh-wrap { max-width: 1140px; margin: 0 auto; }

.edh-bar {
	pointer-events: auto;
	display: grid;
	grid-template-columns: 3fr 7fr 3fr;
	align-items: center;
	min-height: 80px;
	padding: 10px 35px;
	border: 2px solid #000;
	border-radius: 12px;
	background: rgba(225, 232, 255, .42);
	-webkit-backdrop-filter: blur(32px) saturate(1.9);
	backdrop-filter: blur(32px) saturate(1.9);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .65),
		inset 0 -1px 0 rgba(255, 255, 255, .15),
		0 10px 35px rgba(0, 0, 0, .08);
	transition: background-color .3s;
}

html.edh-menu-open .edh-bar,
html.edh-search-open .edh-bar { background-color: rgba(225, 232, 255, .94); }

.edh-spacer { height: calc(var(--edh-h) + var(--edh-gap)); }

/* Logo */
.edh-col--logo { display: flex; align-items: center; }
.edh-logo { display: block; line-height: 0; padding: 12px 0; }
.edh-logo, .edh-logo:hover, .edh-logo:focus { text-decoration: none !important; border: 0; box-shadow: none; }
.edh-logo img { display: block; width: 165px; max-width: none; height: auto; }

/* Navigazione */
.edh-col--nav { display: flex; justify-content: center; min-width: 0; }

.edh-nav {
	display: flex;
	align-items: center;
	margin: 0 0 0 35px;
	padding: 0;
	list-style: none;
}

.edh-nav__item { position: relative; margin: 0; padding: 0; list-style: none; }
.edh-nav__item::before, .edh-nav__item::after { content: none !important; }

.edh-nav__link,
.edh-nav__link:visited {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0 25px;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none !important;
	color: #000;
	white-space: nowrap;
	cursor: pointer;
	transition: color .3s;
}

/* Pillola bianca all'hover e sulla voce attiva (come Liquid) */
.edh-nav__link::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -.25em;
	bottom: -.25em;
	left: calc(25px - .85em);
	right: calc(25px - .85em);
	border-radius: 555px;
	background: #fff;
	opacity: 0;
	transform: scale(.85);
	transition: opacity .35s var(--edh-ease), transform .35s var(--edh-ease);
}

.edh-nav__item:hover > .edh-nav__link::before,
.edh-nav__link:focus-visible::before,
.edh-nav__item.is-active > .edh-nav__link::before,
.edh-nav__item.is-open > .edh-nav__link::before { opacity: 1; transform: scale(1); }

.edh-nav__link:hover,
.edh-nav__link:focus { color: #000; }
.edh-nav__item.is-active > .edh-nav__link,
.edh-nav__item.is-active > .edh-nav__link:hover { color: var(--edh-blue); }
.edh-nav__link:focus { outline: none; }
.edh-nav__link:focus-visible { outline: 2px solid var(--edh-blue); outline-offset: 4px; border-radius: 555px; }

/* Lente: stessa pillola, cerchio */
.edh-nav__item--search .edh-nav__link { padding: 0 16px; height: 21px; }
.edh-nav__item--search .edh-nav__link::before {
	left: calc(50% - 17px);
	right: auto;
	top: calc(50% - 17px);
	bottom: auto;
	width: 34px;
	height: 34px;
}
.edh-nav__item--search .edh-ico { width: 18px; height: 18px; }

/* Freccetta accanto a "Blog" */
.edh-nav__caret {
	display: block;
	width: 13px;
	height: 13px;
	margin-right: -4px;
	transition: transform .35s var(--edh-ease);
}
.edh-nav__item--blog:hover .edh-nav__caret,
.edh-nav__item--blog.is-open .edh-nav__caret { transform: rotate(180deg); }
.edh-nav__item--blog .edh-nav__link::before { right: calc(25px - .85em - 4px); }

/* --------------------------------------------------------------------------
   Tendina "Blog" (variante A)
   -------------------------------------------------------------------------- */

.edh-dd {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 2;
	width: 250px;
	padding-top: 22px; /* ponte invisibile: il mouse non "cade" tra voce e tendina */
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .22s var(--edh-ease), transform .3s var(--edh-ease), visibility 0s linear .3s;
}

.edh-dd::before { /* il riquadro */
	content: "";
	position: absolute;
	inset: 22px 0 0;
	z-index: -1;
	border: 2px solid var(--edh-ink);
	border-radius: 14px;
	background: #fff;
	box-shadow: 5px 5px 0 var(--edh-ink);
}

.edh-dd::after { /* beccuccio */
	content: "";
	position: absolute;
	top: 16px;
	left: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--edh-ink);
	border-left: 2px solid var(--edh-ink);
	border-radius: 3px 0 0 0;
	background: #fff;
	transform: rotate(45deg);
}

.edh-nav__item--blog:hover > .edh-dd,
.edh-nav__item--blog:focus-within > .edh-dd,
.edh-nav__item--blog.is-open > .edh-dd {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity .22s var(--edh-ease), transform .3s var(--edh-ease), visibility 0s;
}

.edh-dd__list { margin: 0; padding: 10px 10px 4px; list-style: none; }
.edh-dd__list li { margin: 0; padding: 0; list-style: none; }
.edh-dd__list li::before, .edh-dd__list li::after { content: none !important; }

.edh-dd__item,
.edh-dd__item:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	border: 2px solid transparent;
	border-radius: 9px;
	font-family: "Epilogue", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-decoration: none !important;
	color: var(--edh-ink);
	transition: background-color .2s, border-color .2s, transform .25s var(--edh-ease);
}

.edh-dd__dot {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border: 2px solid var(--edh-ink);
	border-radius: 50%;
	background: var(--c);
	transition: transform .25s var(--edh-ease);
}

.edh-dd__label { flex: 1 1 auto; }

.edh-dd__item::after {
	content: "\2192";
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 900;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s, transform .25s var(--edh-ease);
}

.edh-dd__item:hover,
.edh-dd__item:focus-visible {
	color: var(--edh-ink);
	background: color-mix(in srgb, var(--c) 16%, #fff);
	border-color: var(--edh-ink);
	transform: translateX(3px);
	outline: none;
}
.edh-dd__item:hover .edh-dd__dot,
.edh-dd__item:focus-visible .edh-dd__dot { transform: scale(1.25); }
.edh-dd__item:hover::after,
.edh-dd__item:focus-visible::after { opacity: 1; transform: none; }

.edh-dd__item.is-current { background: color-mix(in srgb, var(--c) 16%, #fff); }

.edh-dd__all,
.edh-dd__all:visited {
	display: block;
	margin: 4px 10px 10px;
	padding: 10px 12px;
	border-top: 2px dashed rgba(11, 11, 11, .18);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--edh-ink);
	transition: color .2s;
}
.edh-dd__all span { display: inline-block; transition: transform .25s var(--edh-ease); }
.edh-dd__all:hover { color: var(--edh-blue); }
.edh-dd__all:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Colonna destra: Contatti, lente mobile, hamburger
   -------------------------------------------------------------------------- */

.edh-col--end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.edh-cta,
.edh-cta:visited {
	display: inline-block;
	border-radius: 10px;
	box-shadow: 6px 6px 0 #000;
	text-decoration: none !important;
	transition: transform .12s cubic-bezier(.22, 1, .36, 1), box-shadow .12s cubic-bezier(.22, 1, .36, 1);
}
.edh-cta span {
	display: block;
	padding: 12px 24px;
	border: 2px solid #000;
	border-radius: 10px;
	background: var(--edh-blue);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 900;
	line-height: 15px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: #fff;
}
.edh-cta:hover,
.edh-cta:active,
.edh-cta:focus-visible { transform: translate(6px, 6px); box-shadow: 0 0 0 #000; }
.edh-cta:focus-visible { outline: none; }

.edh-msearch,
.edh-burger {
	display: none;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 3em;
	background: none;
	box-shadow: none;
	color: #000;
	font: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.edh-msearch:hover, .edh-msearch:focus,
.edh-burger:hover, .edh-burger:focus { background: none; color: #000; box-shadow: none; outline: none; }
.edh-msearch:focus-visible,
.edh-burger:focus-visible { outline: 2px solid var(--edh-blue); outline-offset: -4px; }

.edh-msearch { justify-content: center; width: 44px; height: 55px; }
.edh-msearch .edh-ico { width: 20px; height: 20px; }

.edh-burger { flex-direction: row-reverse; }
.edh-burger__txt {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	color: #000;
}

/* Hamburger "style-1" di Liquid: 3 linee sottili che diventano una X */
.edh-burger__bars {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 55px;
	height: 55px;
	transition: transform .3s cubic-bezier(.65, .05, .36, 1) 0s;
}
.edh-burger__bar {
	position: relative;
	display: block;
	width: 25px;
	height: 1px;
	margin: 0 auto 5px;
	background: #000;
	transition: all .3s cubic-bezier(.65, .05, .36, 1);
}
.edh-burger__bar:last-child { margin-bottom: 0; }
.edh-burger__bar:first-child { width: 16px; margin-left: 24px; margin-right: 15px; }
.edh-burger__bar:nth-child(2) { margin-left: 15px; margin-right: 15px; }
.edh-burger__bar:last-child { width: 16px; }
.edh-burger__bar:nth-child(2)::before {
	content: "";
	position: absolute;
	inset: 0;
	background: inherit;
	transform: rotate(-90deg);
	opacity: 0;
	transition: inherit;
}

html.edh-menu-open .edh-burger__bars { transform: rotate(90deg); transition-delay: .2s; }
html.edh-menu-open .edh-burger__bar:first-child { opacity: 0; visibility: hidden; transform: translateY(-7px); }
html.edh-menu-open .edh-burger__bar:last-child { opacity: 0; visibility: hidden; transform: translateY(7px); }
html.edh-menu-open .edh-burger__bar:nth-child(2) { transform: rotate(45deg); transition-delay: .2s; }
html.edh-menu-open .edh-burger__bar:nth-child(2)::before { opacity: 1; }

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

@media (max-width: 1024px) {
	.edh-bar { display: flex; justify-content: space-between; min-height: 78px; }
	.edh-col--nav, .edh-cta { display: none; }
	.edh-logo { padding: 12px 0; }
	.edh-logo img { width: 135px; }
	.edh-msearch, .edh-burger { display: flex; }
}

@media (max-width: 768px) {
	.edh { padding: 15px 20px 0; }
	.edh-bar { min-height: 68px; padding: 5px 35px; }
	.edh-logo { padding: 0; }
	.edh-logo img { width: 114px; }
	.edh-burger__txt { display: none; }
	.edh-col--end { margin-right: -21px; gap: 0; }
}

@media (max-width: 400px) {
	.edh-bar { padding: 5px 28px; }
}

/* --------------------------------------------------------------------------
   Livelli a tutto schermo (menu e ricerca)
   -------------------------------------------------------------------------- */

.edh-layer {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: none;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: var(--edh-ov);
	-webkit-backdrop-filter: blur(28px) saturate(1.2);
	backdrop-filter: blur(28px) saturate(1.2);
	font-family: "Epilogue", sans-serif;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

.edh-layer.is-open { display: block; animation: edhFadeIn .35s cubic-bezier(.22, 1, .36, 1) both; }
.edh-layer.is-closing { display: block; animation: edhFadeOut .32s cubic-bezier(.4, 0, .6, 1) .26s both; }

@keyframes edhFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes edhFadeOut { from { opacity: 1; } to { opacity: 0; } }

.edh-layer__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: default;
}
.edh-layer__backdrop:hover, .edh-layer__backdrop:focus { background: transparent; outline: none; }

.edh-layer__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 100px 24px;
	pointer-events: none;
	text-align: center;
}
.edh-layer__panel a,
.edh-layer__panel button,
.edh-layer__panel input,
.edh-layer__panel form,
.edh-layer__panel .live-search-response { pointer-events: auto; }

/* Blocco dello scroll della pagina */
@media (pointer: coarse) {
	html.edh-locked, html.edh-locked body { overflow: hidden !important; }
}
@media (pointer: fine) {
	.edh-layer { overflow-y: scroll; scrollbar-width: none; }
	.edh-layer::-webkit-scrollbar { display: none; }
	.edh-layer__panel { min-height: calc(100dvh + 1px); }
}

@media (min-width: 1025px) {
	.edh-menu { display: none !important; }
}

/* Titolo "Naviga ✨" / "Cerca ✨" */
.edh-layer__title {
	position: relative;
	margin: 0 0 24px;
	padding: 0 0 14px .32em;
	font-family: "Epilogue", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 12px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
	pointer-events: none;
	animation: edhUp .6s cubic-bezier(.16, 1, .3, 1) .02s backwards;
}
.edh-layer__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--edh-acc);
	transform: translateX(-50%);
}

@keyframes edhUp { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes edhSide { from { opacity: 0; transform: translate3d(36px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes edhOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(0, -14px, 0); } }

/* --------------------------------------------------------------------------
   Menu mobile
   -------------------------------------------------------------------------- */

.edh-menu__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-shadow: 0 1px 14px rgba(0, 0, 0, .25);
}

.edh-menu__list > * { animation: edhUp .6s cubic-bezier(.16, 1, .3, 1) backwards; }
.edh-menu__list > :nth-child(1) { animation-delay: .06s; }
.edh-menu__list > :nth-child(2) { animation-delay: .1s; }
.edh-menu__list > :nth-child(3) { animation-delay: .14s; }
.edh-menu__list > :nth-child(4) { animation-delay: .18s; }
.edh-menu__list > :nth-child(5) { animation-delay: .22s; }
.edh-menu__list > :nth-child(6) { animation-delay: .26s; }

.edh-menu__item,
.edh-menu__item:visited {
	position: relative;
	display: inline-block;
	font-family: "Epilogue", sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 46px;
	letter-spacing: -.02em;
	text-decoration: none !important;
	color: #fff;
	transition: color .2s;
}
.edh-menu__item:hover,
.edh-menu__item:focus-visible { color: var(--hc, var(--edh-yellow)); outline: none; }
.edh-menu__label { position: relative; display: inline-block; }
.edh-menu__label span { display: inline-block; }

/* Voce attiva (sul blog: "Blog") */
.edh-menu__item.is-active,
.edh-menu__item.is-active:hover {
	color: var(--edh-acc);
	text-shadow: 0 0 14px var(--edh-glow), 0 0 38px var(--edh-glow), 0 0 2px rgba(0, 0, 0, .4);
}

@keyframes edhHop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-.16em); } }
.edh-menu__item.is-active .edh-menu__label span { animation: edhHop 1.8s cubic-bezier(.45, 0, .35, 1) infinite; animation-delay: calc(.6s + var(--d, 0s)); }
.edh-menu__label span:nth-child(2) { --d: .07s; }
.edh-menu__label span:nth-child(3) { --d: .14s; }
.edh-menu__label span:nth-child(4) { --d: .21s; }
.edh-menu__label span:nth-child(5) { --d: .28s; }
.edh-menu__label span:nth-child(6) { --d: .35s; }
.edh-menu__label span:nth-child(7) { --d: .42s; }
.edh-menu__label span:nth-child(8) { --d: .49s; }
.edh-menu__label span:nth-child(9) { --d: .56s; }

/* Brillantini */
@keyframes edhTwinkle {
	0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
	45% { transform: scale(1) rotate(80deg); opacity: 1; }
	70% { transform: scale(.6) rotate(120deg); opacity: .7; }
}
.edh-menu__item.is-active::before,
.edh-menu__item.is-active::after,
.edh-menu__item.is-active .edh-menu__label::before,
.edh-menu__item.is-active .edh-menu__label::after {
	content: "";
	position: absolute;
	width: 11px;
	height: 11px;
	background: var(--edh-acc);
	filter: drop-shadow(0 0 6px var(--edh-glow));
	clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
	pointer-events: none;
	opacity: 0;
	animation: edhTwinkle 2.2s ease-in-out infinite;
}
.edh-menu__item.is-active::before { top: -4px; left: -16px; animation-delay: 1s; }
.edh-menu__item.is-active::after { top: 10px; right: -18px; width: 14px; height: 14px; animation-delay: 1.6s; }
.edh-menu__item.is-active .edh-menu__label::before { bottom: -6px; left: 28%; width: 8px; height: 8px; background: #fff; animation-delay: 2.1s; }
.edh-menu__item.is-active .edh-menu__label::after { top: -12px; right: 22%; width: 7px; height: 7px; background: var(--edh-soft); animation-delay: 1.3s; }

/* Riga "Blog" con il bottone tondo giallo */
.edh-menu__row { position: relative; display: inline-block; }

@keyframes edhNudge { 0%, 55%, 100% { transform: translateX(0); } 25% { transform: translateX(5px); } }

.edh-menu__cta {
	position: absolute;
	left: calc(100% + 12px);
	top: calc(50% - 16px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0 0 0 2px;
	border: 2.5px solid var(--edh-ink);
	border-radius: 50%;
	background: var(--edh-yellow);
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12);
	color: var(--edh-ink);
	cursor: pointer;
	pointer-events: auto;
	animation: edhNudge 1.6s cubic-bezier(.45, 0, .35, 1) 1s infinite;
	transition: background-color .2s;
}
.edh-menu__cta:hover,
.edh-menu__cta:focus { background: #FFE066; color: var(--edh-ink); animation-play-state: paused; outline: none; }
.edh-menu__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.edh-menu__cta .edh-ico { width: 13px; height: 13px; }

@media (max-width: 767px) {
	.edh-menu__cta { left: calc(100% + 10px); top: calc(50% - 14px); width: 28px; height: 28px; }
	.edh-menu__cta .edh-ico { width: 11px; height: 11px; }
}

/* Sottomenu categorie */
.edh-menu__sub { display: none; flex-direction: column; align-items: center; gap: 4px; }

.edh-menu.is-sub .edh-menu__list { display: none; }
.edh-menu.is-sub .edh-menu__sub { display: flex; }

.edh-menu__sub > * { animation: edhSide .5s cubic-bezier(.16, 1, .3, 1) backwards; }
.edh-menu__sub > :nth-child(2) { animation-delay: .04s; }
.edh-menu__sub > :nth-child(3) { animation-delay: .08s; }
.edh-menu__sub > :nth-child(4) { animation-delay: .12s; }
.edh-menu__sub > :nth-child(5) { animation-delay: .16s; }
.edh-menu__sub > :nth-child(6) { animation-delay: .22s; }

.edh-menu__back {
	position: relative;
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0 auto 14px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: "Epilogue", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 46px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
	cursor: pointer;
	pointer-events: auto;
}
.edh-menu__back > span:last-child { margin-right: -.22em; }
.edh-menu__back:hover, .edh-menu__back:focus { background: none; color: #fff; outline: none; }
.edh-menu__back:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.edh-menu__back-ico {
	position: absolute;
	right: calc(100% + 8px);
	top: calc(50% - 6px);
	width: 12px;
	height: 12px;
	color: var(--edh-acc);
}

.edh-menu__cat,
.edh-menu__cat:visited {
	font-family: "Epilogue", sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-decoration: none !important;
	color: var(--c);
	transition: text-shadow .25s;
}
.edh-menu__cat:hover,
.edh-menu__cat:focus-visible,
.edh-menu__cat.is-current { color: var(--c); text-shadow: 0 0 22px currentColor; outline: none; }

.edh-menu__all,
.edh-menu__all:visited {
	margin-top: 14px;
	font-family: "Epilogue", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 27px;
	text-decoration: none !important;
	color: #fff;
	transition: color .2s;
}
.edh-menu__all:hover, .edh-menu__all:focus-visible { color: var(--edh-acc); outline: none; }

@media (max-width: 767px) {
	.edh-menu__cat { font-size: 34px; }
}

/* Chiusura: le voci risalgono e svaniscono, poi lo sfondo sfuma */
.edh-layer.is-closing .edh-layer__title,
.edh-layer.is-closing .edh-menu__list > *,
.edh-layer.is-closing .edh-menu__sub > *,
.edh-layer.is-closing .edh-search__form,
.edh-layer.is-closing .edh-search__hint { animation: edhOut .26s cubic-bezier(.55, 0, .75, .2) forwards !important; }
.edh-layer.is-closing .edh-menu__list > :nth-child(1), .edh-layer.is-closing .edh-menu__sub > :nth-child(1), .edh-layer.is-closing .edh-search__form { animation-delay: .03s !important; }
.edh-layer.is-closing .edh-menu__list > :nth-child(2), .edh-layer.is-closing .edh-menu__sub > :nth-child(2), .edh-layer.is-closing .edh-search__hint { animation-delay: .06s !important; }
.edh-layer.is-closing .edh-menu__list > :nth-child(3), .edh-layer.is-closing .edh-menu__sub > :nth-child(3) { animation-delay: .09s !important; }
.edh-layer.is-closing .edh-menu__list > :nth-child(4), .edh-layer.is-closing .edh-menu__sub > :nth-child(4) { animation-delay: .12s !important; }
.edh-layer.is-closing .edh-menu__list > :nth-child(5), .edh-layer.is-closing .edh-menu__sub > :nth-child(5) { animation-delay: .15s !important; }
.edh-layer.is-closing .edh-menu__sub > :nth-child(6) { animation-delay: .18s !important; }

/* --------------------------------------------------------------------------
   Ricerca
   -------------------------------------------------------------------------- */

.edh-search__panel { justify-content: flex-start; padding-top: calc(var(--edh-top) + var(--edh-h) + 12vh); }

.edh-search__form {
	width: min(680px, 100%);
	animation: edhUp .6s cubic-bezier(.16, 1, .3, 1) .08s backwards;
}

.edh-search .rb-search-form { position: relative; margin: 0; }
.edh-search .search-form-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 6px 0 22px;
	border: 2px solid var(--edh-ink);
	border-radius: 16px;
	background: #fff;
	box-shadow: 6px 6px 0 var(--edh-ink);
	color: var(--edh-ink);
}
.edh-search .search-icon { display: flex; align-items: center; font-size: 22px; color: var(--edh-ink); line-height: 1; }
.edh-search .search-icon-svg { width: 22px; height: 22px; }
.edh-search .search-text { flex: 1 1 auto; min-width: 0; }
.edh-search input.field,
.edh-search input.field:focus {
	width: 100%;
	height: 64px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	font-family: "Epilogue", sans-serif;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -.01em;
	color: var(--edh-ink);
}
.edh-search input.field::placeholder { color: rgba(11, 11, 11, .45); opacity: 1; }

.edh-search .rb-search-submit {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	height: 48px;
	border: 2px solid var(--edh-ink);
	border-radius: 11px;
	background: var(--edh-blue);
	color: #fff;
	transition: background-color .2s;
}
.edh-search .rb-search-submit:hover { background: #005fd6; }
.edh-search .rb-search-submit input[type="submit"] {
	height: 100%;
	margin: 0;
	padding: 0 34px 0 18px;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}
.edh-search .rb-search-submit i {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: #fff;
	pointer-events: none;
}
.edh-search .live-search-animation { position: absolute; right: 150px; top: calc(50% - 10px); }

.edh-search .live-search-response {
	position: static !important;
	width: 100% !important;
	max-height: none !important;
	margin: 20px 0 0;
	border: 2px solid var(--edh-ink);
	border-radius: 16px;
	background: #fff;
	box-shadow: 6px 6px 0 var(--edh-ink);
	color: var(--edh-ink);
	text-align: left;
	overflow: hidden;
}
.edh-search .live-search-response:empty { display: none !important; }

.edh-search__hint {
	margin: 22px 0 0;
	font-family: "Epilogue", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .6);
	animation: edhUp .6s cubic-bezier(.16, 1, .3, 1) .14s backwards;
}

@media (max-width: 767px) {
	.edh-search__panel { padding: calc(var(--edh-top) + var(--edh-h) + 40px) 20px 60px; }
	.edh-search .search-form-inner { padding: 0 6px 0 16px; gap: 10px; }
	.edh-search input.field { height: 56px; font-size: 18px; }
	.edh-search .rb-search-submit { width: 44px; height: 44px; justify-content: center; }
	.edh-search .rb-search-submit input[type="submit"] { position: absolute; inset: 0; padding: 0; font-size: 0; color: transparent; }
	.edh-search .rb-search-submit i { right: auto; left: 50%; transform: translate(-50%, -50%); font-size: 14px; }
	.edh-search .live-search-animation { right: 62px; }
	.edh-search__hint { display: none; }
}

/* Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
	.edh-layer.is-open, .edh-layer.is-closing,
	.edh-layer *, .edh-layer *::before, .edh-layer *::after { animation: none !important; }
	.edh-layer.is-closing { display: none; }
	.edh-menu__item.is-active::before, .edh-menu__item.is-active::after,
	.edh-menu__item.is-active .edh-menu__label::before, .edh-menu__item.is-active .edh-menu__label::after { display: none; }
	.edh-dd, .edh-nav__link::before, .edh-burger__bars, .edh-burger__bar { transition: none !important; }
}
