/*
Theme Name: Dimensione ATA Pro Child
Description: Presentation layer for Dimensione ATA; requires Extendable 2.1.9. Homepage presentation enhancement; no business logic overridden.
Author: Dimensione ATA
Template: extendable
Version: 2.2.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dimensione-ata-pro-child
*/
:root{--dea-ink:#0b0620;--dea-primary:#381d92;--dea-primary-dark:#1c0a63;--dea-soft:#f2f2fa;--dea-line:#e2deec}
body{font-family:var(--wp--preset--font-family--inter,Inter,system-ui,sans-serif);color:var(--dea-ink);-webkit-font-smoothing:antialiased}
:where(.wp-site-blocks) a:focus-visible,:where(.wp-site-blocks) button:focus-visible,:where(.wp-site-blocks) input:focus-visible,:where(.wp-site-blocks) select:focus-visible{outline:3px solid #7458ce;outline-offset:3px}
.wp-site-blocks>.wp-block-template-part:first-child{position:relative;z-index:20;border-bottom:1px solid var(--dea-line)}
.wp-site-blocks .wp-block-site-title{font-weight:750;letter-spacing:-.025em}
.wp-site-blocks .wp-block-navigation-item__content{font-weight:600}
.wp-site-blocks :where(h1,h2,h3){letter-spacing:-.035em;line-height:1.17;text-wrap:balance}
.wp-site-blocks :where(p,li){line-height:1.65}
.wp-site-blocks :where(.wp-block-button__link){border-radius:12px;font-weight:700;min-height:44px;display:inline-flex;align-items:center;justify-content:center;transition:background-color .15s ease,color .15s ease}
.wp-site-blocks :where(.wp-block-button__link):hover{filter:brightness(.93)}
.wp-site-blocks :where(.wp-block-group.is-layout-constrained){max-width:100%}
.wp-site-blocks :where(.wp-block-columns){gap:clamp(16px,2.5vw,32px)}
.wp-site-blocks :where(.wp-block-post-content) img{max-width:100%;height:auto}
.wp-site-blocks>.wp-block-template-part:last-child{border-top:1px solid var(--dea-line)}
@media(max-width:781px){.wp-site-blocks :where(h1){font-size:clamp(2rem,8vw,3rem)}.wp-site-blocks :where(.wp-block-button__link){width:100%}.wp-site-blocks :where(.wp-block-columns){gap:16px}}
@media(prefers-reduced-motion:reduce){.wp-site-blocks *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Dimensione ATA Pro 2.0: scoped presentation */
.dea-pro-hero{background:#f5f3fc;color:#17122c;border:1px solid #e3dff2;border-radius:24px;padding:clamp(24px,5vw,64px);margin:0 auto 36px;max-width:1200px;box-sizing:border-box}
.dea-pro-hero *{box-sizing:border-box}.dea-pro-kicker{font-size:.78rem;letter-spacing:.12em;font-weight:800;color:#5133a0;text-transform:uppercase}
.dea-pro-hero h1{font-size:clamp(2.2rem,4.5vw,4.2rem);max-width:850px;line-height:1.07;margin:16px 0 18px;letter-spacing:-.05em;color:#17122c}
.dea-pro-intro{font-size:clamp(1rem,1.6vw,1.22rem);line-height:1.6;max-width:710px;color:#464056;margin:0 0 26px}
.dea-pro-primary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;background:#381d92;color:#fff!important;padding:12px 22px;border-radius:12px;font-weight:750;text-decoration:none!important}
.dea-pro-primary:hover{background:#1c0a63}.dea-pro-disclaimer{display:block;color:#59536c;font-size:.86rem;margin:13px 0 0}
.dea-pro-paths{margin-top:38px;border-top:1px solid #dcd5ed;padding-top:28px}.dea-pro-paths h2{font-size:clamp(1.3rem,2.5vw,1.9rem);margin:0 0 18px;color:#17122c}
.dea-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dea-pro-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e0dcec;border-radius:16px;padding:22px;color:#1d1535!important;text-decoration:none!important;transition:border-color .2s ease,transform .2s ease}
.dea-pro-card:hover{border-color:#7051bd;transform:translateY(-2px)}.dea-pro-card:focus-visible{outline:3px solid #7458ce;outline-offset:3px}
.dea-pro-number{font-weight:800;font-size:.82rem;color:#5e42ad}.dea-pro-card strong{font-size:1.1rem;line-height:1.25}.dea-pro-card span:last-child{color:#5c5668;font-size:.92rem;line-height:1.5}
.dea-pro-footnote{font-size:.9rem;color:#59536c;margin:18px 0 0}
.dea118-home .dea118-main{max-width:1200px;margin-inline:auto}.dea118-home .dea118-cards a{border-radius:16px!important}
.dea118-home .dea118-cards a:focus-visible,.dea118-home .dea118-links a:focus-visible{outline:3px solid #7458ce;outline-offset:3px}
@media(max-width:780px){.dea-pro-grid{grid-template-columns:1fr}.dea-pro-hero{border-radius:16px;padding:22px;margin-bottom:24px}.dea-pro-card{padding:18px}.dea-pro-paths{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.dea-pro-card{transition:none}.dea-pro-card:hover{transform:none}}

/* 2.1 — Institutional visual correction. Homepage-only content layout. */
:root{--dea-ink:#14213d;--dea-primary:#3155a4;--dea-primary-dark:#213e7c;--dea-soft:#f2f5fa;--dea-line:#dce3ed}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#14213d}
.wp-site-blocks>.wp-block-template-part:first-child{background:#fff;border-bottom:1px solid #e1e7ef}
.wp-site-blocks>.wp-block-template-part:first-child>.wp-block-group{max-width:1320px;margin-inline:auto;gap:24px;padding-block:12px}
.wp-site-blocks .wp-block-site-title{font-size:1.15rem!important;line-height:1.15;font-weight:800;letter-spacing:-.025em;text-transform:none!important}
.wp-site-blocks .wp-block-navigation .wp-block-page-list{gap:6px 16px;justify-content:flex-end}
.wp-site-blocks .wp-block-navigation .wp-block-navigation-item__content{font-size:.85rem;font-weight:600;line-height:1.4;text-decoration:none}
.wp-site-blocks .wp-block-navigation .wp-block-navigation-item__content:hover{color:#3155a4;text-decoration:underline;text-underline-offset:4px}
body.home main#wp--skip-link--target>.wp-block-group:first-child{display:none}
body.home .wp-block-post-content{max-width:none!important;padding-inline:clamp(16px,3.5vw,60px)!important}
body.home .wp-block-post-content>.dea118-home,body.home .dea118-home{display:block;width:100%;max-width:1240px;margin:0 auto!important}
body.home .dea-pro-hero{background:#f2f5fa;border:1px solid #dce3ed;border-radius:20px;max-width:1240px;padding:clamp(26px,4.2vw,56px);margin:32px auto 42px}
body.home .dea-pro-kicker{color:#3155a4;font-size:.76rem;letter-spacing:.095em}
body.home .dea-pro-hero h1{font-size:clamp(2.05rem,3.7vw,3.65rem);line-height:1.12;max-width:840px;letter-spacing:-.038em;color:#14213d;margin:16px 0}
body.home .dea-pro-intro{font-size:clamp(1rem,1.3vw,1.16rem);color:#3d4b61;line-height:1.65;max-width:780px}
body.home .dea-pro-primary{background:#3155a4;color:#fff!important;border-radius:9px;padding:14px 24px;min-height:50px;box-shadow:none}
body.home .dea-pro-primary:hover{background:#213e7c}
body.home .dea-pro-paths{border-top-color:#dce3ed}
body.home .dea-pro-paths h2{color:#14213d;font-size:clamp(1.4rem,2.3vw,1.85rem)}
body.home .dea-pro-grid{gap:16px}
body.home .dea-pro-card{background:#fff;border:1px solid #dce3ed;border-radius:12px;box-shadow:none;padding:24px;gap:11px}
body.home .dea-pro-card:hover{border-color:#3155a4;background:#fafdff}
body.home .dea-pro-card strong{font-size:1.12rem;color:#14213d}
body.home .dea-pro-number{color:#3155a4}
body.home .dea-pro-card span:last-child{color:#4d596d}
body.home .dea118-main{max-width:1240px!important;margin:0 auto;padding:0 0 44px}
body.home .dea118-section-title{max-width:820px;margin:0 auto 28px;text-align:center}
body.home .dea118-section-title>span{color:#3155a4;font-size:.78rem;font-weight:750;letter-spacing:.09em}
body.home .dea118-section-title h2{font-size:clamp(1.6rem,2.6vw,2.35rem);line-height:1.2;letter-spacing:-.035em;color:#14213d;margin:12px 0}
body.home .dea118-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 26px}
body.home .dea118-cards>a{display:flex!important;position:relative;align-items:flex-start;gap:18px;min-width:0;background:#fff!important;border:1px solid #dce3ed!important;border-radius:14px!important;padding:25px!important;color:#14213d!important;text-decoration:none!important;box-shadow:none!important;min-height:155px}
body.home .dea118-cards>a:hover{border-color:#3155a4!important;background:#f9fbff!important}
body.home .dea118-cards>a .ico{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#edf2fb;color:#3155a4}
body.home .dea118-cards>a .ico svg{width:24px;height:24px;stroke-width:1.8}
body.home .dea118-cards>a h3{font-size:1.24rem!important;line-height:1.3;margin:0 0 9px;color:#14213d;text-decoration:none!important}
body.home .dea118-cards>a p{font-size:.98rem;line-height:1.6;color:#536074;margin:0;text-decoration:none!important}
body.home .dea118-cards>a .go{margin-left:auto;flex:0 0 20px;color:#3155a4;width:20px;height:20px}
body.home .dea118-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 42px}
body.home .dea118-links>a{display:flex!important;align-items:center;gap:12px;border:1px solid #dce3ed;background:#f8fafd;border-radius:12px;padding:18px!important;text-decoration:none!important;color:#14213d!important;min-width:0}
body.home .dea118-links>a>svg{flex:0 0 21px;width:21px;height:21px;color:#3155a4}
body.home .dea118-links>a>svg:last-child{margin-left:auto}
body.home .dea118-links>a div{display:flex;flex-direction:column;gap:4px;min-width:0}
body.home .dea118-links>a b{font-size:.96rem;color:#14213d;text-decoration:none}
body.home .dea118-links>a small{font-size:.83rem;color:#566378;line-height:1.4;text-decoration:none}
body.home .dea121-footer{background:#14213d!important;color:#fff!important;border-radius:14px;margin:30px auto 24px;max-width:1240px;padding:28px 32px}
body.home .dea121-footer .dea121-footer-inner{max-width:100%;margin:0}
body.home .dea121-footer :where(strong,p){color:#fff!important}
body.home .wp-block-post-content>p{margin:0}
@media(max-width:900px){body.home .dea118-links{grid-template-columns:1fr}body.home .dea118-cards{grid-template-columns:1fr}body.home .dea-pro-grid{grid-template-columns:1fr}.wp-site-blocks>.wp-block-template-part:first-child>.wp-block-group{flex-wrap:wrap}}
@media(max-width:600px){body.home .dea-pro-hero{margin:14px auto 26px;padding:24px 18px;border-radius:12px}body.home .dea118-cards>a{padding:18px!important;min-height:0}body.home .dea118-cards>a .ico{width:42px;height:42px;flex-basis:42px}body.home .dea118-cards>a h3{font-size:1.08rem!important}body.home .dea121-footer{padding:22px 18px}body.home .wp-block-post-content{padding-inline:14px!important}}


/* 2.2 — Design system refinement. Does not change the WordPress navigation or site content. */
:root{--dea-pro-navy:#14213d;--dea-pro-blue:#3155a4;--dea-pro-blue-deep:#213e7c;--dea-pro-border:#d9e2ef;--dea-pro-muted:#4d5e75;--dea-pro-surface:#f3f6fb}
body.home .dea118-home{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;color:var(--dea-pro-navy)}
body.home .dea118-home :where(h1,h2,h3,p){overflow-wrap:break-word}
body.home .dea118-home :where(a){-webkit-tap-highlight-color:transparent}
body.home .dea118-home :where(a:focus-visible){outline:3px solid #1b67bf!important;outline-offset:4px!important}
body.home .dea-pro-hero{background:linear-gradient(125deg,#f0f4fa 0%,#f7f9fd 100%);border-color:var(--dea-pro-border);box-shadow:none}
body.home .dea-pro-hero h1{font-weight:800;max-width:740px;font-size:clamp(2.15rem,3.5vw,3.45rem);line-height:1.12;letter-spacing:-.045em}
body.home .dea-pro-kicker{font-weight:750;letter-spacing:.08em}
body.home .dea-pro-primary{font-size:1rem;font-weight:750;min-height:52px;box-shadow:none;transition:background-color .15s ease}
body.home .dea-pro-disclaimer{font-size:.85rem;line-height:1.55;max-width:730px;color:#4b5b72}
body.home .dea-pro-card{position:relative;min-height:172px;padding:24px 24px 26px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
body.home .dea-pro-card:after{content:"→";position:absolute;right:21px;bottom:18px;font-size:1.25rem;font-weight:650;color:var(--dea-pro-blue);line-height:1}
body.home .dea-pro-card:hover{box-shadow:0 3px 14px rgba(20,33,61,.06)}
body.home .dea-pro-card strong{font-weight:750;max-width:25ch;line-height:1.3;padding-right:12px}
body.home .dea-pro-card span:last-child{padding-right:16px}
body.home .dea-pro-footnote{color:#4b5b72;line-height:1.55}
body.home .dea-pro-footnote a{color:var(--dea-pro-blue-deep);font-weight:650;text-underline-offset:3px}
body.home .dea118-main{padding-top:12px!important}
body.home .dea118-section-title{text-align:left;max-width:none;margin:0 0 26px}
body.home .dea118-section-title h2{max-width:700px;font-weight:800;font-size:clamp(1.65rem,2.5vw,2.3rem)}
body.home .dea118-cards>a{transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
body.home .dea118-cards>a:hover{box-shadow:0 3px 14px rgba(20,33,61,.06)!important}
body.home .dea118-cards>a .ico{align-self:flex-start;flex-shrink:0}
body.home .dea118-cards>a .ico :where(svg,i){width:24px;height:24px;stroke-width:1.8}
body.home .dea118-cards>a>div:nth-child(2){min-width:0;flex:1}
body.home .dea118-cards>a h3{font-weight:750;letter-spacing:-.025em}
body.home .dea118-cards>a p{font-size:.96rem!important;color:#4d5e75!important}
body.home .dea118-cards>a .go :where(svg,i){width:20px;height:20px}
body.home .dea118-links>a{min-height:90px;transition:border-color .15s ease,background-color .15s ease}
body.home .dea118-links>a:hover{border-color:#3155a4;background:#f0f5ff}
body.home .dea118-links>a :where(svg,i){flex-shrink:0}
body.home .dea118-links>a b{font-weight:750}
body.home .dea121-footer{line-height:1.65}
body.home .dea121-footer strong{font-size:1.15rem;font-weight:800}
body.home .dea121-footer p{font-size:.94rem;margin:.55rem 0 0}
/* Keep the saved WordPress header, page list, URLs and footer template untouched. */
@media(min-width:901px){body.home .dea-pro-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.home .dea-pro-card{min-height:0}body.home .dea118-section-title{text-align:left}}
@media(max-width:600px){body.home .dea-pro-hero h1{font-size:clamp(2rem,9vw,2.7rem)}body.home .dea-pro-hero{padding:26px 19px}body.home .dea-pro-card{padding:20px 20px 28px}body.home .dea118-cards>a{gap:13px}body.home .dea118-links>a{min-height:76px}body.home .dea-pro-primary{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){body.home .dea118-home :where(a){transition:none!important}}
