/* V2 Editorial — pagine istituzionali, storiche e secondarie
   Modulo autonomo: armonizza famiglie legacy senza alterarne contenuti o semantica. */
body.v2-editorial-secondary{background:var(--v2-canvas);color:var(--v2-ink)}
body.v2-editorial-secondary :is(.hero,.bio-hero,.cv-hero,.post-hero){position:relative;overflow:hidden;background:var(--v2-cover-bg)!important;color:#fff;border-bottom:1px solid rgba(212,180,109,.5)}
body.v2-editorial-secondary :is(.hero,.bio-hero,.cv-hero,.post-hero)>*{position:relative;z-index:1}
body.v2-editorial-secondary :is(.hero,.bio-hero,.cv-hero,.post-hero)::after{content:"";position:absolute;z-index:0;top:-18rem;right:-12rem;width:38rem;height:38rem;border-radius:50%;background:var(--v2-cover-glow);pointer-events:none}
body.v2-editorial-secondary :is(.hero h1,.bio-hero h1,.cv-hero h1,.post-hero h1){max-width:920px;margin-left:auto;margin-right:auto;color:#fff!important;font-family:var(--v2-serif)!important;font-size:clamp(2.65rem,4.7vw,4.15rem)!important;font-weight:600!important;letter-spacing:-.022em!important;line-height:1.02!important;text-wrap:balance}
body.v2-editorial-secondary :is(.hero p,.bio-hero p,.cv-hero p,.post-hero p){max-width:800px;margin-left:auto;margin-right:auto;color:rgba(255,255,255,.86)!important;line-height:1.68!important}
body.v2-editorial-secondary :is(.hero .eyebrow,.hero .kicker,.bio-hero .kicker,.cv-kicker,.post-hero .eyebrow,.post-hero .kicker){color:var(--v2-gold-soft)!important;font-size:.73rem!important;font-weight:800!important;letter-spacing:.15em!important;text-transform:uppercase}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main,.rec-main){color:var(--v2-ink)}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) p{color:#3d4f62;line-height:1.82}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) li{color:#3d4f62;line-height:1.72}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) p,
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) li{text-align:left!important;text-align-last:auto!important}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) h2,
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) h3{color:var(--v2-heading);font-family:var(--v2-serif);font-weight:600;letter-spacing:-.01em}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) h2{font-size:clamp(1.85rem,3vw,2.45rem);line-height:1.1}
body.v2-editorial-secondary :is(main,.bio-main,.cv-wrap,.post-evento-main) h3{font-size:1.36rem;line-height:1.18}
body.v2-editorial-secondary .breadcrumb{background:transparent!important}
body.v2-editorial-secondary :is(.bio-main,.cv-wrap,#faq-main,#pub-main,.post-evento-main,.content-wrap,#main-content){max-width:1120px;margin-left:auto;margin-right:auto}

/* Biografie, radici e storia */
body.v2-editorial-secondary :is(.page-biografia-completa,.page-scuola-totalita-storia,.page-nicola-bellisario,.page-vincenzo-bellisario,.page-radici-totalita) .bio-hero{padding-top:clamp(3.4rem,5vw,5.1rem);padding-bottom:clamp(3rem,4.6vw,4.5rem)}
body.v2-editorial-secondary .bio-photo{margin-top:1.5rem}
body.v2-editorial-secondary .bio-photo img{width:172px!important;height:215px!important;object-fit:var(--glb-portrait-fit,cover)!important;object-position:var(--glb-portrait-position,center)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 24px 50px rgba(0,0,0,.25)!important}
body.v2-editorial-secondary .bio-main{padding-left:1.4rem;padding-right:1.4rem}
body.v2-editorial-secondary .bio-main>section{max-width:900px;margin:0 auto;padding:clamp(2.4rem,4vw,3.6rem) 0;border-bottom:1px solid var(--v2-divider)}
body.v2-editorial-secondary .bio-main>section:last-of-type{border-bottom:0}
body.v2-editorial-secondary .bio-main>section>p{max-width:74ch;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary .bio-main>section>h2{max-width:780px;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary .bio-grid{max-width:900px;margin:1.8rem auto 2.5rem;gap:1rem}
body.v2-editorial-secondary .bio-card{padding:1.35rem 1.45rem!important;border:1px solid var(--v2-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}
body.v2-editorial-secondary .bio-links{max-width:900px;margin:1.5rem auto 0;gap:.65rem}
body.v2-editorial-secondary .bio-links a{min-height:42px;padding:.62rem .9rem;border-radius:11px}

/* Curriculum */
body.v2-editorial-secondary.page-curriculum .cv-hero{padding:clamp(3.3rem,5vw,4.8rem) 1.25rem}
body.v2-editorial-secondary.page-curriculum .cv-hero-inner{max-width:1050px}
body.v2-editorial-secondary.page-curriculum .cv-wrap{max-width:1100px!important;padding:0 1.25rem 3rem}
body.v2-editorial-secondary.page-curriculum .cv-section{margin:0!important;padding:clamp(2rem,3.5vw,3rem) clamp(1rem,2.3vw,1.6rem)!important;border-bottom:1px solid var(--v2-divider)!important;background:transparent!important;box-shadow:none!important}
body.v2-editorial-secondary.page-curriculum .cv-section>h2{margin-bottom:1.25rem!important}
body.v2-editorial-secondary.page-curriculum .cv-grid{gap:.9rem!important}
body.v2-editorial-secondary.page-curriculum :is(.cv-card,.cv-item,.cv-row,.pub-row){border:1px solid var(--v2-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 22px rgba(17,37,58,.035)!important}
body.v2-editorial-secondary.page-curriculum :is(.cv-card,.cv-item){padding:1.1rem 1.2rem!important}
body.v2-editorial-secondary.page-curriculum :is(.cv-card,.cv-item,.cv-row,.pub-row) p{font-size:.93rem!important;line-height:1.65!important}
body.v2-editorial-secondary.page-curriculum .cv-badges{gap:.55rem}
body.v2-editorial-secondary.page-curriculum .cv-badges a{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.07);color:#fff}

/* A.N.I.Ped., FAQ, riconoscimento e profilo Pier Paolo */
body.v2-editorial-secondary.page-aniped .hero,
body.v2-editorial-secondary.page-faq .hero,
body.v2-editorial-secondary.page-riconoscimento-professione .hero,
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta .hero{padding-top:clamp(3.5rem,5vw,5rem)!important;padding-bottom:clamp(3.2rem,4.7vw,4.6rem)!important}
body.v2-editorial-secondary.page-aniped .section,
body.v2-editorial-secondary.page-faq .section,
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta .section{padding-top:clamp(2.7rem,4vw,3.8rem);padding-bottom:clamp(2.7rem,4vw,3.8rem)}
body.v2-editorial-secondary.page-aniped :is(.dato-card,.servizio-card),
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta :is(.spec-card,.duo-card,.cv-item),
body.v2-editorial-secondary.page-faq :is(.faq-item,.faq-card){border:1px solid var(--v2-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}
body.v2-editorial-secondary.page-aniped :is(.dato-card,.servizio-card),
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta :is(.spec-card,.duo-card,.cv-item){padding:1.2rem 1.3rem!important}
body.v2-editorial-secondary.page-aniped .timeline{max-width:900px;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary.page-aniped .timeline-item{border-bottom-color:var(--v2-divider)!important}
body.v2-editorial-secondary.page-aniped .cta-box,
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta :is(.cta-box,.cta-final),
body.v2-editorial-secondary.page-faq .cta-box{background:linear-gradient(135deg,var(--v2-navy-950),var(--v2-navy-700))!important;border-radius:18px!important;color:#fff!important}
body.v2-editorial-secondary.page-aniped .cta-box :is(h2,h3,p),
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta :is(.cta-box,.cta-final) :is(h2,h3,p),
body.v2-editorial-secondary.page-faq .cta-box :is(h2,h3,p){color:#fff!important;max-width:760px;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary.page-riconoscimento-professione .content-wrap{max-width:940px!important;padding-left:1.25rem;padding-right:1.25rem}
body.v2-editorial-secondary.page-riconoscimento-professione .content-wrap>section,
body.v2-editorial-secondary.page-riconoscimento-professione .content-wrap>.rec-section{padding:2.4rem 0;border-bottom:1px solid var(--v2-divider)}

/* Documenti e mappa */
body.v2-editorial-secondary.page-pubblicazioni #pub-main{padding-left:1.25rem;padding-right:1.25rem}
body.v2-editorial-secondary.page-pubblicazioni #pub-main>section,
body.v2-editorial-secondary.page-pubblicazioni #pub-main>.pub-section{max-width:940px;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary.page-pubblicazioni :is(.doc-card,.pub-card,.publication-card,.document-card){border:1px solid var(--v2-border)!important;border-top:2px solid var(--v2-navy-700)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}
body.v2-editorial-secondary.page-mappa-del-sito main#main-content{padding-left:1.25rem;padding-right:1.25rem}
body.v2-editorial-secondary.page-mappa-del-sito :is(.sitemap-card,.map-card,.site-map-card){border:1px solid var(--v2-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}

/* Eventi */
body.v2-editorial-secondary.page-post-evento-22maggio2026 .post-evento-main{max-width:none}
body.v2-editorial-secondary.page-post-evento-22maggio2026 .post-hero{padding:clamp(3.8rem,6vw,5.4rem) 1.25rem!important}
body.v2-editorial-secondary.page-post-evento-22maggio2026 :is(.resoconto,.gallery-section,.post-evento-main>section:not(.post-hero)){max-width:1040px;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}
body.v2-editorial-secondary.page-post-evento-22maggio2026 .resoconto{padding-top:3rem;padding-bottom:2.4rem}
body.v2-editorial-secondary.page-post-evento-22maggio2026 .gallery-grid{gap:1rem!important}
body.v2-editorial-secondary.page-post-evento-22maggio2026 .gallery-grid>*{overflow:hidden;border:1px solid var(--v2-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}

/* Articolo professionale secondario */
body.v2-editorial-secondary.article-page article.wrap{max-width:1040px;padding-left:1.25rem;padding-right:1.25rem}
body.v2-editorial-secondary.article-page article.wrap>h1{max-width:900px;color:var(--v2-heading)!important;font-family:var(--v2-serif)!important;font-size:clamp(2.55rem,4.5vw,3.85rem)!important;font-weight:600!important;line-height:1.03!important;letter-spacing:-.02em!important}
body.v2-editorial-secondary.article-page article.wrap>.article-sub{max-width:760px;color:var(--v2-muted)!important;font-size:1.06rem!important;line-height:1.7!important}
body.v2-editorial-secondary.article-page article.wrap>p,
body.v2-editorial-secondary.article-page article.wrap>ul,
body.v2-editorial-secondary.article-page article.wrap>ol{max-width:72ch!important}
body.v2-editorial-secondary.article-page :is(.rel-card,.article-related-card){border:1px solid var(--v2-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--v2-shadow-card)!important}
body.v2-editorial-secondary.article-page .cta-box{border-radius:18px!important;background:linear-gradient(135deg,var(--v2-navy-950),var(--v2-navy-700))!important}
body.v2-editorial-secondary.article-page .cta-box :is(h2,h3,p){color:#fff!important}

@media(max-width:760px){
 body.v2-editorial-secondary :is(.hero,.bio-hero,.cv-hero,.post-hero){text-align:center}
 body.v2-editorial-secondary :is(.hero h1,.bio-hero h1,.cv-hero h1,.post-hero h1){font-size:2.55rem!important}
 body.v2-editorial-secondary .bio-main{padding-left:1rem;padding-right:1rem}
 body.v2-editorial-secondary .bio-photo img{width:150px!important;height:188px!important}
 body.v2-editorial-secondary.page-curriculum .cv-wrap{padding-left:.8rem;padding-right:.8rem}
 body.v2-editorial-secondary.page-curriculum .cv-section{padding-left:.45rem!important;padding-right:.45rem!important}
 body.v2-editorial-secondary.page-post-evento-22maggio2026 :is(.resoconto,.gallery-section,.post-evento-main>section:not(.post-hero)){padding-left:1rem;padding-right:1rem}
 body.v2-editorial-secondary.article-page article.wrap{padding-left:1rem;padding-right:1rem}
}

/* Quality gate refinements */
body.v2-editorial-secondary .cta-band :is(h2,h3,p){color:#fff!important}
body.v2-editorial-secondary.article-page .pdf-box :is(h3,p){color:#fff!important}
body.v2-editorial-secondary.article-page .breadcrumb a{display:inline-flex;align-items:center;min-height:24px}
body.v2-editorial-secondary.page-curriculum :is(.cv-list,.cv-note){max-width:78ch;margin-left:auto!important;margin-right:auto!important}
body.v2-editorial-secondary.page-faq .legal-note{max-width:78ch;margin-left:auto;margin-right:auto}
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta .hero-eyebrow{font-size:.78rem!important}
body.v2-editorial-secondary.page-pier-paolo-bellisario-psicoterapeuta .cta-final .btn-o{background:#fff!important;color:var(--v2-navy-900)!important;border-color:#fff!important}
body.v2-editorial-secondary.page-riconoscimento-professione .rec-callout :is(p,em){color:#fff!important}
body.v2-editorial-secondary.page-riconoscimento-professione :is(.rec-kicker,.rec-norma-id){font-size:.78rem!important}
body.v2-editorial-secondary.article-page .article-meta__sep{color:#526579!important}
body.v2-editorial-secondary.article-page .article-eyebrow a{display:inline-flex;align-items:center;min-height:24px}
body.v2-editorial-secondary.article-page .article-eyebrow a{min-height:24px!important;padding-block:2px!important}
body.v2-editorial-secondary.article-page .article-meta a{display:inline-flex!important;align-items:center;min-height:24px!important}

/* V2 editorial alignment pass — historical/institutional covers */
body.v2-editorial-secondary .glb-hero-title-anchor{top:0!important}
body.v2-editorial-secondary :is(.hero,.bio-hero,.cv-hero,.post-hero) :is(.kicker,.bio-kicker,.eyebrow,.hero-eyebrow,.cv-kicker){
  text-align:center!important;
}


/* V2 absolute minimum for compact editorial labels */
body.v2-editorial-secondary :is(.kicker,.bio-kicker,.eyebrow,.hero-eyebrow,.cv-kicker,.glb-hero-kicker){font-size:12px!important}
/* Specificity-safe minimum for the Curriculum kicker (legacy :is() carries two-class specificity). */
body.v2-editorial-secondary .cv-hero .cv-kicker{font-size:12px!important}
/* V2 final reading measure for long prose inside secondary article pages. */
body.v2-editorial-secondary.article-page article.wrap > section p{max-width:760px;margin-left:auto;margin-right:auto}

/* V2 final reading measure for FAQ and contextual prose in secondary article pages. */
body.v2-editorial-secondary.article-page article.wrap section p,
body.v2-editorial-secondary.article-page article.wrap aside p{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}

/* V2 final reading measure — normative timeline */
body.v2-editorial-secondary.page-riconoscimento-professione .rec-timeline{max-width:800px!important;margin-left:auto!important;margin-right:auto!important}

/* V2 final caption contrast for historical event galleries. */
body.v2-editorial-secondary.page-post-evento-22maggio2026 .ph figcaption{
  background:linear-gradient(180deg,rgba(8,23,37,.76),rgba(8,23,37,.96))!important;
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.55)!important;
}

/* V3.1.1 — bilanciamento tipografico dei titoli nelle pagine secondarie */
body.v2-editorial-secondary main h2,
body.v2-editorial-secondary main h3,
body.v2-editorial-secondary article h2,
body.v2-editorial-secondary article h3 {
  text-wrap: balance;
}

