/* V2 Editorial — Territorial family
   National, regional and local pedagogist pages. */
body.v2-editorial-service.page-territoriale{background:var(--v2-canvas);color:var(--v2-ink)}
body.v2-editorial-service.page-territoriale .breadcrumb{
  background:#f8fafc!important;border-bottom:1px solid var(--v2-border-soft)!important;
  color:var(--v2-muted)!important;padding:.72rem 1rem!important;font-size:.79rem!important
}
body.v2-editorial-service.page-territoriale .breadcrumb a{color:var(--v2-blue-link)!important;text-underline-offset:.16em}

/* Cover */
body.v2-editorial-service.page-territoriale .hero.v2-service-cover{padding:clamp(4.1rem,6vw,6rem) 1.5rem!important}
body.v2-editorial-service.page-territoriale .hero.v2-service-cover :is(.hero-btns,.hero-cta){
  display:flex!important;flex-wrap:wrap;justify-content:center!important;gap:.65rem!important;
  margin:1.25rem auto 0!important
}
body.v2-editorial-service.page-territoriale .hero.v2-service-cover .hero-btns a,
body.v2-editorial-service.page-territoriale .hero.v2-service-cover .hero-cta{
  min-height:46px!important;border-radius:11px!important;padding:.68rem 1rem!important
}
body.v2-editorial-service.page-territoriale .hero.v2-service-cover .btn-wa{
  background:#dff7e8!important;border-color:#b7e5c8!important;color:#102235!important
}
body.v2-editorial-service.page-territoriale .hero.v2-service-cover .orari{
  max-width:800px!important;margin:1rem auto 0!important;color:rgba(255,255,255,.72)!important;
  font-size:.78rem!important;line-height:1.55!important;text-align:center!important
}

/* Section rhythm and reading measure */
body.v2-editorial-service.page-territoriale main>.section,
body.v2-editorial-service.page-territoriale main>section.section{
  padding:clamp(3.1rem,5vw,4.7rem) 1.25rem!important
}
body.v2-editorial-service.page-territoriale main>.section.alt,
body.v2-editorial-service.page-territoriale main>.section.section-alt,
body.v2-editorial-service.page-territoriale main>section.section.alt,
body.v2-editorial-service.page-territoriale main>section.section.section-alt{
  background:var(--v2-surface-muted)!important
}
body.v2-editorial-service.page-territoriale main :is(.wrap,.container){max-width:var(--v2-max-wide)!important;margin-inline:auto}
body.v2-editorial-service.page-territoriale main .section h2,
body.v2-editorial-service.page-territoriale main .section-title{
  max-width:900px;margin:0 auto 1.8rem!important;color:var(--v2-heading)!important;
  font-family:var(--v2-serif)!important;font-size:clamp(2rem,3vw,2.65rem)!important;
  font-weight:600!important;line-height:1.08!important;letter-spacing:-.018em!important;
  text-align:center!important;text-wrap:balance
}
body.v2-editorial-service.page-territoriale main .section h2::after{
  width:42px!important;height:2px!important;background:var(--v2-gold)!important;margin:.75rem auto 0!important
}
body.v2-editorial-service.page-territoriale main :is(.section>.wrap>p,.section>.container>p,.section-sub){
  max-width:760px;margin-left:auto!important;margin-right:auto!important;color:var(--v2-text)!important;
  line-height:1.78!important;text-align:left!important;text-align-last:auto!important;text-wrap:pretty
}
body.v2-editorial-service.page-territoriale main .legal-note{
  max-width:760px!important;margin-inline:auto!important;color:var(--v2-muted)!important;
  font-size:.8rem!important;line-height:1.62!important;text-align:left!important
}

