/**
 * Menu mobile a schermo intero (3/10/2026) — contenuto [wc_menu_mobile] in
 * inc/menu-mobile.php, contenitore nativo Astra (mobile-header-type
 * «full-width»). Disegno: prototipo approvato il 3/10
 * (https://claude.ai/artifact/5KtT5roidrjuVk8Cw48gu9).
 */

/* ---------- Pulsante nella barra: pillola con l'etichetta «Menu» ---------- */
#ast-mobile-header .menu-toggle.ast-mobile-menu-trigger-minimal {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px !important;
	border: 1.5px solid rgba(255, 255, 255, .55) !important;
	border-radius: 100px !important;
	color: #ffffff !important;
}
#ast-mobile-header .menu-toggle .mobile-menu-wrap .mobile-menu,
#ast-mobile-header .menu-toggle .mobile-menu { font-size: 15px; font-weight: 600; line-height: 1; color: #ffffff; }
#ast-mobile-header .menu-toggle .ast-mobile-svg { width: 18px; height: 18px; }
#ast-mobile-header .menu-toggle:focus { outline: none; }
#ast-mobile-header .menu-toggle:focus-visible { outline: 2px solid #FFC107; outline-offset: 2px; }

/* ---------- Pannello: barra in alto con logo e «Chiudi» ---------- */
#ast-mobile-popup.ast-mobile-popup-full-width .ast-mobile-popup-inner {
	background: #F4F6FA !important;
	width: 100% !important;
	max-width: none !important;
}
#ast-mobile-popup.ast-mobile-popup-full-width .ast-mobile-popup-header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 64px;
	padding: 0 12px 0 16px !important;
	background: #184A7D url("../../../uploads/2021/06/WebCilentoLogo.png") no-repeat 16px center / auto 34px;
	box-sizing: border-box;
}
#ast-mobile-popup.ast-mobile-popup-full-width .menu-toggle-close {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px !important;
	border: 1.5px solid rgba(255, 255, 255, .55) !important;
	border-radius: 100px !important;
	background: transparent !important;
	color: #ffffff !important;
	position: static !important;
}
#ast-mobile-popup.ast-mobile-popup-full-width .menu-toggle-close::after {
	content: "Chiudi";
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}
#ast-mobile-popup.ast-mobile-popup-full-width .menu-toggle-close svg { width: 18px; height: 18px; }
#ast-mobile-popup.ast-mobile-popup-full-width .menu-toggle-close:focus { outline: none; }
#ast-mobile-popup.ast-mobile-popup-full-width .menu-toggle-close:focus-visible { outline: 2px solid #FFC107; outline-offset: 2px; }
#ast-mobile-popup.ast-mobile-popup-full-width .ast-mobile-popup-content {
	padding: 0 !important;
}
#ast-mobile-popup .ast-header-html-1,
#ast-mobile-popup .ast-header-html-1 .ast-header-html,
#ast-mobile-popup .ast-header-html-1 .ast-builder-html-element {
	display: block !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}
#ast-mobile-popup .ast-builder-html-element > p:empty { display: none; }

/* ---------- Contenuto ---------- */
.wc-mm { font-family: inherit; color: #1A237E; }
.wc-mm a { text-decoration: none; }
.wc-mm-view { padding: 16px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.wc-mm-view[hidden] { display: none !important; }
.wc-mm svg { flex-shrink: 0; }

.wc-mm-search {
	display: flex; align-items: center; gap: 8px; margin: 0;
	background: #ffffff; border: 1.5px solid #d6dbe8; border-radius: 14px; padding: 4px 4px 4px 14px;
}
.wc-mm-search label { display: flex; margin: 0; }
.wc-mm-search input[type="search"] {
	flex: 1; min-width: 0; height: 44px; border: 0 !important; box-shadow: none !important; outline: none;
	background: transparent !important; padding: 0 !important; font-size: 16px; color: #1A237E;
}
.wc-mm-search input::placeholder { color: #6b7394; }
.wc-mm-search button {
	height: 44px; padding: 0 16px !important; border: 0; border-radius: 10px !important;
	background: #1A237E !important; color: #ffffff !important; font-size: 15px; font-weight: 600; line-height: 1;
}

.wc-mm-card {
	width: 100%; margin: 0; border: 0; text-align: left; font: inherit; cursor: pointer; color: inherit;
	display: flex; flex-direction: column; gap: 10px; min-height: 128px; padding: 14px; box-sizing: border-box;
	background: #ffffff; border-radius: 18px; box-shadow: 0 1px 2px rgba(26, 35, 126, .08);
	transition: transform .1s ease;
}
.wc-mm-card:active, .wc-mm-hub:active, .wc-mm-pill:active { transform: scale(.98); }
.wc-mm-card-big { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 16px; }
.wc-mm-card-map { width: 72px; height: 72px; border-radius: 16px; background: #FFF3CD; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wc-mm-card-map img { width: 58px; height: auto; }
.wc-mm-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wc-mm-card-big .wc-mm-card-label { font-size: 20px; }
.wc-mm-card-tile { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.wc-mm-card-label { font-size: 16px; font-weight: 700; color: #1A237E; line-height: 1.2; }
.wc-mm-card-sub { font-size: 13px; color: #3c4677; line-height: 1.3; }
.wc-mm-card-big .wc-mm-card-sub { font-size: 14px; }
.wc-mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.wc-mm-cta {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 100px;
	background: #FFC107; color: #1A237E !important; font-size: 16px; font-weight: 700;
}
.wc-mm-utility { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.wc-mm-utility a { font-size: 14px; color: #3c4677 !important; padding: 10px 0; }

.wc-mm-back {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 44px; margin: -8px 0 0 -4px;
	padding: 0 12px 0 4px !important; border: 0 !important; background: transparent !important;
	color: #0092A8 !important; font-size: 15px; font-weight: 600; line-height: 1;
}
.wc-mm-back:focus { outline: none; }
.wc-mm-back:focus-visible { outline: 2px solid #0092A8; outline-offset: 2px; border-radius: 8px; }
.wc-mm-title { margin: -6px 0 2px !important; font-size: 26px !important; font-weight: 700; color: #1A237E; line-height: 1.2; }

.wc-mm-hubs { display: flex; flex-direction: column; gap: 10px; }
.wc-mm-hub {
	display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
	background: #ffffff; border-radius: 16px; box-shadow: 0 1px 2px rgba(26, 35, 126, .08);
}
.wc-mm-hub-tile { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wc-mm-hub-tile img { width: 46px; height: auto; }
.wc-mm-hub-label { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; color: #1A237E; line-height: 1.25; }

.wc-mm-group { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.wc-mm-group-title { margin: 0 !important; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0092A8; }
.wc-mm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-mm-pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box;
	background: #ffffff; border: 1.5px solid #d6dbe8; border-radius: 100px;
	font-size: 15px; font-weight: 500; color: #1A237E !important;
}
.wc-mm-all { font-size: 15px; font-weight: 700; color: #0092A8 !important; padding: 6px 2px; }
