/* V2 Editorial — Services & Contact family.
   Lab only until final production gate. */
body.v2-editorial-service{background:var(--v2-canvas);color:var(--v2-ink)}
body.v2-editorial-service main{background:var(--v2-canvas);color:var(--v2-ink)}
body.v2-editorial-service .hero.v2-service-cover{position:relative;overflow:hidden;width:auto!important;max-width:none!important;margin:0!important;padding:clamp(3.9rem,6vw,5.8rem) 1.5rem!important;background:var(--v2-cover-bg)!important;color:#fff!important;text-align:center!important}
body.v2-editorial-service .hero.v2-service-cover::before{content:"";position:absolute;inset:-18rem -12rem auto auto;width:36rem;height:36rem;border-radius:50%;background:var(--v2-cover-glow);pointer-events:none}
body.v2-editorial-service .hero.v2-service-cover>:first-child{position:relative;z-index:1;max-width:var(--v2-max-wide)!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}
body.v2-editorial-service .hero.v2-service-cover :is(.hero-badge,.glb-hero-kicker){display:inline-block;margin:0 0 .8rem!important;padding:0!important;border:0!important;background:transparent!important;color:var(--v2-gold-soft)!important;font-size:.73rem;font-weight:800!important;letter-spacing:.15em!important;text-transform:uppercase;text-shadow:none!important}
body.v2-editorial-service .hero.v2-service-cover h1{max-width:960px;margin:0 auto .95rem!important;color:#fff!important;font-family:var(--v2-serif)!important;font-size:clamp(3rem,5.1vw,4.55rem)!important;font-weight:600!important;line-height:.98!important;letter-spacing:-.026em!important;text-align:center!important;text-wrap:balance;text-shadow:none!important}
body.v2-editorial-service .hero.v2-service-cover h1 .h1-line2{display:block;color:var(--v2-gold-soft)!important;font-size:.64em!important;line-height:1.05!important;margin-top:.25rem!important}
body.v2-editorial-service .hero.v2-service-cover :is(p,.hero-sub){max-width:800px;margin:0 auto 1.2rem!important;color:rgba(255,255,255,.86)!important;font-size:clamp(1rem,1.45vw,1.15rem)!important;line-height:1.68!important;text-align:center!important;text-wrap:pretty;text-shadow:none!important}
body.v2-editorial-service .hero.v2-service-cover :is(.hero-cta,.glb-cta-row){display:flex!important;flex-wrap:wrap;justify-content:center!important;gap:.6rem!important;margin:1.15rem auto 0!important}
body.v2-editorial-service .hero.v2-service-cover a:is(.btn-w,.btn-o,.btn-secondary),
body.v2-editorial-service .hero.v2-service-cover a.hero-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:.68rem .95rem!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:11px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;text-decoration:none!important;font-size:.79rem!important;font-weight:760!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important}
body.v2-editorial-service .hero.v2-service-cover a.btn-w,
body.v2-editorial-service .hero.v2-service-cover a.hero-cta:not(.secondary):first-of-type{background:linear-gradient(180deg,#faf7f0,#ede3d2)!important;border-color:rgba(255,255,255,.8)!important;color:#102235!important}
body.v2-editorial-service .hero.v2-service-cover .glb-hero-note{max-width:790px!important;margin:1rem auto 0!important;color:rgba(255,255,255,.72)!important;font-size:.76rem!important;line-height:1.58!important}
body.v2-editorial-service .hero.v2-service-cover .glb-hero-note a{color:#fff!important}

body.v2-editorial-service main :is(h2,h3){color:var(--v2-heading);text-wrap:balance}
body.v2-editorial-service main h2{font-family:var(--v2-serif);font-weight:600;letter-spacing:-.015em}
body.v2-editorial-service main p{color:var(--v2-text);line-height:1.76;text-align:left;text-wrap:pretty}
body.v2-editorial-service main :is(.container,.wrap,.content-wrap,.servizi-wrap){max-width:var(--v2-max-wide)}
body.v2-editorial-service main :is(.section,.editorial-section){border-color:var(--v2-border-soft)}
body.v2-editorial-service main .section-alt{background:var(--v2-surface-muted)!important}

body.v2-editorial-service :is(.svc-card,.prof-card,.amb-card,.percorso-card,.modello-card,.destinatario,.formato-card,.area-card,.step,.faq-item,.card,.info-item,.social-card,.scheda-pratica){border-color:var(--v2-border)!important;border-radius:var(--v2-radius-lg)!important;background:var(--v2-surface)!important;box-shadow:var(--v2-shadow-card)!important}
body.v2-editorial-service :is(.svc-card,.amb-card,.percorso-card,.modello-card,.destinatario,.formato-card,.area-card,.step,.faq-item){overflow:hidden}
body.v2-editorial-service :is(.svc-card h3,.amb-card h3,.percorso-card h3,.modello-title,.formato-title,.area-title,.prof-card h3){color:var(--v2-heading)!important}
body.v2-editorial-service main :is(.section-label,.section-title-kicker,.percorso-kicker,.gold-line){color:var(--v2-gold-text)}

/* Reading measure: narrative prose stays ragged-right and book-like, while cards keep their own grid. */
body.v2-editorial-service.page-servizi :is(.editorial-copy,.servizi-wrap>p),
body.v2-editorial-service.page-consulenza-pedagogica-forense .content-wrap>p,
body.v2-editorial-service.page-territoriale .section>.container>p,
body.v2-editorial-service.page-supervisione-pedagogica .section>.container>p,
body.v2-editorial-service.page-formazione .section>.container>p{max-width:760px;margin-left:auto;margin-right:auto;text-align:left!important;text-align-last:auto!important}
body.v2-editorial-service :is(.section-sub,.editorial-copy){text-align:left!important;text-align-last:auto!important;text-wrap:pretty}

/* Calls to action: preserve a deliberate dark field and readable foreground under the global text rules. */
body.v2-editorial-service :is(.cta-band,.cta-box-section){background:var(--v2-cover-bg)!important;color:#fff!important;border-color:transparent!important}
body.v2-editorial-service :is(.cta-band,.cta-box-section) :is(h2,h3){color:#fff!important}
body.v2-editorial-service :is(.cta-band,.cta-box-section) p{color:rgba(255,255,255,.88)!important;text-align:center!important;max-width:760px;margin-left:auto;margin-right:auto}
body.v2-editorial-service :is(.cta-band,.cta-box-section) a:not(.btn-w){color:#fff}

/* Forensic contact band and practical cards stay calmer than a commercial landing page. */
body.v2-editorial-service .contatti-band{background:var(--v2-surface-muted)!important;color:var(--v2-ink)!important}
body.v2-editorial-service .contatti-band :is(h2,h3){color:var(--v2-heading)!important}
body.v2-editorial-service .contatti-band p{color:var(--v2-text)!important}
body.v2-editorial-service .manuale-band{background:var(--v2-surface)!important;border-block:1px solid var(--v2-border)!important}

/* Contact page */
body.v2-editorial-service.page-contatti main>.container{max-width:1040px}
body.v2-editorial-service.page-contatti :is(.card,.info-item,.social-card){border:1px solid var(--v2-border)!important;background:#fff!important}
body.v2-editorial-service.page-contatti .form-group :is(input,textarea,select){border-color:#cbd7e3!important;background:#fff!important;color:var(--v2-ink)!important}
body.v2-editorial-service.page-contatti .form-group :is(input,textarea,select):focus{outline:3px solid rgba(36,79,124,.18)!important;border-color:var(--v2-blue-link)!important}

@media(max-width:680px){
 body.v2-editorial-service .hero.v2-service-cover{padding:3.35rem 1rem!important}
 body.v2-editorial-service .hero.v2-service-cover h1{font-size:2.72rem!important}
 body.v2-editorial-service main p{text-align:left}
 body.v2-editorial-service :is(.cta-band,.cta-box-section) p{text-align:center!important}
}

/* V2 service quality gate refinements */
body.v2-editorial-service .legal-note{max-width:760px!important;margin-left:auto!important;margin-right:auto!important;text-align:left!important;text-align-last:auto!important}
body.v2-editorial-service.page-servizi .ruolo{font-size:.78rem!important;line-height:1.55!important}
body.v2-editorial-service :is(.svc-link,.scheda-pratica-link){display:inline-flex!important;align-items:center;min-height:30px;padding-block:.2rem;text-underline-offset:.16em}
@media(max-width:680px){body.v2-editorial-service :is(.svc-link,.scheda-pratica-link){min-height:32px}}

/* Final approved service-family production refinements */
body.v2-editorial-service .manuale-cover span:not(.cover-icon){font-size:.75rem!important;line-height:1.45!important}
body.v2-editorial-service :is(.cta-band,.cta-box-section) .cta-box>p{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
body.v2-editorial-service a.btn-wa{color:#102235!important}
body.v2-editorial-service :is(.cta-band,.cta-box-section) a.btn-o{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.42)!important;color:#fff!important}
/* Standalone dark CTA boxes used by Supervisione/Formazione */
body.v2-editorial-service .cta-box{color:#fff!important}
body.v2-editorial-service .cta-box :is(h2,h3){color:#fff!important}
body.v2-editorial-service .cta-box>p{color:rgba(255,255,255,.88)!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;text-align-last:auto!important}

/* V2 final readability pass — micro-labels and functional links */
body.v2-editorial-service .hero.v2-service-cover :is(.hero-badge,.glb-hero-kicker){font-size:.75rem!important}
body.v2-editorial-service main .percorso-kicker{font-size:.75rem!important}
body.v2-editorial-service main a.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}

/* V2 final service reading measure — long CTA/support prose */
body.v2-editorial-service :is(.cta-band,.home-contact-card,.archive-access-card) p{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}

/* V2 final reading measure — long academic link list */
body.v2-editorial-service.page-formazione .link-list{max-width:800px!important;margin-left:auto!important;margin-right:auto!important}


/* Audit olistico 2026-08-25 — P1: lead lunghi, solo mobile. */
@media(max-width:680px){body.v2-editorial-service .hero.v2-service-cover .glb-mobile-lead-long{text-align:left!important;text-align-last:auto!important;}}
