/*
Theme Name: Intrax
Theme URI: https://www.intrax.it/
Author: Intrax Srl
Description: Tema su misura per intrax.it: portierato, guardiania non armata, accoglienza e vigilanza antincendio a Roma. Mobile-first, con barra contatti fissa su smartphone. Dopo l'attivazione: Aspetto → Sito Intrax per importare i contenuti.
Version: 3.2.2
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietario
Text Domain: intrax
*/

/* =========================================================
   Intrax – foglio di stile unico, mobile-first
   Font: Inter (SIL OFL, incluso nel tema: fonts/OFL-Inter.txt)
   ========================================================= */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2");
}

:root {
  --ink: #14202b;          /* blu notte: titoli, hero, testata info */
  --ink-2: #1d2b37;
  --ink-3: #2a3a48;
  --footer: #111a22;
  --red: #e3211e;          /* rosso Intrax: solo azioni e dettagli */
  --red-dark: #bf1a17;
  --red-soft: #fdecec;
  --ok: #1b8a55;           /* spunte di garanzia */
  --ok-light: #5fd39a;
  --text: #2b3540;
  --muted: #5b6672;
  --line: #e2e6ea;
  --soft: #f4f6f8;
  --bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20,32,43,.06);
  --shadow: 0 2px 4px rgba(20,32,43,.04), 0 12px 32px rgba(20,32,43,.08);
  --shadow-lg: 0 24px 60px rgba(20,32,43,.20);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}