/* Profile modules */
body.v2-editorial-service.page-territoriale :is(.profilo-grid,.profilo){
  gap:clamp(1.6rem,4vw,3rem)!important;align-items:center!important;
  max-width:960px!important;margin-inline:auto!important
}
body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto){
  max-width:230px!important;border-radius:var(--v2-radius-lg)!important;overflow:hidden!important;
  box-shadow:0 14px 34px rgba(17,37,58,.08)!important
}
body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto) img{
  display:block;width:100%!important;height:auto!important
}
body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body) h3{
  color:var(--v2-heading)!important;font-family:var(--v2-serif)!important;
  font-size:1.65rem!important;font-weight:600!important
}
body.v2-editorial-service.page-territoriale :is(.profilo-info .role,.profilo-body .ruolo){
  color:var(--v2-gold-text)!important;font-weight:760!important
}
body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body) p{
  color:var(--v2-text)!important;line-height:1.76!important;text-align:left!important;text-align-last:auto!important
}
body.v2-editorial-service.page-territoriale .badge-list{gap:.48rem!important}
body.v2-editorial-service.page-territoriale .badge{
  border:1px solid var(--v2-border)!important;border-radius:999px!important;background:#fff!important;
  color:var(--v2-heading)!important;padding:.38rem .72rem!important;font-size:.76rem!important;
  box-shadow:none!important
}

/* Service and reason cards: one calm card language for both markup generations */
body.v2-editorial-service.page-territoriale :is(.services,.servizi-grid,.perche-grid,.motivi-list){
  gap:1rem!important
}
body.v2-editorial-service.page-territoriale :is(.svc,.servizio-card,.perche-item,.motivo){
  border:1px solid var(--v2-border)!important;border-left:1px solid var(--v2-border)!important;
  border-radius:var(--v2-radius-lg)!important;background:#fff!important;
  box-shadow:var(--v2-shadow-card)!important;padding:1.35rem!important
}
body.v2-editorial-service.page-territoriale :is(.svc,.servizio-card){
  position:relative;overflow:hidden
}
body.v2-editorial-service.page-territoriale :is(.svc,.servizio-card)::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--v2-gold)
}
body.v2-editorial-service.page-territoriale :is(.svc-icon,.servizio-icon){
  margin-bottom:.65rem!important;color:var(--v2-gold-text)!important
}
body.v2-editorial-service.page-territoriale :is(.svc h3,.servizio-title){
  color:var(--v2-heading)!important;font-size:1rem!important;font-weight:760!important
}
body.v2-editorial-service.page-territoriale :is(.svc p,.servizio-desc,.perche-item p,.motivo-text){
  color:var(--v2-text)!important;font-size:.9rem!important;line-height:1.68!important;
  text-align:left!important;text-align-last:auto!important
}
body.v2-editorial-service.page-territoriale :is(.perche-item,.motivo){text-align:left!important}
body.v2-editorial-service.page-territoriale :is(.perche-item .num,.motivo-num){
  color:var(--v2-gold-text)!important;font-family:var(--v2-serif)!important;
  font-size:2rem!important;font-weight:600!important;line-height:1!important
}

/* Zones and territorial navigation */
body.v2-editorial-service.page-territoriale :is(.zone-list,.regional-cta-links){
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:.55rem!important
}
body.v2-editorial-service.page-territoriale :is(.zone-tag,.regional-cta-btn){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:38px!important;padding:.48rem .78rem!important;border:1px solid var(--v2-border)!important;
  border-radius:999px!important;background:#fff!important;color:var(--v2-blue-link)!important;
  font-size:.8rem!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important;
  box-shadow:none!important
}
body.v2-editorial-service.page-territoriale :is(.zone-tag,.regional-cta-btn):hover,
body.v2-editorial-service.page-territoriale :is(.zone-tag,.regional-cta-btn):focus-visible{
  border-color:#b7c8d9!important;background:#f8fafc!important
}
body.v2-editorial-service.page-territoriale .regional-cta{
  margin:0!important;padding:1.6rem 1.25rem!important;border-top:1px solid var(--v2-border-soft)!important;
  background:var(--v2-surface)!important;text-align:center!important
}
body.v2-editorial-service.page-territoriale .regional-cta:nth-of-type(even){background:var(--v2-surface-soft)!important}
body.v2-editorial-service.page-territoriale .regional-cta-text{
  max-width:900px!important;margin:0 auto .85rem!important;color:var(--v2-heading)!important;
  font-family:var(--v2-serif)!important;font-size:1.25rem!important;font-weight:600!important;
  line-height:1.2!important;text-align:center!important
}
body.v2-editorial-service.page-territoriale .zona-box{
  max-width:900px!important;margin-inline:auto!important;border:1px solid var(--v2-border)!important;
  border-radius:var(--v2-radius-lg)!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important
}

