/* ==========================================================================
   families/territorial.css
   Sistema editoriale delle pagine territoriali: copertine, mappe di zona, moduli di contatto locali.
   Caricato da 28 pagine.
   ========================================================================== */

body.v2-editorial-service.page-territoriale {
  background: var(--v2-canvas);
  color: var(--v2-ink);
}

body.v2-editorial-service.page-territoriale .hero.v2-service-cover {
  padding: var(--hero-pad-y) 1.5rem !important;
}

body.v2-editorial-service.page-territoriale .hero.v2-service-cover :is(.hero-btns,.hero-cta) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  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 .orari {
  max-width: 800px !important;
  margin: 1rem auto 0 !important;
  color: rgba(255,255,255,.9) !important; /* R5.50 A09: con l'opacità .72 di local.css il bianco effettivo è circa 65%, contrasto minimo misurato 5,39:1 (prima 4,05:1) */
  font-size: .78rem !important;
  line-height: 1.55 !important;
  text-align: center;
}

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);
  margin-inline: auto;
}

body.v2-editorial-service.page-territoriale main .section h2,
body.v2-editorial-service.page-territoriale main .section-title {
  margin: 0 auto 1.8rem !important;
  color: var(--v2-heading) !important;
  font-family: var(--v2-serif);
  font-weight: 600 !important;
  letter-spacing: -.018em;
  text-align: center;
  text-wrap: balance;
}

body.v2-editorial-service.page-territoriale main .section h2::after {
  margin: .75rem auto 0;
}

body.v2-editorial-service.page-territoriale main :is(.section>.wrap>p,.section>.container>p,.section-sub) {
  margin-left: auto;
  margin-right: auto;
  color: var(--v2-text) !important;
  line-height: 1.78 !important;
  text-align-last: auto;
  text-wrap: pretty;
}

body.v2-editorial-service.page-territoriale main .legal-note {
  max-width: 760px;
  margin-inline: auto;
  font-size: .8rem !important;
}

body.v2-editorial-service.page-territoriale :is(.profilo-grid,.profilo) {
  gap: clamp(1.6rem,4vw,3rem);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto) {
  max-width: 230px;
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17,37,58,.08);
}

body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto) img {
  display: block;
  width: 100%;
  height: auto;
}

body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body) h3 {
  color: var(--v2-heading);
  font-family: var(--v2-serif);
  font-weight: 600;
}

body.v2-editorial-service.page-territoriale :is(.profilo-info .role,.profilo-body .ruolo) {
  color: var(--v2-gold-text) !important;
  font-weight: 800;
}

body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body) p {
  color: var(--v2-text);
  line-height: 1.76 !important;
  text-align: left;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

body.v2-editorial-service.page-territoriale .badge-list {
  justify-content: center;
  gap: .48rem;
}

body.v2-editorial-service.page-territoriale .badge {
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: #fff;
  color: var(--v2-heading);
  padding: .38rem .72rem;
  font-size: .76rem;
  box-shadow: none !important;
}

body.v2-editorial-service.page-territoriale :is(.services,.servizi-grid,.perche-grid,.motivi-list) {
  gap: 1rem;
}

body.v2-editorial-service.page-territoriale :is(.svc,.servizio-card,.perche-item,.motivo) {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: #fff;
  box-shadow: var(--v2-shadow-card);
  padding: 1.35rem;
}

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;
  color: var(--v2-gold-text);
}

body.v2-editorial-service.page-territoriale :is(.svc h3,.servizio-title) {
  color: var(--v2-heading);
  font-weight: 700;
}

body.v2-editorial-service.page-territoriale :is(.svc p,.servizio-desc,.perche-item p,.motivo-text) {
  color: var(--v2-text);
  font-size: .9rem !important;
  line-height: 1.68 !important;
  text-align: left;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

body.v2-editorial-service.page-territoriale :is(.perche-item,.motivo) {
  text-align: center;
}

body.v2-editorial-service.page-territoriale :is(.perche-item .num,.motivo-num) {
  color: var(--v2-gold-text);
  font-family: var(--v2-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

body.v2-editorial-service.page-territoriale :is(.zone-list,.regional-cta-links) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}

body.v2-editorial-service.page-territoriale :is(.zone-tag,.regional-cta-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .48rem .78rem;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: #fff;
  color: var(--v2-blue-link);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none !important;
}

body.v2-editorial-service.page-territoriale .regional-cta-btn:hover,
body.v2-editorial-service.page-territoriale .regional-cta-btn:focus-visible {
  border-color: #b7c8d9 !important;
  background: #f8fafc !important;
}

body.v2-editorial-service.page-territoriale .regional-cta {
  margin: 0;
  padding: 1.6rem 1.25rem !important;
  border-top: 1px solid var(--v2-border-soft);
  background: var(--v2-surface);
  text-align: center;
}

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);
  font-family: var(--v2-serif);
  font-weight: 600;
  text-align: center;
}

