/* Header compatto, caricato solo dalle pagine che adottano il nuovo layout mobile. */
body > header {
	left: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 75px 68px;
	padding: 0;
	background: #fff;
	border-bottom: 1px solid #dce8f0;
}

body > header .brand {
	justify-self: center;
	justify-content: center;
	width: auto;
	height: 100%;
	max-width: calc(100% - 168px);
}

body > header .brand img {
	width: 146px;
	height: 55px;
}

body > header .brand span {
	color: #134e78;
	font-size: 7px;
	letter-spacing: 1px;
	white-space: nowrap;
}

body > .rail {
	width: 64px;
	height: 75px;
	padding-left: 12px;
	justify-content: center;
}

body > .rail #menuToggle {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #edf5fa;
	color: #134e78;
	gap: 7px;
}

body > .rail #menuToggle span,
body > .rail #menuToggle::before {
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

body > .rail #menuToggle::before {
	content: '';
	position: absolute;
	top: calc(50% - 1px);
	left: calc(50% - 11px);
}

body.menu-open > .rail #menuToggle::before {
	opacity: 0;
}

body > header .ob-language {
	top: 15px;
	right: 12px;
}

body > header .ob-language-toggle {
	min-width: 0;
	min-height: 44px;
	padding: 0 8px;
	gap: 5px;
	border-color: #b6ccdc;
	border-radius: 12px;
	background: #fff;
	font-size: 12px;
}

body > header .ob-language-toggle[aria-expanded="true"] {
	background: #edf5fa;
}

body > header .ob-language-toggle > span {
	display: inline;
}

body > header .ob-language-toggle .ob-flag {
	width: 19px;
	height: auto;
}

body > header .ob-language-toggle .ob-language-arrow {
	width: 8px;
}

body > header .header-contact-buttons {
	align-self: stretch;
	height: auto;
	padding: 8px 12px 9px;
	gap: 8px;
	border-top: 1px solid #dce8f0;
}

body > header .header-contact {
	justify-content: center;
	height: 50px;
	min-height: 0;
	padding: 5px 6px;
	gap: 7px;
	border: 1px solid var(--contact-border);
	border-radius: 12px;
	color: var(--contact-ink);
	background: var(--contact-background);
}

body > header .header-whatsapp {
	--contact-border: #b5d8c3;
	--contact-ink: #125d38;
	--contact-background: #edf8f1;
}

body > header .header-phone {
	--contact-border: #bed4e5;
	--contact-ink: #134e78;
	--contact-background: #eff6fa;
}

body > header .header-contact:hover {
	color: var(--contact-ink);
	border-color: var(--contact-ink);
}

body > header .header-contact > svg {
	width: clamp(16px, 4.8vw, 22px);
	height: auto;
	aspect-ratio: 1;
}

body > header .header-contact > span {
	min-width: 0;
	gap: 2px;
}

body > header .header-contact small {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: normal;
}

body > header .header-contact strong {
	font-size: clamp(12px, 3.65vw, 15px);
	font-weight: 700;
	white-space: normal;
	overflow-wrap: anywhere;
}