@media (min-width: 1080px) { :root { --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.8vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ico-lg { width: 28px; height: 28px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn .ico { width: 19px; height: 19px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227,33,30,.25); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-light, .btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light:hover, .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .93rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 559px) { .hero .cta-row .btn, .page-hero .cta-row .btn, .contact-band .cta-row .btn { width: 100%; } }

/* ---------- Barra info (desktop) ---------- */
.topbar { display: none; background: var(--ink); color: #c3ccd5; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; gap: 26px; min-height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico { width: 15px; height: 15px; color: #8fa0b0; }
.topbar .topbar-right { margin-left: auto; }
.topbar .topbar-right .ico { color: var(--ok-light); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (min-width: 1080px) { .topbar { display: block; } }

/* ---------- Testata ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; flex: none; }
.brand .custom-logo { display: block; width: auto; height: 34px; }
.logo-text { font: 900 2rem/1 "Arial Black", var(--font); letter-spacing: -.03em; color: #111; }
.logo-text span { color: var(--red); }
@media (min-width: 1080px) { .brand .custom-logo { height: 44px; } .logo-text { font-size: 2.4rem; } }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-call { display: none; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
@media (min-width: 1080px) { .header-call { display: inline-flex; } }
.header-call-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.header-call-txt { display: none; line-height: 1.2; }
.header-call-txt small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.header-call-txt strong { font-size: 1.02rem; font-weight: 750; letter-spacing: -.01em; }
.header-call:hover .header-call-ico { background: var(--ink); color: #fff; border-color: var(--ink); }
.header-cta { display: none; }
@media (min-width: 600px) { .header-cta { display: inline-flex; } }
@media (min-width: 1180px) { .header-call-txt { display: block; } }

.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); border: 0; cursor: pointer; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, background .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu – smartphone e tablet: pannello a tutta altezza con sottomenu a fisarmonica */
.nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.dd-title { font: 700 .72rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 10px 0 4px; }
@media (max-width: 1079px) {
  html.nav-open { overflow: hidden; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 89;
    background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .admin-bar .nav.open { top: calc(var(--header-h) + 46px); }
  .nav-item { position: relative; border-bottom: 1px solid var(--line); }
  .nav-item > a { display: flex; align-items: center; min-height: 56px; padding-right: 56px; color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 650; }
  .dd-toggle { position: absolute; right: 0; top: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
  .dd-toggle .ico { transition: transform .2s; }
  .nav-item.dd-open .dd-toggle .ico { transform: rotate(180deg); }
  .dropdown { display: none; padding: 0 0 14px; }
  .nav-item.dd-open .dropdown { display: block; }
  .dropdown ul { list-style: none; margin: 0; padding: 0; }
  .dropdown a { display: flex; align-items: center; min-height: 44px; padding-left: 14px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; font-size: 1rem; }
  .dropdown a:hover { border-left-color: var(--red); color: var(--ink); }
  .nav-mobile-extra { display: grid; gap: 10px; padding-top: 20px; }
  .nav-mobile-extra p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
}
/* Menu – desktop */
@media (min-width: 1080px) {
  .nav { display: block; margin: 0 auto; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; }
  .nav-item > a { display: flex; align-items: center; height: var(--header-h); padding: 0 14px; color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 600; }
  .nav-item > a:hover, .nav-item:focus-within > a { color: var(--red-dark); }
  .nav-item.has-dd > a::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
  .dd-toggle, .nav-mobile-extra { display: none; }
  .dropdown {
    position: absolute; top: calc(100% - 10px); left: 0; min-width: 260px; z-index: 95;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown ul { list-style: none; margin: 0; padding: 0; }
  .dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .95rem; }
  .dropdown a:hover { background: var(--soft); color: var(--red-dark); }
  .dropdown.mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; width: 760px; left: 50%; transform: translate(-50%, 6px); padding: 16px; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { transform: translate(-50%, 0); }
  .dd-title { margin: 6px 12px 6px; }
  .nav-toggle { display: none; }
}

/* ---------- Pulsanti fissi Telefono e WhatsApp su smartphone ---------- */
.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20,32,43,.10);
}
.mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 12px; border-radius: 12px; text-decoration: none; color: #fff; }
.mobile-actions a .ico { width: 24px; height: 24px; flex: none; }
.mobile-actions span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.mobile-actions small { font-size: .72rem; font-weight: 500; opacity: .85; }
.mobile-actions strong { color: #fff; font-size: 1rem; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.mobile-actions .ma-call { background: var(--ink); }
.mobile-actions .ma-wa { background: #157f41; }
.mobile-actions a:active { transform: scale(.98); }
@media (max-width: 359px) { .mobile-actions small { display: none; } .mobile-actions strong { font-size: .92rem; } }
body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
html.nav-open .mobile-actions { display: none; }
@media (min-width: 1080px) { .mobile-actions { display: none; } body { padding-bottom: 0; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { max-width: none; padding: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 1200px; margin: 0 auto; padding: 12px 20px; font-size: .84rem; color: var(--muted); }
@media (min-width: 760px) { .breadcrumb ol { padding: 14px 32px; } }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b7c0c9; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb:has(+ .page-hero) { background: var(--ink); color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.08); }
.breadcrumb:has(+ .page-hero) ol { color: rgba(255,255,255,.7); }
.breadcrumb:has(+ .page-hero) a { color: rgba(255,255,255,.85); }
.breadcrumb:has(+ .page-hero) li + li::before { color: rgba(255,255,255,.35); }

/* ---------- Hero e testate ---------- */
.hero, .page-hero { position: relative; isolation: isolate; background: var(--ink); color: #dbe3ea; }
.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.has-img::before, .page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero { padding: 44px 0 52px; background-position: 75% center; }
.hero.has-img::before { background: linear-gradient(180deg, rgba(20,32,43,.9) 0%, rgba(20,32,43,.94) 100%); }
@media (min-width: 900px) {
  .hero { padding: 96px 0 104px; background-position: right center; }
  .hero.has-img::before { background: linear-gradient(90deg, rgba(20,32,43,.98) 0%, rgba(20,32,43,.92) 40%, rgba(20,32,43,.45) 72%, rgba(20,32,43,.15) 100%); }
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .hero-bg { object-position: 75% center; }
@media (min-width: 900px) { .hero .hero-bg { object-position: right center; } }
.hero-grid { display: block; }
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .lead { font-size: 1.1rem; color: #d3dbe2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e7edf2; font-size: .84rem; font-weight: 600; }
.hero-badge .ico { width: 17px; height: 17px; color: var(--ok-light); }
.hero-art { display: none; }
.assurance { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .assurance { display: flex; flex-wrap: wrap; gap: 10px 22px; } .assurance li { white-space: nowrap; } }
.assurance li { display: flex; align-items: center; gap: 10px; color: #e7edf2; font-size: .98rem; }
.assurance .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(95,211,154,.15); color: var(--ok-light); }
@media (min-width: 900px) { .assurance li { font-size: .94rem; } }

.page-hero { padding: 32px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 56px 0 64px; } }
.page-hero.has-img::before { background: linear-gradient(90deg, rgba(20,32,43,.96) 0%, rgba(20,32,43,.88) 55%, rgba(20,32,43,.6) 100%); }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .lead { color: #d3dbe2; max-width: 700px; font-size: 1.08rem; margin-bottom: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #f3b0ae; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow .ico { display: none; }
.eyebrow.dark { color: var(--red-dark); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 700px; }
.lead.dark { color: var(--muted); margin-left: auto; margin-right: auto; }

/* ---------- Fascia garanzie e clienti (home) ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 0; } }
.trust-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.trust-list strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.trust-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--soft); color: var(--ink); flex: none; }
@media (max-width: 479px) { .trust-list li { flex-direction: column; gap: 8px; } }

.clients-section { padding: 40px 0 8px; }
.clients-title { margin: 0 0 18px; text-align: center; font: 700 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clients-logos { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 900px; }
.clients-logos li { display: grid; place-items: center; height: 76px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.clients-logos img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.clients-logos li:hover img { filter: none; opacity: 1; }
@media (min-width: 760px) { .clients-logos { gap: 18px; } .clients-logos li { height: 110px; padding: 16px 22px; } .clients-logos img { max-height: 76px; } }

/* ---------- Numeri ---------- */
.stats-wrap { padding: 28px 0 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { background: #fff; padding: 22px 16px; text-align: center; }
.stats strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 6px; color: var(--ink); font-weight: 800; }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Sezioni ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-alt { background: var(--soft); }
.section-dark { background: var(--ink); color: #c3ccd5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 28px; }
@media (min-width: 900px) { .section-head { margin-bottom: 44px; } }
.section-head p { color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.grid-3, .grid-2 { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.prose .grid-3 { margin: 10px 0 24px; }
@media (min-width: 1000px) { .content-grid .grid-tight { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: #c9d1d9; box-shadow: var(--shadow); color: var(--text); transform: translateY(-2px); }
.card h3 { margin: 6px 0 2px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; flex: 1; }
.card-ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.card-ico .ico { width: 23px; height: 23px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; color: var(--red-dark); font-size: .95rem; }
.card:hover .card-more .ico { transform: translateX(3px); }
.card-more .ico { transition: transform .15s; width: 18px; height: 18px; }
.card-kicker { font: 700 .74rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--ok); margin-top: 3px; }
@media (min-width: 720px) { .ticks-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; min-height: 44px; }

.steps { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 72px; box-shadow: var(--shadow-sm); }
.steps h3 { margin: 0 0 4px; font-size: 1.04rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.step-n { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 750; font-size: 1rem; }

.values, .audience { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
@media (min-width: 680px) { .values, .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .audience, .values-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.values li, .audience li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.values .ico, .audience .ico { color: var(--ink); margin-bottom: 10px; }
.values h3, .audience h3 { margin: 0 0 4px; }
.values p, .audience p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Perché Intrax */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 680px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.why .ico { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--ink); color: #fff; margin-bottom: 14px; }
.why h3 { margin: 0 0 6px; }
.why p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Aree di servizio */
.areas { display: grid; gap: 20px; }
@media (min-width: 960px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); overflow: hidden; }
.area.has-photo { padding-top: 0; }
.area-photo { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px 18px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.area .card-ico { display: none; }
.area h3 { font-size: 1.3rem; margin: 0 0 6px; }
.area > p { color: var(--muted); }
.area ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.area li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.area li:last-child a { border-bottom: 0; }
.area li a:hover { color: var(--red-dark); }
.area li a .ico { width: 18px; height: 18px; color: var(--red); }
.area-block { padding: 8px 0 40px; }

/* Settori */
.sectors { display: grid; gap: 14px; }
@media (min-width: 560px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.sector { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 22px; min-height: 170px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.sector.has-img { min-height: 200px; justify-content: flex-end; }
.sector.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,32,43,.15) 0%, rgba(20,32,43,.92) 75%); transition: background .2s; }
.sector:hover { color: #fff; }
.sector:hover::before { background: linear-gradient(180deg, rgba(20,32,43,.3) 0%, rgba(20,32,43,.96) 75%); }
.sector .ico { color: #fff; }
.sector .ico-lg { position: absolute; top: 20px; left: 22px; width: 26px; height: 26px; opacity: .9; }
.sector span { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.sector-block { display: grid; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.sector-block:last-child { border-bottom: 0; }
@media (min-width: 960px) { .sector-block { grid-template-columns: 1.5fr 1fr; gap: 56px; padding: 56px 0; } }
.sector-block h2 { display: flex; gap: 14px; align-items: center; }

/* Zone */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
.chips.center { justify-content: center; }
.chips.center + .text-link { display: flex; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 550; }
.chip .ico { width: 15px; height: 15px; color: var(--red); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.mun-grid { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 680px) { .mun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.mun { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.mun h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.mun ul { list-style: none; padding: 0; margin: 0; }
.mun a { display: block; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.mun li:first-child a { border-top: 0; }
.mun a strong { display: block; color: var(--ink); }
.mun a span { display: block; color: var(--muted); font-size: .88rem; }
.mun a:hover strong { color: var(--red-dark); }

/* ---------- FAQ ---------- */
.faq { margin: 8px 0 32px; }
.faq h2 { margin-bottom: 18px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 18px; font-weight: 650; color: var(--ink); position: relative; min-height: 56px; display: flex; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font: 500 1.2rem/1 var(--font); color: var(--ink); }
.faq-item[open] summary::after { content: "–"; background: var(--ink); color: #fff; }
.faq-item p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

/* ---------- Pagine interne ---------- */
.content-grid { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 24px; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; padding-top: 64px; } }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.7em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul:not(.ticks):not(.link-list):not(.values):not(.audience), .prose ol:not(.steps) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.sidebar { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.sidebar .side-card:first-child { background: var(--ink); border-color: var(--ink); color: #c3ccd5; }
.sidebar .side-card:first-child .side-title { color: #fff; }
.sidebar .side-card:first-child .side-text { color: #c3ccd5; }
.sidebar .side-card:first-child .contact-list a { color: #fff; }
.sidebar .side-card:first-child .contact-list .ico { color: var(--ok-light); }
.side-title { font: 750 1.08rem/1.25 var(--font); color: var(--ink); margin: 0 0 2px; letter-spacing: -.01em; }
.side-text { color: var(--muted); font-size: .94rem; margin: 0; }
.side-sub { font: 700 .72rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 10px 0 0; }
.side-links ul, .contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-links a { display: flex; gap: 8px; align-items: center; min-height: 40px; text-decoration: none; color: var(--text); font-size: .95rem; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--red-dark); font-weight: 650; }
.side-links .ico { width: 18px; height: 18px; color: var(--muted); }
.contact-list li { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: .97rem; }
.contact-list a { font-weight: 600; }
.contact-list .ico { color: var(--red); }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; min-height: 52px; padding: 8px 0; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--red-dark); }
.area-note { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-left: 3px solid var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.area-note .ico { color: var(--ink); margin-top: 3px; }
.company { margin: 0; }
.company div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.company div:last-child { border-bottom: 0; }
.company dt { color: var(--muted); }
.company dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.sidebar .side-card:first-child .company div { border-color: rgba(255,255,255,.12); }
.sidebar .side-card:first-child .company dt { color: #9fb0bf; }
.sidebar .side-card:first-child .company dd, .sidebar .side-card:first-child .company a { color: #fff; }

/* ---------- Articoli ---------- */
.article { max-width: 800px; padding-top: 28px; padding-bottom: 32px; }
.article-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
.note, .disclaimer { font-size: .9rem; color: var(--muted); }
.disclaimer { background: var(--soft); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .table-wrap table { min-width: 0; font-size: .93rem; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
  .table-wrap td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .table-wrap td::before { content: attr(data-label); font-weight: 650; color: var(--ink); }
  .table-wrap td:first-child { display: block; background: var(--soft); font-weight: 700; color: var(--ink); }
  .table-wrap td:first-child::before { content: none; }
  .table-wrap tr td:last-child { border-bottom: 0; }
}

/* ---------- Moduli ---------- */
.form { display: grid; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; align-self: start; }
@media (min-width: 760px) { .form-card { padding: 34px; } }
.form-card h2 { font-size: 1.4rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 680px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: 650; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9d1d9; border-radius: var(--radius-sm);
  font: 1rem/1.4 var(--font); color: var(--text); background: #fff;
}
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,32,43,.12); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); min-height: 32px; }
.check input { margin-top: 2px; width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.big-check { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #e6f5ed; color: var(--ok); margin-bottom: 18px; }
.big-check .ico { width: 38px; height: 38px; }
.form-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; font-size: .95rem; }

/* ---------- Fascia preventivo e footer ---------- */
.cta-band { background: var(--ink-2); color: #fff; padding: 40px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band-text { margin: 0; max-width: 760px; font-size: 1.3rem; font-weight: 700; }
.contact-band { background: var(--ink-2); color: #c3ccd5; padding: 48px 0; margin-top: 56px; position: relative; overflow: hidden; }
.contact-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255,255,255,.03); }
.contact-band-inner { display: grid; gap: 22px; position: relative; z-index: 1; }
@media (min-width: 900px) { .contact-band { padding: 64px 0; } .contact-band-inner { grid-template-columns: 1fr minmax(340px, 430px); align-items: center; gap: 48px; } }
.contact-band h2 { color: #fff; margin-bottom: .3em; }
.contact-band p { margin: 0; max-width: 620px; }
.contact-band .cta-row { margin-top: 22px; }
.contact-band .band-ticks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; }
.contact-band .band-ticks li { display: inline-flex; align-items: center; gap: 8px; color: #e7edf2; }
.contact-band .band-ticks .ico { width: 18px; height: 18px; color: var(--ok-light); }
.section-alt + .contact-band, .contact-band:first-child { margin-top: 0; }

.site-footer { background: var(--footer); color: #a9b5c0; padding: 52px 0 0; font-size: .93rem; }
.site-footer a { color: #e2e8ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { font: 700 .76rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 14px; }
.site-footer ul + h2 { margin-top: 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer-brand .logo-text { color: #fff; font-size: 2.2rem; }
.footer-brand p { margin: 14px 0 18px; max-width: 360px; }
.footer-zone ul { grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.nap li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.nap .ico { color: #7f91a2; width: 18px; height: 18px; margin-top: 3px; }
.nap a { min-height: 0 !important; }
.socket { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 22px; font-size: .8rem; color: #7f8e9c; }
.socket p { margin: 0 0 4px; }
.socket a { color: #c3ccd5; }

/* ---------- Foto ---------- */
.foto { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.foto-azienda { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.foto-fig { margin: 0 0 28px; }
.foto-fig .foto { aspect-ratio: 16 / 9; }
.side-card .foto { border-radius: 10px; aspect-ratio: 16 / 10; margin-bottom: 6px; }
.values-4 { margin-top: 36px; }

/* ---------- Contenuti WordPress ---------- */
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 0 0 1.4em; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Admin bar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Menu: voci extra ---------- */
@media (min-width: 1080px) { .nav-home { display: none; } }

/* ---------- Modulo "Richiamami" ---------- */
.callback-title { margin: 0 0 4px; font-size: 1.15rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; }
.callback-text { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.callback-form { gap: 12px; }
.callback-fields { display: grid; gap: 12px; }
.callback-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); color: var(--text); }
@media (min-width: 600px) { .callback-card { padding: 26px; } .callback-card .callback-fields { grid-template-columns: 1fr 1fr; } .callback-card .callback-fields .field:last-child { grid-column: 1 / -1; } }
.callback-dark .callback-title { color: #fff; }
.callback-dark .callback-text, .callback-dark .check { color: #c3ccd5; }
.callback-dark .field label { color: #e7edf2; }
.callback-dark .check a { color: #fff; }
.callback-dark .form-alert { margin-bottom: 12px; }
.sidebar .side-callback { gap: 0; }

/* ---------- Offerte di lavoro e candidature ---------- */
.jobs-wrap { padding-top: 40px; padding-bottom: 8px; }
.jobs-wrap .section-head { margin-bottom: 18px; }
.jobs { display: grid; gap: 16px; }
@media (min-width: 760px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.job-chips { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.job-chips li { display: inline-flex; align-items: center; gap: 6px; }
.job-chips .ico { width: 16px; height: 16px; color: var(--red); }
.page-hero .job-chips { margin-top: 16px; color: #d3dbe2; font-size: .95rem; }
.page-hero .job-chips .ico { color: var(--ok-light); }
.jobs-empty { background: var(--soft); border-left: 3px solid var(--ink); border-radius: var(--radius-sm); padding: 16px 18px; }
.jobs-empty p { margin: 0; }
.prose .form-card { margin-top: 32px; }
.field-file input[type="file"] { padding: 11px 12px; background: var(--soft); cursor: pointer; }
.field-opt { font-weight: 400; color: var(--muted); }
.field-help { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------- Istituto di vigilanza partner ---------- */
.group-card { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0 0; padding: 20px 22px 12px; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius); }
.section-alt .group-card { background: #fff; }
.group-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.group-ico .ico { width: 24px; height: 24px; }
.group-body { min-width: 0; }
.group-body p { margin: 0 0 8px; }
.group-eyebrow { font: 700 .72rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px !important; }
.group-title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.group-body .text-link { text-decoration: none; }
@media (max-width: 479px) { .group-card { flex-direction: column; gap: 12px; padding: 18px 18px 10px; } }
.footer-group { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-group .ico { color: #7f91a2; width: 18px; height: 18px; margin-top: 3px; }
.footer-group a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Zone servite ---------- */
.zone-details h3 { margin-top: 1.8em; }
.zone-details h3:target { color: var(--red-dark); }

/* ---------- Indice delle guide ---------- */
.toc { margin: 1.6em 0 2em; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius); background: var(--soft); }
.toc summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary span { margin-left: auto; font-size: .84rem; font-weight: 500; color: var(--muted); }
.toc summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.toc[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.prose .toc ol, .toc ol { margin: 0; padding: 10px 18px 14px 40px; border-top: 1px solid var(--line); }
.toc li { margin: 0; padding: 5px 0; line-height: 1.4; font-size: .97rem; }
.prose .toc li::marker, .toc li::marker { color: var(--muted); font-weight: 600; }
.prose .toc a, .toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.prose .toc a:hover, .toc a:hover { color: var(--red-dark); text-decoration: underline; }
/* indice del vecchio plugin (Easy Table of Contents): sostituito da quello del tema */
#ez-toc-container, .ez-toc-container { display: none !important; }

/* ---------- Zone servite su smartphone: elenco compatto ---------- */
@media (max-width: 679px) {
  .mun-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
  .mun, .mun ul { display: contents; }
  .mun h2 { display: none; }
  .mun a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
  .mun li:first-child a { border-top: 1px solid var(--line); }
  .mun a strong { font-size: .92rem; font-weight: 600; }
  .mun a span { display: none; }
}
.zone-back { margin-top: -.4em; font-size: .9rem; }
.zone-back a { text-decoration: none; }
.footer-milano { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.footer-milano a { text-decoration: underline; text-underline-offset: 2px; }