body.v2-editorial-service.page-territoriale .zona-box {
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: #fff;
  box-shadow: var(--v2-shadow-card);
}

body.v2-editorial-service.page-territoriale :is(.faq,.faq-list) {
  max-width: 860px;
  margin-inline: auto;
}

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);
}

body.v2-editorial-service.page-territoriale .faq-q {
  font-weight: 800;
}

body.v2-editorial-service.page-territoriale .faq-item h3 {
  font-weight: 700;
}

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;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

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;
}

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;
  margin-inline: auto;
}

body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) h2 {
  color: #fff !important;
  font-family: var(--v2-serif);
  font-weight: 600 !important;
}

body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) p {
  max-width: 700px !important;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.86) !important;
  text-align: center;
  text-align-last: auto;
}

body.v2-editorial-service.page-territoriale :is(.cta-row,.cta-box__actions) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  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;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: .7rem 1rem;
  border-radius: 11px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}

body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) .btn-w {
  background: linear-gradient(180deg,#faf7f0,#ede3d2);
  border: 1px solid rgba(255,255,255,.8);
  color: #102235;
}

body.v2-editorial-service.page-territoriale :is(.cta-section,.cta-box-section) .btn-o {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
}

body.v2-editorial-service.page-territoriale .gold-line {
  color: var(--v2-gold-text);
}

body.v2-editorial-service.page-territoriale .gold-line {
  background: var(--v2-gold);
}

body.v2-editorial-service.page-territoriale .section-sub {
  max-width: 760px !important;
}

body.v2-editorial-service.page-territoriale .section .cta-box-section {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(2.4rem,4vw,3.2rem) 1.25rem !important;
  border-radius: var(--v2-radius-xl);
  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);
}

body.v2-editorial-service.page-territoriale .section .cta-box-section p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.86) !important;
  text-align: center;
  text-align-last: auto;
}

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;
}

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);
}

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);
  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 {
  margin: 0 auto 8px;
}

@media (max-width: 768px) {
  body.v2-editorial-service.page-territoriale .hero.v2-service-cover {
    padding: var(--hero-pad-y) 1rem !important;
  }
  body.v2-editorial-service.page-territoriale :is(.profilo-grid,.profilo) {
    grid-template-columns: 1fr;
  }
  body.v2-editorial-service.page-territoriale :is(.profilo-photo,.profilo-foto) {
    margin-inline: auto;
  }
  body.v2-editorial-service.page-territoriale :is(.profilo-info,.profilo-body) {
    text-align: left;
  }
}

@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 :is(.zone-tag,.regional-cta-btn) {
    min-height: 40px;
  }
  body.v2-editorial-service.page-territoriale .motivo {
    padding: 1.05rem !important;
    gap: .7rem;
  }
  body.v2-editorial-service.page-territoriale .motivo-num {
    width: 1.55rem;
  }
  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;
  }
}

@media (max-width: 600px) {
  body.v2-editorial-service.page-territoriale main .legal-note {
    font-size: .84rem !important;
  }
}

/* R5.4 · Scheda di apertura: pedagogia clinica ed educazione alla salute mentale */
body.v2-editorial-service.page-territoriale .services>.svc--lead {
  flex-basis: 100%;
  max-width: 100%;
}

body.v2-editorial-service.page-territoriale .servizi-grid>.servizio-card--lead {
  grid-column: 1/-1;
}

/* R5.17 · Qualifica sotto il nome nel riquadro del profilo: centrata come il nome, mai giustificata (proposta 3). */
body.v2-editorial-service.page-territoriale :is(.profilo-info .role, .profilo-body .ruolo) {
  --r517-ta: center;
  --r517-hy: manual;
  text-align: center;
  text-align-last: center;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* R5.17 · Forma a pillola soltanto per ciò che si clicca (§ 3.6, proposta 5): località e qualifiche non cliccabili come testo semplice,
   ciascuna preceduta da un punto oro, distinte dai collegamenti a pillola verso le altre sedi e le pagine. */
body.v2-editorial-service.page-territoriale :is(#_r517_label, .zone-tag, span.badge) {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--v2-heading);
}

body.v2-editorial-service.page-territoriale :is(#_r517_label, .zone-tag, span.badge)::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--oro, #d4b46d);
}

body.v2-editorial-service.page-territoriale :is(#_r517_label, .zone-list) {
  column-gap: 1.1rem;
  row-gap: .35rem;
}

/* R5.25 (D3): accesso dalle localita' accorpate nella pagina di Lanciano */
body.v2-editorial-service.page-territoriale .zone-list + .r4f-local-intro {
  margin-top: 1.6rem;
}

body.v2-editorial-service.page-territoriale .r4f-local-intro + .services {
  margin-top: 1.2rem;
}