/* FAQs */
body.v2-editorial-service.page-territoriale :is(.faq,.faq-list){max-width:860px!important;margin-inline:auto!important}
body.v2-editorial-service.page-territoriale .faq-item{
  border:1px solid var(--v2-border)!important;border-radius:var(--v2-radius-md)!important;
  background:#fff!important;box-shadow:none!important
}
body.v2-editorial-service.page-territoriale :is(.faq-q,.faq-item h3){
  color:var(--v2-heading)!important;font-weight:760!important
}
body.v2-editorial-service.page-territoriale :is(.faq-a,.faq-item p){
  color:var(--v2-text)!important;line-height:1.72!important;text-align:left!important;text-align-last:auto!important
}

/* Calls to action */
body.v2-editorial-service.page-territoriale .cta-section,
body.v2-editorial-service.page-territoriale .cta-box-section{
  position:relative;overflow:hidden;background:var(--v2-cover-bg)!important;color:#fff!important;
  padding:clamp(3rem,5vw,4.2rem) 1.25rem!important;text-align:center!important
}
body.v2-editorial-service.page-territoriale .cta-section::before,
body.v2-editorial-service.page-territoriale .cta-box-section::before{
  content:"";position:absolute;inset:-16rem auto auto -12rem;width:30rem;height:30rem;border-radius:50%;
  background:var(--v2-cover-glow);pointer-events:none
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) :is(.wrap,.cta-box){
  position:relative;z-index:1;max-width:860px!important;margin-inline:auto!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) h2{
  color:#fff!important;font-family:var(--v2-serif)!important;font-size:clamp(2rem,3vw,2.7rem)!important;
  font-weight:600!important;line-height:1.08!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) p{
  max-width:700px!important;margin-left:auto!important;margin-right:auto!important;color:rgba(255,255,255,.86)!important;
  text-align:center!important;text-align-last:auto!important
}
body.v2-editorial-service.page-territoriale :is(.cta-row,.cta-box__actions){
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:.65rem!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) a:is(.btn-w,.btn-o,.btn-wa){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;
  padding:.7rem 1rem!important;border-radius:11px!important;text-decoration:none!important;font-size:.82rem!important;font-weight:760!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) .btn-w{
  background:linear-gradient(180deg,#faf7f0,#ede3d2)!important;border:1px solid rgba(255,255,255,.8)!important;color:#102235!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) .btn-wa{
  background:#dff7e8!important;border:1px solid #b7e5c8!important;color:#102235!important
}
body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) .btn-o{
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.42)!important;color:#fff!important
}

/* Keep the new local-page ornaments in the shared visual language. */
body.v2-editorial-service.page-territoriale :is(.gold-line,.section-title-kicker){color:var(--v2-gold-text)!important}
body.v2-editorial-service.page-territoriale .gold-line{background:var(--v2-gold)!important}
body.v2-editorial-service.page-territoriale .section-sub{max-width:760px!important}

@media(max-width:768px){
  body.v2-editorial-service.page-territoriale .hero.v2-service-cover{padding:3.5rem 1rem!important}
  body.v2-editorial-service.page-territoriale .hero.v2-service-cover h1{font-size:2.65rem!important}
  body.v2-editorial-service.page-territoriale :is(.profilo-grid,.profilo){grid-template-columns:1fr!important}
  body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto){margin-inline:auto!important}
  body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body){text-align:left!important}
}
@media(max-width:430px){
  body.v2-editorial-service.page-territoriale main>.section,
  body.v2-editorial-service.page-territoriale main>section.section{padding:2.7rem 1rem!important}
  body.v2-editorial-service.page-territoriale .hero.v2-service-cover h1{font-size:2.35rem!important}
  body.v2-editorial-service.page-territoriale :is(.zone-tag,.regional-cta-btn){min-height:40px!important}
}

