/* Nexim Editorial Kit — testata e piè di pagina per i siti fuori da nexim-foundation (ott 2026). */
body.nxk-page { margin: 0; background: #fff; color: var(--nxe-ink); font-family: var(--nxe-sans); -webkit-font-smoothing: antialiased; }
body.nxk-page .wp-site-blocks, body.nxk-page .entry-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }

html { scroll-padding-top: 84px; }
.nxk-head { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--nxe-line); font-family: var(--nxe-sans); }
.nxk-head__in { max-width: var(--nxe-maxw); margin: 0 auto; padding: 0 var(--nxe-gut); height: 72px; display: flex; align-items: center; gap: 32px; }
.nxk-brand { display: flex; align-items: center; gap: 14px; text-decoration: none !important; flex: none; }
.nxk-brand img { height: 20px; width: auto; display: block; }
.nxk-brand__div { font: 600 15px/1 var(--nxe-display); color: var(--nxe-ink); padding-left: 14px; border-left: 1px solid var(--nxe-line); letter-spacing: -.005em; }
.nxk-nav { flex: 1; }
.nxk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nxk-nav a { font: 500 15px/1 var(--nxe-sans); color: var(--nxe-ink-2) !important; text-decoration: none !important; padding: 8px 0; border-bottom: 2px solid transparent; }
.nxk-nav a:hover { color: var(--nxe-ink) !important; border-bottom-color: var(--nxe-blue); }
.nxk-head__ctas { display: flex; align-items: center; gap: 20px; margin-left: auto; flex: none; }
.nxk-head__link { font: 600 15px/1 var(--nxe-sans); color: var(--nxe-ink) !important; text-decoration: none !important; }
.nxk-head__btn { font: 600 15px/1 var(--nxe-sans); background: var(--nxe-blue); color: #fff !important; text-decoration: none !important; padding: 13px 20px; border-radius: 999px; transition: background .2s; }
.nxk-head__btn:hover { background: var(--nxe-navy); }
.nxk-burger { display: none; }
.nxk-burger__btn { display: none; }

.nxk-foot { background: var(--nxe-navy); color: rgba(255,255,255,.72); font-family: var(--nxe-sans); padding: 80px 0 36px; }
.nxk-foot a { color: rgba(255,255,255,.86) !important; text-decoration: none !important; }
.nxk-foot a:hover { color: #fff !important; text-decoration: underline !important; }
.nxk-foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.nxk-foot__logo { height: 22px; width: auto; filter: brightness(0) invert(1); margin-bottom: 22px; }
.nxk-foot__about p { font: 400 19px/1.5 var(--nxe-serif); color: rgba(255,255,255,.8); margin: 0; max-width: 34ch; }
.nxk-foot h3 { font: 600 13px/1 var(--nxe-sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.nxk-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.nxk-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; }
.nxk-foot__links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 1100px) {
	.nxk-head__in { gap: 16px; }
	.nxk-burger__btn { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; order: 3; }
	.nxk-burger__btn span, .nxk-burger__btn span::before, .nxk-burger__btn span::after { display: block; width: 20px; height: 2px; background: var(--nxe-ink); position: relative; content: ""; }
	.nxk-burger__btn span::before { position: absolute; top: -6px; } .nxk-burger__btn span::after { position: absolute; top: 6px; }
	.nxk-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--nxe-line); padding: 8px var(--nxe-gut) 20px; }
	.nxk-nav ul { flex-direction: column; gap: 0; }
	.nxk-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--nxe-line); }
	.nxk-burger:checked ~ .nxk-nav { display: block; }
	.nxk-burger { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
	.nxk-burger:focus-visible + .nxk-burger__btn { outline: 2px solid var(--nxe-blue); outline-offset: 2px; }
	.nxk-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	html { scroll-padding-top: 72px; }
	.nxk-head__in { height: 64px; }
	.nxk-nav { top: 64px; }
	.nxk-brand img { height: 16px; }
	.nxk-brand__div { font-size: 13px; padding-left: 10px; }
	.nxk-head__link { display: none; }
	.nxk-head__btn { padding: 11px 14px; font-size: 14px; }
	.nxk-foot__top { grid-template-columns: 1fr; gap: 36px; }
}
/* Schermi stretti: logo, nome divisione, menu e pulsante non stanno in 390px. */
@media (max-width: 640px) { .nxk-brand__div { display: none; } }
@media (max-width: 440px) { .nxk-head__btn { display: none; } }