/* Nested CTA blocks used by the regional legacy templates. */
body.v2-editorial-service.page-territoriale .section .cta-box-section{
  position:relative;overflow:hidden;max-width:900px!important;margin-inline:auto!important;
  padding:clamp(2.4rem,4vw,3.2rem) 1.25rem!important;border-radius:var(--v2-radius-xl)!important;
  background:var(--v2-cover-bg)!important;color:#fff!important
}
body.v2-editorial-service.page-territoriale .section .cta-box-section h2{
  color:#fff!important;font-family:var(--v2-serif)!important
}
body.v2-editorial-service.page-territoriale .section .cta-box-section p{
  max-width:700px!important;margin-left:auto!important;margin-right:auto!important;
  color:rgba(255,255,255,.86)!important;text-align:center!important;text-align-last:auto!important
}
body.v2-editorial-service.page-territoriale .section .cta-box-section .btn-o{
  background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.42)!important;color:#fff!important
}
body.v2-editorial-service.page-territoriale .section .cta-box-section .btn-w{
  background:linear-gradient(180deg,#faf7f0,#ede3d2)!important;color:#102235!important
}


/* Audit olistico 2026-08-25 — P1: colonne mobili territoriali. */
@media(max-width:430px){
  body.v2-editorial-service.page-territoriale .motivo{padding:1.05rem!important;gap:.7rem!important;}
  body.v2-editorial-service.page-territoriale .motivo-num{width:1.55rem!important;font-size:1.7rem!important;}
  body.v2-editorial-service.page-territoriale .motivo-text{min-width:0;flex:1 1 auto;}
  body.v2-editorial-service.page-territoriale .zona-box{padding:1.3rem!important;}
}

/* Audit olistico 2026-08-25 — P3: estrazione inline territorial. */
html body .v2-territorial-u-09cf88f.v2-territorial-u-09cf88f.v2-territorial-u-09cf88f.v2-territorial-u-09cf88f.v2-territorial-u-09cf88f.v2-territorial-u-09cf88f{color:var(--txt2);line-height:1.8}
html body .v2-territorial-u-24d308c.v2-territorial-u-24d308c.v2-territorial-u-24d308c.v2-territorial-u-24d308c.v2-territorial-u-24d308c.v2-territorial-u-24d308c{margin-top:26px}
html body .v2-territorial-u-4b48525.v2-territorial-u-4b48525.v2-territorial-u-4b48525.v2-territorial-u-4b48525.v2-territorial-u-4b48525.v2-territorial-u-4b48525{max-width:780px;margin:0 auto}
html body .v2-territorial-u-86de7ac.v2-territorial-u-86de7ac.v2-territorial-u-86de7ac.v2-territorial-u-86de7ac.v2-territorial-u-86de7ac.v2-territorial-u-86de7ac{margin-top:18px}
html body .v2-territorial-u-91a8701.v2-territorial-u-91a8701.v2-territorial-u-91a8701.v2-territorial-u-91a8701.v2-territorial-u-91a8701.v2-territorial-u-91a8701{text-align:center}
html body .v2-territorial-u-c2df199.v2-territorial-u-c2df199.v2-territorial-u-c2df199.v2-territorial-u-c2df199.v2-territorial-u-c2df199.v2-territorial-u-c2df199{color:var(--txt2);line-height:1.8;margin-bottom:1.4rem}
html body .v2-territorial-u-c5233ed.v2-territorial-u-c5233ed.v2-territorial-u-c5233ed.v2-territorial-u-c5233ed.v2-territorial-u-c5233ed.v2-territorial-u-c5233ed{color:var(--txt2);max-width:680px;margin:0 auto 8px}
html body .v2-territorial-u-d2c171b.v2-territorial-u-d2c171b.v2-territorial-u-d2c171b.v2-territorial-u-d2c171b.v2-territorial-u-d2c171b.v2-territorial-u-d2c171b{margin-top:10px}


/* Audit olistico 2026-08-25 — chiusura P2: prosa lunga e note territoriali su mobile. */
@media(max-width:600px){
  body.v2-editorial-service.page-territoriale main .legal-note{font-size:.84rem!important;line-height:1.68!important;}
  html body.v2-editorial-service.page-territoriale.page-pedagogista-friuli-venezia-giulia .cta-section .wrap > p,
  html body.v2-editorial-service.page-territoriale.page-pedagogista-lombardia .cta-section .wrap > p,
  html body.v2-editorial-service.page-territoriale.page-pedagogista-piemonte .cta-section .wrap > p,
  html body.v2-editorial-service.page-territoriale.page-pedagogista-veneto .cta-section .wrap > p{
    text-align:left!important;text-align-last:auto!important;
  }
}
