:root{
  --nm-navy:#07386d;
  --nm-navy-deep:#052d57;
  --nm-ink:#3d3533;
  --nm-gold:#c79a3b;
  --nm-gold-soft:#e7c878;
  --nm-bg:#ffffff;
  --nm-soft:#f7f8fa;
  --nm-border:#e6e9ee;
  --nm-text:#18243a;
  --nm-muted:#657185;
  --nm-radius:16px;
  --nm-container:1240px;
  --nm-shadow:0 12px 30px rgba(9,39,73,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.nova-mentis-home{margin:0;background:var(--nm-bg);color:var(--nm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
.nm-site{overflow:hidden}
.nm-container{width:min(calc(100% - 40px),var(--nm-container));margin-inline:auto}
.nm-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,233,238,.75)}
.nm-header__inner{min-height:92px;display:flex;align-items:center;gap:28px}
.nm-brand{display:flex;align-items:center;width:220px;flex:0 0 auto}
.nm-brand img{display:block;width:100%;height:70px;object-fit:contain;object-position:left center}
.nm-nav{margin-left:auto}.nm-menu{display:flex;align-items:center;gap:32px;list-style:none;margin:0;padding:0}.nm-menu a{color:var(--nm-text);text-decoration:none;font-weight:650;font-size:15px}.nm-menu a:hover{color:var(--nm-navy)}
.nm-menu-toggle{display:none;border:0;background:none;padding:8px}.nm-menu-toggle span:not(.screen-reader-text){display:block;width:24px;height:2px;background:var(--nm-navy);margin:5px 0}
.nm-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:0 22px;border-radius:6px;text-decoration:none;font-size:14px;font-weight:750;transition:.2s ease;border:1px solid transparent}.nm-button:hover{transform:translateY(-1px)}.nm-button--primary{background:var(--nm-navy);color:white}.nm-button--outline{border-color:#91a2b6;color:var(--nm-navy);background:white}.nm-button--gold{background:var(--nm-gold);color:#fff}.nm-header__cta{white-space:nowrap}
.nm-hero{background:linear-gradient(90deg,#fff 0%,#fff 52%,#f6f7f9 52%,#f6f7f9 100%)}.nm-hero__grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:580px}.nm-hero__copy{padding:72px 40px 70px 0;align-self:center}.nm-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:800;color:var(--nm-gold);margin-bottom:16px}.nm-eyebrow--light{color:#f0d793}.nm-hero h1,.nm-section h2,.nm-contact h2{font-family:Georgia,"Times New Roman",serif;color:var(--nm-navy-deep);font-weight:500;letter-spacing:-.025em}.nm-hero h1{font-size:clamp(48px,5.7vw,78px);line-height:.98;margin:0 0 26px}.nm-hero h1 em{font-style:normal;color:var(--nm-gold)}.nm-hero__copy>p{font-size:18px;max-width:620px;color:#34435a;margin:0 0 30px}.nm-actions{display:flex;gap:14px;flex-wrap:wrap}
.nm-hero__visual{position:relative;min-height:580px;padding:38px 0 38px 34px}.nm-hero__panel{height:100%;min-height:500px;border-radius:0 0 0 70px;background:radial-gradient(circle at 30% 22%,#fff 0 9%,transparent 10%),linear-gradient(135deg,#eff3f7,#dce5ee);position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(7,56,109,.04)}.nm-hero__panel:before{content:"";position:absolute;inset:-18% 17% -18% 61%;background:var(--nm-navy);transform:skewX(-31deg);opacity:.96}.nm-hero__panel:after{content:"";position:absolute;inset:-18% 12% -18% 67%;background:var(--nm-gold-soft);transform:skewX(-31deg);opacity:.72}.nm-hero__monogram{position:absolute;right:34px;top:30px;font:500 240px/1 Georgia,serif;color:rgba(61,53,51,.16);z-index:1}.nm-hero__note{position:absolute;left:44px;bottom:46px;background:rgba(255,255,255,.9);padding:22px 26px;border-left:4px solid var(--nm-gold);max-width:320px;z-index:2;box-shadow:var(--nm-shadow)}.nm-hero__note strong,.nm-hero__note span{display:block}.nm-hero__note strong{font:500 25px Georgia,serif;color:var(--nm-navy)}.nm-hero__note span{font-size:13px;margin-top:6px;color:var(--nm-muted)}
.nm-trust{border-block:1px solid var(--nm-border);background:white}.nm-trust__grid{display:grid;grid-template-columns:repeat(4,1fr);min-height:106px;align-items:center}.nm-trust__item{display:flex;gap:14px;align-items:center;padding:18px 28px;border-right:1px solid var(--nm-border);font-size:13px}.nm-trust__item:last-child{border-right:0}.nm-icon{font-size:27px;color:var(--nm-navy)}
.nm-section{padding:70px 0}.nm-section--soft{background:var(--nm-soft)}.nm-section__head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.nm-section h2{font-size:42px;line-height:1.05;margin:0}.nm-text-link{color:var(--nm-navy);font-size:14px;font-weight:750;text-decoration:none}
.nm-areas{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.nm-area-card{min-height:250px;padding:28px;border:1px solid var(--nm-border);border-radius:var(--nm-radius);background:#fff;display:flex;flex-direction:column;transition:.25s ease}.nm-area-card:hover{transform:translateY(-4px);box-shadow:var(--nm-shadow);border-color:#cfdae4}.nm-area-card__number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--nm-navy);color:#fff;font-size:12px;margin-bottom:34px}.nm-area-card h3{font-size:21px;line-height:1.2;margin:0 0 12px;color:var(--nm-navy)}.nm-area-card p{color:var(--nm-muted);font-size:14px;margin:0 0 24px}.nm-area-card a{margin-top:auto;color:var(--nm-navy);font-weight:750;text-decoration:none;font-size:14px}
.nm-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.nm-benefits article{padding:8px 28px;border-right:1px solid var(--nm-border)}.nm-benefits article:first-child{padding-left:0}.nm-benefits article:last-child{border-right:0}.nm-benefits h3{font-size:18px;color:var(--nm-navy);margin:0 0 8px}.nm-benefits p{font-size:14px;color:var(--nm-muted);margin:0}.nm-placeholder-section{border-top:1px solid var(--nm-border);padding-top:15px}.nm-placeholder-section p{color:var(--nm-muted)}
.nm-contact{background:linear-gradient(110deg,var(--nm-navy-deep),var(--nm-navy));color:white;padding:48px 0}.nm-contact__inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.nm-contact h2{color:white;font-size:36px;margin:0 0 8px}.nm-contact p{margin:0;color:#dce7f1}
.nm-footer{background:#041f3c;color:#d6e1ec;padding:48px 0 20px}.nm-footer__grid{display:grid;grid-template-columns:1.3fr 1fr .8fr 1fr;gap:40px}.nm-footer h3{color:white;font-size:15px;margin:0 0 12px}.nm-footer p{font-size:13px;line-height:1.9;margin:0}.nm-footer__brand img{width:180px;height:120px;object-fit:contain;object-position:left center;filter:brightness(1.4)}.nm-footer__bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:12px;color:#92a8bd}
@media (max-width: 1024px){.nm-header__cta{display:none}.nm-menu{gap:20px}.nm-hero__grid{grid-template-columns:1fr 1fr}.nm-trust__grid{grid-template-columns:repeat(2,1fr)}.nm-trust__item:nth-child(2){border-right:0}.nm-areas{grid-template-columns:repeat(2,1fr)}.nm-benefits{grid-template-columns:repeat(2,1fr);gap:28px}.nm-benefits article{border-right:0;padding:0}.nm-footer__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 760px){.nm-container{width:min(calc(100% - 28px),var(--nm-container))}.nm-header__inner{min-height:76px}.nm-brand{width:150px}.nm-brand img{height:58px}.nm-menu-toggle{display:block;margin-left:auto}.nm-nav{display:none;position:absolute;left:0;right:0;top:76px;background:white;border-bottom:1px solid var(--nm-border);padding:20px 14px}.nm-nav.is-open{display:block}.nm-menu{display:grid;gap:4px}.nm-menu a{display:block;padding:12px}.nm-hero{background:white}.nm-hero__grid{grid-template-columns:1fr}.nm-hero__copy{padding:52px 0 28px}.nm-hero h1{font-size:49px}.nm-hero__copy>p{font-size:16px}.nm-hero__visual{min-height:330px;padding:0 0 28px}.nm-hero__panel{min-height:330px;border-radius:18px}.nm-hero__monogram{font-size:150px}.nm-hero__note{left:20px;bottom:20px}.nm-trust__grid{grid-template-columns:1fr}.nm-trust__item{border-right:0;border-bottom:1px solid var(--nm-border);padding-inline:0}.nm-trust__item:last-child{border-bottom:0}.nm-section{padding:54px 0}.nm-section__head{align-items:start;flex-direction:column}.nm-section h2{font-size:36px}.nm-areas{grid-template-columns:1fr}.nm-benefits{grid-template-columns:1fr}.nm-contact__inner{align-items:flex-start;flex-direction:column}.nm-footer__grid{grid-template-columns:1fr}.nm-actions{display:grid}.nm-button{width:100%}}

/* v0.2 */
.nm-brand{width:230px}.nm-brand img{height:72px;object-fit:contain;object-position:left center}
.nm-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nm-card{border:1px solid var(--nm-border);border-radius:14px;overflow:hidden;background:#fff;transition:.25s ease}.nm-card:hover{transform:translateY(-4px);box-shadow:var(--nm-shadow)}.nm-card__media{display:block;height:150px;overflow:hidden;background:#eef3f7}.nm-card__image{width:100%;height:100%;object-fit:cover;display:block}.nm-card__image--fallback{display:grid;place-items:center;background:linear-gradient(135deg,#edf2f6,#dce5ed);position:relative;overflow:hidden}.nm-card__image--fallback:before{content:"";position:absolute;width:42%;height:150%;background:var(--nm-navy);transform:skewX(-28deg);right:18%;top:-25%;opacity:.9}.nm-card__image--fallback:after{content:"";position:absolute;width:25%;height:150%;background:var(--nm-gold-soft);transform:skewX(-28deg);right:5%;top:-25%;opacity:.7}.nm-card__image--fallback span{font:500 72px Georgia,serif;color:rgba(7,56,109,.14);z-index:1}.nm-card__body{padding:19px 20px 20px}.nm-card__kicker{text-transform:uppercase;letter-spacing:.08em;color:var(--nm-gold);font-size:10px;font-weight:800;margin-bottom:7px}.nm-card h3{font-size:19px;line-height:1.2;margin:0 0 8px}.nm-card h3 a{color:var(--nm-navy);text-decoration:none}.nm-card p{color:var(--nm-muted);font-size:13px;margin:0 0 17px;min-height:42px}.nm-card__link{color:var(--nm-navy);font-weight:750;text-decoration:none;font-size:13px}.nm-news{padding-top:58px}.nm-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nm-news-card{padding:24px;border-top:3px solid var(--nm-navy);background:var(--nm-soft);min-height:190px}.nm-news-card__date{color:var(--nm-gold);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}.nm-news-card h3{font-size:19px;line-height:1.25;margin:0 0 9px}.nm-news-card h3 a,.nm-news-card>a{color:var(--nm-navy);text-decoration:none}.nm-news-card p{color:var(--nm-muted);font-size:13px;margin:0 0 15px}.nm-news-card>a,.nm-news-card>span{font-size:13px;font-weight:750;color:var(--nm-navy)}
@media (max-width:1024px){.nm-card-grid{grid-template-columns:repeat(2,1fr)}.nm-news-grid{grid-template-columns:1fr 1fr}.nm-brand{width:205px}}
@media (max-width:760px){.nm-card-grid,.nm-news-grid{grid-template-columns:1fr}.nm-card__media{height:190px}.nm-brand{width:165px}.nm-brand img{height:58px}}

/* v0.3 — Hero definitivo + firma visiva Nova Mentis */
.nm-header{background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(10px);position:sticky;top:0;z-index:50}
.nm-brand{width:255px}
.nm-brand img{height:58px;object-fit:contain;object-position:left center}
.nm-hero{background:linear-gradient(90deg,#fff 0%,#fff 50%,#f4f6f8 50%,#f4f6f8 100%)}
.nm-hero__grid{min-height:610px}
.nm-hero__copy{padding-top:82px;padding-bottom:82px}
.nm-hero__visual{min-height:610px;padding:34px 0 34px 38px;display:flex;align-items:stretch}
.nm-hero__photo-wrap{position:relative;width:100%;overflow:hidden;border-radius:0 0 0 72px;background:#e9eef3;box-shadow:0 24px 60px rgba(5,39,75,.10)}
.nm-hero__photo{width:100%;height:100%;min-height:542px;display:block;object-fit:cover;object-position:center center;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.nm-hero__photo-wrap:hover .nm-hero__photo{transform:scale(1.018)}
.nm-hero__photo-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.08),transparent 24%,rgba(3,30,58,.04));pointer-events:none}
.nm-hero__signature{position:absolute;right:-36px;bottom:-28px;width:170px;height:170px;border:1px solid rgba(255,255,255,.38);border-radius:50%;opacity:.55}
.nm-hero__signature:before,.nm-hero__signature:after,.nm-hero__signature span:before{content:"";position:absolute;background:#fff;opacity:.82;transform:rotate(-33deg);transform-origin:center}
.nm-hero__signature:before{width:12px;height:210px;left:67px;top:-20px}
.nm-hero__signature:after{width:4px;height:210px;left:92px;top:-20px;opacity:.38}
.nm-hero__signature span:before{width:2px;height:210px;left:116px;top:-20px;opacity:.24}
.nm-area-card{position:relative;overflow:hidden}
.nm-area-card:before{content:"";position:absolute;left:0;top:0;width:0;height:3px;background:linear-gradient(90deg,var(--nm-navy),var(--nm-gold));transition:width .28s ease}
.nm-area-card:hover:before{width:100%}
.nm-area-card a,.nm-text-link,.nm-card__link{transition:gap .2s ease,color .2s ease}
.nm-area-card a:hover,.nm-text-link:hover,.nm-card__link:hover{color:var(--nm-gold)}
@media (prefers-reduced-motion:no-preference){
  .nm-hero__copy>*{animation:nmFadeUp .55s ease both}.nm-hero__copy>*:nth-child(2){animation-delay:.06s}.nm-hero__copy>*:nth-child(3){animation-delay:.12s}.nm-hero__copy>*:nth-child(4){animation-delay:.18s}
  .nm-hero__photo-wrap{animation:nmFadeIn .7s ease .08s both}
  @keyframes nmFadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes nmFadeIn{from{opacity:0}to{opacity:1}}
}
@media (max-width:1024px){.nm-brand{width:220px}.nm-hero__grid{min-height:560px}.nm-hero__visual{min-height:560px}.nm-hero__photo{min-height:490px}}
@media (max-width:760px){.nm-header{position:relative}.nm-brand{width:185px}.nm-brand img{height:48px}.nm-hero{background:#fff}.nm-hero__grid{min-height:auto}.nm-hero__copy{padding-top:48px;padding-bottom:28px}.nm-hero__visual{min-height:360px;padding:0 0 28px}.nm-hero__photo-wrap{border-radius:20px}.nm-hero__photo{min-height:360px}.nm-hero__signature{display:none}}

/* v0.4 — Aree Formative e percorsi */
.nm-area-hero{padding:64px 0 58px;background:linear-gradient(115deg,#f8fafc,#eef3f7);border-bottom:1px solid var(--nm-border)}
.nm-breadcrumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--nm-muted);margin-bottom:38px}.nm-breadcrumb a{color:var(--nm-muted);text-decoration:none}.nm-breadcrumb strong{color:var(--nm-navy)}
.nm-area-hero h1{font:500 clamp(44px,5vw,68px)/1.02 Georgia,"Times New Roman",serif;color:var(--nm-navy-deep);letter-spacing:-.03em;margin:0 0 20px;max-width:900px}.nm-area-lead{max-width:720px;font-size:18px;color:#425169}.nm-area-lead p{margin:0}
.nm-path-list{border-top:1px solid var(--nm-border)}.nm-path-row{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;padding:28px 8px;border-bottom:1px solid var(--nm-border);transition:.2s ease}.nm-path-row:hover{padding-left:18px;background:#fafbfd}.nm-path-row h3{margin:0 0 7px;font-size:24px}.nm-path-row h3 a{color:var(--nm-navy);text-decoration:none}.nm-path-row p{margin:0;color:var(--nm-muted);font-size:14px;max-width:720px}.nm-path-row__arrow{width:48px;height:48px;border:1px solid var(--nm-border);border-radius:50%;display:grid;place-items:center;color:var(--nm-navy);text-decoration:none;font-size:20px;transition:.2s}.nm-path-row:hover .nm-path-row__arrow{background:var(--nm-navy);color:#fff;border-color:var(--nm-navy)}
.nm-guidance{padding:52px 0;background:var(--nm-navy-deep);color:#fff}.nm-guidance__inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.nm-guidance h2{font:500 38px/1.1 Georgia,"Times New Roman",serif;margin:0 0 9px;color:#fff}.nm-guidance p{margin:0;color:#dce7f1}.nm-empty{padding:28px;border:1px solid var(--nm-border);border-radius:var(--nm-radius);background:var(--nm-soft)}.nm-empty h2,.nm-empty h3{color:var(--nm-navy);margin-top:0}.nm-content-narrow{max-width:860px}.nm-content-narrow h2,.nm-content-narrow h3{color:var(--nm-navy)}
@media(max-width:760px){.nm-area-hero{padding:42px 0}.nm-breadcrumb{margin-bottom:26px}.nm-area-lead{font-size:16px}.nm-path-row{padding:22px 0;gap:14px}.nm-path-row h3{font-size:21px}.nm-path-row__arrow{width:42px;height:42px}.nm-guidance__inner{align-items:flex-start;flex-direction:column}.nm-guidance h2{font-size:32px}}

/* v0.7 — pagina Area Formativa */
.nm-area-hero-v2{padding:34px 0 0;background:linear-gradient(125deg,#f8fafc 0%,#f2f6f9 55%,#e8eef4 100%);border-bottom:1px solid var(--nm-border)}
.nm-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:var(--nm-muted);margin-bottom:28px}.nm-breadcrumb a{color:var(--nm-navy);text-decoration:none}.nm-breadcrumb strong{font-weight:650;color:#4d5a6c}
.nm-area-hero-v2__grid{display:grid;grid-template-columns:1.02fr .98fr;gap:54px;align-items:stretch;min-height:430px}.nm-area-hero-v2__copy{padding:28px 0 66px;align-self:center}.nm-area-hero-v2 h1{font:500 clamp(44px,5vw,70px)/1.02 Georgia,"Times New Roman",serif;color:var(--nm-navy-deep);letter-spacing:-.035em;margin:0 0 20px}.nm-area-actions{margin-top:28px}
.nm-area-hero-v2__visual{min-height:360px;align-self:end}.nm-area-hero-v2__image-wrap{height:100%;min-height:360px;position:relative;overflow:hidden;border-radius:36px 0 0 0;background:#dfe7ef}.nm-area-hero-v2__image-wrap img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover}.nm-area-hero-v2__slash{position:absolute;right:8%;top:-30%;width:72px;height:170%;background:rgba(7,56,109,.88);transform:skewX(-28deg);box-shadow:34px 0 0 rgba(231,200,120,.62)}
.nm-area-hero-v2__brand-visual{height:100%;min-height:360px;position:relative;overflow:hidden;border-radius:36px 0 0 0;background:linear-gradient(145deg,#e7eef4,#d8e4ed)}.nm-area-hero-v2__brand-visual span{position:absolute;right:12%;top:4%;font:500 250px Georgia,serif;color:rgba(7,56,109,.12)}.nm-area-hero-v2__brand-visual i,.nm-area-hero-v2__brand-visual b{position:absolute;top:-25%;height:160%;transform:skewX(-28deg)}.nm-area-hero-v2__brand-visual i{right:29%;width:76px;background:var(--nm-navy)}.nm-area-hero-v2__brand-visual b{right:15%;width:56px;background:var(--nm-gold-soft);opacity:.75}
.nm-area-intro{padding:30px 0;border-bottom:1px solid var(--nm-border);background:#fff}.nm-area-intro__inner{max-width:900px;display:flex;align-items:center;justify-content:center;gap:22px;text-align:center}.nm-area-intro__mark{font:500 34px Georgia,serif;color:var(--nm-gold);padding-right:22px;border-right:1px solid var(--nm-border)}.nm-area-intro p{margin:0;color:#46546a;font-size:17px}
.nm-area-paths{padding-top:66px}.nm-area-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nm-area-path-card{border:1px solid var(--nm-border);background:#fff;border-radius:16px;overflow:hidden;transition:.25s ease;display:flex;flex-direction:column}.nm-area-path-card:hover{transform:translateY(-5px);box-shadow:var(--nm-shadow);border-color:#cbd6e1}.nm-area-path-card__visual{height:170px;display:block;overflow:hidden;background:#edf2f7}.nm-area-path-card__visual img{width:100%;height:100%;display:block;object-fit:cover}.nm-area-path-card__fallback{position:relative;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#edf3f8,#dfe8f0)}.nm-area-path-card__fallback span{position:relative;z-index:2;font:500 52px Georgia,serif;color:var(--nm-navy)}.nm-area-path-card__fallback i{position:absolute;right:18%;top:-40%;height:190%;width:64px;background:var(--nm-navy);transform:skewX(-28deg);opacity:.9;box-shadow:31px 0 0 rgba(231,200,120,.75)}.nm-area-path-card__body{padding:24px;display:flex;flex-direction:column;flex:1}.nm-area-path-card h3{font-size:24px;line-height:1.15;margin:0 0 10px}.nm-area-path-card h3 a{color:var(--nm-navy);text-decoration:none}.nm-area-path-card p{font-size:14px;color:var(--nm-muted);margin:0 0 24px}.nm-area-path-card .nm-card__link{margin-top:auto}
.nm-guidance--light{padding:0 0 66px;background:#fff}.nm-guidance-card{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;padding:32px 36px;border-radius:18px;background:linear-gradient(110deg,#f3f7fb,#e9f0f7);border:1px solid #dfe7ef}.nm-guidance-card__symbol{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--nm-navy);font-size:34px;box-shadow:0 8px 24px rgba(7,56,109,.07)}.nm-guidance-card h2{font:500 34px/1.08 Georgia,"Times New Roman",serif;color:var(--nm-navy);margin:0 0 8px}.nm-guidance-card p{margin:0;color:var(--nm-muted);max-width:700px}
.nm-other-areas{padding-top:58px;background:var(--nm-soft)}.nm-other-areas__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.nm-other-area{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--nm-border);border-radius:12px;padding:18px 20px;text-decoration:none;color:var(--nm-navy);font-weight:700;transition:.2s}.nm-other-area:hover{transform:translateX(3px);border-color:#bdcad8}.nm-other-area b{font-weight:400;font-size:19px}
@media(max-width:1024px){.nm-area-hero-v2__grid{gap:30px}.nm-area-card-grid{grid-template-columns:repeat(2,1fr)}.nm-guidance-card{grid-template-columns:auto 1fr}.nm-guidance-card .nm-button{grid-column:2}}
@media(max-width:760px){.nm-area-hero-v2{padding-top:22px}.nm-area-hero-v2__grid{grid-template-columns:1fr;gap:0}.nm-area-hero-v2__copy{padding:12px 0 34px}.nm-area-hero-v2__visual{min-height:240px}.nm-area-hero-v2__image-wrap,.nm-area-hero-v2__image-wrap img,.nm-area-hero-v2__brand-visual{min-height:240px;border-radius:24px 24px 0 0}.nm-area-intro__inner{align-items:flex-start;text-align:left}.nm-area-intro__mark{display:none}.nm-area-intro p{font-size:15px}.nm-area-card-grid{grid-template-columns:1fr}.nm-area-path-card__visual{height:190px}.nm-guidance-card{grid-template-columns:1fr;padding:26px}.nm-guidance-card .nm-button{grid-column:auto;width:100%}.nm-other-areas__grid{grid-template-columns:1fr}}


/* v0.8 — loghi ufficiali dei percorsi e immagini sostituibili da WordPress */
.nm-area-path-card__visual{height:170px;background:#f7f9fb}
.nm-area-path-card__logo-frame{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:26px 30px;background:#fff}
.nm-area-path-card__logo-frame--dark{background:var(--nm-navy-deep);padding:34px 32px}
.nm-area-path-card__logo-frame--uploaded{background:#fff}
.nm-area-path-card__logo{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:92px!important;object-fit:contain!important;object-position:center!important}
.nm-area-path-card__logo-frame--dark .nm-area-path-card__logo{max-height:72px!important}
.nm-area-path-card__logo-frame--uploaded .nm-area-path-card__logo{max-height:100px!important}
@media(max-width:760px){.nm-area-path-card__logo-frame{padding:24px}.nm-area-path-card__logo{max-height:88px!important}}

/* v0.9 - area page visual refinement */
.nm-area-hero-v2{padding:0;background:linear-gradient(115deg,#06294e 0%,#07386d 48%,#0a4382 100%);border-bottom:0;color:#fff}
.nm-area-hero-v2 .nm-container{padding-top:26px;padding-bottom:0}
.nm-area-hero-v2 .nm-breadcrumb{margin:0 0 20px;color:rgba(255,255,255,.7)}
.nm-area-hero-v2 .nm-breadcrumb a,.nm-area-hero-v2 .nm-breadcrumb strong{color:rgba(255,255,255,.88)}
.nm-area-hero-v2__grid{grid-template-columns:.92fr 1.08fr;gap:42px;min-height:350px;align-items:center}
.nm-area-hero-v2__copy{padding:18px 0 52px}
.nm-area-hero-v2 .nm-eyebrow{color:#e4b84f}
.nm-area-hero-v2 h1{color:#fff;font-size:clamp(46px,5vw,72px);margin-bottom:18px;max-width:690px}
.nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{color:rgba(255,255,255,.88);font-size:18px;max-width:650px}
.nm-area-hero-v2 .nm-button--outline{border-color:rgba(255,255,255,.52);color:#fff;background:transparent}
.nm-area-hero-v2 .nm-button--outline:hover{background:#fff;color:var(--nm-navy)}
.nm-area-hero-v2__visual{min-height:0;align-self:center;padding:26px 0 34px}
.nm-area-hero-v2__image-wrap{height:auto;min-height:0;aspect-ratio:810/275;border-radius:22px;background:#06294e;box-shadow:0 26px 55px rgba(0,0,0,.18)}
.nm-area-hero-v2__image-wrap img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:right center}
.nm-area-hero-v2__slash{display:none}

.nm-area-intro{padding:22px 0;background:#fff}
.nm-area-intro__inner{max-width:980px}
.nm-area-intro__mark{font-size:28px}
.nm-area-intro p{font-size:16px}

.nm-area-paths{padding-top:58px}
.nm-area-card-grid{gap:22px}
.nm-area-path-card{border-radius:18px;box-shadow:0 9px 26px rgba(7,56,109,.045)}
.nm-area-path-card__visual{height:112px;background:#fff;border-bottom:1px solid #edf1f5}
.nm-area-path-card__logo-frame{height:100%;padding:18px 24px;background:#fff;display:flex;align-items:center;justify-content:center}
.nm-area-path-card__logo-frame--dark{background:#fff;padding:18px 24px}
.nm-area-path-card__dark-badge{display:flex;align-items:center;justify-content:center;background:var(--nm-navy-deep);border-radius:10px;padding:12px 18px;min-width:180px;max-width:88%;height:62px}
.nm-area-path-card__logo{max-height:64px!important;max-width:78%!important}
.nm-area-path-card__logo-frame--dark .nm-area-path-card__logo{max-height:38px!important;max-width:100%!important}
.nm-area-path-card__body{padding:22px 24px 24px}
.nm-area-path-card h3{font-size:22px}
.nm-area-path-card p{min-height:42px}

@media(max-width:1024px){
  .nm-area-hero-v2__grid{grid-template-columns:1fr;gap:0}
  .nm-area-hero-v2__copy{padding-bottom:24px}
  .nm-area-hero-v2__visual{padding:0 0 34px}
  .nm-area-hero-v2__image-wrap{max-width:760px}
}
@media(max-width:760px){
  .nm-area-hero-v2 .nm-container{padding-top:18px}
  .nm-area-hero-v2__copy{padding:8px 0 24px}
  .nm-area-hero-v2__visual{padding:0 0 24px}
  .nm-area-hero-v2__image-wrap{aspect-ratio:1.9/1;border-radius:18px}
  .nm-area-path-card__visual{height:104px}
  .nm-area-path-card__dark-badge{min-width:160px;height:58px}
}


/* v0.10 — pulizia visiva area interna */
body.nova-mentis-home{ -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.nm-area-hero-v2{background:#07386d;}
.nm-area-hero-v2 .nm-container{padding-top:24px;}
.nm-area-hero-v2__grid{grid-template-columns:.96fr 1.04fr;gap:56px;min-height:390px;}
.nm-area-hero-v2__copy{padding:20px 0 60px;}
.nm-area-hero-v2 h1{font-size:clamp(48px,4.85vw,70px);line-height:.98;letter-spacing:-.025em;font-weight:600;color:#fff;text-shadow:none;}
.nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{color:#fff;font-size:19px;line-height:1.58;font-weight:450;max-width:680px;}
.nm-area-hero-v2 .nm-breadcrumb,.nm-area-hero-v2 .nm-breadcrumb a,.nm-area-hero-v2 .nm-breadcrumb strong{color:#e1eaf3;}
.nm-area-hero-v2 .nm-eyebrow{color:#f0c65d;}
.nm-area-hero-v2__visual{padding:18px 0 26px;align-self:stretch;display:flex;align-items:center;}
.nm-area-hero-v2__image-wrap{width:100%;aspect-ratio:auto;min-height:300px;height:300px;border-radius:0;background:transparent;box-shadow:none;position:relative;overflow:hidden;}
.nm-area-hero-v2__image-wrap:before{content:"";position:absolute;inset:0 auto 0 0;width:14%;z-index:2;background:linear-gradient(90deg,#07386d 0%,rgba(7,56,109,.78) 28%,rgba(7,56,109,0) 100%);pointer-events:none;}
.nm-area-hero-v2__image-wrap img{width:106%;height:106%;min-height:0;object-fit:cover;object-position:right center;transform:scale(1.045);transform-origin:right center;filter:saturate(.92) contrast(1.02);}

/* La fascia con la N dorata è stata rimossa: meno ripetizioni di marchio. */
.nm-area-paths{padding-top:72px;}
.nm-area-card-grid{gap:24px;}
.nm-area-path-card{border:1px solid #e4e9ef;border-radius:16px;box-shadow:none;}
.nm-area-path-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(5,45,87,.08);}
.nm-area-path-card__visual{height:104px;background:#f8fafc;border-bottom:1px solid #edf1f5;}
.nm-area-path-card__logo-frame,.nm-area-path-card__logo-frame--dark{background:#f8fafc;padding:18px 28px;}
.nm-area-path-card__dark-badge{min-width:0;width:auto;max-width:76%;height:48px;border-radius:7px;padding:9px 15px;background:#052d57;}
.nm-area-path-card__logo{max-height:56px!important;max-width:72%!important;}
.nm-area-path-card__logo-frame--dark .nm-area-path-card__logo{max-height:30px!important;max-width:100%!important;}
.nm-area-path-card__body{padding:22px 24px 25px;}
.nm-area-path-card h3{font-size:21px;margin-bottom:8px;}
.nm-area-path-card p{font-size:14px;line-height:1.55;min-height:44px;margin-bottom:18px;}

.nm-guidance-card{border-radius:14px;background:#f3f7fb;border-color:#e0e8f0;box-shadow:none;}
.nm-guidance-card__symbol{box-shadow:none;border:1px solid #e2e9f0;font-size:27px;}

@media(max-width:1024px){
  .nm-area-hero-v2__grid{grid-template-columns:1fr;gap:0;min-height:0;}
  .nm-area-hero-v2__visual{padding:0 0 34px;}
  .nm-area-hero-v2__image-wrap{height:270px;max-width:none;}
}
@media(max-width:760px){
  .nm-area-hero-v2 h1{font-size:46px;}
  .nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{font-size:17px;}
  .nm-area-hero-v2__image-wrap{height:220px;min-height:220px;border-radius:0;}
  .nm-area-path-card__visual{height:96px;}
  .nm-area-path-card__logo{max-height:52px!important;}
  .nm-area-path-card__dark-badge{height:44px;}
}

/* v0.11 — hero area più ariosa e visual integrato */
.nm-area-hero-v2__grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:78px;
  min-height:430px;
  align-items:center;
}
.nm-area-hero-v2__copy{
  padding:30px 0 72px;
  max-width:650px;
}
.nm-area-hero-v2 h1{
  font-size:clamp(50px,4.6vw,68px);
  line-height:1.08;
  letter-spacing:-.018em;
  font-weight:600;
  margin:0 0 28px;
  max-width:620px;
}
.nm-area-hero-v2 .nm-area-lead,
.nm-area-hero-v2 .nm-area-lead p{
  font-size:18px;
  line-height:1.68;
  max-width:620px;
}
.nm-area-actions{margin-top:34px;}

.nm-area-hero-v2__visual{
  padding:30px 0 44px;
  align-self:stretch;
  display:flex;
  align-items:center;
  position:relative;
}
.nm-area-hero-v2__image-wrap{
  width:100%;
  height:330px;
  min-height:330px;
  overflow:visible;
  position:relative;
  background:transparent;
  box-shadow:none;
  border-radius:0;
}
.nm-area-hero-v2__image-wrap:before{
  content:"";
  position:absolute;
  inset:-12% -4% -12% -16%;
  z-index:3;
  pointer-events:none;
  background:
    linear-gradient(90deg,#07386d 0%,rgba(7,56,109,.94) 7%,rgba(7,56,109,.48) 17%,rgba(7,56,109,0) 31%),
    linear-gradient(180deg,#07386d 0%,rgba(7,56,109,0) 16%,rgba(7,56,109,0) 84%,#07386d 100%);
}
.nm-area-hero-v2__image-wrap:after{
  content:"";
  position:absolute;
  inset:-1px -1px -1px 40%;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(7,56,109,0) 0%,rgba(7,56,109,0) 76%,rgba(7,56,109,.38) 100%);
}
.nm-area-hero-v2__image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:none;
  filter:saturate(.9) contrast(1.03);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 12%,#000 25%,#000 92%,rgba(0,0,0,.9) 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 12%,#000 25%,#000 92%,rgba(0,0,0,.9) 100%);
}

@media(max-width:1024px){
  .nm-area-hero-v2__grid{grid-template-columns:1fr;gap:0;min-height:0;}
  .nm-area-hero-v2__copy{max-width:760px;padding:24px 0 30px;}
  .nm-area-hero-v2__visual{padding:0 0 38px;}
  .nm-area-hero-v2__image-wrap{height:300px;min-height:300px;}
}
@media(max-width:760px){
  .nm-area-hero-v2 h1{font-size:44px;line-height:1.09;margin-bottom:22px;}
  .nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{font-size:16px;line-height:1.62;}
  .nm-area-actions{margin-top:26px;}
  .nm-area-hero-v2__image-wrap{height:225px;min-height:225px;}
  .nm-area-hero-v2__image-wrap:before{inset:-10% -4% -10% -18%;}
}


/* v0.13 – Area hero editorial composition */
.nm-area-hero-v2{overflow:hidden;background:linear-gradient(110deg,#07386d 0%,#07386d 46%,#083c72 70%,#08427d 100%)}
.nm-area-hero-v2 .nm-container{padding-top:24px;padding-bottom:0}
.nm-area-hero-v2__grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:34px;min-height:430px;align-items:center}
.nm-area-hero-v2__copy{padding:26px 0 66px;position:relative;z-index:3;max-width:590px}
.nm-area-hero-v2 h1{font-size:clamp(44px,4.35vw,64px);line-height:1.075;letter-spacing:-.018em;font-weight:600;max-width:560px;margin:0 0 28px;text-wrap:balance}
.nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{font-size:18px;line-height:1.72;max-width:590px;color:rgba(255,255,255,.93)}
.nm-area-actions{margin-top:34px;gap:14px}
.nm-area-hero-v2__visual{padding:0;align-self:stretch;display:flex;align-items:stretch;min-width:0;position:relative}
.nm-area-hero-v2__image-wrap{width:calc(100% + 44px);height:auto;min-height:430px;margin-right:-44px;position:relative;overflow:hidden;border-radius:0;background:transparent;box-shadow:none;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}
.nm-area-hero-v2__image-wrap:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#07386d 0%,rgba(7,56,109,.82) 6%,rgba(7,56,109,.24) 16%,rgba(7,56,109,0) 28%)}
.nm-area-hero-v2__image-wrap:after{content:"";position:absolute;inset:auto 0 0 0;height:28%;z-index:2;pointer-events:none;background:linear-gradient(0deg,rgba(7,56,109,.25),transparent)}
.nm-area-hero-v2__image-wrap img{width:100%;height:100%;min-height:430px;object-fit:cover;object-position:center center;display:block;filter:saturate(.94) contrast(1.02)}
.nm-area-hero-v2__slash{display:none!important}
@media (max-width:1024px){
 .nm-area-hero-v2__grid{grid-template-columns:.92fr 1.08fr;gap:24px;min-height:390px}
 .nm-area-hero-v2__copy{padding-bottom:50px}
 .nm-area-hero-v2 h1{font-size:clamp(42px,5.2vw,58px)}
 .nm-area-hero-v2__image-wrap,.nm-area-hero-v2__image-wrap img{min-height:390px}
}
@media (max-width:760px){
 .nm-area-hero-v2__grid{grid-template-columns:1fr;gap:0;min-height:0}
 .nm-area-hero-v2__copy{max-width:none;padding:14px 0 34px}
 .nm-area-hero-v2 h1{font-size:clamp(40px,11vw,54px);line-height:1.08;margin-bottom:22px}
 .nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{font-size:16px;line-height:1.65}
 .nm-area-hero-v2__visual{margin:0 -20px}
 .nm-area-hero-v2__image-wrap{width:100%;margin:0;min-height:250px;height:250px;clip-path:none;border-radius:0}
 .nm-area-hero-v2__image-wrap img{min-height:250px}
 .nm-area-hero-v2__image-wrap:before{background:linear-gradient(0deg,#07386d 0%,rgba(7,56,109,.3) 22%,rgba(7,56,109,0) 45%)}
}

/* v0.14 — aree complete, mini-portale Mondo Scuola e visual originali senza ripetere il marchio */
.nm-section__intro{max-width:760px;margin:14px 0 0;color:var(--nm-muted);font-size:17px;line-height:1.65}

.nm-area-hero-v2__abstract{position:relative;width:100%;min-height:360px;overflow:hidden;isolation:isolate}
.nm-area-hero-v2__abstract span,.nm-area-hero-v2__abstract i,.nm-area-hero-v2__abstract b,.nm-area-hero-v2__abstract em{position:absolute;display:block}
.nm-area-hero-v2__abstract span{width:58%;height:58%;right:4%;top:8%;border:1px solid rgba(255,255,255,.28);border-radius:48% 52% 46% 54%;transform:rotate(-12deg)}
.nm-area-hero-v2__abstract i{width:58%;height:2px;right:2%;top:52%;background:linear-gradient(90deg,transparent,rgba(240,198,93,.9),transparent);transform:rotate(-34deg)}
.nm-area-hero-v2__abstract b{width:190px;height:190px;right:18%;bottom:-36px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.18),rgba(255,255,255,.02) 58%,transparent 60%);border:1px solid rgba(255,255,255,.16)}
.nm-area-hero-v2__abstract em{width:92px;height:92px;right:8%;top:14%;border-radius:18px;border:1px solid rgba(240,198,93,.42);transform:rotate(28deg)}
.nm-area-visual--diplomi-percorsi-scolastici:before,.nm-area-visual--universita-alta-formazione:before,.nm-area-visual--mondo-scuola:before,.nm-area-visual--formazione-professionale:before,.nm-area-visual--aziende-professionisti:before{content:"";position:absolute;left:14%;top:22%;width:190px;height:126px;border-radius:22px;border:1px solid rgba(255,255,255,.28);background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.02));box-shadow:24px 24px 0 rgba(240,198,93,.08)}
.nm-area-visual--universita-alta-formazione:before{width:210px;height:138px;border-radius:50% 50% 18px 18px;transform:rotate(-6deg)}
.nm-area-visual--mondo-scuola:before{width:172px;height:172px;border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(240,198,93,.035)}
.nm-area-visual--formazione-professionale:before{width:220px;height:110px;border-radius:60px 16px 60px 16px;transform:rotate(-10deg)}
.nm-area-visual--aziende-professionisti:before{width:205px;height:145px;border-radius:18px;transform:skewY(-6deg)}

.nm-school-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.nm-school-hub-card{border:1px solid #e4eaf0;border-radius:18px;background:#fff;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.nm-school-hub-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(5,45,87,.08);border-color:#d7e0e9}
.nm-school-hub-card__link{display:grid;grid-template-columns:86px 1fr;min-height:190px;color:inherit;text-decoration:none}
.nm-school-hub-card__mark{position:relative;background:linear-gradient(160deg,#eef4f9,#f8fafc);border-right:1px solid #e6edf3}
.nm-school-hub-card__mark:before,.nm-school-hub-card__mark:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(35deg);width:34px;height:34px;border:1px solid rgba(7,56,109,.5);border-radius:8px}
.nm-school-hub-card__mark:after{width:18px;height:62px;border-color:rgba(199,154,59,.55);border-radius:99px;transform:translate(-50%,-50%) rotate(-28deg)}
.nm-school-hub-card__body{padding:30px 30px 28px}
.nm-school-hub-card h3{font-size:25px;margin:0 0 12px;color:var(--nm-navy-deep)}
.nm-school-hub-card p{font-size:15px;line-height:1.62;color:var(--nm-muted);margin:0 0 22px}
.nm-school-hub-card .nm-card__link{display:inline-flex;align-items:center;gap:8px}

.nm-related-paths{padding-top:12px}
.nm-related-paths__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nm-related-path{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #e3e9ef;border-radius:12px;background:#fff;text-decoration:none;color:var(--nm-navy-deep);font-weight:600;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.nm-related-path:hover{background:#f7fafc;border-color:#d5e0e9;transform:translateY(-2px)}
.nm-related-path b{color:var(--nm-gold)}

@media(max-width:760px){
  .nm-school-hub-grid,.nm-related-paths__grid{grid-template-columns:1fr}
  .nm-school-hub-card__link{grid-template-columns:68px 1fr;min-height:0}
  .nm-school-hub-card__body{padding:24px 22px}
  .nm-area-hero-v2__abstract{min-height:240px}
}

/* v0.16 — hero fotografiche editoriali: un'unica composizione, niente card/illustrazioni */
.nm-area-hero-v2{
  position:relative;
  overflow:hidden;
  min-height:390px;
  background-color:#07386d;
  background-image:
    linear-gradient(90deg,rgba(4,40,78,.98) 0%,rgba(5,48,92,.97) 31%,rgba(5,52,99,.80) 47%,rgba(5,52,99,.28) 66%,rgba(5,52,99,.06) 100%),
    var(--nm-area-hero-image);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.nm-area-hero-v2:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.10));
}
.nm-area-hero-v2 .nm-container{position:relative;z-index:2;padding-top:22px;padding-bottom:0}
.nm-area-hero-v2__grid{
  display:block;
  min-height:360px;
}
.nm-area-hero-v2__copy{
  width:min(590px,48%);
  max-width:590px;
  padding:30px 0 58px;
  position:relative;
  z-index:3;
}
.nm-area-hero-v2 h1{
  font-size:clamp(46px,4vw,62px);
  line-height:1.12;
  letter-spacing:-.018em;
  font-weight:600;
  max-width:570px;
  margin:0 0 26px;
  text-wrap:balance;
}
.nm-area-hero-v2 .nm-area-lead,
.nm-area-hero-v2 .nm-area-lead p{
  font-size:18px;
  line-height:1.72;
  max-width:560px;
  color:rgba(255,255,255,.94);
}
.nm-area-actions{margin-top:30px;gap:14px}
.nm-area-hero-v2__visual{display:none!important}
.nm-area-hero-v2 .nm-breadcrumb{position:relative;z-index:3;margin-bottom:24px}
.nm-area-hero-v2 .nm-breadcrumb,
.nm-area-hero-v2 .nm-breadcrumb a,
.nm-area-hero-v2 .nm-breadcrumb strong{color:rgba(255,255,255,.82)}
.nm-area-hero-v2 .nm-breadcrumb span{color:rgba(255,255,255,.50)}

@media(max-width:1024px){
  .nm-area-hero-v2{min-height:370px;background-position:60% center}
  .nm-area-hero-v2__grid{min-height:340px}
  .nm-area-hero-v2__copy{width:min(620px,58%);padding:24px 0 48px}
  .nm-area-hero-v2 h1{font-size:clamp(42px,5vw,56px)}
}
@media(max-width:760px){
  .nm-area-hero-v2{
    min-height:0;
    background-position:68% center;
    background-image:
      linear-gradient(90deg,rgba(4,40,78,.99) 0%,rgba(5,48,92,.96) 54%,rgba(5,52,99,.76) 74%,rgba(5,52,99,.52) 100%),
      var(--nm-area-hero-image);
  }
  .nm-area-hero-v2 .nm-container{padding-top:18px}
  .nm-area-hero-v2__grid{min-height:0}
  .nm-area-hero-v2__copy{width:100%;max-width:none;padding:14px 0 40px}
  .nm-area-hero-v2 h1{font-size:clamp(38px,11vw,50px);line-height:1.10;margin-bottom:20px;max-width:92%}
  .nm-area-hero-v2 .nm-area-lead,.nm-area-hero-v2 .nm-area-lead p{font-size:16px;line-height:1.64;max-width:92%}
}

/* v0.18 — Hero aree: fotografia nitida integrata, senza card/riquadro */
.nm-area-hero-v3{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  min-height:430px;
  background:#073766;
  color:#fff;
}
.nm-area-hero-v3__media{
  position:absolute;
  z-index:0;
  inset:0 0 0 auto;
  width:min(60vw,1440px);
  height:100%;
  overflow:hidden;
  background:#0a3b6e;
}
.nm-area-hero-v3__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:var(--nm-hero-object-position,center center);
  transform:none;
  filter:none;
}
.nm-area-hero-v3:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      #073766 0%,
      #073766 29%,
      rgba(7,55,102,.98) 38%,
      rgba(7,55,102,.88) 45%,
      rgba(7,55,102,.56) 52%,
      rgba(7,55,102,.18) 62%,
      rgba(7,55,102,0) 72%);
}
.nm-area-hero-v3:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,22,45,.06),rgba(0,22,45,.14));
}
.nm-area-hero-v3 .nm-container{
  position:relative;
  z-index:2;
  padding-top:22px;
}
.nm-area-hero-v3 .nm-breadcrumb{
  margin:0 0 27px;
  color:rgba(255,255,255,.74);
}
.nm-area-hero-v3 .nm-breadcrumb a,
.nm-area-hero-v3 .nm-breadcrumb strong{color:rgba(255,255,255,.91)}
.nm-area-hero-v3 .nm-breadcrumb span{color:rgba(255,255,255,.48)}
.nm-area-hero-v3__grid{
  display:block;
  min-height:350px;
}
.nm-area-hero-v3__copy{
  position:relative;
  z-index:3;
  width:min(590px,43vw);
  padding:18px 0 54px;
}
.nm-area-hero-v3 .nm-eyebrow{
  color:#f0c65d;
  margin-bottom:19px;
}
.nm-area-hero-v3 h1{
  color:#fff;
  font:600 clamp(44px,3.55vw,61px)/1.13 Georgia,"Times New Roman",serif;
  letter-spacing:-.014em;
  margin:0 0 25px;
  max-width:590px;
  text-wrap:balance;
}
.nm-area-hero-v3 .nm-area-lead,
.nm-area-hero-v3 .nm-area-lead p{
  color:rgba(255,255,255,.95);
  font-size:18px;
  line-height:1.66;
  max-width:535px;
  margin-bottom:0;
}
.nm-area-hero-v3 .nm-area-actions{
  margin-top:29px;
  gap:14px;
}
.nm-area-hero-v3 .nm-button--outline{
  border-color:rgba(255,255,255,.62);
  color:#fff;
  background:rgba(5,43,80,.16);
}
.nm-area-hero-v3 .nm-button--outline:hover{
  background:#fff;
  color:var(--nm-navy);
}
@media (max-width:1180px){
  .nm-area-hero-v3__media{width:64vw}
  .nm-area-hero-v3__copy{width:min(560px,48vw)}
  .nm-area-hero-v3:before{
    background:linear-gradient(90deg,#073766 0%,#073766 34%,rgba(7,55,102,.96) 44%,rgba(7,55,102,.70) 54%,rgba(7,55,102,.18) 68%,rgba(7,55,102,0) 78%);
  }
}
@media (max-width:760px){
  .nm-area-hero-v3{
    min-height:0;
    display:flex;
    flex-direction:column;
    background:#073766;
  }
  .nm-area-hero-v3__media{
    position:relative;
    inset:auto;
    width:100%;
    height:245px;
    order:2;
  }
  .nm-area-hero-v3__media img{object-position:var(--nm-hero-object-position,center center)}
  .nm-area-hero-v3:before{
    background:linear-gradient(180deg,#073766 0%,#073766 60%,rgba(7,55,102,.84) 79%,rgba(7,55,102,0) 100%);
    height:72%;
    bottom:auto;
  }
  .nm-area-hero-v3 .nm-container{padding-top:17px}
  .nm-area-hero-v3__grid{min-height:0}
  .nm-area-hero-v3__copy{
    width:100%;
    max-width:none;
    padding:8px 0 34px;
  }
  .nm-area-hero-v3 h1{
    font-size:clamp(38px,11vw,49px);
    line-height:1.14;
    margin-bottom:19px;
    max-width:95%;
  }
  .nm-area-hero-v3 .nm-area-lead,
  .nm-area-hero-v3 .nm-area-lead p{
    font-size:16px;
    line-height:1.62;
    max-width:95%;
  }
  .nm-area-hero-v3 .nm-breadcrumb{margin-bottom:20px}
}

/* v0.19 — Hero aree compatta: immagine nitida, fascia blu più contenuta */
.nm-area-hero-v4{
  background:#fff;
  padding:20px 0 0;
}
.nm-area-hero-v4 .nm-area-breadcrumb{
  margin:0 0 16px;
  color:#66758a;
}
.nm-area-hero-v4 .nm-area-breadcrumb a,
.nm-area-hero-v4 .nm-area-breadcrumb strong{color:#294661}
.nm-area-hero-v4 .nm-area-breadcrumb span{color:#9aa6b3}
.nm-area-hero-v4__panel{
  display:grid;
  grid-template-columns:minmax(0,54%) minmax(0,46%);
  min-height:350px;
  overflow:hidden;
  background:#073766;
  position:relative;
}
.nm-area-hero-v4__copy{
  position:relative;
  z-index:2;
  padding:42px 54px 42px 48px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.nm-area-hero-v4__copy:after{
  content:"";
  position:absolute;
  top:0;
  right:-86px;
  width:150px;
  height:100%;
  pointer-events:none;
  background:linear-gradient(90deg,#073766 0%,rgba(7,55,102,.96) 35%,rgba(7,55,102,.62) 63%,rgba(7,55,102,0) 100%);
  z-index:-1;
}
.nm-area-hero-v4 .nm-eyebrow{
  color:#f0c65d;
  margin-bottom:14px;
}
.nm-area-hero-v4 h1{
  color:#fff;
  font:600 clamp(39px,3.15vw,54px)/1.14 Georgia,"Times New Roman",serif;
  letter-spacing:-.012em;
  margin:0 0 18px;
  max-width:560px;
  text-wrap:balance;
}
.nm-area-hero-v4 .nm-area-lead,
.nm-area-hero-v4 .nm-area-lead p{
  color:rgba(255,255,255,.94);
  font-size:17px;
  line-height:1.58;
  max-width:520px;
  margin-bottom:0;
}
.nm-area-hero-v4 .nm-area-actions{
  margin-top:24px;
  gap:12px;
}
.nm-area-hero-v4 .nm-button--outline{
  border-color:rgba(255,255,255,.58);
  color:#fff;
  background:transparent;
}
.nm-area-hero-v4 .nm-button--outline:hover{background:#fff;color:var(--nm-navy)}
.nm-area-hero-v4__media{
  min-width:0;
  height:350px;
  overflow:hidden;
  background:#e9eef4;
}
.nm-area-hero-v4__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:var(--nm-hero-object-position,center center);
  transform:none;
  filter:none;
}
@media (min-width:1400px){
  .nm-area-hero-v4__panel{grid-template-columns:56% 44%}
  .nm-area-hero-v4__copy{padding-left:52px}
  .nm-area-hero-v4__media{height:350px}
}
@media (max-width:980px){
  .nm-area-hero-v4__panel{grid-template-columns:52% 48%;min-height:330px}
  .nm-area-hero-v4__copy{padding:34px 36px}
  .nm-area-hero-v4 h1{font-size:clamp(36px,5vw,48px)}
  .nm-area-hero-v4__media{height:330px}
}
@media (max-width:760px){
  .nm-area-hero-v4{padding-top:14px}
  .nm-area-hero-v4 .nm-area-breadcrumb{margin-bottom:12px}
  .nm-area-hero-v4__panel{display:flex;flex-direction:column;min-height:0}
  .nm-area-hero-v4__copy{padding:30px 24px 32px}
  .nm-area-hero-v4__copy:after{display:none}
  .nm-area-hero-v4 h1{font-size:clamp(36px,10vw,47px);line-height:1.13;margin-bottom:17px}
  .nm-area-hero-v4 .nm-area-lead,.nm-area-hero-v4 .nm-area-lead p{font-size:16px;line-height:1.58}
  .nm-area-hero-v4__media{height:220px;width:100%}
}

/* === Nova Mentis Home v0.20 — rebuild from approved visual direction === */
body.nova-mentis-home .nm-header__inner{min-height:78px}
body.nova-mentis-home .nm-hero{background:#fff;border-top:1px solid #eef1f4}
body.nova-mentis-home .nm-hero__grid{grid-template-columns:46% 54%;min-height:500px;max-width:1440px;padding-left:0;padding-right:0}
body.nova-mentis-home .nm-hero__copy{padding:58px 48px 56px max(38px,calc((100vw - 1320px)/2));align-self:center;position:relative;z-index:3}
body.nova-mentis-home .nm-hero h1{font-size:clamp(52px,4.6vw,72px);line-height:.98;margin-bottom:24px}
body.nova-mentis-home .nm-hero__copy>p{font-size:16px;line-height:1.55;max-width:560px;margin-bottom:26px}
body.nova-mentis-home .nm-hero__visual{min-height:500px;padding:0;position:relative}
body.nova-mentis-home .nm-hero__photo-wrap{height:100%;min-height:500px;border-radius:0;box-shadow:none;background:#eef2f5;overflow:hidden}
body.nova-mentis-home .nm-hero__photo{height:100%;min-height:500px;object-fit:cover;object-position:center 42%}
body.nova-mentis-home .nm-hero__photo-wrap:before{content:"";position:absolute;inset:0 auto 0 0;width:19%;z-index:2;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.84) 24%,rgba(255,255,255,.32) 63%,transparent 100%);pointer-events:none}
body.nova-mentis-home .nm-hero__photo-wrap:after{background:linear-gradient(90deg,rgba(3,40,79,.04),transparent 38%)}
body.nova-mentis-home .nm-hero__signature{display:none}
body.nova-mentis-home .nm-trust__grid{min-height:82px}
body.nova-mentis-home .nm-trust__item{padding:14px 24px}
body.nova-mentis-home .nm-section{padding:48px 0}
body.nova-mentis-home .nm-section__head{margin-bottom:20px}
body.nova-mentis-home .nm-section h2{font-size:38px}
body.nova-mentis-home .nm-areas{grid-template-columns:repeat(6,1fr);gap:12px}
body.nova-mentis-home .nm-area-card--photo{min-height:0;padding:0;border-radius:10px;overflow:hidden;display:block;position:relative;background:#fff}
body.nova-mentis-home .nm-area-card--photo:before{display:none}
body.nova-mentis-home .nm-area-card__media{display:block;height:132px;overflow:hidden;background:#e8edf2}
body.nova-mentis-home .nm-area-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
body.nova-mentis-home .nm-area-card--photo:hover .nm-area-card__media img{transform:scale(1.035)}
body.nova-mentis-home .nm-area-card__icon{position:absolute;left:14px;top:108px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--nm-navy);color:#fff;border:3px solid #fff;font-size:19px;z-index:2}
body.nova-mentis-home .nm-area-card__content{padding:29px 14px 15px;min-height:170px;display:flex;flex-direction:column}
body.nova-mentis-home .nm-area-card h3{font-size:17px;line-height:1.15;margin-bottom:9px}
body.nova-mentis-home .nm-area-card p{font-size:12px;line-height:1.5;margin-bottom:12px}
body.nova-mentis-home .nm-area-card__content>a{font-size:20px;align-self:flex-end;margin-top:auto}
body.nova-mentis-home .nm-benefits article{padding-top:2px;padding-bottom:2px}
body.nova-mentis-home .nm-benefits h3{font-size:16px}
body.nova-mentis-home .nm-benefits p{font-size:13px}
body.nova-mentis-home #percorsi{border-top:1px solid var(--nm-border)}
body.nova-mentis-home .nm-card-grid{grid-template-columns:repeat(6,1fr);gap:12px}
body.nova-mentis-home .nm-card__media{height:118px}
body.nova-mentis-home .nm-card__body{padding:13px 14px 15px}
body.nova-mentis-home .nm-card h3{font-size:15px}
body.nova-mentis-home .nm-card p{font-size:11px;line-height:1.45;min-height:34px}
body.nova-mentis-home .nm-card__kicker{font-size:9px}
body.nova-mentis-home .nm-news{padding-top:34px;border-top:1px solid var(--nm-border)}
body.nova-mentis-home .nm-news-grid{grid-template-columns:repeat(3,1fr);gap:14px}
body.nova-mentis-home .nm-news-card{min-height:150px;padding:18px 20px;border-top:2px solid var(--nm-navy);border-radius:8px}
body.nova-mentis-home .nm-news-card h3{font-size:16px}
body.nova-mentis-home .nm-contact{padding:34px 0}
body.nova-mentis-home .nm-footer{padding-top:38px}
@media(max-width:1100px){body.nova-mentis-home .nm-areas,body.nova-mentis-home .nm-card-grid{grid-template-columns:repeat(3,1fr)}body.nova-mentis-home .nm-hero__grid{grid-template-columns:48% 52%}}
@media(max-width:760px){body.nova-mentis-home .nm-hero__grid{grid-template-columns:1fr}body.nova-mentis-home .nm-hero__copy{padding:44px 24px 36px}body.nova-mentis-home .nm-hero__visual,body.nova-mentis-home .nm-hero__photo-wrap{min-height:340px}body.nova-mentis-home .nm-hero__photo{min-height:340px}body.nova-mentis-home .nm-hero__photo-wrap:before{display:none}body.nova-mentis-home .nm-areas,body.nova-mentis-home .nm-card-grid{grid-template-columns:repeat(2,1fr)}body.nova-mentis-home .nm-news-grid{grid-template-columns:1fr}}


/* === v0.21 — Home hero layout fix: approved mockup proportions === */
body.nova-mentis-home .nm-hero{
  background:#fff;
  border-top:1px solid #eef1f4;
  overflow:hidden;
}
body.nova-mentis-home .nm-hero .nm-hero__grid{
  width:min(calc(100% - 40px),1440px);
  max-width:1440px;
  margin-inline:auto;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,45%) minmax(0,55%);
  min-height:510px;
  align-items:stretch;
}
body.nova-mentis-home .nm-hero .nm-hero__copy{
  min-width:0;
  width:auto;
  max-width:none;
  padding:58px 54px 56px 0;
  align-self:center;
}
body.nova-mentis-home .nm-hero .nm-eyebrow{
  margin-bottom:18px;
}
body.nova-mentis-home .nm-hero .nm-hero__copy h1{
  max-width:590px;
  margin:0 0 25px;
  font-size:clamp(52px,4.55vw,72px);
  line-height:1.01;
  letter-spacing:-.026em;
  text-wrap:balance;
}
body.nova-mentis-home .nm-hero .nm-hero__copy>p{
  max-width:560px;
  margin:0 0 28px;
  font-size:17px;
  line-height:1.62;
}
body.nova-mentis-home .nm-hero .nm-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
body.nova-mentis-home .nm-hero .nm-actions .nm-button{
  width:auto;
  min-width:0;
}
body.nova-mentis-home .nm-hero .nm-hero__visual{
  min-width:0;
  min-height:510px;
  height:510px;
  padding:0;
  position:relative;
  overflow:hidden;
  background:#f5f6f8;
}
body.nova-mentis-home .nm-hero .nm-hero__photo-wrap{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#eef2f5;
}
body.nova-mentis-home .nm-hero .nm-hero__photo{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 43%;
  transform:none;
}
body.nova-mentis-home .nm-hero .nm-hero__photo-wrap:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:15%;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.72) 30%,rgba(255,255,255,.18) 72%,transparent 100%);
}
body.nova-mentis-home .nm-hero .nm-hero__photo-wrap:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(7,56,109,.02),rgba(7,56,109,.02));
}
body.nova-mentis-home .nm-hero .nm-hero__signature{display:none!important;}

@media (max-width:1100px){
  body.nova-mentis-home .nm-hero .nm-hero__grid{
    grid-template-columns:minmax(0,48%) minmax(0,52%);
    min-height:470px;
  }
  body.nova-mentis-home .nm-hero .nm-hero__copy{padding:48px 36px 48px 0;}
  body.nova-mentis-home .nm-hero .nm-hero__copy h1{font-size:clamp(46px,5.2vw,62px);}
  body.nova-mentis-home .nm-hero .nm-hero__visual{height:470px;min-height:470px;}
}
@media (max-width:760px){
  body.nova-mentis-home .nm-hero .nm-hero__grid{
    width:min(calc(100% - 28px),1440px);
    grid-template-columns:1fr;
    min-height:0;
  }
  body.nova-mentis-home .nm-hero .nm-hero__copy{
    padding:42px 0 34px;
  }
  body.nova-mentis-home .nm-hero .nm-hero__copy h1{
    max-width:100%;
    font-size:clamp(44px,13vw,58px);
    line-height:1.02;
  }
  body.nova-mentis-home .nm-hero .nm-hero__copy>p{font-size:16px;max-width:100%;}
  body.nova-mentis-home .nm-hero .nm-hero__visual{
    height:340px;
    min-height:340px;
    border-radius:0 0 0 42px;
  }
  body.nova-mentis-home .nm-hero .nm-hero__photo-wrap:before{display:none;}
  body.nova-mentis-home .nm-hero .nm-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  body.nova-mentis-home .nm-hero .nm-actions .nm-button{width:100%;}
}

/* v0.22 — Home cards: immagini più vive, niente icone nei cerchi blu */
.nova-mentis-home .nm-areas{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.nova-mentis-home .nm-area-card{
  min-height:0;
  padding:0;
  border:1px solid #dde5ed;
  border-radius:15px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(8,45,83,.045);
}
.nova-mentis-home .nm-area-card:before{display:none}
.nova-mentis-home .nm-area-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 38px rgba(8,45,83,.11);
  border-color:#cdd9e4;
}
.nova-mentis-home .nm-area-card__media{
  position:relative;
  display:block;
  height:150px;
  overflow:hidden;
  background:#e7edf3;
}
.nova-mentis-home .nm-area-card__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 54%,rgba(5,39,75,.17) 100%);
  pointer-events:none;
}
.nova-mentis-home .nm-area-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.10) contrast(1.055) brightness(1.02);
  transform:scale(1.005);
  transition:transform .45s ease,filter .35s ease;
}
.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
  transform:scale(1.045);
  filter:saturate(1.16) contrast(1.07) brightness(1.03);
}
.nova-mentis-home .nm-area-card__index{
  position:absolute;
  left:14px;
  bottom:12px;
  z-index:2;
  min-width:36px;
  height:27px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:rgba(255,255,255,.93);
  color:var(--nm-navy);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 5px 16px rgba(4,37,72,.12);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
.nova-mentis-home .nm-area-card:nth-child(even) .nm-area-card__index{
  color:#7d5916;
  background:rgba(255,249,234,.94);
}
.nova-mentis-home .nm-area-card__content{
  padding:19px 18px 17px;
  display:flex;
  flex-direction:column;
  min-height:205px;
}
.nova-mentis-home .nm-area-card h3{
  font-size:18px;
  line-height:1.18;
  margin:0 0 10px;
}
.nova-mentis-home .nm-area-card p{
  font-size:12.5px;
  line-height:1.55;
  margin:0 0 18px;
  color:#66758a;
}
.nova-mentis-home .nm-area-card__more{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--nm-navy);
  font-size:12px;
  font-weight:800;
}
.nova-mentis-home .nm-area-card__more b{
  font-size:18px;
  font-weight:500;
  transition:transform .2s ease;
}
.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{transform:translateX(3px)}

/* Percorsi in evidenza: se manca la foto del singolo percorso usa una foto coerente con la sua area */
.nova-mentis-home .nm-card-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.nova-mentis-home .nm-card{
  border-radius:14px;
  border-color:#dde5ed;
  box-shadow:0 6px 22px rgba(8,45,83,.035);
}
.nova-mentis-home .nm-card__media{height:132px;background:#e8eef4}
.nova-mentis-home .nm-card__image{
  filter:saturate(1.08) contrast(1.055);
  transition:transform .4s ease,filter .3s ease;
}
.nova-mentis-home .nm-card:hover .nm-card__image{transform:scale(1.04);filter:saturate(1.14) contrast(1.07)}
.nova-mentis-home .nm-card__body{padding:16px 16px 17px}
.nova-mentis-home .nm-card h3{font-size:16px}
.nova-mentis-home .nm-card p{font-size:12px;line-height:1.5}

@media(max-width:1180px){
  .nova-mentis-home .nm-areas,.nova-mentis-home .nm-card-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .nova-mentis-home .nm-areas,.nova-mentis-home .nm-card-grid{grid-template-columns:1fr}
  .nova-mentis-home .nm-area-card__media{height:210px}
  .nova-mentis-home .nm-area-card__content{min-height:0}
  .nova-mentis-home .nm-card__media{height:200px}
}

/* v0.23 — Home: immagini più formative e percorsi visivamente distinti */
.nova-mentis-home .nm-area-card__index{display:none!important;}
.nova-mentis-home .nm-area-card{
  border-color:#e4e8ec;
  box-shadow:0 7px 22px rgba(15,48,78,.045);
}
.nova-mentis-home .nm-area-card__media{
  height:138px;
  background:#f2f0eb;
}
.nova-mentis-home .nm-area-card__media:after{
  background:linear-gradient(180deg,transparent 72%,rgba(6,45,83,.08) 100%);
}
.nova-mentis-home .nm-area-card__media img{
  filter:saturate(1.08) contrast(1.035) brightness(1.035);
  object-position:center center;
}
.nova-mentis-home .nm-area-card__content{
  padding:18px 16px 17px;
  min-height:198px;
}
.nova-mentis-home .nm-area-card h3{
  font-size:17px;
  line-height:1.22;
}
.nova-mentis-home .nm-area-card p{
  color:#5f6f81;
}
.nova-mentis-home .nm-area-card__more span{font-weight:800;}

.nova-mentis-home .nm-card-grid{
  align-items:stretch;
}
.nova-mentis-home .nm-card{
  background:#fff;
  overflow:hidden;
}
.nova-mentis-home .nm-card__media{
  height:124px;
  background:#ece8df;
}
.nova-mentis-home .nm-card__image{
  width:100%;height:100%;object-fit:cover;object-position:center;
  filter:saturate(1.08) contrast(1.04) brightness(1.02);
}
.nova-mentis-home .nm-card__body{
  min-height:164px;
  display:flex;
  flex-direction:column;
}
.nova-mentis-home .nm-card__link{margin-top:auto;}
@media(max-width:760px){
  .nova-mentis-home .nm-area-card__media{height:190px;}
  .nova-mentis-home .nm-card__media{height:190px;}
}

/* v0.24 — Home cards: griglia perfettamente allineata */
.nova-mentis-home .nm-areas,
.nova-mentis-home .nm-card-grid{
  align-items:stretch;
}

/* Aree formative: stessa proporzione foto e stessa scansione verticale */
.nova-mentis-home .nm-area-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.nova-mentis-home .nm-area-card__media{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  flex:0 0 auto;
}
.nova-mentis-home .nm-area-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:64% center;
}
.nova-mentis-home .nm-area-card__content{
  flex:1;
  min-height:245px;
  padding:20px 18px 18px;
  display:grid;
  grid-template-rows:58px 1fr 30px;
  align-content:start;
}
.nova-mentis-home .nm-area-card h3{
  min-height:0;
  margin:0;
  display:flex;
  align-items:flex-start;
  font-size:17px;
  line-height:1.22;
}
.nova-mentis-home .nm-area-card p{
  margin:12px 0 14px;
  align-self:start;
  line-height:1.55;
}
.nova-mentis-home .nm-area-card__more{
  align-self:end;
  margin:0;
  min-height:30px;
}

/* Percorsi in evidenza: foto, etichetta, titolo, testo e CTA sulla stessa linea */
.nova-mentis-home .nm-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.nova-mentis-home .nm-card__media{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  flex:0 0 auto;
}
.nova-mentis-home .nm-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.nova-mentis-home .nm-card__body{
  flex:1;
  min-height:255px;
  padding:17px 16px 18px;
  display:grid;
  grid-template-rows:36px 50px 1fr 28px;
  align-content:start;
}
.nova-mentis-home .nm-card__eyebrow{
  min-height:36px;
  margin:0;
  align-self:start;
}
.nova-mentis-home .nm-card h3{
  min-height:0;
  margin:0;
  line-height:1.24;
  align-self:start;
}
.nova-mentis-home .nm-card p{
  margin:10px 0 14px;
  align-self:start;
  line-height:1.5;
}
.nova-mentis-home .nm-card__link{
  align-self:end;
  margin:0;
  min-height:28px;
}

@media(max-width:1180px){
  .nova-mentis-home .nm-area-card__content,
  .nova-mentis-home .nm-card__body{min-height:0;}
  .nova-mentis-home .nm-area-card__content{grid-template-rows:auto 1fr 30px;}
  .nova-mentis-home .nm-card__body{grid-template-rows:auto auto 1fr 28px;}
}
@media(max-width:760px){
  .nova-mentis-home .nm-area-card__media,
  .nova-mentis-home .nm-card__media{aspect-ratio:16/9;height:auto;}
  .nova-mentis-home .nm-area-card__content,
  .nova-mentis-home .nm-card__body{display:flex;flex-direction:column;min-height:0;}
  .nova-mentis-home .nm-area-card h3,
  .nova-mentis-home .nm-card__eyebrow,
  .nova-mentis-home .nm-card h3{min-height:0;}
}


/* =========================================================
   v0.25 — Home / Aree Formative: card editoriali uniformi
   ========================================================= */
.nova-mentis-home .nm-areas{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.nova-mentis-home .nm-area-card{
  height:100%;
  min-height:0;
  padding:0;
  overflow:hidden;
  border:1px solid #dbe3ea;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(8,45,82,.045);
  display:grid;
  grid-template-rows:156px 1fr;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.nova-mentis-home .nm-area-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(8,45,82,.09);
  border-color:#c8d5df;
}
.nova-mentis-home .nm-area-card:before{display:none!important;}
.nova-mentis-home .nm-area-card__media{
  width:100%;
  height:156px!important;
  aspect-ratio:auto!important;
  overflow:hidden;
  background:#eef2f5;
}
.nova-mentis-home .nm-area-card__media:after{display:none!important;}
.nova-mentis-home .nm-area-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:none!important;
  transform:none!important;
  transition:transform .28s ease;
}
.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{transform:scale(1.025)!important;}
.nova-mentis-home .nm-area-card__content{
  min-height:238px!important;
  padding:16px 16px 17px!important;
  display:grid!important;
  grid-template-rows:30px 52px 72px 32px!important;
  gap:7px;
  align-content:start;
}
.nova-mentis-home .nm-area-card__icon{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:var(--nm-navy);
  margin:0;
}
.nova-mentis-home .nm-area-card:nth-child(2n) .nm-area-card__icon,
.nova-mentis-home .nm-area-card:nth-child(6n) .nm-area-card__icon{color:var(--nm-gold);}
.nova-mentis-home .nm-area-card__icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.nova-mentis-home .nm-area-card h3{
  min-height:52px!important;
  margin:0!important;
  font-size:17px!important;
  line-height:1.18!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.nova-mentis-home .nm-area-card p{
  min-height:72px!important;
  margin:0!important;
  color:#66778a;
  font-size:12.5px!important;
  line-height:1.48!important;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.nova-mentis-home .nm-area-card__more{
  min-height:32px!important;
  margin:0!important;
  align-self:end!important;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:14px!important;
  font-weight:800;
  color:var(--nm-navy);
}
.nova-mentis-home .nm-area-card__more b{font-size:18px;font-weight:500;}

@media(max-width:1180px){
  .nova-mentis-home .nm-areas{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
  .nova-mentis-home .nm-area-card{grid-template-rows:180px 1fr;}
  .nova-mentis-home .nm-area-card__media{height:180px!important;}
}
@media(max-width:760px){
  .nova-mentis-home .nm-areas{grid-template-columns:1fr;}
  .nova-mentis-home .nm-area-card{grid-template-rows:210px 1fr;}
  .nova-mentis-home .nm-area-card__media{height:210px!important;}
  .nova-mentis-home .nm-area-card__content{min-height:0!important;grid-template-rows:30px auto auto 32px!important;}
  .nova-mentis-home .nm-area-card h3,.nova-mentis-home .nm-area-card p{min-height:0!important;-webkit-line-clamp:unset;}
}


/* v0.26 — centratura badge/icone nelle card Aree Formative */
body.nova-mentis-home .nm-area-card{
    position:relative;
}
body.nova-mentis-home .nm-area-card__icon{
    position:absolute !important;
    top:134px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    width:46px !important;
    height:46px !important;
    margin:0 !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:var(--nm-navy) !important;
    color:#fff !important;
    border:3px solid #fff !important;
    box-shadow:0 3px 10px rgba(4,48,89,.14);
    z-index:3 !important;
}
body.nova-mentis-home .nm-area-card:nth-child(2n) .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:nth-child(6n) .nm-area-card__icon{
    color:var(--nm-gold) !important;
}
body.nova-mentis-home .nm-area-card__icon svg{
    width:25px !important;
    height:25px !important;
}
body.nova-mentis-home .nm-area-card__content{
    padding-top:34px !important;
    grid-template-rows:0 52px 72px 32px !important;
}


/* v0.27 — fix sovrapposizione testo dopo centratura badge */
body.nova-mentis-home .nm-area-card__content{
    padding:36px 16px 17px !important;
    grid-template-rows:52px 72px 32px !important;
    gap:7px !important;
}
body.nova-mentis-home .nm-area-card h3{
    grid-row:auto !important;
}
body.nova-mentis-home .nm-area-card p{
    grid-row:auto !important;
}
body.nova-mentis-home .nm-area-card__more{
    grid-row:auto !important;
}
@media(max-width:760px){
    body.nova-mentis-home .nm-area-card__content{
        padding:36px 16px 17px !important;
        grid-template-rows:auto auto 32px !important;
    }
}
@media(max-width:760px){
    body.nova-mentis-home .nm-area-card__content{
        position:static !important;
    }

    body.nova-mentis-home .nm-area-card__more{
        position:absolute !important;
        left:16px !important;
        right:16px !important;
        bottom:17px !important;
    }
}

/* =========================================================
   v0.28 — Template singolo percorso: orientamento prima del catalogo
   ========================================================= */

.nm-path-guide{background:#fff}
.nm-path-guide-hero{
    padding:30px 0 66px;
    background:
        radial-gradient(circle at 84% 12%,rgba(205,157,55,.10),transparent 25%),
        linear-gradient(145deg,#f8fafc 0%,#f1f5f8 100%);
    border-bottom:1px solid #e4eaf0;
}
.nm-path-guide-breadcrumb{margin-bottom:36px;color:#708096;font-size:13px}
.nm-path-guide-breadcrumb a{color:#51657d;text-decoration:none}
.nm-path-guide-breadcrumb strong{color:#153b65}
.nm-path-guide-breadcrumb span{margin:0 9px;color:#a8b2bd}
.nm-path-guide-hero__grid{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
    gap:70px;
    align-items:center;
}
.nm-path-guide-hero__copy{max-width:690px}
.nm-path-guide-hero__copy h1{
    margin:8px 0 22px;
    max-width:700px;
    font:500 clamp(48px,5.4vw,78px)/1.02 Georgia,"Times New Roman",serif;
    letter-spacing:-.035em;
    color:var(--nm-navy-deep);
}
.nm-path-guide-hero__lead{
    max-width:650px;
    margin:0;
    color:#53657b;
    font-size:19px;
    line-height:1.72;
}
.nm-path-guide-hero__copy .nm-actions{margin-top:30px}

.nm-path-guide-compass{
    min-height:390px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    position:relative;
    overflow:hidden;
    padding:34px;
    border-radius:26px;
    color:#fff;
    background:
        linear-gradient(145deg,#062d59,#0b4c87);
    box-shadow:0 24px 60px rgba(5,42,78,.16);
}
.nm-path-guide-compass:before{
    content:"";
    position:absolute;
    width:240px;height:240px;
    right:-80px;top:-70px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
}
.nm-path-guide-compass:after{
    content:"";
    position:absolute;
    right:42px;top:28px;
    width:2px;height:118px;
    background:linear-gradient(180deg,rgba(208,161,61,.85),transparent);
    transform:rotate(38deg);
    transform-origin:top;
}
.nm-path-guide-compass__photo{
    position:absolute;inset:0;z-index:0;
}
.nm-path-guide-compass__photo:after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(3,27,54,.05) 0%,rgba(3,27,54,.55) 52%,rgba(3,27,54,.96) 100%);
}
.nm-path-guide-compass__photo img{width:100%;height:100%;object-fit:cover;display:block}
.nm-path-guide-compass__content{position:relative;z-index:2}
.nm-path-guide-compass .nm-eyebrow{color:#e2b04a}
.nm-path-guide-compass h2{
    margin:7px 0 25px;
    color:#fff;
    font:500 36px/1.08 Georgia,"Times New Roman",serif;
}
.nm-path-guide-compass__steps{display:grid;gap:0;border-top:1px solid rgba(255,255,255,.16)}
.nm-path-guide-compass__steps span{
    display:grid;
    grid-template-columns:40px 1fr;
    align-items:center;
    min-height:50px;
    border-bottom:1px solid rgba(255,255,255,.14);
}
.nm-path-guide-compass__steps b{font-size:11px;letter-spacing:.12em;color:#d8a941}
.nm-path-guide-compass__steps em{font-style:normal;font-weight:600;color:#fff}

.nm-section__head--guide{margin-bottom:32px}
.nm-section__head--guide .nm-section__intro{max-width:760px;margin-top:10px}
.nm-path-guide-decision{padding-top:76px}
.nm-path-guide-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.nm-path-guide-card{
    min-height:290px;
    display:flex;
    flex-direction:column;
    padding:28px 28px 30px;
    border:1px solid #e0e7ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 32px rgba(24,57,88,.045);
}
.nm-path-guide-card__num{
    width:42px;height:42px;
    display:grid;place-items:center;
    margin-bottom:34px;
    border-radius:50%;
    background:#edf3f8;
    color:#0b477e;
    font-weight:700;font-size:12px;
}
.nm-path-guide-card h3{
    margin:0 0 14px;
    color:#07386d;
    font-size:21px;line-height:1.22;
}
.nm-path-guide-card p{
    margin:0;color:#647489;
    font-size:16px;line-height:1.7;
}
.nm-path-guide-note{
    display:grid;
    grid-template-columns:64px 1fr;
    gap:22px;
    align-items:center;
    margin-top:20px;
    padding:25px 30px;
    border-radius:16px;
    background:linear-gradient(100deg,#f3f7fa,#edf3f7);
    border:1px solid #e0e8ef;
}
.nm-path-guide-note__mark{
    width:52px;height:52px;border-radius:50%;
    display:grid;place-items:center;
    background:#fff;color:#c18c24;
    font-size:25px;
    box-shadow:0 8px 18px rgba(17,56,91,.06);
}
.nm-path-guide-note p{margin:5px 0 0;color:#485d74;font-size:16px;line-height:1.65}

.nm-path-method{
    padding:72px 0;
    background:#07386d;
    color:#fff;
}
.nm-path-method__head{max-width:780px;margin-bottom:36px}
.nm-path-method .nm-eyebrow{color:#e0ab43}
.nm-path-method__head h2{
    margin:7px 0 0;
    color:#fff;
    font:500 clamp(34px,4vw,50px)/1.08 Georgia,"Times New Roman",serif;
}
.nm-path-method__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    border-top:1px solid rgba(255,255,255,.16);
}
.nm-path-method__step{padding:28px 34px 5px 0;margin-right:34px}
.nm-path-method__step + .nm-path-method__step{padding-left:34px;border-left:1px solid rgba(255,255,255,.16)}
.nm-path-method__step b{font-size:11px;letter-spacing:.14em;color:#d9a33b}
.nm-path-method__step h3{margin:13px 0 8px;color:#fff;font-size:22px}
.nm-path-method__step p{margin:0;color:#d9e4ee;line-height:1.7}

.nm-path-details{background:#fff}
.nm-path-details__grid{
    display:grid;
    grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);
    gap:76px;
}
.nm-path-details aside h2{
    margin:7px 0 12px;
    color:#07386d;
    font:500 37px/1.09 Georgia,"Times New Roman",serif;
}
.nm-path-details aside p{color:#68778a;line-height:1.7}
.nm-path-details__content{
    color:#43566d;
    font-size:17px;
    line-height:1.78;
}
.nm-path-details__content > :first-child{margin-top:0}
.nm-path-details__content h2,
.nm-path-details__content h3{
    color:#07386d;
    font-family:Georgia,"Times New Roman",serif;
    font-weight:500;
}
.nm-path-details__content h2{font-size:31px;margin:36px 0 12px}
.nm-path-details__content h3{font-size:24px;margin:28px 0 10px}

.nm-related-paths--guide{background:#f7f9fb}
.nm-path-guide-final{
    padding:58px 0;
    background:#0a4379;
    color:#fff;
}
.nm-path-guide-final__inner{
    display:flex;justify-content:space-between;align-items:center;gap:50px;
}
.nm-path-guide-final .nm-eyebrow{color:#e2ad43}
.nm-path-guide-final h2{
    margin:7px 0 9px;
    max-width:720px;
    color:#fff;
    font:500 39px/1.08 Georgia,"Times New Roman",serif;
}
.nm-path-guide-final p{margin:0;max-width:720px;color:#d9e6f0;font-size:16px;line-height:1.65}

@media(max-width:1000px){
    .nm-path-guide-hero__grid{grid-template-columns:1fr;gap:34px}
    .nm-path-guide-compass{min-height:340px}
    .nm-path-guide-cards{grid-template-columns:1fr}
    .nm-path-guide-card{min-height:0}
    .nm-path-method__grid{grid-template-columns:1fr}
    .nm-path-method__step,.nm-path-method__step + .nm-path-method__step{padding:24px 0;margin:0;border-left:0;border-bottom:1px solid rgba(255,255,255,.14)}
    .nm-path-details__grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:760px){
    .nm-path-guide-hero{padding:20px 0 42px}
    .nm-path-guide-breadcrumb{margin-bottom:24px}
    .nm-path-guide-hero__copy h1{font-size:clamp(42px,12vw,56px)}
    .nm-path-guide-hero__lead{font-size:17px}
    .nm-path-guide-compass{min-height:310px;padding:26px;border-radius:20px}
    .nm-path-guide-compass h2{font-size:31px}
    .nm-path-guide-decision{padding-top:52px}
    .nm-path-guide-note{grid-template-columns:1fr;padding:24px}
    .nm-path-method{padding:54px 0}
    .nm-path-guide-final__inner{flex-direction:column;align-items:flex-start}
    .nm-path-guide-final h2{font-size:32px}
    .nm-path-guide-final .nm-button{width:100%;justify-content:center}
}


/* v0.29 — dal bisogno ai casi concreti */
.nm-path-guide-hero__orientation{max-width:620px;margin:16px 0 0;padding-left:16px;border-left:2px solid #d3a13b;color:#173f68;font-size:14px;line-height:1.6;font-weight:600}
.nm-path-fit{padding:82px 0 88px;background:#f7f9fb;border-bottom:1px solid #e4eaf0}
.nm-path-fit__intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,.72fr);gap:80px;align-items:end;margin-bottom:38px}
.nm-path-fit__intro h2{margin:7px 0 0;color:#07386d;font:500 clamp(36px,4vw,52px)/1.06 Georgia,"Times New Roman",serif;letter-spacing:-.02em}
.nm-path-fit__intro>p{max-width:590px;margin:0 0 4px;color:#617287;font-size:17px;line-height:1.72}
.nm-path-fit__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dce5ed;border-bottom:1px solid #dce5ed;background:#fff}
.nm-path-fit__item{min-height:310px;padding:28px 28px 30px;display:flex;flex-direction:column;border-right:1px solid #dce5ed}.nm-path-fit__item:last-child{border-right:0}
.nm-path-fit__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:48px}.nm-path-fit__top span{color:#c48e25;font-size:11px;font-weight:800;letter-spacing:.14em}.nm-path-fit__top i{font-style:normal;color:#0a477e;font-size:20px;opacity:.72}
.nm-path-fit__item h3{margin:0 0 13px;color:#07386d;font-size:21px;line-height:1.25}.nm-path-fit__item p{margin:0;color:#66768a;font-size:15px;line-height:1.72}
.nm-path-fit__closing{display:grid;grid-template-columns:.9fr 1.4fr auto;gap:30px;align-items:center;margin-top:30px;padding:23px 0 0}.nm-path-fit__closing span{color:#758397;font-size:14px}.nm-path-fit__closing strong{color:#173f68;font-size:16px;line-height:1.5}.nm-path-fit__closing a{color:#07386d;text-decoration:none;font-weight:800;white-space:nowrap}.nm-path-fit__closing a b{margin-left:8px}
@media(max-width:1100px){.nm-path-fit__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nm-path-fit__item:nth-child(2){border-right:0}.nm-path-fit__item:nth-child(-n+2){border-bottom:1px solid #dce5ed}}
@media(max-width:760px){.nm-path-fit{padding:58px 0 62px}.nm-path-fit__intro{grid-template-columns:1fr;gap:18px;margin-bottom:28px}.nm-path-fit__grid{grid-template-columns:1fr}.nm-path-fit__item,.nm-path-fit__item:nth-child(2){min-height:0;border-right:0;border-bottom:1px solid #dce5ed}.nm-path-fit__item:last-child{border-bottom:0}.nm-path-fit__top{margin-bottom:26px}.nm-path-fit__closing{grid-template-columns:1fr;gap:10px}}


/* =========================================================
   v0.30 — Partner separati dai Percorsi + card orientamento
   ========================================================= */

/* Identità del Partner: presente ma subordinata al Percorso */
.nm-path-partners-hero{
    min-height:42px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin:13px 0 12px;
}
.nm-path-partner-chip{
    min-width:76px;
    max-width:150px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:4px 0;
}
.nm-path-partner-chip img{
    display:block;
    width:auto;
    height:auto;
    max-width:142px;
    max-height:34px;
    object-fit:contain;
    object-position:left center;
}
.nm-path-partner-chip strong{
    color:#0a4379;
    font-size:13px;
    letter-spacing:.04em;
}

/* Le 3 card non sembrano più "step numerati":
   diventano tre chiavi di lettura della scelta. */
.nm-path-guide-card{
    position:relative;
    overflow:hidden;
    box-shadow:
        inset 0 3px 0 rgba(205,157,55,.92),
        0 14px 32px rgba(24,57,88,.045);
}
.nm-path-guide-card:after{
    content:"";
    position:absolute;
    width:90px;
    height:90px;
    right:-48px;
    top:-48px;
    border:1px solid rgba(10,71,126,.08);
    border-radius:50%;
    pointer-events:none;
}
.nm-path-guide-card__num{display:none!important}
.nm-path-guide-card__icon{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    margin-bottom:30px;
    border-radius:14px;
    background:#f4f7fa;
    color:#0b477e;
    border:1px solid #e0e8ef;
}
.nm-path-guide-card__icon svg{
    width:25px;
    height:25px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.nm-path-guide-card__icon--goal{
    color:#b98119;
    background:#fbf7ee;
    border-color:#efe2c5;
}
.nm-path-guide-card__icon--evaluate{
    color:#0b477e;
    background:#eef5f8;
}
.nm-path-guide-card h3{margin-top:0}

/* La riga dei partner deve restare discreta anche quando aumentano. */
@media(max-width:760px){
    .nm-path-partners-hero{margin-top:11px}
    .nm-path-partner-chip{max-width:125px}
    .nm-path-partner-chip img{max-width:118px;max-height:30px}
}


/* =========================================================
   v0.31 — Icone coerenti + Aree orientate al bisogno
   ========================================================= */

/* Come lavoriamo: icone al posto di 01/02/03 */
.nm-path-method__step b{display:none}
.nm-path-method__icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    margin-bottom:22px;
    color:#e0ab43;
    border:1px solid rgba(224,171,67,.34);
    border-radius:13px;
    background:rgba(255,255,255,.035);
}
.nm-path-method__icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Quando può avere senso: quattro simboli invece dei numeri */
.nm-path-fit__top > span:not(.nm-path-fit__icon){display:none}
.nm-path-fit__icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    color:#0b477e;
    border-radius:12px;
    background:#eef4f8;
    border:1px solid #dfe8ef;
}
.nm-path-fit__item:nth-child(even) .nm-path-fit__icon{
    color:#b98119;
    background:#fbf7ee;
    border-color:#efe2c5;
}
.nm-path-fit__icon svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Certificazioni Informatiche: accesso per bisogno, non per marchio */
.nm-section__head--orientation{
    max-width:850px;
    margin-bottom:34px;
}
.nm-area-needs-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.nm-area-need-card{
    min-height:305px;
    display:flex;
    flex-direction:column;
    padding:28px 28px 26px;
    border:1px solid #dfe7ee;
    border-radius:18px;
    background:#fff;
    box-shadow:inset 0 3px 0 rgba(205,157,55,.88),0 14px 32px rgba(24,57,88,.04);
}
.nm-area-need-card__icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin-bottom:38px;
    color:#0a477e;
    border-radius:13px;
    background:#eef4f8;
    border:1px solid #dfe8ef;
}
.nm-area-need-card__icon--gold{
    color:#b98119;
    background:#fbf7ee;
    border-color:#efe2c5;
}
.nm-area-need-card__icon svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.nm-area-need-card h3{
    margin:0 0 13px;
    color:#07386d;
    font-size:23px;
    line-height:1.2;
}
.nm-area-need-card p{
    margin:0 0 24px;
    color:#66768a;
    font-size:16px;
    line-height:1.68;
}
.nm-area-need-card a{
    margin-top:auto;
    color:#07386d;
    text-decoration:none;
    font-weight:800;
}
.nm-area-need-card a b{margin-left:8px}

/* Partner / Atenei: sempre una fascia corta, mai una griglia infinita */
.nm-area-partners{
    padding:68px 0 64px;
    background:#f6f8fa;
    border-top:1px solid #e3e9ef;
    border-bottom:1px solid #e3e9ef;
}
.nm-area-partners__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(330px,.75fr);
    gap:70px;
    align-items:end;
    margin-bottom:30px;
}
.nm-area-partners__head h2{
    margin:6px 0 0;
    color:#07386d;
    font:500 37px/1.08 Georgia,"Times New Roman",serif;
}
.nm-area-partners__head p{
    margin:0;
    color:#66768a;
    font-size:15px;
    line-height:1.68;
}
.nm-area-partners__strip{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    background:#fff;
    border:1px solid #dfe7ee;
    border-radius:16px;
    overflow:hidden;
}
.nm-area-partner{
    min-height:105px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    border-right:1px solid #e3e9ef;
}
.nm-area-partner:last-child{border-right:0}
.nm-area-partner img{
    display:block;
    max-width:130px;
    max-height:44px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.nm-area-partner > strong{
    color:#0a477e;
    text-align:center;
    font-size:15px;
}
.nm-area-partner--more{
    flex-direction:column;
    gap:4px;
    color:#66768a;
}
.nm-area-partner--more strong{
    color:#c18c24;
    font-size:23px;
}
.nm-area-partner--more span{
    font-size:12px;
    text-align:center;
}
.nm-area-partners__foot{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    margin-top:18px;
    color:#7a8798;
    font-size:13px;
}
.nm-area-partners__foot a{
    color:#07386d;
    text-decoration:none;
    font-weight:800;
}
.nm-area-partners__foot a b{margin-left:8px}

@media(max-width:1000px){
    .nm-area-needs-grid{grid-template-columns:1fr}
    .nm-area-need-card{min-height:0}
    .nm-area-partners__head{grid-template-columns:1fr;gap:16px}
    .nm-area-partners__strip{grid-template-columns:repeat(3,minmax(0,1fr))}
    .nm-area-partner:nth-child(3n){border-right:0}
    .nm-area-partner:nth-child(-n+3){border-bottom:1px solid #e3e9ef}
}
@media(max-width:650px){
    .nm-area-partners{padding:52px 0}
    .nm-area-partners__strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .nm-area-partner,
    .nm-area-partner:nth-child(3n){border-right:1px solid #e3e9ef;border-bottom:1px solid #e3e9ef}
    .nm-area-partner:nth-child(even){border-right:0}
    .nm-area-partner:nth-last-child(-n+2){border-bottom:0}
    .nm-area-partners__foot{align-items:flex-start;flex-direction:column;gap:8px}
}


/* =========================================================
   v0.32 — gerarchia editoriale e tono istituzionale
   ========================================================= */
.nm-section__head--orientation{max-width:780px;margin-bottom:30px}
.nm-section__head--orientation .nm-eyebrow{font-size:11px;line-height:1.2;letter-spacing:.18em}
.nm-section__head--orientation h2{max-width:720px;margin-top:8px;font-size:34px;line-height:1.12}
.nm-section__head--orientation .nm-section__intro{max-width:720px;margin-top:11px;font-size:15.5px;line-height:1.65}
.nm-area-need-card h3{font-size:19px;line-height:1.22}
.nm-area-need-card p{font-size:14.5px;line-height:1.62}

.nm-area-partners{padding:42px 0 38px}
.nm-area-partners__head{grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);gap:58px;align-items:center;margin-bottom:22px}
.nm-area-partners__head .nm-eyebrow{font-size:10.5px;letter-spacing:.17em}
.nm-area-partners__head h2{margin-top:7px;font-size:27px;line-height:1.12}
.nm-area-partners__head p{max-width:590px;font-size:13.5px;line-height:1.62}
.nm-area-partners__strip{min-height:86px}
.nm-area-partner{min-height:86px;padding:16px 20px}
.nm-area-partner img{max-width:116px;max-height:38px}
.nm-area-partners__foot{margin-top:13px;font-size:12.5px}

.nm-guidance--area-redundant{display:none}

.nm-other-areas{padding-top:48px;padding-bottom:48px}
.nm-other-areas h2{font-size:30px}
.nm-other-areas .nm-other-areas__grid a{min-height:50px;padding-top:13px;padding-bottom:13px}

@media(max-width:1000px){
  .nm-area-partners__head{grid-template-columns:1fr;gap:14px}
}


/* =========================================================
   v0.33 — correzione strutturale Area Certificazioni
   ========================================================= */

/* Hero neutro: nessun ente domina la pagina Area */
.nm-area-hero-v4--cert .nm-area-hero-v4__panel{
    background:#073d72;
}
.nm-area-hero-v4--cert .nm-area-lead{
    max-width:500px;
}
.nm-cert-hero-art{
    position:relative;
    min-height:100%;
    overflow:hidden;
    background:
        radial-gradient(circle at 76% 28%,rgba(51,117,176,.34),transparent 28%),
        linear-gradient(135deg,#082f59 0%,#0b4e87 58%,#073665 100%);
}
.nm-cert-hero-art:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(110deg,rgba(4,39,75,.2),transparent 58%);
}
.nm-cert-hero-art__grid{
    position:absolute;
    inset:0;
    opacity:.16;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
    background-size:54px 54px;
    mask-image:linear-gradient(100deg,transparent 0%,#000 35%,#000 100%);
}
.nm-cert-hero-art__credential{
    position:absolute;
    left:14%;
    right:11%;
    top:50%;
    transform:translateY(-50%);
    min-height:190px;
    display:flex;
    align-items:center;
    gap:26px;
    padding:32px 35px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:22px;
    background:rgba(255,255,255,.075);
    box-shadow:0 24px 60px rgba(0,21,45,.22);
    backdrop-filter:blur(4px);
}
.nm-cert-hero-art__seal{
    flex:0 0 82px;
    width:82px;
    height:82px;
    display:grid;
    place-items:center;
    color:#e2b04a;
    border:1px solid rgba(226,176,74,.5);
    border-radius:50%;
}
.nm-cert-hero-art__seal svg{
    width:56px;
    height:56px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.nm-cert-hero-art__credential small{
    display:block;
    margin-bottom:7px;
    color:#e2b04a;
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
}
.nm-cert-hero-art__credential strong{
    display:block;
    color:#fff;
    font:500 30px/1.08 Georgia,"Times New Roman",serif;
}
.nm-cert-hero-art__credential em{
    display:block;
    margin-top:9px;
    color:#d5e3ef;
    font-size:13px;
    font-style:normal;
}
.nm-cert-hero-art__line{
    position:absolute;
    display:block;
    height:2px;
    background:linear-gradient(90deg,transparent,#d6a23a,transparent);
    opacity:.8;
    transform:rotate(-48deg);
}
.nm-cert-hero-art__line--one{width:220px;right:-24px;top:34px}
.nm-cert-hero-art__line--two{width:145px;left:-18px;bottom:32px}

/* Gerarchia tipografica più compatta e regolare */
.nm-area-page .nm-section__head--orientation h2{
    font-size:32px!important;
    line-height:1.12!important;
}
.nm-area-page .nm-section__head--orientation .nm-section__intro{
    font-size:15px!important;
    max-width:700px!important;
}
.nm-area-needs-grid{gap:16px}
.nm-area-need-card{
    min-height:278px;
    padding:25px 25px 23px;
}
.nm-area-need-card__icon{margin-bottom:30px}
.nm-area-need-card h3{font-size:18.5px!important}
.nm-area-need-card p{font-size:14px!important}

/* Partner: una fascia informativa, non una seconda sezione protagonista */
.nm-area-partners{
    padding:25px 0!important;
    background:#f5f7f9!important;
}
.nm-area-partners__compact{
    min-height:92px;
    display:grid;
    grid-template-columns:minmax(210px,.8fr) minmax(300px,1.55fr) auto;
    gap:32px;
    align-items:center;
}
.nm-area-partners__label .nm-eyebrow{
    margin-bottom:7px;
    font-size:10px;
    letter-spacing:.16em;
}
.nm-area-partners__label p{
    margin:0;
    color:#556b82;
    font-size:13px;
    line-height:1.5;
}
.nm-area-partners__logos{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.nm-area-partner-logo{
    min-width:104px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border:1px solid #dfe6ec;
    border-radius:10px;
    background:#fff;
}
.nm-area-partner-logo img{
    display:block;
    max-width:104px;
    max-height:30px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.nm-area-partner-logo strong{
    color:#07386d;
    font-size:13px;
}
.nm-area-partner-logo--more{
    min-width:54px;
    color:#b98218;
    font-weight:800;
}
.nm-area-partners__cta{
    color:#07386d;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}
.nm-area-partners__cta b{margin-left:7px}

@media(max-width:950px){
    .nm-area-partners__compact{grid-template-columns:1fr;gap:17px}
    .nm-area-partners__cta{justify-self:start}
}
@media(max-width:760px){
    .nm-cert-hero-art{min-height:300px}
    .nm-cert-hero-art__credential{left:7%;right:7%;padding:24px;gap:18px}
    .nm-cert-hero-art__seal{width:66px;height:66px;flex-basis:66px}
    .nm-cert-hero-art__seal svg{width:44px;height:44px}
    .nm-cert-hero-art__credential strong{font-size:24px}
    .nm-area-partner-logo{min-width:92px}
}


/* v0.34 — partner strip refinement */
.nm-area-partner-logo--idcert{
    background:#07386d;
    border-color:#07386d;
}
.nm-area-partner-logo--idcert img{
    max-width:112px;
    max-height:31px;
}
.nm-other-areas .nm-section__head--other-areas h2{
    font-size:32px;
    line-height:1.1;
}
@media(max-width:760px){
    .nm-other-areas .nm-section__head--other-areas h2{font-size:29px}
}


/* =========================================================
   v0.35 — Partner panel editoriale
   ========================================================= */

.nm-area-partners--editorial{
    padding:48px 0 50px!important;
    background:#f7f9fb!important;
    border-top:1px solid #e5ebf0;
    border-bottom:1px solid #e5ebf0;
}
.nm-partner-panel{
    display:grid;
    grid-template-columns:minmax(250px,.8fr) minmax(420px,1.45fr);
    column-gap:64px;
    row-gap:24px;
    align-items:center;
}
.nm-partner-panel__intro .nm-eyebrow{
    margin-bottom:8px;
    font-size:10.5px;
    letter-spacing:.17em;
}
.nm-partner-panel__intro h2{
    margin:0 0 10px;
    color:#07386d;
    font:500 28px/1.12 Georgia,"Times New Roman",serif;
}
.nm-partner-panel__intro p{
    max-width:500px;
    margin:0;
    color:#637489;
    font-size:13.5px;
    line-height:1.65;
}
.nm-partner-panel__logos{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.nm-partner-tile{
    height:92px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px 20px;
    border:1px solid #dfe7ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 22px rgba(23,58,90,.035);
}
.nm-partner-tile img{
    display:block;
    width:100%;
    height:100%;
    max-width:150px;
    max-height:44px;
    object-fit:contain;
    object-position:center;
}
.nm-partner-tile--idcert{
    background:#fff;
    border-color:#dfe7ee;
}
.nm-partner-tile--idcert img{
    max-width:100px;
    max-height:24px;
    background:#07386d;
    border-radius:7px;
    padding:7px 10px;
    box-sizing:content-box;
}
.nm-partner-tile--eipass img{
    max-width:120px;
    max-height:38px;
}
.nm-partner-tile--eirsaf img{
    max-width:120px;
    max-height:38px;
}
.nm-partner-tile strong{
    color:#07386d;
    font-size:14px;
}
.nm-partner-tile--more{
    flex-direction:column;
    gap:3px;
}
.nm-partner-tile--more strong{
    color:#c18b22;
    font-size:22px;
}
.nm-partner-tile--more span{
    color:#748397;
    font-size:11px;
}
.nm-partner-panel__footer{
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding-top:18px;
    border-top:1px solid #dfe6ec;
    color:#6e7e90;
    font-size:12.5px;
}
.nm-partner-panel__footer a{
    color:#07386d;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
}
.nm-partner-panel__footer a b{margin-left:7px}

@media(max-width:900px){
    .nm-partner-panel{
        grid-template-columns:1fr;
        gap:24px;
    }
    .nm-partner-panel__footer{grid-column:1}
}
@media(max-width:620px){
    .nm-partner-panel__logos{
        grid-template-columns:1fr;
    }
    .nm-partner-tile{height:82px}
    .nm-partner-panel__footer{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }
}


/* =========================================================
   v0.37 — rifinitura finale sezione Partner
   ========================================================= */

/* Avvicina leggermente testo e loghi senza alterare la struttura */
.nm-partner-panel{
    grid-template-columns:minmax(285px,.9fr) minmax(420px,1.35fr);
    column-gap:46px;
}

/* Un po' più di respiro al testo, senza aumentare l'altezza della sezione */
.nm-partner-panel__intro p{
    max-width:540px;
}

/* Mantiene i tre riquadri sobri: bianco + bordo neutro */
.nm-partner-tile{
    background:#fff;
    border-color:#dfe7ee;
}

/* Nessun fondo oro: l'oro resta un accento editoriale, non uno sfondo */
.nm-partner-tile:before{
    content:none!important;
}

@media(max-width:900px){
    .nm-partner-panel{
        grid-template-columns:1fr;
        column-gap:0;
    }
}


/* =========================================================
   v0.38 — Area Diplomi e Percorsi Scolastici
   ========================================================= */
.nm-diploma-intro{max-width:850px}
.nm-diploma-situations{
    display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px
}
.nm-diploma-situation{
    min-height:238px;border:1px solid #dbe5ee;border-top:3px solid #d5a12e;
    border-radius:16px;background:#fff;padding:26px 25px;display:flex;gap:18px;
    box-shadow:0 12px 34px rgba(4,48,86,.045)
}
.nm-diploma-situation__icon{
    flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#eef5fa;
    display:flex;align-items:center;justify-content:center;color:#0a4d84
}
.nm-diploma-situation__icon--gold{background:#fbf5e8;color:#bd8615}
.nm-diploma-situation__icon svg{width:20px;height:20px}
.nm-diploma-situation small,.nm-diploma-route-card__tag{
    display:block;color:#bd8615;font-size:11px;font-weight:800;letter-spacing:.13em;margin:2px 0 13px
}
.nm-diploma-situation h3{font-size:21px;line-height:1.18;margin:0 0 12px;color:#063e70}
.nm-diploma-situation p{margin:0;color:#667b91;line-height:1.7}

.nm-diploma-route{margin-top:62px;padding-top:48px;border-top:1px solid #dce6ee}
.nm-diploma-route__head{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:end;margin-bottom:24px}
.nm-diploma-route__head h2{margin:5px 0 0;font-size:37px;line-height:1.08;color:#073e70;font-family:Georgia,serif;font-weight:500}
.nm-diploma-route__head>p{margin:0 0 3px;color:#657b90;line-height:1.7}
.nm-diploma-route__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.nm-diploma-route-card{
    position:relative;min-height:255px;padding:31px;border:1px solid #dce6ee;border-radius:16px;
    background:linear-gradient(145deg,#fff 0%,#fff 75%,#f7fafc 100%);
    display:flex;flex-direction:column
}
.nm-diploma-route-card:after{
    content:"";position:absolute;right:25px;top:25px;width:28px;height:28px;border-top:1px solid #d5a12e;border-right:1px solid #d5a12e
}
.nm-diploma-route-card h3{font-size:25px;line-height:1.15;color:#063e70;margin:0 0 13px}
.nm-diploma-route-card p{color:#687d91;line-height:1.72;margin:0 0 25px;max-width:540px}
.nm-diploma-route-card a{margin-top:auto;color:#063e70;font-weight:800;text-decoration:none}

.nm-diploma-check{
    margin-top:24px;border-radius:16px;background:#0b477d;color:#fff;padding:32px 34px;
    display:grid;grid-template-columns:1.05fr 1.45fr auto;gap:32px;align-items:center
}
.nm-diploma-check .nm-eyebrow{color:#e1ad38}
.nm-diploma-check h2{font-family:Georgia,serif;font-size:30px;font-weight:500;line-height:1.1;margin:5px 0 9px;color:#fff}
.nm-diploma-check__copy p{margin:0;color:#d5e2ed;line-height:1.6}
.nm-diploma-check__items{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
.nm-diploma-check__items span{font-size:13px;line-height:1.4;color:#e7eef4}
.nm-diploma-check__items b{color:#e1ad38;margin-right:7px;font-size:11px;letter-spacing:.08em}
.nm-diploma-check .nm-button{white-space:nowrap;background:#fff;color:#073e70;border-color:#fff}

@media(max-width:900px){
    .nm-diploma-situations{grid-template-columns:1fr}
    .nm-diploma-situation{min-height:0}
    .nm-diploma-route__head{grid-template-columns:1fr;gap:15px}
    .nm-diploma-route__grid{grid-template-columns:1fr}
    .nm-diploma-check{grid-template-columns:1fr}
}
@media(max-width:560px){
    .nm-diploma-situation{padding:22px 20px}
    .nm-diploma-route__head h2{font-size:31px}
    .nm-diploma-check{padding:27px 22px}
    .nm-diploma-check__items{grid-template-columns:1fr}
}

/* =========================================================
   v0.39 — Hub Diplomi + contatto guidato
   ========================================================= */
.nm-school-intro{max-width:790px;margin-bottom:30px}.nm-school-intro h2{font-family:Georgia,serif;font-weight:500;color:#073e70;font-size:38px;line-height:1.08;margin:5px 0 12px}.nm-school-intro p{color:#657b90;line-height:1.7;margin:0;font-size:16px}
.nm-school-families{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nm-school-family{position:relative;min-height:330px;padding:30px 28px;border:1px solid #dce6ee;border-radius:17px;background:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 35px rgba(4,48,86,.04)}.nm-school-family:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#d5a12e}.nm-school-family__icon{width:48px;height:48px;border-radius:13px;background:#eef5fa;color:#0a4d84;display:flex;align-items:center;justify-content:center;margin-bottom:30px}.nm-school-family__icon--gold{background:#fbf5e8;color:#bd8615}.nm-school-family__icon svg{width:21px;height:21px}.nm-school-family__index{position:absolute;right:27px;top:30px;color:#c7d4df;font:600 13px/1 Georgia,serif}.nm-school-family .nm-eyebrow{font-size:10px;margin-bottom:10px}.nm-school-family h3{font-size:23px;line-height:1.18;color:#063e70;margin:0 0 13px}.nm-school-family p{color:#687d91;line-height:1.68;margin:0 0 24px}.nm-school-family a{margin-top:auto;color:#063e70;font-weight:800;text-decoration:none}
.nm-school-journey{margin-top:64px;padding-top:52px;border-top:1px solid #dce6ee}.nm-school-journey__head{display:grid;grid-template-columns:1fr .85fr;gap:70px;align-items:end;margin-bottom:28px}.nm-school-journey__head h2{font-family:Georgia,serif;font-size:38px;line-height:1.08;font-weight:500;color:#073e70;margin:5px 0 0}.nm-school-journey__head>p{color:#657b90;line-height:1.7;margin:0}.nm-school-journey__steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dce6ee;border-radius:16px;overflow:hidden;background:#fff}.nm-school-journey__steps a{min-height:190px;padding:27px 25px;text-decoration:none;border-right:1px solid #dce6ee;display:flex;flex-direction:column;transition:.2s ease}.nm-school-journey__steps a:last-child{border-right:0}.nm-school-journey__steps a:hover{background:#f7fafc}.nm-school-journey__steps span{color:#bd8615;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:42px}.nm-school-journey__steps strong{color:#063e70;font-size:18px;line-height:1.2;margin-bottom:7px}.nm-school-journey__steps em{font-style:normal;color:#71869a;font-size:13px}
.nm-school-special{margin-top:28px;border-radius:18px;background:linear-gradient(115deg,#073e70,#0b558f);color:#fff;padding:38px 42px;display:grid;grid-template-columns:1fr 230px;gap:50px;align-items:center}.nm-school-special .nm-eyebrow{color:#e1ad38}.nm-school-special h2{font-family:Georgia,serif;font-weight:500;font-size:34px;line-height:1.08;color:#fff;margin:5px 0 14px;max-width:760px}.nm-school-special p{color:#d8e5ef;line-height:1.65;margin:0 0 12px}.nm-school-special__note{font-size:13px!important;color:#bcd0df!important}.nm-school-special a{display:inline-block;margin-top:10px;color:#fff;font-weight:800;text-decoration:none}.nm-school-special__badge{width:190px;height:190px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-content:center;text-align:center;justify-self:center;position:relative}.nm-school-special__badge:after{content:"";position:absolute;inset:12px;border:1px solid rgba(213,161,46,.55);border-radius:50%}.nm-school-special__badge span{font:500 64px/.8 Georgia,serif;color:#fff}.nm-school-special__badge small{font-size:10px;letter-spacing:.15em;color:#e5b34a;margin:9px 0 6px}.nm-school-special__badge b{font-size:13px;color:#fff}.nm-diploma-check--v2{margin-top:28px}
.nm-contact-dialog{position:fixed;inset:0;z-index:99999;display:none}.nm-contact-dialog[aria-hidden="false"]{display:block}.nm-contact-dialog__backdrop{position:absolute;inset:0;background:rgba(2,25,48,.62);backdrop-filter:blur(4px)}.nm-contact-dialog__panel{position:relative;width:min(720px,calc(100% - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:24px auto;background:#fff;border-radius:18px;padding:38px 40px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.nm-contact-dialog__close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:#61768a;font-size:32px;cursor:pointer}.nm-contact-dialog__panel h2{font-family:Georgia,serif;font-size:36px;line-height:1.05;color:#073e70;font-weight:500;margin:4px 0 12px}.nm-contact-dialog__panel>p{color:#657b90;line-height:1.65;margin:0 0 24px}.nm-contact-form{display:grid;gap:15px}.nm-contact-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nm-contact-form label{display:grid;gap:7px;color:#073e70;font-weight:700;font-size:13px}.nm-contact-form input,.nm-contact-form select,.nm-contact-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7e2eb;border-radius:9px;background:#fbfcfd;padding:12px 13px;font:inherit;color:#253b50}.nm-contact-form textarea{resize:vertical}.nm-contact-form .nm-button{justify-self:start;border:0;cursor:pointer}.nm-contact-dialog__channels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid #e1e8ee}.nm-contact-channel{padding:15px 16px;border:1px solid #dce6ee;border-radius:10px;text-decoration:none;display:grid;gap:4px}.nm-contact-channel strong{color:#073e70}.nm-contact-channel span{color:#708497;font-size:12px}.nm-dialog-open{overflow:hidden}
@media(max-width:900px){.nm-school-families{grid-template-columns:1fr}.nm-school-family{min-height:0}.nm-school-journey__head{grid-template-columns:1fr;gap:14px}.nm-school-journey__steps{grid-template-columns:1fr 1fr}.nm-school-journey__steps a:nth-child(2){border-right:0}.nm-school-journey__steps a{border-bottom:1px solid #dce6ee}.nm-school-journey__steps a:nth-child(3),.nm-school-journey__steps a:nth-child(4){border-bottom:0}.nm-school-special{grid-template-columns:1fr}.nm-school-special__badge{display:none}}
@media(max-width:560px){.nm-school-intro h2,.nm-school-journey__head h2{font-size:31px}.nm-school-journey__steps{grid-template-columns:1fr}.nm-school-journey__steps a{border-right:0!important;border-bottom:1px solid #dce6ee!important;min-height:150px}.nm-school-journey__steps a:last-child{border-bottom:0!important}.nm-school-journey__steps span{margin-bottom:25px}.nm-school-special{padding:30px 24px}.nm-school-special h2{font-size:29px}.nm-contact-dialog__panel{padding:32px 22px}.nm-contact-form__grid,.nm-contact-dialog__channels{grid-template-columns:1fr}}


/* =========================================================
   v0.40 — rifiniture hub Diplomi + pagine famiglie scolastiche
   ========================================================= */
.nm-school-family__index{display:none!important}

.nm-school-journey__steps .nm-school-journey__icon{
    width:43px;height:43px;display:grid;place-items:center;
    border-radius:12px;background:#eef5fa;color:#0a4d84;
    margin-bottom:38px!important;letter-spacing:0!important;
}
.nm-school-journey__steps a:nth-child(even) .nm-school-journey__icon{
    background:#fbf5e8;color:#bd8615;
}
.nm-school-journey__icon svg{
    width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;
}

.nm-school-special__badge{
    width:164px!important;height:164px!important;
}
.nm-school-special__badge:after{inset:10px!important}
.nm-school-special__badge span{font-size:54px!important}
.nm-school-special__badge small{
    max-width:110px;margin:8px auto 6px!important;
    line-height:1.25;letter-spacing:.13em!important
}
.nm-school-special__badge b{
    max-width:105px;margin:auto;font-size:9px!important;
    line-height:1.3;letter-spacing:.08em;color:#dce9f2!important
}

/* Pagine Istituti Tecnici / Professionali / Licei */
.nm-school-family-page{padding-top:62px}
.nm-school-family-page__intro{max-width:820px;margin-bottom:32px}
.nm-school-family-page__intro h2{
    margin:6px 0 12px;color:#073e70;
    font:500 39px/1.08 Georgia,"Times New Roman",serif
}
.nm-school-family-page__intro p{
    max-width:760px;margin:0;color:#64798e;font-size:16px;line-height:1.7
}
.nm-school-family-page__guide{
    display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:58px
}
.nm-school-family-page__guide>div{
    min-height:185px;padding:25px 27px;border:1px solid #dce6ee;
    border-radius:15px;background:#fff
}
.nm-school-family-page__guide-icon{
    width:43px;height:43px;display:grid;place-items:center;margin-bottom:22px;
    border-radius:12px;background:#eef5fa;color:#0a4d84
}
.nm-school-family-page__guide-icon--gold{background:#fbf5e8;color:#bd8615}
.nm-school-family-page__guide-icon svg{
    width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round
}
.nm-school-family-page__guide h3{
    margin:0 0 8px;color:#073e70;font-size:20px
}
.nm-school-family-page__guide p{margin:0;color:#6b7f92;line-height:1.62}

.nm-school-address-group{
    padding-top:48px;margin-top:42px;border-top:1px solid #dce6ee
}
.nm-school-address-group:first-of-type{margin-top:0}
.nm-school-address-group__head{margin-bottom:22px}
.nm-school-address-group__head h2{
    margin:5px 0 0;color:#073e70;
    font:500 32px/1.08 Georgia,"Times New Roman",serif
}
.nm-school-address-grid{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px
}
.nm-school-address-card{
    min-height:238px;padding:23px 23px 21px;border:1px solid #dce6ee;
    border-radius:14px;background:#fff;display:flex;flex-direction:column
}
.nm-school-address-card__mark{
    width:38px;height:38px;display:grid;place-items:center;margin-bottom:27px;
    border-radius:10px;background:#f2f6f9;color:#0a4d84
}
.nm-school-address-card__mark svg{
    width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round
}
.nm-school-address-card h3{
    margin:0 0 10px;color:#073e70;font-size:18px;line-height:1.22
}
.nm-school-address-card p{
    margin:0 0 22px;color:#708398;font-size:13.5px;line-height:1.6
}
.nm-school-address-card a{
    margin-top:auto;color:#073e70;text-decoration:none;font-weight:800;font-size:13px
}

.nm-school-family-page__note{
    margin-top:58px;padding:31px 34px;border-radius:16px;
    background:#0b477d;color:#fff;display:grid;
    grid-template-columns:1fr auto;gap:35px;align-items:center
}
.nm-school-family-page__note .nm-eyebrow{color:#e2ad3a}
.nm-school-family-page__note h2{
    margin:5px 0 8px;color:#fff;
    font:500 30px/1.1 Georgia,"Times New Roman",serif
}
.nm-school-family-page__note p{
    max-width:760px;margin:0;color:#d7e4ee;line-height:1.6
}
.nm-school-family-page__note .nm-button{
    background:#fff;border-color:#fff;color:#073e70;white-space:nowrap
}

@media(max-width:900px){
    .nm-school-family-page__guide{grid-template-columns:1fr}
    .nm-school-address-grid{grid-template-columns:1fr 1fr}
    .nm-school-family-page__note{grid-template-columns:1fr}
}
@media(max-width:600px){
    .nm-school-family-page__intro h2{font-size:32px}
    .nm-school-address-grid{grid-template-columns:1fr}
    .nm-school-address-card{min-height:0}
    .nm-school-family-page__note{padding:27px 22px}
}


/* =========================================================
   v0.41 — famiglie scolastiche più leggibili + pagina unica
   ========================================================= */

/* Le famiglie diventano i veri titoli delle card */
.nm-school-families--v041 .nm-school-family h3{
    margin:25px 0 9px!important;
    color:#073e70;
    font-size:22px!important;
    line-height:1.08!important;
    letter-spacing:.01em;
}
.nm-school-family__descriptor{
    display:block;
    min-height:44px;
    margin:0 0 11px;
    color:#163f68;
    font-size:14px;
    line-height:1.42;
    font-weight:700;
}
.nm-school-families--v041 .nm-school-family p{
    min-height:72px;
    margin-top:0;
}

/* Pagina unica Indirizzi di studio */
.nm-study-addresses{padding-top:62px}
.nm-study-addresses__intro{
    max-width:820px;
    margin-bottom:30px;
}
.nm-study-addresses__intro h2{
    margin:6px 0 12px;
    color:#073e70;
    font:500 39px/1.08 Georgia,"Times New Roman",serif;
}
.nm-study-addresses__intro p{
    max-width:780px;
    margin:0;
    color:#657a8f;
    font-size:16px;
    line-height:1.72;
}
.nm-study-addresses__nav{
    position:sticky;
    top:82px;
    z-index:10;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:0 0 58px;
    padding:10px;
    border:1px solid #dfe7ed;
    border-radius:15px;
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 28px rgba(6,55,95,.06);
    backdrop-filter:blur(8px);
}
.nm-study-addresses__nav a{
    min-height:82px;
    display:grid;
    grid-template-columns:40px 1fr;
    grid-template-rows:auto auto;
    column-gap:12px;
    align-items:center;
    padding:14px 16px;
    border-radius:11px;
    color:#073e70;
    text-decoration:none;
    transition:.18s ease;
}
.nm-study-addresses__nav a:hover{
    background:#f1f6fa;
    transform:translateY(-1px);
}
.nm-study-addresses__nav span{
    grid-row:1/3;
    width:40px;height:40px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#eef5fa;color:#0a4d84;
}
.nm-study-addresses__nav span.nm-study-addresses__nav-gold{
    background:#fbf5e8;color:#bd8615;
}
.nm-study-addresses__nav svg{
    width:19px;height:19px;
    fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;
}
.nm-study-addresses__nav strong{
    align-self:end;
    font-size:14px;
}
.nm-study-addresses__nav small{
    align-self:start;
    color:#708397;
    font-size:11px;
}

.nm-study-family-section{
    scroll-margin-top:190px;
    padding:56px 0 62px;
    border-top:1px solid #dce6ee;
}
.nm-study-family-section__head{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:55px;
    align-items:end;
    margin-bottom:27px;
}
.nm-study-family-section__head h2{
    margin:6px 0 0;
    color:#073e70;
    font:500 35px/1.08 Georgia,"Times New Roman",serif;
}
.nm-study-family-section__head>p{
    max-width:620px;
    margin:0;
    color:#657b90;
    line-height:1.7;
}
.nm-study-family-section__group-title{
    margin:32px 0 14px;
    color:#173f68;
    font-size:15px;
    letter-spacing:.02em;
}
.nm-study-address-grid--compact{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.nm-study-address-item{
    min-height:166px;
    display:grid;
    grid-template-columns:40px 1fr;
    column-gap:16px;
    padding:21px 22px 18px;
    border:1px solid #dfe7ed;
    border-radius:13px;
    background:#fff;
}
.nm-study-address-item__icon{
    width:40px;height:40px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#f1f6f9;color:#0a4d84;
}
.nm-study-address-item__icon svg{
    width:18px;height:18px;
    fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;
}
.nm-study-address-item h3{
    margin:1px 0 8px;
    color:#073e70;
    font-size:17px;
    line-height:1.25;
}
.nm-study-address-item p{
    margin:0;
    color:#728497;
    font-size:13px;
    line-height:1.55;
}
.nm-study-address-item>a{
    grid-column:2;
    align-self:end;
    margin-top:14px;
    color:#073e70;
    text-decoration:none;
    font-size:12.5px;
    font-weight:800;
}
.nm-study-addresses__closing{
    margin-top:16px;
    padding:32px 34px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:35px;
    align-items:center;
    border-radius:16px;
    background:#0b477d;
    color:#fff;
}
.nm-study-addresses__closing .nm-eyebrow{color:#e2ad3a}
.nm-study-addresses__closing h2{
    margin:5px 0 8px;
    color:#fff;
    font:500 30px/1.1 Georgia,"Times New Roman",serif;
}
.nm-study-addresses__closing p{
    max-width:730px;
    margin:0;
    color:#d7e4ee;
    line-height:1.6;
}
.nm-study-addresses__closing .nm-button{
    background:#fff;
    color:#073e70;
    border-color:#fff;
    white-space:nowrap;
}

/* Contact modal works also on single-percorso */
.nm-contact-dialog[aria-hidden="true"]{display:none}
.nm-contact-dialog[aria-hidden="false"]{display:block}

@media(max-width:900px){
    .nm-study-addresses__nav{position:static;grid-template-columns:1fr}
    .nm-study-family-section__head{grid-template-columns:1fr;gap:12px}
    .nm-study-address-grid--compact{grid-template-columns:1fr}
    .nm-study-addresses__closing{grid-template-columns:1fr}
}
@media(max-width:620px){
    .nm-study-addresses__intro h2{font-size:32px}
    .nm-study-family-section__head h2{font-size:31px}
    .nm-study-address-item{grid-template-columns:36px 1fr;padding:18px}
    .nm-study-address-item__icon{width:36px;height:36px}
    .nm-study-addresses__closing{padding:27px 22px}
}


/* =========================================================
   v0.42 — Diplomi: visual card, idoneità/competenze, tab indirizzi
   ========================================================= */

/* Card famiglie: più visuali e titoli centrati */
.nm-school-families--v041 .nm-school-family{
    text-align:center;
}
.nm-school-families--v041 .nm-school-family__icon{
    margin-left:auto!important;
    margin-right:auto!important;
}
.nm-school-family__visual{
    width:100%;
    height:72px;
    margin:14px auto 6px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:linear-gradient(135deg,#f5f9fc,#edf4f8);
    overflow:hidden;
}
.nm-school-family__visual--professional{
    background:linear-gradient(135deg,#fbf8f0,#f5efe0);
}
.nm-school-family__visual svg{
    width:155px;height:64px;
    fill:none;stroke:#0a4d84;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
    opacity:.78;
}
.nm-school-family__visual--professional svg{stroke:#b98620}
.nm-school-families--v041 .nm-school-family h3{
    text-align:center;
    margin-top:18px!important;
}
.nm-school-family__descriptor{
    text-align:center;
}
.nm-school-families--v041 .nm-school-family p{
    text-align:left;
}
.nm-school-families--v041 .nm-school-family>a{
    align-self:center;
}

/* Idoneità: evidenza sobria ma immediata */
.nm-school-journey__featured{
    background:linear-gradient(180deg,#fff,#f8fbfd)!important;
    box-shadow:inset 0 3px 0 #d5a12e;
}
.nm-school-journey__featured strong:after{
    content:"ESAMI DI IDONEITÀ";
    display:block;
    width:max-content;
    margin:8px auto 0;
    padding:4px 8px;
    border-radius:999px;
    background:#fbf5e8;
    color:#a87413;
    font-size:9px;
    line-height:1;
    letter-spacing:.09em;
    font-weight:800;
}

/* Certificazione competenze: il concetto deve leggersi prima della norma */
.nm-school-special--competences{
    position:relative;
    box-shadow:0 14px 34px rgba(5,51,88,.09);
}
.nm-school-special--competences .nm-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;
}
.nm-school-special--competences .nm-eyebrow:before{
    content:"✓";
    width:20px;height:20px;
    display:grid;place-items:center;
    border-radius:50%;
    background:#d7a333;color:#073e70;
    font-size:11px;font-weight:900;
}

/* Indirizzi: una famiglia alla volta */
.nm-study-family-section[data-nm-study-panel]{
    display:none;
}
.nm-study-family-section[data-nm-study-panel].is-active{
    display:block;
    animation:nmStudyFade .22s ease;
}
@keyframes nmStudyFade{
    from{opacity:.25;transform:translateY(4px)}
    to{opacity:1;transform:none}
}
.nm-study-addresses__nav a.is-active{
    background:#0b477d;
    color:#fff;
    box-shadow:0 7px 18px rgba(6,55,95,.12);
}
.nm-study-addresses__nav a.is-active small{color:#d9e5ee}
.nm-study-addresses__nav a.is-active span{
    background:rgba(255,255,255,.13);
    color:#fff;
}
.nm-study-addresses__nav a.is-active .nm-study-addresses__nav-gold{
    background:#d6a331;color:#073e70;
}

/* Contact dialog: pulito, istituzionale, WhatsApp non invasivo */
.nm-contact-dialog{
    position:fixed;inset:0;z-index:9999;
}
.nm-contact-dialog__backdrop{
    position:absolute;inset:0;background:rgba(3,30,52,.58);backdrop-filter:blur(3px);
}
.nm-contact-dialog__panel{
    position:relative;
    width:min(650px,calc(100% - 30px));
    max-height:calc(100vh - 40px);
    overflow:auto;
    margin:20px auto;
    padding:34px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 70px rgba(0,0,0,.24);
}
.nm-contact-dialog__close{
    position:absolute;right:18px;top:14px;
    width:36px;height:36px;border:0;border-radius:50%;
    background:#f0f4f7;color:#073e70;font-size:24px;cursor:pointer;
}
.nm-contact-dialog__panel h2{
    margin:6px 0 9px;color:#073e70;
    font:500 32px/1.08 Georgia,"Times New Roman",serif;
}
.nm-contact-dialog__panel>p{color:#687d91;line-height:1.6}
.nm-contact-form label{
    display:block;margin:14px 0;color:#173f68;font-size:12px;font-weight:800;
}
.nm-contact-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nm-contact-form input,.nm-contact-form select,.nm-contact-form textarea{
    width:100%;margin-top:6px;padding:12px 13px;
    border:1px solid #d8e2e9;border-radius:9px;background:#fff;
    color:#173f68;font:inherit;font-weight:400;box-sizing:border-box;
}
.nm-contact-dialog__channels{
    display:grid;grid-template-columns:1fr 1fr;gap:10px;
    margin-top:20px;padding-top:18px;border-top:1px solid #e1e8ed;
}
.nm-contact-channel{
    padding:14px 15px;border:1px solid #dce5eb;border-radius:10px;
    color:#073e70;text-decoration:none;background:#f9fbfc;
}
.nm-contact-channel strong{display:block;font-size:13px}
.nm-contact-channel span{display:block;margin-top:3px;color:#738698;font-size:11px}
.nm-dialog-open{overflow:hidden}

@media(max-width:620px){
    .nm-contact-form__grid,.nm-contact-dialog__channels{grid-template-columns:1fr}
    .nm-contact-dialog__panel{padding:28px 20px}
    .nm-school-family__visual{height:64px}
}

/* =========================================================
   v0.43 — orientamento scolastico senza catalogo
   ========================================================= */
.nm-school-family__visual{height:105px;background-size:cover!important;background-position:center!important;position:relative}
.nm-school-family__visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,55,96,.02),rgba(5,55,96,.13))}
.nm-school-family__visual--technical{background-image:url('../images/home-areas/formazione-professionale.jpg')!important}
.nm-school-family__visual--professional{background-image:url('../images/home-popular/diploma.jpg')!important;background-position:center 48%!important}
.nm-school-family__visual--licei{background-image:url('../images/home-areas/universita-alta-formazione.jpg')!important}
.nm-school-families--v041 .nm-school-family h3{margin-top:16px!important}

.nm-school-orient{padding:62px 0 72px}
.nm-school-orient__intro{max-width:790px;margin-bottom:34px}.nm-school-orient__intro h2{font-family:Georgia,serif;font-size:38px;line-height:1.08;font-weight:500;color:#073e70;margin:7px 0 12px}.nm-school-orient__intro p{color:#657b90;line-height:1.65}
.nm-school-orient__flow{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dce6ee;border-radius:16px;overflow:hidden;background:#fff;margin-bottom:66px}.nm-school-orient__flow article{padding:27px;display:grid;grid-template-columns:42px 1fr;gap:14px;border-right:1px solid #e2e9ef}.nm-school-orient__flow article:last-child{border-right:0}.nm-school-orient__flow article>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#edf5fa;color:#0a4d84;font-weight:800}.nm-school-orient__flow small{color:#c18b20;font-weight:800;letter-spacing:.12em}.nm-school-orient__flow h3{color:#073e70;font-size:18px;margin:7px 0}.nm-school-orient__flow p{color:#6d8194;font-size:14px;line-height:1.55;margin:0}
.nm-school-orient__families{margin-bottom:64px}.nm-school-orient__families-head{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:end;margin-bottom:24px}.nm-school-orient__families-head h2,.nm-school-orient__needs h2{font-family:Georgia,serif;font-size:34px;font-weight:500;color:#073e70;margin:7px 0}.nm-school-orient__families-head p{color:#6c8093;line-height:1.6}
.nm-school-orient__family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nm-school-orient__family{background:#fff;border:1px solid #dce6ee;border-radius:15px;overflow:hidden}.nm-school-orient__photo{height:150px;background-size:cover;background-position:center}.nm-school-orient__family--technical .nm-school-orient__photo{background-image:url('../images/home-areas/formazione-professionale.jpg')}.nm-school-orient__family--professional .nm-school-orient__photo{background-image:url('../images/home-popular/diploma.jpg')}.nm-school-orient__family--licei .nm-school-orient__photo{background-image:url('../images/home-areas/universita-alta-formazione.jpg')}.nm-school-orient__family>div:last-child{padding:22px}.nm-school-orient__family h3{font-family:Georgia,serif;color:#073e70;font-size:25px;font-weight:500;margin:0 0 8px}.nm-school-orient__family p{color:#6b8093;line-height:1.55;min-height:66px}.nm-school-orient__family a{color:#073e70;font-weight:800;text-decoration:none}
.nm-school-orient__needs{padding-top:4px;margin-bottom:55px}.nm-school-orient__needs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}.nm-school-orient__needs-grid a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;border:1px solid #dce6ee;border-radius:11px;text-decoration:none;background:#fff}.nm-school-orient__needs-grid strong{color:#073e70}.nm-school-orient__needs-grid span{color:#708497;font-size:13px;text-align:right}.nm-school-orient__needs-grid a:nth-child(4),.nm-school-orient__needs-grid a:nth-child(5){box-shadow:inset 3px 0 0 #d5a12e}
.nm-school-orient__closing{display:grid;grid-template-columns:1fr auto;gap:35px;align-items:center;background:#0d568f;color:#fff;padding:32px;border-radius:16px}.nm-school-orient__closing h2{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:5px 0 8px}.nm-school-orient__closing p{margin:0;color:#d9e8f4}.nm-school-orient__closing .nm-eyebrow{color:#e4b64b}
@media(max-width:800px){.nm-school-orient__flow,.nm-school-orient__family-grid{grid-template-columns:1fr}.nm-school-orient__flow article{border-right:0;border-bottom:1px solid #e2e9ef}.nm-school-orient__families-head{grid-template-columns:1fr;gap:8px}.nm-school-orient__needs-grid{grid-template-columns:1fr}.nm-school-orient__closing{grid-template-columns:1fr}.nm-school-orient__family p{min-height:0}}


/* =========================================================
   v0.44 — rifinitura finale contatti / chiusura area Diplomi
   ========================================================= */

.nm-contact-dialog__panel{
    width:min(690px,calc(100% - 32px));
    padding:38px 40px 36px;
    border:1px solid rgba(10,68,113,.08);
    border-radius:20px;
}

/* X perfettamente centrata e meno invasiva */
.nm-contact-dialog__close{
    right:17px!important;
    top:17px!important;
    width:38px!important;
    height:38px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #e2e9ee!important;
    border-radius:50%!important;
    background:#f3f6f8!important;
    color:#0a477d!important;
    line-height:1!important;
    transition:background .18s ease,color .18s ease,transform .18s ease;
}
.nm-contact-dialog__close span{
    display:block;
    height:25px;
    line-height:22px;
    font-family:Arial,sans-serif;
    font-size:27px;
    font-weight:300;
    transform:translateY(-1px);
}
.nm-contact-dialog__close:hover{
    background:#e8f0f5!important;
    color:#073e70!important;
    transform:rotate(4deg);
}

.nm-contact-dialog__panel>.nm-eyebrow{
    margin-bottom:7px;
}
.nm-contact-dialog__panel h2{
    max-width:530px;
    margin-bottom:10px!important;
}
.nm-contact-dialog__panel>p{
    max-width:590px;
    margin:0 0 25px;
    color:#687e92;
    font-size:14px;
    line-height:1.65;
}

/* Form leggermente più compatto e raffinato */
.nm-contact-form{
    padding:23px 24px 24px;
    border:1px solid #e0e8ee;
    border-radius:15px;
    background:#fbfcfd;
}
.nm-contact-form label{
    margin:0 0 14px!important;
    color:#123f69!important;
    font-size:12px!important;
    letter-spacing:.01em;
}
.nm-contact-form__grid{
    gap:13px!important;
}
.nm-contact-form input,
.nm-contact-form select,
.nm-contact-form textarea{
    margin-top:7px!important;
    padding:11px 12px!important;
    border-color:#d6e1e8!important;
    border-radius:9px!important;
    background:#fff!important;
    transition:border-color .16s ease,box-shadow .16s ease;
}
.nm-contact-form textarea{
    min-height:108px;
    resize:vertical;
}
.nm-contact-form input:focus,
.nm-contact-form select:focus,
.nm-contact-form textarea:focus{
    outline:none;
    border-color:#7ea4c2!important;
    box-shadow:0 0 0 3px rgba(10,71,125,.08);
}
.nm-contact-form .nm-button{
    margin-top:3px;
}

/* Separatore editoriale tra form e contatti diretti */
.nm-contact-dialog__direct{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #dfe7ed;
}
.nm-contact-dialog__direct-title{
    margin-bottom:11px;
    color:#173f68;
    font-size:12px;
    font-weight:800;
    letter-spacing:.02em;
}
.nm-contact-dialog__channels{
    grid-template-columns:1fr 1fr!important;
    gap:11px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}
.nm-contact-channel{
    min-height:76px;
    display:grid!important;
    grid-template-columns:42px 1fr auto;
    align-items:center;
    gap:12px;
    padding:14px 15px!important;
    border-radius:13px!important;
    text-decoration:none!important;
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.nm-contact-channel:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(5,50,86,.07);
}
.nm-contact-channel__icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:11px;
}
.nm-contact-channel__icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.65;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.nm-contact-channel__copy strong{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.2;
}
.nm-contact-channel__copy small{
    display:block;
    margin-top:4px;
    font-size:10.5px;
    line-height:1.35;
    font-weight:500;
}
.nm-contact-channel>b{
    font-size:17px;
    font-weight:500;
}

/* WhatsApp: verde salvia, non verde social acceso */
.nm-contact-channel--whatsapp{
    background:#f2f7f3!important;
    border:1px solid #cfe0d3!important;
    color:#245c3d!important;
}
.nm-contact-channel--whatsapp .nm-contact-channel__icon{
    background:#e2efe5;
    color:#32704d;
}
.nm-contact-channel--whatsapp .nm-contact-channel__copy small{
    color:#698474;
}

/* Email: azzurro istituzionale */
.nm-contact-channel--email{
    background:#f2f6fa!important;
    border:1px solid #d1e0eb!important;
    color:#0b4a7e!important;
}
.nm-contact-channel--email .nm-contact-channel__icon{
    background:#e4eef5;
    color:#0b568e;
}
.nm-contact-channel--email .nm-contact-channel__copy small{
    color:#698197;
}

@media(max-width:620px){
    .nm-contact-dialog__panel{
        width:min(100% - 18px,690px);
        margin:9px auto;
        max-height:calc(100vh - 18px);
        padding:30px 18px 22px;
    }
    .nm-contact-form{
        padding:19px 16px 20px;
    }
    .nm-contact-dialog__channels{
        grid-template-columns:1fr!important;
    }
    .nm-contact-dialog__close{
        right:12px!important;
        top:12px!important;
    }
}


/* =========================================================
   v0.45 — fix definitivo card contatti singolo percorso
   ========================================================= */
.nm-contact-dialog__direct .nm-contact-dialog__channels{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
}
.nm-contact-dialog__direct .nm-contact-channel{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 20px!important;
    align-items:center!important;
    column-gap:13px!important;
    min-width:0!important;
    min-height:88px!important;
    padding:16px 17px!important;
    overflow:hidden!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy{
    display:block!important;
    min-width:0!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy strong{
    display:block!important;
    margin:0 0 5px!important;
    white-space:normal!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy small{
    display:block!important;
    margin:0!important;
    white-space:normal!important;
    line-height:1.35!important;
}
.nm-contact-dialog__direct .nm-contact-channel--whatsapp{
    background:#eef7f1!important;
    border:1px solid #c3dccb!important;
    color:#245f40!important;
}
.nm-contact-dialog__direct .nm-contact-channel--whatsapp:hover{
    background:#e7f3eb!important;
    border-color:#a9ceb5!important;
}
.nm-contact-dialog__direct .nm-contact-channel--email{
    background:#edf4f9!important;
    border:1px solid #c7dbe8!important;
    color:#0b4d80!important;
}
.nm-contact-dialog__direct .nm-contact-channel--email:hover{
    background:#e5f0f7!important;
    border-color:#aacadd!important;
}
.nm-contact-dialog__direct .nm-contact-channel__icon{
    flex:none!important;
    width:46px!important;
    height:46px!important;
}
.nm-contact-dialog__direct .nm-contact-channel>b{
    justify-self:end!important;
    align-self:center!important;
}
@media(max-width:620px){
    .nm-contact-dialog__direct .nm-contact-dialog__channels{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   v0.46 — close button definitivo, X disegnata in CSS
   ========================================================= */

.nm-contact-dialog__close{
    position:absolute!important;
    right:18px!important;
    top:18px!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid #d9e3ea!important;
    border-radius:50%!important;
    background:#f4f7f9!important;
    color:#0b4d80!important;
    line-height:1!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
    transform:none!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.nm-contact-dialog__close:hover{
    background:#eaf1f6!important;
    border-color:#c3d4e0!important;
    box-shadow:0 4px 12px rgba(7,62,112,.08)!important;
    transform:none!important;
}

.nm-contact-dialog__close-icon{
    position:relative!important;
    display:block!important;
    width:18px!important;
    height:18px!important;
    padding:0!important;
    margin:0!important;
    line-height:0!important;
    font-size:0!important;
}

.nm-contact-dialog__close-icon::before,
.nm-contact-dialog__close-icon::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:18px!important;
    height:2.2px!important;
    border-radius:2px!important;
    background:#0b4d80!important;
    transform-origin:center center!important;
}

.nm-contact-dialog__close-icon::before{
    transform:translate(-50%,-50%) rotate(45deg)!important;
}

.nm-contact-dialog__close-icon::after{
    transform:translate(-50%,-50%) rotate(-45deg)!important;
}

.nm-contact-dialog__direct-title{
    margin-bottom:13px!important;
}

.nm-contact-dialog__direct .nm-contact-channel{
    min-height:90px!important;
}

@media(max-width:620px){
    .nm-contact-dialog__close{
        right:12px!important;
        top:12px!important;
        width:38px!important;
        height:38px!important;
    }
}


/* =========================================================
   v0.47 — X SVG centrata + fallback WhatsApp
   ========================================================= */

/* Close: niente cerchio fisso. SVG centrato realmente nel bottone. */
.nm-contact-dialog__close{
    position:absolute!important;
    right:18px!important;
    top:18px!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#0b4d80!important;
    line-height:0!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
    transform:none!important;
}

.nm-contact-dialog__close:hover{
    background:#f0f5f8!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
}

.nm-contact-dialog__close-svg{
    display:block!important;
    width:22px!important;
    height:22px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    flex:none!important;
}

.nm-contact-dialog__close-svg path{
    fill:none!important;
    stroke:#0b4d80!important;
    stroke-width:2.15!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    vector-effect:non-scaling-stroke!important;
}

/* Disattiva definitivamente la vecchia X CSS */
.nm-contact-dialog__close-icon,
.nm-contact-dialog__close-icon::before,
.nm-contact-dialog__close-icon::after{
    display:none!important;
    content:none!important;
}

@media(max-width:620px){
    .nm-contact-dialog__close{
        right:12px!important;
        top:12px!important;
        width:38px!important;
        height:38px!important;
    }
    .nm-contact-dialog__close-svg{
        width:21px!important;
        height:21px!important;
    }
}


/* =========================================================
   v0.48 — close icon unico SVG + WhatsApp uniforme
   ========================================================= */

/*
 * Il bordo e la X appartengono allo stesso SVG:
 * centro del cerchio = (22,22)
 * centro della X     = (22,22)
 * Nessun offset tipografico/CSS possibile.
 */
.nm-contact-dialog__close{
    position:absolute!important;
    top:18px!important;
    right:18px!important;
    width:44px!important;
    height:44px!important;
    padding:0!important;
    margin:0!important;
    display:block!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    box-shadow:none!important;
    line-height:0!important;
    cursor:pointer!important;
    overflow:visible!important;
    transform:none!important;
}

.nm-contact-dialog__close:hover{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
}

.nm-contact-dialog__close-svg{
    display:block!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
}

.nm-contact-dialog__close-ring{
    fill:#f4f7f9!important;
    stroke:#d7e2e9!important;
    stroke-width:1.4!important;
    transition:fill .16s ease, stroke .16s ease;
}

.nm-contact-dialog__close-cross{
    fill:none!important;
    stroke:#0b4d80!important;
    stroke-width:2.25!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    vector-effect:non-scaling-stroke!important;
}

.nm-contact-dialog__close:hover .nm-contact-dialog__close-ring{
    fill:#eaf1f6!important;
    stroke:#c5d6e1!important;
}

/* spegne tutte le precedenti implementazioni */
.nm-contact-dialog__close-icon,
.nm-contact-dialog__close-icon::before,
.nm-contact-dialog__close-icon::after{
    display:none!important;
    content:none!important;
}

@media(max-width:620px){
    .nm-contact-dialog__close{
        top:12px!important;
        right:12px!important;
        width:40px!important;
        height:40px!important;
    }
    .nm-contact-dialog__close-svg{
        width:40px!important;
        height:40px!important;
    }
}


/* =========================================================
   v0.49 — centratura definitiva icone WhatsApp / Email
   ========================================================= */

/*
 * Il box icona diventa il riferimento geometrico.
 * L'SVG viene posizionato al 50% / 50% e traslato di metà
 * della propria dimensione: nessun allineamento ereditato
 * può più spostarlo.
 */
.nm-contact-dialog__direct .nm-contact-channel__icon{
    position:relative!important;
    display:block!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}

.nm-contact-dialog__direct .nm-contact-channel__icon svg{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    max-width:23px!important;
    max-height:23px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    transform:translate(-50%,-50%)!important;
    transform-origin:center center!important;
    vertical-align:middle!important;
    overflow:visible!important;
}

/* Email leggermente più compatta otticamente */
.nm-contact-dialog__direct .nm-contact-channel--email .nm-contact-channel__icon svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    max-width:22px!important;
    max-height:22px!important;
}

/* WhatsApp: stesso centro geometrico, nessun offset */
.nm-contact-dialog__direct .nm-contact-channel--whatsapp .nm-contact-channel__icon svg{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    max-width:23px!important;
    max-height:23px!important;
}

/* v0.50 Università e Alta Formazione */
.nm-uni-intro{max-width:760px;margin:0 0 34px}.nm-uni-intro h2{font-family:Georgia,serif;font-weight:500;color:#073e70;font-size:42px;line-height:1.04;margin:8px 0 14px}.nm-uni-intro p{color:#6b8093;font-size:16px;line-height:1.65}
.nm-uni-path-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:58px}.nm-uni-path{position:relative;min-height:235px;padding:32px;background:#fff;border:1px solid #dce6ee;border-radius:16px;border-top:3px solid #d6a43a}.nm-uni-path__number{position:absolute;right:22px;top:20px;color:#9babb9;font-size:11px;font-weight:800}.nm-uni-path h3{font-family:Georgia,serif;font-size:30px;font-weight:500;color:#073e70;margin:8px 0 10px}.nm-uni-path p{color:#6b8093;line-height:1.6}.nm-uni-path a{color:#073e70;font-weight:800;text-decoration:none;position:absolute;left:32px;bottom:26px}
.nm-uni-method{background:#0b477b;border-radius:18px;color:#fff;padding:46px 48px;display:grid;grid-template-columns:.85fr 1.3fr;gap:50px;margin-bottom:58px}.nm-uni-method .nm-eyebrow{color:#e0b249}.nm-uni-method h2{font-family:Georgia,serif;font-size:39px;line-height:1.04;font-weight:500;color:#fff;margin:8px 0 14px}.nm-uni-method p{color:#d4e1eb;line-height:1.6}.nm-uni-method__steps{display:grid;grid-template-columns:repeat(3,1fr)}.nm-uni-method__steps>div{padding:5px 22px;border-left:1px solid rgba(255,255,255,.15)}.nm-uni-method__steps b{display:block;color:#e0b249;font-size:11px;margin-bottom:24px}.nm-uni-method__steps strong{display:block;margin-bottom:8px}.nm-uni-method__steps span{color:#c9d9e6;font-size:14px;line-height:1.5}
.nm-uni-telematic{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:0 0 58px}.nm-uni-telematic h2{font-family:Georgia,serif;color:#073e70;font-size:36px;font-weight:500;line-height:1.08;margin:8px 0 12px}.nm-uni-telematic p{color:#6b8093;line-height:1.65}.nm-uni-telematic__names{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.nm-uni-telematic__names span{min-height:88px;border:1px solid #dce6ee;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;color:#24465f;font-weight:800;font-size:13px}
.nm-uni-quick{border-top:1px solid #dce6ee;padding-top:40px;display:grid;grid-template-columns:.65fr 1.35fr;gap:40px}.nm-uni-quick h2{font-family:Georgia,serif;color:#073e70;font-size:34px;font-weight:500;margin:7px 0}.nm-uni-quick__links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.nm-uni-quick__links a{padding:17px 18px;background:#fff;border:1px solid #dce6ee;border-radius:11px;color:#073e70;font-weight:750;text-decoration:none}
@media(max-width:900px){.nm-uni-path-grid,.nm-uni-method,.nm-uni-telematic,.nm-uni-quick{grid-template-columns:1fr}.nm-uni-method__steps{grid-template-columns:1fr}.nm-uni-method__steps>div{padding:18px 0;border-left:0;border-top:1px solid rgba(255,255,255,.15)}}
@media(max-width:620px){.nm-uni-quick__links,.nm-uni-telematic__names{grid-template-columns:1fr}.nm-uni-intro h2{font-size:34px}}

/* v0.51 Universita refinement */
.nm-uni-path-grid--visual .nm-uni-path{padding:0 30px 28px;overflow:hidden;min-height:320px}.nm-uni-path__visual{height:105px;margin:0 -30px 24px;display:flex;align-items:flex-end;padding:17px 28px;background:linear-gradient(135deg,#e7f0f6,#f8fafb);position:relative}.nm-uni-path__visual:after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(7,62,112,.13);border-radius:50%;right:-25px;top:-65px}.nm-uni-path__visual span{font-size:11px;letter-spacing:.16em;font-weight:850;color:#073e70;z-index:1}.nm-v2,.nm-v4{background:linear-gradient(135deg,#f5eddd,#fbfaf7)}.nm-uni-path-grid--visual .nm-uni-path p{margin-bottom:0}.nm-uni-single-cta{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px 27px;margin:-34px 0 58px;background:#f5f8fa;border:1px solid #dce6ee;border-radius:13px}.nm-uni-single-cta strong{display:block;color:#073e70;font-size:17px;margin-bottom:4px}.nm-uni-single-cta span{color:#6b8093;font-size:14px}.nm-uni-single-cta a,.nm-uni-needs__cta a{background:#073e70;color:#fff;text-decoration:none;padding:13px 18px;border-radius:8px;font-weight:800;white-space:nowrap}.nm-uni-method__steps strong{display:block;font-size:17px;margin:0 0 10px;color:#fff}.nm-uni-method__steps span{display:block}.nm-uni-telematic--partners{border-bottom:1px solid #dce6ee;margin-bottom:46px}.nm-uni-partner-logos{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nm-uni-partner-logo{height:100px;border:1px solid #dce6ee;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center}.nm-uni-partner-logo span{font-size:17px;font-weight:900;color:#173e5e}.nm-uni-needs__head{max-width:680px;margin-bottom:24px}.nm-uni-needs__head h2{font-family:Georgia,serif;color:#073e70;font-size:36px;font-weight:500;margin:8px 0 10px}.nm-uni-needs__head p{color:#6b8093}.nm-uni-needs__grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dce6ee;border-radius:14px;overflow:hidden}.nm-uni-needs__grid article{padding:26px 24px}.nm-uni-needs__grid article+article{border-left:1px solid #dce6ee}.nm-uni-needs__grid h3{font-family:Georgia,serif;color:#073e70;font-size:23px;font-weight:500;margin:0 0 8px}.nm-uni-needs__grid p{color:#6b8093;margin:0;line-height:1.5}.nm-uni-needs__cta{text-align:right;margin-top:20px}@media(max-width:800px){.nm-uni-single-cta{flex-direction:column;align-items:flex-start}.nm-uni-needs__grid,.nm-uni-partner-logos{grid-template-columns:1fr}.nm-uni-needs__grid article+article{border-left:0;border-top:1px solid #dce6ee}}

/* v0.52 — Università e Alta Formazione */
.nm-uni-path-grid--visual .nm-uni-path__visual{
  height:145px;margin:0 -30px 24px;padding:0;position:relative;
  background-size:cover!important;background-position:center!important
}
.nm-uni-path-grid--visual .nm-uni-path__visual:after{
  content:"";position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;
  background:linear-gradient(180deg,rgba(4,37,67,.01),rgba(4,37,67,.16))
}
.nm-uni-path-grid--visual .nm-v1{background-image:url('../images/home-areas/universita-alta-formazione.jpg')!important}
.nm-uni-path-grid--visual .nm-v2{background-image:url('../images/home-popular/lauree-master.jpg')!important}
.nm-uni-path-grid--visual .nm-v3{background-image:url('../images/home-areas/certificazioni-informatiche.jpg')!important}
.nm-uni-path-grid--visual .nm-v4{background-image:url('../images/home-areas/mondo-scuola.jpg')!important}
.nm-uni-partner-logo{padding:16px 24px;overflow:hidden}
.nm-uni-partner-logo img{display:block;max-width:82%;max-height:64px;width:auto;height:auto;object-fit:contain}
.nm-uni-partner-logo:first-child img{max-height:50px}
.nm-uni-needs__grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:950px){
 .nm-uni-needs__grid{grid-template-columns:repeat(2,1fr)}
 .nm-uni-needs__grid article+article{border-left:0}
 .nm-uni-needs__grid article:nth-child(even){border-left:1px solid #dce6ee}
 .nm-uni-needs__grid article:nth-child(n+3){border-top:1px solid #dce6ee}
}
@media(max-width:620px){
 .nm-uni-needs__grid{grid-template-columns:1fr}
 .nm-uni-needs__grid article:nth-child(even){border-left:0}
 .nm-uni-needs__grid article+article{border-top:1px solid #dce6ee}
}


/* =========================================================
   v0.53 — rifinitura finale Università e Alta Formazione
   ========================================================= */

/* Fotografie locali: luminose, nitide, tutte con stesso taglio */
.nm-uni-path-grid--visual .nm-uni-path{
    min-height:348px!important;
}
.nm-uni-path-grid--visual .nm-uni-path__visual{
    height:150px!important;
    margin:0 -30px 22px!important;
    padding:0!important;
    background-size:cover!important;
    background-position:center!important;
    position:relative!important;
}
.nm-uni-path-grid--visual .nm-uni-path__visual::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(6,47,82,.08))!important;
}
.nm-uni-path-grid--visual .nm-uni-path__visual::after{
    display:none!important;
    content:none!important;
}
.nm-uni-path__visual--lauree{
    background-image:url('../images/universita-cards/lauree.jpg')!important;
    background-position:center 45%!important;
}
.nm-uni-path__visual--master{
    background-image:url('../images/universita-cards/master.jpg')!important;
    background-position:center 48%!important;
}
.nm-uni-path__visual--alta{
    background-image:url('../images/universita-cards/alta-formazione.jpg')!important;
    background-position:center 46%!important;
}
.nm-uni-path__visual--scuola{
    background-image:url('../images/universita-cards/mondo-scuola.jpg')!important;
    background-position:center 48%!important;
}

/* Le categorie non sono più piccole scritte sospese: diventano micro-badge */
.nm-uni-card-badge{
    display:inline-flex!important;
    align-items:center!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:27px!important;
    padding:5px 10px!important;
    margin:0 0 10px!important;
    border:1px solid #ead8ad!important;
    border-radius:999px!important;
    background:#fbf6ea!important;
    color:#9b6b12!important;
    font-size:10px!important;
    line-height:1.1!important;
    font-weight:850!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
}

/* I titoli restano volutamente a sinistra: più editoriali e meno promozionali */
.nm-uni-path-grid--visual .nm-uni-path h3{
    text-align:left!important;
    margin:0 0 10px!important;
    line-height:1.08!important;
}
.nm-uni-path-grid--visual .nm-uni-path p{
    text-align:left!important;
}

/* Blocco centrale: più respiro, senza ricreare una seconda hero */
.nm-uni-method{
    padding-top:50px!important;
    padding-bottom:50px!important;
}
.nm-uni-method__steps>div{
    padding-left:27px!important;
    padding-right:27px!important;
}
.nm-uni-method__steps strong{
    margin-bottom:12px!important;
}
.nm-uni-method__steps span{
    line-height:1.62!important;
}

/* Loghi: stessa presenza visiva e niente effetto manifesto */
.nm-uni-partner-logo{
    height:108px!important;
    padding:18px 28px!important;
}
.nm-uni-partner-logo img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:82%!important;
    max-height:54px!important;
    object-fit:contain!important;
    margin:auto!important;
}
.nm-uni-partner-logo:first-child img{
    max-height:52px!important;
}
.nm-uni-partner-logo:last-child img{
    max-height:48px!important;
}

/* Quattro esigenze: titoli equilibrati anche quando vanno su più righe */
.nm-uni-needs__grid article{
    display:flex!important;
    flex-direction:column!important;
    min-height:155px!important;
}
.nm-uni-needs__grid h3{
    min-height:52px!important;
    display:flex!important;
    align-items:flex-start!important;
    font-size:21px!important;
    line-height:1.12!important;
}
.nm-uni-needs__grid p{
    margin-top:auto!important;
}

@media(max-width:950px){
    .nm-uni-needs__grid h3{min-height:0!important}
}

/* v0.58 — Mondo Scuola */
.nm-ms-intro{max-width:760px;margin:0 0 54px}.nm-ms-intro h2,.nm-ms-head h2{font-family:Georgia,serif;color:#073e70;font-weight:500}.nm-ms-intro h2{font-size:46px;line-height:1.05;margin:10px 0 16px}.nm-ms-intro p,.nm-ms-head p{color:#647b8f;line-height:1.65;font-size:16px}.nm-ms-head{margin-bottom:23px}.nm-ms-head h2{font-size:35px;margin:7px 0 8px}.nm-ms-audience{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:70px}.nm-ms-audience article{border:1px solid #dce6ee;border-radius:15px;padding:29px;background:#fff;min-height:215px}.nm-ms-icon{display:flex;width:42px;height:42px;border-radius:11px;background:#f7f0df;color:#a87b21;align-items:center;justify-content:center;font-size:20px;margin-bottom:24px}.nm-ms-audience h3,.nm-ms-services h3{font-family:Georgia,serif;color:#073e70;font-weight:500}.nm-ms-audience h3{font-size:25px;margin:0 0 11px}.nm-ms-audience p,.nm-ms-services p{color:#6a8093;line-height:1.6;margin:0}.nm-ms-services{padding:55px 0;border-top:1px solid #e0e8ee}.nm-ms-services-grid{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid #dce6ee;border-radius:15px;overflow:hidden}.nm-ms-services-grid article{display:grid;grid-template-columns:48px 1fr;gap:15px;padding:27px;background:#fff}.nm-ms-services-grid article:nth-child(even){border-left:1px solid #dce6ee}.nm-ms-services-grid article:nth-child(n+3){border-top:1px solid #dce6ee}.nm-ms-services-grid article>span{color:#c49a42;font-weight:800;font-size:12px;letter-spacing:.1em}.nm-ms-services h3{font-size:21px;margin:0 0 7px}.nm-ms-statement{margin:18px 0 66px;padding:48px 52px;border-radius:17px;background:#073e70;color:#fff;position:relative;overflow:hidden}.nm-ms-statement:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-80px;top:-110px}.nm-ms-statement h2{font-family:Georgia,serif;font-weight:500;font-size:38px;line-height:1.1;margin:9px 0 15px;max-width:720px}.nm-ms-statement p{max-width:780px;line-height:1.7;color:#dbe7f0;margin:0}.nm-ms-start{padding-bottom:20px}.nm-ms-start-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.nm-ms-start-grid a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;border:1px solid #dce6ee;border-radius:11px;padding:18px 19px;background:#fff;color:#073e70;font-weight:750;transition:.2s}.nm-ms-start-grid a:hover{border-color:#b89245;transform:translateY(-2px)}.nm-ms-start-grid b{color:#b58a35}.nm-ms-final{text-align:right;margin-top:22px}.nm-ms-final a{display:inline-block;text-decoration:none;background:#073e70;color:#fff;padding:14px 20px;border-radius:8px;font-weight:800}@media(max-width:800px){.nm-ms-audience,.nm-ms-start-grid{grid-template-columns:1fr}.nm-ms-services-grid{grid-template-columns:1fr}.nm-ms-services-grid article:nth-child(even){border-left:0}.nm-ms-services-grid article+article{border-top:1px solid #dce6ee}.nm-ms-intro h2{font-size:37px}.nm-ms-statement{padding:35px 28px}.nm-ms-statement h2{font-size:31px}}

/* v0.59 — Mondo Scuola hub icons + four distinct detail layouts */
.nm-school-hub-card__mark--icon{display:flex!important;align-items:center!important;justify-content:center!important;background:#f3f7fa!important}
.nm-school-hub-card__mark--icon:before,.nm-school-hub-card__mark--icon:after{display:none!important}.nm-school-hub-card__mark--icon svg{width:45px;height:45px;fill:none;stroke:#0a4c82;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nm-school-hub-card:nth-child(2n) .nm-school-hub-card__mark--icon svg{stroke:#b7872e}
.nm-ms-detail-hero{padding:26px 0 72px;background:#f7f9fb;border-bottom:1px solid #e4ebf0}.nm-ms-detail-hero__grid{display:grid;grid-template-columns:1.18fr .82fr;gap:70px;align-items:center}.nm-ms-detail-hero h1{font:500 clamp(52px,6vw,78px)/.98 Georgia,serif;color:#073e70;margin:20px 0 20px}.nm-ms-detail-hero h2{font:500 29px/1.18 Georgia,serif;color:#174f7c;margin:0 0 16px;max-width:700px}.nm-ms-detail-hero p{color:#62788c;font-size:18px;line-height:1.7;max-width:720px}.nm-ms-detail-hero__visual{height:330px;border-radius:26px;background:#073e70;position:relative;overflow:hidden;display:grid;place-items:center}.nm-ms-detail-hero__visual span{position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.17);border-radius:50%}.nm-ms-detail-hero__visual span:after{content:"";position:absolute;inset:34px;border:1px solid rgba(205,157,57,.55);transform:rotate(35deg)}.nm-ms-detail-hero__visual b{font:500 92px Georgia,serif;color:#fff;z-index:2}.nm-ms-detail-hero--ata .nm-ms-detail-hero__visual{background:#eaf2f7}.nm-ms-detail-hero--ata .nm-ms-detail-hero__visual b{color:#073e70}.nm-ms-detail-hero--titoli .nm-ms-detail-hero__visual{background:#f5efe2}.nm-ms-detail-hero--titoli .nm-ms-detail-hero__visual b{color:#9a6c16}.nm-ms-detail-hero--servizi .nm-ms-detail-hero__visual{background:linear-gradient(135deg,#073e70 0 58%,#eaf2f7 58%)}
.nm-ms-detail{padding:78px 0}.nm-ms-editorial{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:end;margin-bottom:42px}.nm-ms-editorial h2,.nm-ms-ata-head h2,.nm-ms-score-head h2,.nm-ms-service-head h2,.nm-ms-detail-cta h2{font:500 40px/1.08 Georgia,serif;color:#073e70;margin:8px 0 14px}.nm-ms-editorial p,.nm-ms-ata-head p,.nm-ms-score-head p,.nm-ms-service-head p{color:#687d90;line-height:1.7}.nm-ms-editorial__quote{font:500 26px/1.35 Georgia,serif;color:#073e70;padding:30px;border-left:3px solid #c99a3a;background:#faf7ef}.nm-ms-topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.nm-ms-topic-grid article{padding:30px;border:1px solid #dce6ee;border-radius:14px}.nm-ms-topic-grid span{color:#c18f2d;font-weight:800;font-size:12px}.nm-ms-topic-grid h3{color:#073e70;font-size:22px;margin:22px 0 10px}.nm-ms-topic-grid p{color:#687d90;line-height:1.65}
.nm-ms-detail--ata{background:#f7f9fb}.nm-ms-ata-head{max-width:780px;margin-bottom:38px}.nm-ms-ata-list{border-top:1px solid #d6e1e9}.nm-ms-ata-list article{display:grid;grid-template-columns:70px 1fr 40px;gap:24px;align-items:center;padding:28px 10px;border-bottom:1px solid #d6e1e9}.nm-ms-ata-list b{color:#c18f2d}.nm-ms-ata-list h3{margin:0 0 7px;color:#073e70;font-size:23px}.nm-ms-ata-list p{margin:0;color:#687d90}.nm-ms-ata-list>article>span{font-size:24px;color:#073e70}
.nm-ms-score-head{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end;margin-bottom:35px}.nm-ms-score-board{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dfE6eb;border-radius:16px;overflow:hidden}.nm-ms-score-board article{padding:28px 24px;min-height:260px}.nm-ms-score-board article+article{border-left:1px solid #dfe6eb}.nm-ms-score-board span{display:inline-block;color:#9a6c16;background:#faf4e7;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.nm-ms-score-board h3{font:500 22px/1.2 Georgia,serif;color:#073e70;margin:35px 0 12px}.nm-ms-score-board p{color:#687d90;line-height:1.65}.nm-ms-score-warning{margin-top:22px;padding:24px 28px;background:#073e70;color:#fff;border-radius:12px;display:flex;gap:35px;align-items:center}.nm-ms-score-warning p{margin:0;color:#dbe7ef}
.nm-ms-detail--servizi{background:#fff}.nm-ms-service-head{max-width:760px;margin-bottom:44px}.nm-ms-service-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.nm-ms-service-flow article{position:relative;padding:0 28px}.nm-ms-service-flow article+article{border-left:1px solid #dbe5ec}.nm-ms-service-flow span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#073e70;color:#fff;font-weight:800;margin-bottom:25px}.nm-ms-service-flow h3{color:#073e70;font-size:21px;margin:0 0 10px}.nm-ms-service-flow p{color:#687d90;line-height:1.65}.nm-ms-detail-cta{margin-top:62px;padding:34px 38px;background:#f3f7fa;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:30px}.nm-ms-detail-cta h2{font-size:30px}.nm-ms-detail-cta p{margin:0;color:#687d90}.nm-ms-detail-content{margin-top:55px;padding-top:45px;border-top:1px solid #dce5ec;color:#5f7488;line-height:1.75}
@media(max-width:900px){.nm-ms-detail-hero__grid,.nm-ms-editorial,.nm-ms-score-head{grid-template-columns:1fr}.nm-ms-detail-hero__visual{height:240px}.nm-ms-score-board,.nm-ms-service-flow{grid-template-columns:repeat(2,1fr)}.nm-ms-score-board article:nth-child(3){border-left:0;border-top:1px solid #dfe6eb}.nm-ms-score-board article:nth-child(4){border-top:1px solid #dfe6eb}.nm-ms-service-flow article:nth-child(3){border-left:0;margin-top:30px}.nm-ms-service-flow article:nth-child(4){margin-top:30px}.nm-ms-detail-cta{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.nm-ms-topic-grid,.nm-ms-score-board,.nm-ms-service-flow{grid-template-columns:1fr}.nm-ms-score-board article+article{border-left:0;border-top:1px solid #dfe6eb}.nm-ms-service-flow article+article{border-left:0;border-top:1px solid #dbe5ec;padding-top:25px;margin-top:25px}.nm-ms-score-warning{align-items:flex-start;flex-direction:column;gap:8px}.nm-ms-ata-list article{grid-template-columns:40px 1fr}.nm-ms-ata-list>article>span{display:none}}

/* =========================================================
   v0.61 — Mondo Scuola definitivo
   ========================================================= */
.nm-ms-topic-grid--decorative article{position:relative;overflow:hidden;padding-top:30px!important;border-top:3px solid #d6a43a!important;background:linear-gradient(145deg,#fff 68%,#f5f8fa)}
.nm-ms-topic-grid--decorative article:nth-child(even){background:linear-gradient(145deg,#fff 68%,#fbf6ea)}
.nm-ms-topic-grid--decorative article:after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(7,62,112,.07);border-radius:50%;right:-78px;top:-70px}
.nm-ms-topic-icon{display:flex!important;width:42px;height:42px;align-items:center;justify-content:center;border-radius:11px;background:#edf5f9;color:#07518a;font-size:20px;margin:0 0 24px!important}
.nm-ms-topic-grid--decorative article:nth-child(even) .nm-ms-topic-icon{background:#fbf3df;color:#aa7615}

.nm-ms-ata-list--linked{display:grid!important;gap:11px!important;border:0!important}
.nm-ms-ata-row{display:grid;grid-template-columns:52px 1fr 26px;align-items:center;gap:20px;padding:22px 24px!important;border:1px solid #dce6ee!important;border-radius:12px;background:#fff;text-decoration:none;color:#073e70;transition:.2s}
.nm-ms-ata-row:hover{transform:translateY(-2px);border-color:#d5a63e!important;box-shadow:0 10px 28px rgba(7,62,112,.055)}
.nm-ms-ata-row__icon{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:12px;background:#edf5f9;color:#07518a;font-size:19px}
.nm-ms-ata-row:nth-child(even) .nm-ms-ata-row__icon{background:#fbf3df;color:#a97517}
.nm-ms-ata-row h3{margin:0 0 5px!important}.nm-ms-ata-row p{margin:0!important}.nm-ms-ata-row>b{font-size:22px;color:#07518a}

.nm-ms-score-board--decorative article{position:relative;padding-top:30px!important;overflow:hidden}
.nm-ms-score-icon{display:flex!important;width:40px;height:40px;border-radius:10px;align-items:center;justify-content:center;background:#edf5f9;color:#07518a;margin-bottom:18px}
.nm-ms-score-board--decorative article:nth-child(even) .nm-ms-score-icon{background:#fbf3df;color:#a97517}
.nm-ms-score-label{font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#ae7d20;margin-bottom:10px}

.nm-ms-service-flow--balanced{align-items:stretch!important}
.nm-ms-service-flow--balanced article{display:flex!important;flex-direction:column!important;height:100%!important;min-height:285px!important}
.nm-ms-service-flow--balanced article>div{display:flex;flex-direction:column;flex:1}
.nm-ms-service-flow--balanced h3{min-height:58px!important;margin-bottom:14px!important}
.nm-ms-service-flow--balanced p{margin-top:0!important}

.nm-deep-hero{padding:72px 0 62px;background:linear-gradient(110deg,#f4f8fb,#fff 58%,#f8f4ea)}
.nm-deep-hero h1{font-family:Georgia,serif;color:#073e70;font-size:56px;font-weight:500;line-height:1.02;margin:10px 0 16px}.nm-deep-hero p{font-size:18px;color:#657d91;line-height:1.65;max-width:780px}
.nm-deep-body{padding:64px 0 90px}.nm-deep-profile{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.nm-deep-profile article,.nm-deep-ranking article,.nm-deep-training article{border:1px solid #dce6ee;border-radius:15px;padding:28px;background:#fff}.nm-deep-icon{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:12px;background:#edf5f9;color:#07518a;font-size:20px;margin-bottom:25px}.nm-deep-profile article:nth-child(2) .nm-deep-icon{background:#fbf3df;color:#a97517}.nm-deep-profile h2,.nm-deep-ranking h2,.nm-deep-training h2{font-family:Georgia,serif;color:#073e70;font-weight:500}.nm-deep-profile h2{font-size:28px}.nm-deep-profile p,.nm-deep-ranking p,.nm-deep-training p{color:#6b8194;line-height:1.6}.nm-deep-profile a{font-weight:800;color:#073e70;text-decoration:none}
.nm-deep-question{max-width:750px;margin-bottom:25px}.nm-deep-question h2{font-family:Georgia,serif;color:#073e70;font-size:36px;font-weight:500}.nm-deep-question p{color:#687f93;line-height:1.6}.nm-deep-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.nm-deep-choice-grid button{text-align:left;padding:20px;border:1px solid #dce6ee;border-radius:12px;background:#fff;color:#073e70;cursor:pointer}.nm-deep-choice-grid button strong,.nm-deep-choice-grid button span{display:block}.nm-deep-choice-grid button strong{font-size:17px;margin-bottom:6px}.nm-deep-choice-grid button span{color:#6b8194;line-height:1.45}.nm-deep-choice-grid button.is-active{border-color:#d3a33b;background:#fbf7ed}.nm-deep-result{margin-top:18px;padding:30px;border-radius:14px;background:#073e70;color:#fff}.nm-deep-result h3{font-family:Georgia,serif;font-size:28px;font-weight:500;margin:0 0 10px}.nm-deep-result p{color:#dbe6ef}.nm-deep-result a{display:inline-block;margin-top:8px;padding:13px 17px;border-radius:8px;background:#d3a33b;color:#fff;text-decoration:none;font-weight:800}
.nm-deep-ranking{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.nm-deep-warning{margin-top:32px;padding:38px 40px;border-radius:15px;background:#f8f2e6}.nm-deep-warning h2{font-family:Georgia,serif;color:#073e70;font-size:34px;font-weight:500;max-width:780px}.nm-deep-warning p{color:#657d91;line-height:1.65;max-width:800px}
.nm-deep-training{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.nm-deep-training article:nth-child(2),.nm-deep-training article:nth-child(3){background:#fbf7ed}.nm-deep-training__mark{font-size:10px;letter-spacing:.12em;font-weight:900;color:#a97517;margin-bottom:22px}
.nm-deep-recognize{display:grid;grid-template-columns:.65fr 1.35fr;gap:45px;border-top:1px solid #dce6ee;margin-top:52px;padding-top:42px}.nm-deep-recognize h2{font-family:Georgia,serif;color:#073e70;font-size:32px;font-weight:500}.nm-deep-recognize__items{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.nm-deep-recognize__items a{display:flex;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #dce6ee;border-radius:10px;color:#073e70;text-decoration:none;background:#fff}
.nm-contact-form__grid--three{grid-template-columns:repeat(3,1fr)!important}
.nm-success-toast{position:fixed;right:22px;bottom:22px;z-index:99999;max-width:460px;padding:18px 52px 18px 20px;border-radius:12px;background:#073e70;color:#fff;box-shadow:0 16px 46px rgba(0,0,0,.2);opacity:0;transform:translateY(15px);transition:.25s}.nm-success-toast.is-visible{opacity:1;transform:none}.nm-success-toast strong,.nm-success-toast span{display:block}.nm-success-toast span{margin-top:5px;color:#dbe7ef;line-height:1.45}.nm-success-toast button{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
@media(max-width:850px){.nm-deep-profile,.nm-deep-ranking,.nm-deep-training,.nm-deep-recognize,.nm-deep-choice-grid{grid-template-columns:1fr}.nm-deep-recognize__items{grid-template-columns:1fr}.nm-contact-form__grid--three{grid-template-columns:1fr!important}.nm-deep-hero h1{font-size:43px}.nm-ms-ata-row{grid-template-columns:45px 1fr 22px}}

/* v0.62 — contatti funzionanti + firma tema proprietario */
.nm-footer__bottom--signature{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding-top:18px!important;padding-bottom:18px!important;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:rgba(255,255,255,.62)}
.nm-theme-credit{display:inline-flex;align-items:baseline;gap:7px}
.nm-theme-credit strong{font-family:Georgia,serif;font-style:italic;font-weight:500;font-size:17px;letter-spacing:.02em;color:#d6aa45}
.nm-deep-page .site-footer,.nm-deep-page #colophon{display:none!important}
@media(max-width:760px){.nm-footer__bottom--signature{flex-direction:column;align-items:flex-start}.nm-theme-credit strong{font-size:16px}}


/* =========================================================
   v0.63 — contatti diretti compatti e allineati
   ========================================================= */
.nm-contact-dialog__direct .nm-contact-dialog__channels{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
.nm-contact-dialog__direct .nm-contact-channel{
  grid-template-columns:48px minmax(0,1fr) 24px!important;
  min-height:0!important;
  height:auto!important;
  padding:17px 18px!important;
  column-gap:14px!important;
  align-items:center!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy{
  width:auto!important; max-width:none!important; min-width:0!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy strong{
  font-size:18px!important; line-height:1.15!important; margin:0 0 4px!important;
}
.nm-contact-dialog__direct .nm-contact-channel__copy small{
  font-size:13px!important; line-height:1.35!important; margin:0!important;
  white-space:normal!important; word-break:normal!important; overflow-wrap:normal!important;
}
.nm-contact-dialog__direct .nm-contact-channel>b{
  font-size:24px!important; line-height:1!important; margin:0!important;
}
@media(max-width:620px){
 .nm-contact-dialog__direct .nm-contact-dialog__channels{grid-template-columns:1fr!important}
 .nm-contact-dialog__direct .nm-contact-channel{grid-template-columns:44px minmax(0,1fr) 22px!important;padding:15px 16px!important}
}

/* =========================================================
   v0.64 — Pulizia Mondo Scuola
   Un solo livello: area > percorso > contatto
   ========================================================= */
.nm-ms-ata-list--clean{display:grid!important;gap:12px!important}
.nm-ms-ata-row--details{display:block!important;padding:0!important;border:1px solid #dce6ee!important;border-radius:13px!important;background:#fff!important;overflow:hidden;transition:.2s}
.nm-ms-ata-row--details:hover{border-color:#d5a63e!important;box-shadow:0 10px 28px rgba(7,62,112,.05)}
.nm-ms-ata-row--details summary{display:grid;grid-template-columns:52px 1fr 30px;align-items:center;gap:20px;padding:22px 24px;cursor:pointer;list-style:none}
.nm-ms-ata-row--details summary::-webkit-details-marker{display:none}
.nm-ms-ata-row--details summary>div h3{margin:0 0 5px!important}.nm-ms-ata-row--details summary>div p{margin:0!important;color:#6b8194}
.nm-ms-ata-row--details summary>b{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eef5f9;color:#07518a;font-size:20px;font-weight:500;transition:.2s}
.nm-ms-ata-row--details[open] summary>b{transform:rotate(45deg);background:#fbf3df;color:#9b6a10}
.nm-ms-ata-row__content{padding:0 24px 24px 96px;border-top:1px solid transparent}
.nm-ms-ata-row--details[open] .nm-ms-ata-row__content{padding-top:18px;border-top-color:#edf1f4}
.nm-ms-ata-row__content p{margin:0 0 14px;color:#566f83;line-height:1.65;max-width:850px}
.nm-ms-ata-row__content a{font-weight:800;color:#073e70;text-decoration:none}.nm-ms-ata-row__content a:hover{text-decoration:underline}
.nm-ms-service-flow--clean article>span.nm-ms-service-icon{display:flex!important;width:44px!important;height:44px!important;min-width:44px!important;align-items:center!important;justify-content:center!important;border-radius:11px!important;background:#edf5f9!important;color:#07518a!important;font-size:20px!important;margin-bottom:22px!important}
.nm-ms-service-flow--clean article:nth-child(even)>span.nm-ms-service-icon{background:#fbf3df!important;color:#a97517!important}
.nm-ms-service-flow--clean article{min-height:260px!important}
.nm-ms-detail-cta .nm-button{white-space:nowrap}
@media(max-width:760px){.nm-ms-ata-row--details summary{grid-template-columns:44px 1fr 28px;padding:18px 16px;gap:13px}.nm-ms-ata-row__content{padding:0 16px 20px 73px}.nm-ms-ata-row--details[open] .nm-ms-ata-row__content{padding-top:16px}}

/* =========================================================
   v0.65 — Pulizia Certificazioni Informatiche
   ========================================================= */
.nm-cert-clean-head{margin-bottom:30px!important}
.nm-cert-clean-needs .nm-area-need-card{min-height:250px!important;padding-bottom:30px!important}
.nm-cert-clean-needs .nm-area-need-card a{display:none!important}
.nm-cert-clean-cta{margin:24px 0 62px;padding:27px 30px;border:1px solid #dce6ee;border-radius:14px;background:#f6f9fb;display:flex;justify-content:space-between;align-items:center;gap:35px}
.nm-cert-clean-cta h3{font-family:Georgia,serif;color:#073e70;font-size:28px;font-weight:500;margin:5px 0 8px}
.nm-cert-clean-cta p{margin:0;color:#687f93;line-height:1.55;max-width:680px}
.nm-cert-paths{padding-top:2px}
.nm-cert-paths__head{max-width:720px;margin-bottom:28px}
.nm-cert-paths__head h2{font-family:Georgia,serif;color:#073e70;font-size:36px;font-weight:500;margin:7px 0 9px}
.nm-cert-paths__head p{color:#687f93;line-height:1.6}
.nm-cert-paths__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.nm-cert-path-card{border:1px solid #dce6ee;border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-height:320px}
.nm-cert-path-card__visual{height:125px;display:flex;align-items:center;justify-content:center;background:#f7fafc;overflow:hidden}
.nm-cert-path-card__visual img{max-width:82%;max-height:76px;width:auto;height:auto;object-fit:contain}
.nm-cert-path-card__body{padding:21px 22px 23px;display:flex;flex-direction:column;flex:1}
.nm-cert-path-card__body h3{font-family:Georgia,serif;font-size:23px;font-weight:500;margin:0 0 8px}
.nm-cert-path-card__body h3 a{color:#073e70;text-decoration:none}
.nm-cert-path-card__body p{color:#6b8194;line-height:1.55;margin:0 0 18px}
.nm-cert-path-card__body .nm-card__link{margin-top:auto;color:#073e70;font-weight:800;text-decoration:none}
@media(max-width:900px){.nm-cert-paths__grid{grid-template-columns:1fr 1fr}.nm-cert-clean-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.nm-cert-paths__grid{grid-template-columns:1fr}}

/* =========================================================
   v0.66 — Certificazioni Informatiche: pagina meno promozionale
   ========================================================= */
.nm-cert-paths{display:none!important}
.nm-cert-value{margin:0 0 58px;padding:42px 44px;border-radius:16px;background:#073e70;color:#fff;position:relative;overflow:hidden}
.nm-cert-value:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(255,255,255,.08);right:-115px;top:-120px}
.nm-cert-value__intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;align-items:end;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.14)}
.nm-cert-value__intro h2{font-family:Georgia,serif;font-size:34px;line-height:1.08;font-weight:500;margin:8px 0 0;max-width:580px}
.nm-cert-value__intro p{margin:0;color:#d7e4ed;line-height:1.65;max-width:600px}
.nm-cert-value__grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:28px}
.nm-cert-value__grid article{padding:4px 28px 5px 0;min-height:150px;position:relative}
.nm-cert-value__grid article+article{border-left:1px solid rgba(255,255,255,.14);padding-left:28px}
.nm-cert-value__mark{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:9px;border:1px solid rgba(212,164,55,.52);color:#d7aa45;margin-bottom:18px}
.nm-cert-value__grid h3{margin:0 0 9px;font-size:18px;color:#fff}
.nm-cert-value__grid p{margin:0;color:#d5e2eb;line-height:1.55;font-size:14px}
.nm-partners--certifications{margin-top:0!important}
@media(max-width:800px){
  .nm-cert-value{padding:32px 27px}
  .nm-cert-value__intro{grid-template-columns:1fr;gap:14px}
  .nm-cert-value__grid{grid-template-columns:1fr}
  .nm-cert-value__grid article{padding:20px 0}
  .nm-cert-value__grid article+article{border-left:0;border-top:1px solid rgba(255,255,255,.14);padding-left:0}
}

/* v0.67 — Correzione contrasto fascia Certificazioni */
.nm-cert-value,
.nm-cert-value h2,
.nm-cert-value h3{
    color:#ffffff !important;
}
.nm-cert-value__intro h2{
    color:#ffffff !important;
}
.nm-cert-value__intro p,
.nm-cert-value__grid p{
    color:#dce8f1 !important;
}
.nm-cert-value .nm-eyebrow{
    color:#d6a83f !important;
}

/* =========================================================
   v0.68 — Pulizia Diplomi e Percorsi Scolastici
   ========================================================= */
.nm-school-families--clean .nm-school-family{
    display:flex;
    flex-direction:column;
}
.nm-school-families--clean .nm-school-family > a{
    display:none!important;
}
.nm-school-families--clean .nm-school-family p{
    margin-bottom:0!important;
}
.nm-diploma-family-cta{
    margin:22px 0 58px;
    padding:25px 28px;
    border:1px solid #dce6ee;
    border-radius:14px;
    background:#f6f9fb;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
}
.nm-diploma-family-cta h3{
    font-family:Georgia,serif;
    color:#073e70;
    font-weight:500;
    font-size:27px;
    margin:5px 0 8px;
}
.nm-diploma-family-cta p{
    margin:0;
    color:#687f93;
    line-height:1.55;
    max-width:700px;
}
.nm-diploma-family-cta > a{
    flex:0 0 auto;
    color:#073e70;
    text-decoration:none;
    font-weight:850;
    white-space:nowrap;
}
.nm-school-journey--clean{
    border-top:1px solid #e0e8ee;
    padding-top:43px;
}
.nm-school-journey__steps--clean a{
    position:relative;
    background:#fff;
    transition:.2s;
}
.nm-school-journey__steps--clean a:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(7,62,112,.055);
    border-color:#d5a33b;
}
.nm-school-journey__steps--clean .nm-school-journey__featured{
    background:#fbf6e9;
}
.nm-school-special--clean{
    margin-top:28px;
}
.nm-diploma-check--clean{
    margin-top:24px!important;
    display:grid!important;
    grid-template-columns:1.05fr 1.3fr auto!important;
    align-items:center!important;
    gap:30px!important;
}
.nm-diploma-check--clean .nm-diploma-check__copy h2{
    margin-bottom:8px!important;
}
.nm-diploma-check--clean .nm-diploma-check__copy p{
    margin:0!important;
}
.nm-diploma-check__chips{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.nm-diploma-check__chips span{
    display:block;
    padding:9px 11px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:8px;
    color:#dce8f1;
    font-size:12px;
    line-height:1.3;
}
@media(max-width:900px){
    .nm-diploma-family-cta{
        align-items:flex-start;
        flex-direction:column;
    }
    .nm-diploma-check--clean{
        grid-template-columns:1fr!important;
    }
}
@media(max-width:600px){
    .nm-diploma-check__chips{
        grid-template-columns:1fr;
    }
}

/* v0.69 — Università: due livelli, non catalogo */
.nm-uni069-intro{max-width:850px;margin-bottom:34px}.nm-uni069-intro h2{font-family:Georgia,serif;font-size:42px;line-height:1.08;font-weight:500;color:#073e70;margin:8px 0 14px}.nm-uni069-intro p{color:#687f93;font-size:17px;line-height:1.65}
.nm-uni069-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.nm-uni069-card{min-height:245px;padding:31px;border:1px solid #dce6ee;border-radius:15px;text-decoration:none;background:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.2s}.nm-uni069-card:nth-child(2),.nm-uni069-card:nth-child(3){background:#faf6ed}.nm-uni069-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(7,62,112,.06);border-color:#d5a33b}.nm-uni069-card>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#a97819}.nm-uni069-card h3{font-family:Georgia,serif;color:#073e70;font-size:29px;font-weight:500;margin:17px 0 9px}.nm-uni069-card p{color:#6b8194;line-height:1.55;margin:0 0 20px}.nm-uni069-card b{margin-top:auto;color:#073e70}
.nm-uni069-orient{margin:25px 0 10px;padding:28px 30px;border-radius:14px;background:#073e70;display:flex;align-items:center;justify-content:space-between;gap:30px}.nm-uni069-orient h3{font-family:Georgia,serif;color:#fff;font-size:28px;font-weight:500;margin:5px 0 8px}.nm-uni069-orient p{color:#d8e5ee;margin:0;max-width:650px}.nm-uni069-orient .nm-eyebrow{color:#d5a33b!important}
.nm-uni-page__hero{padding:68px 0 58px;background:linear-gradient(115deg,#f4f8fb,#fff 58%,#fbf6ea)}.nm-uni-back{display:inline-block;color:#688095;text-decoration:none;font-size:13px;font-weight:750;margin-bottom:32px}.nm-uni-page__hero h1{font-family:Georgia,serif;color:#073e70;font-size:56px;font-weight:500;line-height:1.03;margin:8px 0 15px}.nm-uni-page__hero p{max-width:820px;color:#687f93;font-size:18px;line-height:1.65}.nm-uni-page__body{padding:58px 0 90px}
.nm-uni-accordion{max-width:920px}.nm-uni-accordion details{border-bottom:1px solid #dce6ee}.nm-uni-accordion summary{list-style:none;cursor:pointer;padding:22px 4px;display:flex;justify-content:space-between;align-items:center;color:#073e70;font-family:Georgia,serif;font-size:25px}.nm-uni-accordion summary::-webkit-details-marker{display:none}.nm-uni-accordion summary b{font-family:Arial,sans-serif;font-size:24px;font-weight:400;color:#aa791d}.nm-uni-accordion details[open] summary b{transform:rotate(45deg)}.nm-uni-accordion details>div{padding:0 45px 23px 4px}.nm-uni-accordion details p{color:#687f93;line-height:1.7;margin:0}
.nm-uni-page__note{margin-top:48px;padding:31px 34px;border-radius:15px;background:#073e70;display:flex;justify-content:space-between;align-items:center;gap:30px}.nm-uni-page__note h2{font-family:Georgia,serif;color:#fff;font-size:29px;font-weight:500;margin:5px 0 8px}.nm-uni-page__note p{color:#d8e5ee;margin:0}.nm-uni-page__note .nm-eyebrow{color:#d5a33b!important}.nm-uni-foreign{margin-top:18px;padding:20px 23px;border-left:3px solid #d5a33b;background:#faf7ef;max-width:920px}.nm-uni-foreign strong{color:#073e70}.nm-uni-foreign p{color:#687f93;line-height:1.55;margin:6px 0 0}
@media(max-width:800px){.nm-uni069-grid{grid-template-columns:1fr}.nm-uni069-orient,.nm-uni-page__note{flex-direction:column;align-items:flex-start}.nm-uni-page__hero h1{font-size:43px}}


/* v0.70 — approfondimenti Università */
.nm-uni-accordion{max-width:1080px}
.nm-uni-accordion details{border:1px solid #dbe6ee;border-radius:16px;background:#fff;margin:0 0 14px;overflow:hidden;transition:box-shadow .2s ease,border-color .2s ease}
.nm-uni-accordion details[open]{border-color:#d8b05a;box-shadow:0 14px 35px rgba(7,62,112,.07)}
.nm-uni-accordion summary{padding:24px 28px;font-size:25px;background:#fff}
.nm-uni-accordion details[open] summary{border-bottom:1px solid #edf1f4}
.nm-uni-accordion summary b{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f9f3e7;color:#a87516;transition:transform .2s ease}
.nm-uni-accordion details[open] summary b{transform:rotate(45deg)}
.nm-uni-accordion details>div.nm-uni-accordion__content{padding:27px 28px 30px}
.nm-uni-accordion__lead{font-size:18px!important;line-height:1.65!important;color:#405e76!important;max-width:880px;margin:0 0 24px!important}
.nm-uni-accordion__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.nm-uni-accordion__point{padding:18px 19px;border-radius:12px;background:#f5f8fa;border:1px solid #e3ebf1;min-height:145px}
.nm-uni-accordion__point:nth-child(2){background:#fbf7ee;border-color:#eee0bd}
.nm-uni-accordion__point span{display:block;color:#a87516;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px}
.nm-uni-accordion__point p{font-size:15px;line-height:1.6!important;color:#5e7588!important}
.nm-uni-accordion__cta{display:inline-flex;align-items:center;gap:9px;margin-top:22px;color:#073e70;font-weight:800;text-decoration:none}
.nm-uni-accordion__cta:hover{color:#a87516}
.nm-uni-partners{margin-top:55px;padding-top:36px;border-top:1px solid #dce6ee;max-width:1080px}
.nm-uni-partners__head{display:flex;justify-content:space-between;gap:30px;align-items:end}
.nm-uni-partners h2{font-family:Georgia,serif;color:#073e70;font-size:32px;font-weight:500;margin:6px 0 8px}
.nm-uni-partners p{color:#687f93;max-width:720px;line-height:1.6;margin:0}
.nm-uni-partners__logos{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}
.nm-uni-partner{height:82px;min-width:210px;padding:18px 28px;border:1px solid #dce6ee;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center}
.nm-uni-partner img{display:block;max-width:155px;max-height:44px;width:auto;height:auto;object-fit:contain}
@media(max-width:800px){.nm-uni-accordion__grid{grid-template-columns:1fr}.nm-uni-accordion summary{padding:20px;font-size:22px}.nm-uni-accordion details>div.nm-uni-accordion__content{padding:22px 20px 25px}.nm-uni-accordion__point{min-height:0}.nm-uni-partner{min-width:calc(50% - 7px);flex:1}}


/* =========================================================
   v0.72 — Fix layout WhatsApp / Email nel modal Università
   ========================================================= */
.nm-contact-dialog__channels{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
}

.nm-contact-channel{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:22px !important;
    min-height:138px !important;
    padding:26px 30px !important;
    border-radius:16px !important;
    text-decoration:none !important;
    overflow:hidden !important;
}

.nm-contact-channel__copy{
    display:block !important;
    min-width:0 !important;
    width:100% !important;
}

.nm-contact-channel__copy strong{
    display:block !important;
    margin:0 0 7px !important;
    font-size:24px !important;
    line-height:1.1 !important;
    color:#073e70 !important;
}

.nm-contact-channel__copy small{
    display:block !important;
    margin:0 !important;
    max-width:none !important;
    white-space:normal !important;
    font-size:16px !important;
    line-height:1.42 !important;
    color:#607a8f !important;
}

.nm-contact-channel--whatsapp .nm-contact-channel__copy small{
    color:#5e7c68 !important;
}

.nm-contact-channel > b{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    font-size:31px !important;
    line-height:1 !important;
}

@media(max-width:760px){
    .nm-contact-dialog__channels{
        grid-template-columns:1fr !important;
    }
    .nm-contact-channel{
        min-height:116px !important;
        padding:22px 24px !important;
    }
}


/* =========================================================
   v0.73 — Fix DEFINITIVO card WhatsApp / Email
   Motivo: vecchia regola a 3 colonne più specifica.
   Nel modal Università le card hanno SOLO testo + freccia.
   ========================================================= */
.nm-contact-dialog__direct .nm-contact-dialog__channels{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
}

.nm-contact-dialog__direct .nm-contact-channel{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 42px !important;
    align-items:center !important;
    column-gap:22px !important;
    min-height:118px !important;
    height:auto !important;
    padding:22px 26px !important;
}

.nm-contact-dialog__direct .nm-contact-channel__copy{
    display:block !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
}

.nm-contact-dialog__direct .nm-contact-channel__copy strong{
    display:block !important;
    margin:0 0 6px !important;
    font-size:22px !important;
    line-height:1.15 !important;
}

.nm-contact-dialog__direct .nm-contact-channel__copy small{
    display:block !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    font-size:15px !important;
    line-height:1.4 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
}

.nm-contact-dialog__direct .nm-contact-channel > b{
    display:flex !important;
    width:42px !important;
    height:42px !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:end !important;
    align-self:center !important;
    margin:0 !important;
    font-size:29px !important;
    line-height:1 !important;
}

@media(max-width:760px){
    .nm-contact-dialog__direct .nm-contact-dialog__channels{
        grid-template-columns:1fr !important;
    }
    .nm-contact-dialog__direct .nm-contact-channel{
        grid-template-columns:minmax(0,1fr) 38px !important;
        min-height:104px !important;
        padding:20px 22px !important;
    }
}


/* =========================================================
   v0.74 — FORM CONTATTI UNICO GLOBALE
   Stesso markup, stesse icone, stesse dimensioni ovunque.
   ========================================================= */
.nm-contact-dialog .nm-contact-form__grid.nm-contact-form__grid--three{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
}

.nm-contact-dialog .nm-contact-dialog__channels,
.nm-contact-dialog__direct .nm-contact-dialog__channels{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
}

.nm-contact-dialog .nm-contact-channel,
.nm-contact-dialog__direct .nm-contact-channel{
    display:grid !important;
    grid-template-columns:52px minmax(0,1fr) 38px !important;
    align-items:center !important;
    gap:18px !important;
    min-height:118px !important;
    height:auto !important;
    padding:22px 24px !important;
    border-radius:16px !important;
    overflow:hidden !important;
}

.nm-contact-dialog .nm-contact-channel__icon,
.nm-contact-dialog__direct .nm-contact-channel__icon{
    display:flex !important;
    width:52px !important;
    height:52px !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:13px !important;
    margin:0 !important;
}

.nm-contact-dialog .nm-contact-channel__icon svg,
.nm-contact-dialog__direct .nm-contact-channel__icon svg{
    display:block !important;
    width:27px !important;
    height:27px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
}

.nm-contact-dialog .nm-contact-channel--whatsapp .nm-contact-channel__icon{
    background:#dfeee3 !important;
    color:#257246 !important;
}

.nm-contact-dialog .nm-contact-channel--email .nm-contact-channel__icon{
    background:#deebf4 !important;
    color:#075a94 !important;
}

.nm-contact-dialog .nm-contact-channel__copy,
.nm-contact-dialog__direct .nm-contact-channel__copy{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
}

.nm-contact-dialog .nm-contact-channel__copy strong{
    display:block !important;
    margin:0 0 5px !important;
    font-size:21px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
}

.nm-contact-dialog .nm-contact-channel__copy small{
    display:block !important;
    margin:0 !important;
    width:auto !important;
    max-width:none !important;
    font-size:15px !important;
    line-height:1.38 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
}

.nm-contact-dialog .nm-contact-channel > b{
    display:flex !important;
    width:38px !important;
    height:38px !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:end !important;
    margin:0 !important;
    font-size:27px !important;
    line-height:1 !important;
}

@media(max-width:860px){
    .nm-contact-dialog .nm-contact-form__grid.nm-contact-form__grid--three{
        grid-template-columns:1fr !important;
    }
    .nm-contact-dialog .nm-contact-dialog__channels{
        grid-template-columns:1fr !important;
    }
}

/* =========================================================
   v0.75 — Formazione Professionale
   ========================================================= */
.nm-prof-intro{max-width:900px;padding:4px 0 54px}.nm-prof-intro h2,.nm-prof-section-head h2,.nm-prof-choice h2,.nm-prof-check h2,.nm-prof-final h2{font-family:Georgia,serif;color:#073e70;font-weight:500;line-height:1.08}.nm-prof-intro h2{font-size:46px;margin:8px 0 16px}.nm-prof-intro p{font-size:18px;line-height:1.68;color:#647d91;max-width:850px}.nm-prof-intro .nm-text-link{display:inline-flex;margin-top:16px}
.nm-prof-recognized{padding:52px 0;border-top:1px solid #e1e9ef}.nm-prof-section-head{max-width:850px}.nm-prof-section-head h2{font-size:36px;margin:8px 0 13px}.nm-prof-section-head p{color:#687f93;font-size:17px;line-height:1.65}.nm-prof-recognized-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:28px}.nm-prof-recognized-grid article{padding:28px;border:1px solid #dce6ee;border-radius:16px;background:#fff}.nm-prof-recognized-grid article:nth-child(2){background:#fbf7ee;border-color:#eee0bd}.nm-prof-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4f8;color:#0b5b91;font-size:22px}.nm-prof-recognized-grid h3{font-family:Georgia,serif;color:#073e70;font-size:24px;font-weight:500;margin:19px 0 10px}.nm-prof-recognized-grid p{color:#687f93;line-height:1.62;margin:0}
.nm-prof-school{display:grid;grid-template-columns:1.08fr .92fr;margin:45px 0 64px;border-radius:18px;overflow:hidden;background:#073e70}.nm-prof-school__main{padding:42px}.nm-prof-school__main h2{font-family:Georgia,serif;color:#fff;font-size:37px;font-weight:500;margin:8px 0 15px}.nm-prof-school__main p{color:#d7e5ee;line-height:1.68;font-size:16px}.nm-prof-school__main>a{display:inline-flex;margin-top:16px;color:#f0c86c;font-weight:800;text-decoration:none}.nm-prof-school__law{padding:38px;background:#f7f1e4}.nm-prof-school__law>span{font-family:Georgia,serif;color:#c18a24;font-size:64px;line-height:.9}.nm-prof-school__law>small{display:block;color:#8d6a2a;font-weight:900;letter-spacing:.12em;margin:7px 0 24px}.nm-prof-school__law h3{font-family:Georgia,serif;color:#073e70;font-size:25px;font-weight:500;margin:0 0 12px}.nm-prof-school__law p{color:#657c8e;line-height:1.62;margin:0}
.nm-prof-growth{padding:15px 0 62px}.nm-prof-section-head--wide{max-width:940px}.nm-prof-areas{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:27px}.nm-prof-areas button{appearance:none;border:1px solid #dce6ee;background:#fff;border-radius:13px;padding:21px 22px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#073e70;font-weight:800;font-size:15px;cursor:pointer;transition:.2s}.nm-prof-areas button:hover{border-color:#d1a449;background:#fbf7ee;transform:translateY(-1px)}.nm-prof-areas button b{color:#b47d18;font-size:20px}
.nm-prof-choice{padding:44px;border-radius:18px;background:#f3f7fa;margin:0 0 62px}.nm-prof-choice__copy{max-width:780px}.nm-prof-choice h2{font-size:35px;margin:8px 0 12px}.nm-prof-choice__copy p{color:#687f93;line-height:1.62}.nm-prof-choice__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.nm-prof-choice__grid button{appearance:none;border:1px solid #d8e4ec;background:#fff;border-radius:14px;padding:23px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;cursor:pointer;color:#073e70}.nm-prof-choice__grid button:hover,.nm-prof-choice__grid button.is-active{border-color:#d0a145;box-shadow:0 8px 24px rgba(7,62,112,.06)}.nm-prof-choice__num{font-size:10px;font-weight:900;letter-spacing:.1em;color:#b17d1b}.nm-prof-choice__grid strong{font-family:Georgia,serif;font-size:19px;font-weight:500}.nm-prof-choice__grid b{font-size:22px;color:#b17d1b}.nm-prof-choice__answer{margin-top:16px;padding:25px 27px;border-radius:14px;background:#fff;border-left:3px solid #d1a145;display:flex;align-items:center;justify-content:space-between;gap:28px}.nm-prof-choice__answer[hidden]{display:none!important}.nm-prof-choice__answer h3{font-family:Georgia,serif;color:#073e70;font-size:23px;font-weight:500;margin:5px 0 7px}.nm-prof-choice__answer p{color:#687f93;line-height:1.55;max-width:760px;margin:0}
.nm-prof-check{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;align-items:start;padding:12px 0 66px}.nm-prof-check h2{font-size:34px;margin:8px 0 13px}.nm-prof-check__intro p{color:#687f93;line-height:1.65}.nm-prof-check__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nm-prof-check__grid>div{min-height:118px;padding:20px;border:1px solid #dce6ee;border-radius:13px;background:#fff}.nm-prof-check__grid span{display:block;color:#c18a24;font-size:11px;font-weight:900;letter-spacing:.12em;margin-bottom:12px}.nm-prof-check__grid strong{color:#073e70;font-family:Georgia,serif;font-size:18px;font-weight:500;line-height:1.35}
.nm-prof-final{padding:34px 36px;border-radius:17px;background:#073e70;display:flex;align-items:center;justify-content:space-between;gap:35px}.nm-prof-final h2{color:#fff;font-size:31px;margin:6px 0 8px}.nm-prof-final p{color:#d7e5ee;line-height:1.55;max-width:720px;margin:0}
@media(max-width:850px){.nm-prof-recognized-grid,.nm-prof-areas,.nm-prof-choice__grid{grid-template-columns:1fr}.nm-prof-school,.nm-prof-check{grid-template-columns:1fr}.nm-prof-choice{padding:28px 20px}.nm-prof-choice__answer,.nm-prof-final{flex-direction:column;align-items:flex-start}.nm-prof-check__grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.nm-prof-check__grid{grid-template-columns:1fr}.nm-prof-intro h2{font-size:38px}.nm-prof-school__main,.nm-prof-school__law{padding:28px}}


/* =========================================================
   v0.76 — Formazione Professionale: niente numerazioni,
   aree professionali informative e non falsamente cliccabili.
   ========================================================= */

/* Aree professionali: contenuto editoriale, non CTA duplicate */
.nm-prof-areas{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
}
.nm-prof-area-card{
    min-height:102px;
    padding:22px 23px;
    border:1px solid #dce6ee;
    border-radius:13px;
    background:#fff;
    display:flex;
    align-items:center;
    gap:15px;
    color:#073e70;
}
.nm-prof-area-card:nth-child(even){
    background:#fbf8f0;
    border-color:#eadfca;
}
.nm-prof-area-card__mark{
    display:grid;
    place-items:center;
    width:39px;
    height:39px;
    flex:0 0 39px;
    border-radius:11px;
    background:#edf4f8;
    color:#0b5b91;
    font-size:18px;
}
.nm-prof-area-card:nth-child(even) .nm-prof-area-card__mark{
    background:#f5ead4;
    color:#b27b17;
}
.nm-prof-area-card strong{
    font-size:15px;
    line-height:1.35;
}

/* Obiettivo: pittogramma al posto dei numeri */
.nm-prof-choice__grid button{
    grid-template-columns:46px minmax(0,1fr) auto !important;
}
.nm-prof-choice__num{
    display:none !important;
}
.nm-prof-choice__mark{
    display:grid !important;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#edf4f8;
    color:#0b5b91;
    font-size:18px;
    transition:.2s;
}
.nm-prof-choice__grid button:nth-child(2) .nm-prof-choice__mark{
    background:#f6eddc;
    color:#b17d1b;
}
.nm-prof-choice__grid button:nth-child(3) .nm-prof-choice__mark{
    background:#eef1f7;
    color:#315c82;
}
.nm-prof-choice__grid button.is-active .nm-prof-choice__mark{
    background:#073e70;
    color:#fff;
}

/* Quattro verifiche: simboli decorativi al posto di 01/02/03/04 */
.nm-prof-check__grid>div{
    position:relative;
    overflow:hidden;
}
.nm-prof-check__grid>div:after{
    content:"";
    position:absolute;
    right:-34px;
    top:-34px;
    width:86px;
    height:86px;
    border:1px solid rgba(7,62,112,.06);
    border-radius:50%;
}
.nm-prof-check__grid span:not(.nm-prof-check__mark){
    display:none !important;
}
.nm-prof-check__mark{
    display:grid !important;
    place-items:center;
    width:35px;
    height:35px;
    margin:0 0 15px !important;
    border-radius:10px;
    background:#edf4f8;
    color:#0b5b91 !important;
    font-size:15px !important;
    letter-spacing:0 !important;
}
.nm-prof-check__grid>div:nth-child(2) .nm-prof-check__mark,
.nm-prof-check__grid>div:nth-child(3) .nm-prof-check__mark{
    background:#f6eddc;
    color:#b17d1b !important;
}

@media(max-width:850px){
    .nm-prof-areas{
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   v0.77 — Aziende e Professionisti
   Registro B2B: autorevole, consulenziale, non catalogo.
   ========================================================= */
.nm-biz-intro{
    max-width:930px;
    padding:8px 0 58px;
}
.nm-biz-intro h2,
.nm-biz-head h2,
.nm-biz-needs h2,
.nm-biz-method h2,
.nm-biz-choice h2,
.nm-biz-promise h2,
.nm-biz-final h2{
    font-family:Georgia,serif;
    color:#073e70;
    font-weight:500;
    line-height:1.08;
}
.nm-biz-intro h2{
    font-size:47px;
    margin:8px 0 16px;
}
.nm-biz-intro p{
    max-width:880px;
    color:#657d90;
    font-size:18px;
    line-height:1.68;
}
.nm-biz-intro .nm-text-link{
    display:inline-flex;
    margin-top:17px;
}

/* Audience */
.nm-biz-audience{
    padding:50px 0 62px;
    border-top:1px solid #e1e9ef;
}
.nm-biz-head{
    max-width:850px;
}
.nm-biz-head h2{
    font-size:37px;
    margin:7px 0 13px;
}
.nm-biz-head p{
    color:#687f93;
    font-size:17px;
    line-height:1.65;
}
.nm-biz-audience-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
    margin-top:28px;
}
.nm-biz-audience-grid article{
    min-height:260px;
    padding:29px;
    border:1px solid #dce6ee;
    border-radius:17px;
    background:#fff;
    position:relative;
    overflow:hidden;
}
.nm-biz-audience-grid article:nth-child(2){
    background:#fbf7ee;
    border-color:#ebddbe;
}
.nm-biz-audience-grid article:after{
    content:"";
    position:absolute;
    width:130px;
    height:130px;
    border:1px solid rgba(7,62,112,.055);
    border-radius:50%;
    right:-68px;
    top:-67px;
}
.nm-biz-mark{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:12px;
    background:#edf4f8;
    color:#0b5b91;
    font-size:19px;
}
.nm-biz-audience-grid article:nth-child(2) .nm-biz-mark{
    background:#f3e8d2;
    color:#af7715;
}
.nm-biz-audience-grid h3{
    font-family:Georgia,serif;
    color:#073e70;
    font-size:25px;
    font-weight:500;
    margin:20px 0 11px;
}
.nm-biz-audience-grid p{
    color:#687f93;
    line-height:1.65;
    margin:0;
}

/* Needs - dark B2B panel */
.nm-biz-needs{
    margin:10px 0 64px;
    padding:42px;
    border-radius:18px;
    background:#073e70;
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:42px;
}
.nm-biz-needs__intro h2{
    color:#fff;
    font-size:36px;
    margin:8px 0 14px;
}
.nm-biz-needs__intro p{
    color:#d8e5ee;
    line-height:1.66;
}
.nm-biz-needs__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1px;
    background:rgba(255,255,255,.15);
}
.nm-biz-needs__grid article{
    padding:23px;
    background:#073e70;
}
.nm-biz-needs__line{
    display:block;
    width:28px;
    height:2px;
    margin-bottom:15px;
    background:#d4a23e;
}
.nm-biz-needs__grid h3{
    color:#fff;
    font-size:18px;
    line-height:1.3;
    margin:0 0 9px;
}
.nm-biz-needs__grid p{
    color:#cbdbe6;
    font-size:14px;
    line-height:1.55;
    margin:0;
}

/* Method */
.nm-biz-method{
    display:grid;
    grid-template-columns:.88fr 1.12fr;
    gap:44px;
    align-items:center;
    padding:15px 0 67px;
}
.nm-biz-method__copy h2{
    font-size:35px;
    margin:8px 0 13px;
}
.nm-biz-method__copy p{
    color:#687f93;
    line-height:1.65;
}
.nm-biz-method__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.nm-biz-method__grid>div{
    min-height:124px;
    padding:21px;
    border:1px solid #dce6ee;
    border-radius:14px;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.nm-biz-method__grid>div:nth-child(2),
.nm-biz-method__grid>div:nth-child(3){
    background:#fbf8f0;
}
.nm-biz-method__grid span{
    color:#b17b18;
    font-size:18px;
}
.nm-biz-method__grid strong{
    color:#073e70;
    font-family:Georgia,serif;
    font-size:19px;
    font-weight:500;
}

/* Interactive diagnosis */
.nm-biz-choice{
    padding:43px;
    border-radius:19px;
    background:#f2f6f9;
    margin-bottom:65px;
}
.nm-biz-choice__top{
    max-width:850px;
}
.nm-biz-choice h2{
    font-size:36px;
    margin:8px 0 12px;
}
.nm-biz-choice__top p{
    color:#687f93;
    line-height:1.65;
}
.nm-biz-choice__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-top:27px;
}
.nm-biz-choice__grid button{
    appearance:none;
    border:1px solid #d8e4ec;
    border-radius:15px;
    background:#fff;
    min-height:125px;
    padding:22px;
    display:grid;
    grid-template-columns:44px minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    text-align:left;
    cursor:pointer;
    transition:.2s;
}
.nm-biz-choice__grid button:hover,
.nm-biz-choice__grid button.is-active{
    border-color:#d2a33e;
    box-shadow:0 8px 24px rgba(7,62,112,.06);
}
.nm-biz-choice__grid button>span{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#eaf2f7;
    color:#0b5b91;
    font-size:18px;
}
.nm-biz-choice__grid button:nth-child(2)>span{
    background:#f3e8d3;
    color:#af7715;
}
.nm-biz-choice__grid button strong{
    font-family:Georgia,serif;
    color:#073e70;
    font-size:20px;
    font-weight:500;
    line-height:1.3;
}
.nm-biz-choice__grid button b{
    color:#b27a16;
    font-size:22px;
}
.nm-biz-choice__answer{
    margin-top:15px;
    padding:27px 29px;
    border-left:3px solid #d2a33e;
    border-radius:14px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}
.nm-biz-choice__answer[hidden]{
    display:none!important;
}
.nm-biz-choice__answer h3{
    font-family:Georgia,serif;
    color:#073e70;
    font-size:24px;
    font-weight:500;
    margin:5px 0 8px;
}
.nm-biz-choice__answer p{
    color:#687f93;
    line-height:1.6;
    max-width:780px;
    margin:0;
}

/* Promise */
.nm-biz-promise{
    padding:10px 0 66px;
}
.nm-biz-promise__head{
    max-width:900px;
}
.nm-biz-promise h2{
    font-size:35px;
    margin:8px 0 12px;
}
.nm-biz-promise__head p{
    color:#687f93;
    line-height:1.65;
}
.nm-biz-promise__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:27px;
}
.nm-biz-promise__grid>div{
    min-height:105px;
    padding:20px;
    border:1px solid #dce6ee;
    border-radius:13px;
    background:#fff;
    display:flex;
    align-items:center;
    gap:13px;
}
.nm-biz-dot{
    width:10px;
    height:10px;
    flex:0 0 10px;
    border-radius:50%;
    background:#d0a03c;
}
.nm-biz-promise__grid strong{
    color:#073e70;
    font-size:15px;
    line-height:1.35;
}

/* Final CTA */
.nm-biz-final{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
    padding:35px 37px;
    border-radius:18px;
    background:#073e70;
}
.nm-biz-final h2{
    color:#fff;
    font-size:32px;
    margin:6px 0 9px;
}
.nm-biz-final p{
    color:#d8e5ee;
    line-height:1.58;
    max-width:760px;
    margin:0;
}

@media(max-width:880px){
    .nm-biz-audience-grid,
    .nm-biz-choice__grid{
        grid-template-columns:1fr;
    }
    .nm-biz-needs,
    .nm-biz-method{
        grid-template-columns:1fr;
    }
    .nm-biz-promise__grid{
        grid-template-columns:1fr 1fr;
    }
    .nm-biz-choice,
    .nm-biz-needs{
        padding:28px 22px;
    }
    .nm-biz-choice__answer,
    .nm-biz-final{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:560px){
    .nm-biz-method__grid,
    .nm-biz-needs__grid,
    .nm-biz-promise__grid{
        grid-template-columns:1fr;
    }
    .nm-biz-intro h2{
        font-size:38px;
    }
}


/* =========================================================
   v0.78 — HOME NOVA MENTIS
   ========================================================= */
.nm-home-v078 .nm-home-section-head{
    align-items:flex-end;
}
.nm-home-v078 .nm-home-section-head>div{
    max-width:780px;
}
.nm-home-v078 .nm-home-section-head p{
    margin:10px 0 0;
    color:#687f93;
    font-size:16px;
    line-height:1.6;
}

/* Aree: più autorevoli, meno "catalogo" */
.nm-home-v078 .nm-area-card{
    min-height:100%;
}
.nm-home-v078 .nm-area-card__content p{
    line-height:1.52;
}
.nm-home-v078 .nm-area-card__more span{
    font-weight:800;
}

/* Metodo */
.nm-home-method{
    padding:72px 0;
    background:#f4f7f9;
}
.nm-home-method__intro{
    max-width:900px;
}
.nm-home-method__intro h2,
.nm-home-start h2,
.nm-home-principle h2,
.nm-home-guides h2,
.nm-home-final h2,
.nm-home-anief h2,
.nm-home-role h2{
    font-family:Georgia,serif;
    color:#073e70;
    font-weight:500;
    line-height:1.08;
}
.nm-home-method__intro h2{
    font-size:42px;
    margin:8px 0 14px;
}
.nm-home-method__intro p{
    color:#687f93;
    font-size:17px;
    line-height:1.66;
}
.nm-home-method__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-top:34px;
    border-top:1px solid #dce6ee;
}
.nm-home-method__grid article{
    min-height:225px;
    padding:29px 27px 20px 0;
    border-right:1px solid #dce6ee;
}
.nm-home-method__grid article:not(:first-child){
    padding-left:27px;
}
.nm-home-method__grid article:last-child{
    border-right:0;
}
.nm-home-method__grid article>span{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    margin-bottom:24px;
    border-radius:11px;
    background:#fff;
    color:#0b5b91;
    border:1px solid #dde8ef;
    font-size:17px;
}
.nm-home-method__grid article:nth-child(even)>span{
    background:#fbf5e8;
    color:#b27b16;
    border-color:#eedbb4;
}
.nm-home-method__grid h3{
    color:#073e70;
    font-size:17px;
    margin:0 0 9px;
}
.nm-home-method__grid p{
    color:#687f93;
    font-size:14px;
    line-height:1.6;
    margin:0;
}

/* ANIEF future module */
.nm-home-anief{
    padding:55px 0;
    background:#fff;
}
.nm-home-anief__inner{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:45px;
    align-items:center;
    padding:35px;
    border:1px solid #dce6ee;
    border-radius:18px;
}
.nm-home-anief__logo{
    min-height:140px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f5f8fa;
}
.nm-home-anief__logo img{
    max-width:190px;
    max-height:90px;
    object-fit:contain;
}
.nm-home-anief__logo span{
    font-family:Georgia,serif;
    color:#073e70;
    font-size:42px;
    letter-spacing:.04em;
}
.nm-home-anief h2{
    font-size:34px;
    margin:7px 0 11px;
}
.nm-home-anief p{
    color:#687f93;
    line-height:1.64;
    max-width:800px;
}

/* Future national role */
.nm-home-role{
    padding:0 0 55px;
}
.nm-home-role__inner{
    padding:31px 34px;
    border-left:3px solid #d4a13c;
    background:#faf7ef;
}
.nm-home-role h2{
    font-size:30px;
    margin:7px 0 9px;
}
.nm-home-role p{
    margin:0;
    color:#687f93;
    line-height:1.6;
}

/* Intelligent entry points */
.nm-home-start{
    padding:74px 0;
    background:#fff;
}
.nm-home-start__head{
    max-width:900px;
}
.nm-home-start h2{
    font-size:42px;
    margin:8px 0 14px;
}
.nm-home-start__head p{
    color:#687f93;
    font-size:17px;
    line-height:1.65;
}
.nm-home-start__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:32px;
}
.nm-home-start__card{
    appearance:none;
    border:1px solid #dbe6ee;
    border-radius:17px;
    background:#fff;
    padding:27px;
    min-height:220px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    align-items:start;
    gap:17px;
    text-align:left;
    cursor:pointer;
    transition:.2s;
}
.nm-home-start__card:nth-child(2){
    background:#fbf7ee;
    border-color:#eadcbc;
}
.nm-home-start__card:hover{
    transform:translateY(-2px);
    border-color:#d1a03a;
    box-shadow:0 12px 30px rgba(7,62,112,.07);
}
.nm-home-start__mark{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:12px;
    background:#eaf2f7;
    color:#0b5b91;
    font-size:18px;
}
.nm-home-start__card:nth-child(2) .nm-home-start__mark{
    background:#f3e7ce;
    color:#ad7616;
}
.nm-home-start__copy strong{
    display:block;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:23px;
    line-height:1.25;
    margin:3px 0 12px;
}
.nm-home-start__copy small{
    display:block;
    color:#687f93;
    font-size:14px;
    line-height:1.58;
}
.nm-home-start__card>b{
    color:#b27a16;
    font-size:23px;
}

/* Principle */
.nm-home-principle{
    padding:72px 0;
    background:#073e70;
}
.nm-home-principle__grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:55px;
    align-items:center;
}
.nm-home-principle .nm-eyebrow{
    color:#d4a13c;
}
.nm-home-principle h2{
    color:#fff;
    font-size:39px;
    margin:8px 0 14px;
}
.nm-home-principle__copy p{
    color:#d7e5ee;
    font-size:16px;
    line-height:1.66;
}
.nm-home-principle__flow{
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr;
    align-items:center;
    gap:12px;
}
.nm-home-principle__flow>div{
    min-height:145px;
    padding:24px 18px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:15px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.nm-home-principle__flow span{
    color:#e1b454;
    font-size:24px;
    margin-bottom:14px;
}
.nm-home-principle__flow strong{
    color:#fff;
    font-family:Georgia,serif;
    font-size:20px;
    font-weight:500;
}
.nm-home-principle__flow i{
    color:#d4a13c;
    font-style:normal;
    font-size:23px;
}

/* Guides */
.nm-home-guides{
    padding:72px 0;
    background:#fff;
}
.nm-home-guides__head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
}
.nm-home-guides__head>div{
    max-width:850px;
}
.nm-home-guides h2{
    font-size:38px;
    margin:8px 0 12px;
}
.nm-home-guides__head p{
    color:#687f93;
    line-height:1.62;
}
.nm-home-guides__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
    margin-top:30px;
}
.nm-home-guides__grid article{
    padding:26px;
    border:1px solid #dce6ee;
    border-radius:15px;
    background:#fff;
}
.nm-home-guides__date{
    color:#ad7718;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:12px;
}
.nm-home-guides__grid h3{
    font-size:20px;
    margin:0 0 10px;
}
.nm-home-guides__grid h3 a,
.nm-home-guides__grid article>a{
    color:#073e70;
    text-decoration:none;
}
.nm-home-guides__grid p{
    color:#687f93;
    font-size:14px;
    line-height:1.58;
}

/* Final CTA */
.nm-home-final{
    padding:42px 0;
    background:#0a4275;
}
.nm-home-final__inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}
.nm-home-final h2{
    color:#fff;
    font-size:34px;
    margin:6px 0 9px;
}
.nm-home-final p{
    color:#d9e7f0;
    line-height:1.55;
    max-width:780px;
    margin:0;
}

/* =========================================================
   SOCIAL FOOTER — Nova Mentis — definitivo
   ========================================================= */

/* Centra la parte brand del footer */
.nm-footer__brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

/* Gruppo social */
.nm-footer-social{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    gap:11px;
    width:100%;
    margin-top:17px;
}

/* Pulsante */
.nm-footer-social a{
    width:38px;
    height:38px;
    flex:0 0 38px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;
    margin:0;

    border:1px solid rgba(199,154,59,.62);
    border-radius:50%;

    background:rgba(255,255,255,.015);
    color:#d6e1ec;

    text-decoration:none;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

/* Nascondiamo eventuali SVG presenti nell'HTML */
.nm-footer-social svg{
    display:none !important;
}

/* Base comune delle icone */
.nm-footer-social a::before{
    content:"";
    display:block;

    width:17px;
    height:17px;

    background-color:currentColor;

    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;

    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
}

/* Facebook */
.nm-footer-social a[aria-label*="Facebook"]::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v2H6v4h3v7h4v-7h3l1-4h-4V9c0-.7.3-1 1-1z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v2H6v4h3v7h4v-7h3l1-4h-4V9c0-.7.3-1 1-1z'/%3E%3C/svg%3E");
}

/* Instagram */
.nm-footer-social a[aria-label*="Instagram"]::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H7zm5 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm5.5-3.2a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 3a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H7zm5 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm5.5-3.2a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

/* LinkedIn */
.nm-footer-social a[aria-label*="LinkedIn"]::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM2 9h4v13H2V9zm7 0h4v2c1-1.5 2.5-2.4 4.4-2.4 4 0 4.6 2.6 4.6 6V22h-4v-6.6c0-1.6 0-3.5-2.2-3.5S13 13.6 13 15.3V22H9V9z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM2 9h4v13H2V9zm7 0h4v2c1-1.5 2.5-2.4 4.4-2.4 4 0 4.6 2.6 4.6 6V22h-4v-6.6c0-1.6 0-3.5-2.2-3.5S13 13.6 13 15.3V22H9V9z'/%3E%3C/svg%3E");
}

/* Hover elegante oro */
.nm-footer-social a:hover{
    color:#052d57;
    background:#c79a3b;
    border-color:#c79a3b;

    transform:translateY(-2px);

    box-shadow:
        0 6px 16px rgba(0,0,0,.14),
        0 0 0 3px rgba(199,154,59,.08);
}

/* Accessibilità tastiera */
.nm-footer-social a:focus-visible{
    outline:2px solid #c79a3b;
    outline-offset:3px;
}

/* Mobile */
@media(max-width:600px){

    .nm-footer-social{
        gap:10px;
        margin-top:15px;
    }

    .nm-footer-social a{
        width:38px;
        height:38px;
        flex-basis:38px;
    }

    .nm-footer-social a::before{
        width:16px;
        height:16px;
    }
}
/* Home no obsolete sections */
.nm-home-v078 .nm-news,
.nm-home-v078 #percorsi{
    display:none!important;
}

@media(max-width:1024px){
    .nm-home-method__grid{
        grid-template-columns:1fr 1fr;
    }
    .nm-home-method__grid article{
        border-right:0;
        border-bottom:1px solid #dce6ee;
        padding-left:0!important;
    }
    .nm-home-start__grid,
    .nm-home-guides__grid{
        grid-template-columns:1fr;
    }
    .nm-home-principle__grid{
        grid-template-columns:1fr;
    }
    .nm-home-anief__inner{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    .nm-home-method,
    .nm-home-start,
    .nm-home-principle,
    .nm-home-guides{
        padding:54px 0;
    }
    .nm-home-method__grid{
        grid-template-columns:1fr;
    }
    .nm-home-method__grid article{
        min-height:0;
    }
    .nm-home-start h2,
    .nm-home-method__intro h2{
        font-size:35px;
    }
    .nm-home-start__card{
        min-height:0;
        grid-template-columns:44px minmax(0,1fr) auto;
        padding:22px 19px;
    }
    .nm-home-principle__flow{
        grid-template-columns:1fr;
    }
    .nm-home-principle__flow i{
        transform:rotate(90deg);
        justify-self:center;
    }
    .nm-home-final__inner{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* =========================================================
   v0.79 — HERO HOME
   ========================================================= */
.nm-home-v078 .nm-hero__copy > .nm-eyebrow:empty{
    display:none!important;
}
.nm-home-v078 .nm-hero__copy h1{
    margin-top:0!important;
}

/* =========================================================
   v0.79 — GUIDE E AGGIORNAMENTI
   ========================================================= */
.nm-guides-hero{
    padding:76px 0 64px;
    background:linear-gradient(90deg,#f3f7fa 0%,#fffaf1 100%);
}
.nm-guides-hero h1{
    max-width:930px;
    margin:8px 0 15px;
    font-family:Georgia,serif;
    font-size:52px;
    line-height:1.04;
    font-weight:500;
    color:#073e70;
}
.nm-guides-hero p{
    max-width:900px;
    color:#667f93;
    font-size:18px;
    line-height:1.68;
}
.nm-guides-hero--category{
    padding-top:55px;
}
.nm-guide-back{
    display:inline-flex;
    margin-bottom:24px;
    color:#567189;
    font-weight:700;
    font-size:13px;
    text-decoration:none;
}

.nm-guides-index{
    padding:58px 0 76px;
    background:#f6f8fa;
}
.nm-guides-filters{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:30px;
}
.nm-guides-filters a{
    padding:10px 14px;
    border:1px solid #dbe5ec;
    border-radius:999px;
    background:#fff;
    color:#073e70;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}
.nm-guides-filters a.is-active{
    background:#073e70;
    color:#fff;
    border-color:#073e70;
}

.nm-guides-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:17px;
}
.nm-guide-card{
    display:flex;
    flex-direction:column;
    min-height:100%;
    border:1px solid #dce6ee;
    border-radius:17px;
    overflow:hidden;
    background:#fff;
}
.nm-guide-card__media{
    display:block;
    height:210px;
    overflow:hidden;
}
.nm-guide-card__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.nm-guide-card__body{
    padding:25px;
}
.nm-guide-card__meta{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:13px;
    color:#a67318;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.nm-guide-card h2{
    margin:0 0 11px;
    font-family:Georgia,serif;
    font-size:25px;
    line-height:1.2;
    font-weight:500;
}
.nm-guide-card h2 a{
    color:#073e70;
    text-decoration:none;
}
.nm-guide-card p{
    color:#687f93;
    font-size:14px;
    line-height:1.58;
}
.nm-guide-card__more{
    display:inline-flex;
    gap:7px;
    margin-top:10px;
    color:#073e70;
    font-weight:800;
    text-decoration:none;
}
.nm-guides-pagination{
    margin-top:35px;
}
.nm-guides-pagination .nav-links{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.nm-guides-pagination .page-numbers{
    display:inline-flex;
    min-width:38px;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:7px 10px;
    border:1px solid #dce6ee;
    border-radius:9px;
    background:#fff;
    color:#073e70;
    text-decoration:none;
}
.nm-guides-pagination .current{
    background:#073e70;
    color:#fff;
}
.nm-guides-empty{
    padding:45px;
    border:1px solid #dce6ee;
    border-radius:17px;
    background:#fff;
}
.nm-guides-empty h2{
    margin:7px 0 10px;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:30px;
    font-weight:500;
}

/* Home guide cards */
.nm-home-guides__cat{
    display:inline-block;
    margin:9px 0 0;
    color:#a67318;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* Single article */
.nm-guide-article__hero{
    padding:58px 0 48px;
    background:linear-gradient(90deg,#f3f7fa 0%,#fffaf1 100%);
}
.nm-guide-article__hero h1{
    max-width:1050px;
    margin:8px 0 18px;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:50px;
    line-height:1.08;
    font-weight:500;
}
.nm-guide-article__meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    color:#70869a;
    font-size:12px;
}
.nm-guide-article__lead{
    max-width:900px;
    margin-top:20px;
    color:#5f788e;
    font-size:19px;
    line-height:1.62;
}
.nm-guide-article__featured{
    margin-top:34px;
}
.nm-guide-article__featured img{
    width:100%;
    max-height:520px;
    object-fit:cover;
    border-radius:18px;
}
.nm-guide-article__layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 290px;
    gap:55px;
    align-items:start;
    padding-top:48px;
    padding-bottom:78px;
}
.nm-guide-content{
    color:#364d61;
    font-size:17px;
    line-height:1.78;
}
.nm-guide-content h2,
.nm-guide-content h3{
    font-family:Georgia,serif;
    color:#073e70;
    font-weight:500;
}
.nm-guide-content h2{
    margin-top:40px;
    font-size:31px;
}
.nm-guide-content h3{
    margin-top:30px;
    font-size:24px;
}
.nm-guide-content a{
    color:#075b95;
}
.nm-guide-content ul,
.nm-guide-content ol{
    padding-left:24px;
}

.nm-guide-summary{
    margin-bottom:32px;
    padding:26px 28px;
    border-left:3px solid #d3a03b;
    border-radius:12px;
    background:#f7f3e9;
}
.nm-guide-summary p,
.nm-guide-note p{
    margin:7px 0 0;
    color:#5f778b;
    line-height:1.65;
}

.nm-guide-checks{
    margin-top:45px;
    padding-top:35px;
    border-top:1px solid #dce6ee;
}
.nm-guide-checks h2{
    margin:8px 0 18px;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:30px;
    font-weight:500;
}
.nm-guide-checks__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px;
}
.nm-guide-checks__grid>div{
    min-height:95px;
    padding:19px;
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid #dce6ee;
    border-radius:12px;
}
.nm-guide-checks__grid span{
    display:grid;
    place-items:center;
    width:35px;
    height:35px;
    flex:0 0 35px;
    border-radius:9px;
    background:#edf4f8;
    color:#0b5b91;
}
.nm-guide-checks__grid strong{
    color:#073e70;
    line-height:1.4;
}
.nm-guide-note{
    margin-top:35px;
    padding:26px 28px;
    border-radius:13px;
    background:#edf4f8;
}
.nm-guide-cta{
    margin-top:45px;
    padding:30px;
    border-radius:17px;
    background:#073e70;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}
.nm-guide-cta h2{
    margin:6px 0 8px;
    font-family:Georgia,serif;
    color:#fff;
    font-size:29px;
    font-weight:500;
}
.nm-guide-cta p{
    max-width:680px;
    margin:0;
    color:#d6e4ed;
    line-height:1.55;
}
.nm-guide-sidebox{
    position:sticky;
    top:110px;
    padding:25px;
    border:1px solid #dce6ee;
    border-radius:15px;
    background:#fff;
}
.nm-guide-sidebox h3{
    margin:7px 0 10px;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:23px;
    font-weight:500;
}
.nm-guide-sidebox p{
    color:#687f93;
    font-size:14px;
    line-height:1.58;
}
.nm-guide-sidebox a{
    color:#073e70;
    font-weight:800;
    text-decoration:none;
}

@media(max-width:980px){
    .nm-guides-grid{
        grid-template-columns:1fr 1fr;
    }
    .nm-guide-article__layout{
        grid-template-columns:1fr;
    }
    .nm-guide-article__side{
        display:none;
    }
}

@media(max-width:680px){
    .nm-guides-hero h1,
    .nm-guide-article__hero h1{
        font-size:38px;
    }
    .nm-guides-grid,
    .nm-guide-checks__grid{
        grid-template-columns:1fr;
    }
    .nm-guide-cta{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* v0.80 — Contatti */
.nm-contact-page__hero{padding:68px 0 58px;background:linear-gradient(90deg,#f3f7fa,#fffaf1)}.nm-contact-page__hero h1{max-width:850px;margin:8px 0 15px;font-family:Georgia,serif;color:#073e70;font-size:52px;line-height:1.04;font-weight:500}.nm-contact-page__hero p{max-width:900px;color:#657d91;font-size:18px;line-height:1.68}
.nm-contact-page__main{padding:58px 0 72px;background:#f6f8fa}.nm-contact-page__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px;align-items:start}.nm-contact-page__form-wrap,.nm-contact-direct,.nm-contact-location{border:1px solid #dce6ee;border-radius:18px;background:#fff}.nm-contact-page__form-wrap{padding:34px}.nm-contact-page__section-head{max-width:780px;margin-bottom:27px}.nm-contact-page__section-head h2,.nm-contact-direct h2,.nm-contact-prep h2,.nm-contact-institution h2{font-family:Georgia,serif;color:#073e70;font-weight:500;line-height:1.1}.nm-contact-page__section-head h2{font-size:35px;margin:7px 0 11px}.nm-contact-page__section-head p,.nm-contact-direct>p{color:#687f93;line-height:1.62}
.nm-contact-page__form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.nm-contact-page__form label{display:block}.nm-contact-page__form label>span{display:block;margin-bottom:7px;color:#37526a;font-size:13px;font-weight:800}.nm-contact-page__form input[type=text],.nm-contact-page__form input[type=email],.nm-contact-page__form input[type=tel],.nm-contact-page__form select,.nm-contact-page__form textarea{width:100%;border:1px solid #cfdae3;border-radius:11px;background:#fff;padding:13px 14px;color:#203b51;font:inherit}.nm-contact-page__message{margin-top:17px}.nm-contact-page__privacy{display:grid!important;grid-template-columns:18px 1fr;gap:10px;align-items:start;margin:18px 0}.nm-contact-page__privacy span{margin:0!important;color:#687f93!important;font-size:12px!important;font-weight:500!important;line-height:1.5}
.nm-contact-success{display:flex;gap:14px;margin-bottom:22px;padding:18px;border:1px solid #cde3d4;border-radius:12px;background:#eef8f1}.nm-contact-success>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#2d7c4d;color:#fff}.nm-contact-success h3{margin:0 0 5px;color:#184f31}.nm-contact-success p{margin:0;color:#50705e;line-height:1.5}
.nm-contact-page__aside{display:grid;gap:18px}.nm-contact-direct{padding:28px}.nm-contact-direct h2{font-size:30px;margin:7px 0 10px}.nm-contact-direct__list{display:grid;gap:10px;margin-top:22px}.nm-contact-direct__item{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:13px;align-items:center;padding:16px;border:1px solid #dce6ee;border-radius:12px;color:#073e70;text-decoration:none}.nm-contact-direct__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#edf4f8;color:#0b5b91}.nm-contact-direct__item strong,.nm-contact-direct__item small{display:block}.nm-contact-direct__item small{color:#6a8093;font-size:12px;overflow-wrap:anywhere}.nm-contact-direct__item>b{color:#b27a16;font-size:19px}.nm-contact-direct__hours{margin-top:18px;padding-top:17px;border-top:1px solid #e5ebf0;display:grid;gap:5px}
.nm-contact-location{padding:26px;background:#fbf7ee;border-color:#eadcbc}.nm-contact-location h3{margin:7px 0 8px;font-family:Georgia,serif;color:#073e70;font-size:24px;font-weight:500}.nm-contact-location p{color:#687f93;line-height:1.55}
.nm-contact-prep{padding:70px 0;background:#fff}.nm-contact-prep__head{max-width:860px}.nm-contact-prep h2{font-size:38px;margin:8px 0}.nm-contact-prep__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.nm-contact-prep__grid article{padding:26px;min-height:210px;border:1px solid #dce6ee;border-radius:15px}.nm-contact-prep__grid article:nth-child(2){background:#fbf7ee}.nm-contact-prep__grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#edf4f8;color:#0b5b91}.nm-contact-prep__grid h3{margin:20px 0 10px;font-family:Georgia,serif;color:#073e70;font-size:22px;font-weight:500}.nm-contact-prep__grid p{color:#687f93;line-height:1.6}
.nm-contact-institution{padding:58px 0;background:#f4f7f9}.nm-contact-institution__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px}.nm-contact-institution h2{font-size:33px;margin:7px 0}.nm-contact-institution__data{display:grid;grid-template-columns:1fr 1fr;gap:11px}.nm-contact-institution__data>div{padding:18px;border:1px solid #dce6ee;border-radius:12px;background:#fff}.nm-contact-institution__data span,.nm-contact-institution__data strong{display:block}.nm-contact-institution__data span{margin-bottom:6px;color:#9a742c;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.nm-contact-institution__data strong{color:#073e70;font-size:14px;line-height:1.4}
@media(max-width:900px){.nm-contact-page__grid,.nm-contact-institution__grid{grid-template-columns:1fr}.nm-contact-prep__grid{grid-template-columns:1fr}}@media(max-width:640px){.nm-contact-page__hero{padding:52px 0 44px}.nm-contact-page__hero h1{font-size:39px}.nm-contact-page__main{padding:36px 0 48px}.nm-contact-page__form-wrap,.nm-contact-direct,.nm-contact-location{padding:21px;border-radius:15px}.nm-contact-page__form-grid{grid-template-columns:1fr}.nm-contact-prep{padding:52px 0}.nm-contact-prep h2{font-size:31px}.nm-contact-institution__data{grid-template-columns:1fr}}


/* =========================================================
   v0.81 — FOOTER LEGALE NOVA MENTIS
   Tutto il footer è gestito dal tema proprietario.
   ========================================================= */
.nm-footer a{
    color:inherit;
    text-decoration:none;
}
.nm-footer a:hover{
    text-decoration:underline;
    text-underline-offset:3px;
}
.nm-footer__bottom--signature{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:22px;
    align-items:center;
}
.nm-footer__copyright{
    justify-self:start;
}
.nm-footer-legal{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:0;
    font-size:11px;
}
.nm-footer-legal a{
    display:inline-flex;
    align-items:center;
    color:rgba(255,255,255,.82);
    white-space:nowrap;
}
.nm-footer-legal a+a::before{
    content:"·";
    display:inline-block;
    margin:0 9px;
    color:rgba(255,255,255,.35);
}
.nm-footer-legal a:hover{
    color:#fff;
}
.nm-theme-credit{
    justify-self:end;
}
@media(max-width:900px){
    .nm-footer__bottom--signature{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
        gap:10px;
    }
    .nm-footer__copyright,
    .nm-theme-credit{
        justify-self:center;
    }
}
@media(max-width:560px){
    .nm-footer-legal{
        gap:7px 0;
        line-height:1.5;
    }
}

/* v0.82 — Pagine legali integrate nel tema Nova Mentis */
.nm-legal-page{background:#f4f7fa}
.nm-legal-hero{background:#eaf0f5;padding:54px 0;text-align:center;border-bottom:1px solid #dde6ee}
.nm-legal-hero h1{margin:0;color:#071f3b;font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4vw,54px);font-weight:500}
.nm-legal-main{padding:64px 0 80px}
.nm-legal-card{max-width:980px;margin:0 auto;background:#fff;border:1px solid #e5ebf0;border-radius:14px;padding:52px 58px;box-shadow:0 14px 35px rgba(4,31,60,.06);color:#26384a}
.nm-legal-card h2,.nm-legal-card h3,.nm-legal-card h4{color:#071f3b;margin-top:34px;margin-bottom:12px;line-height:1.2}
.nm-legal-card h2:first-child,.nm-legal-card h3:first-child{margin-top:0}
.nm-legal-card p,.nm-legal-card li{font-size:15px;line-height:1.8}
.nm-legal-card a{color:#0b5da8;text-decoration:underline;text-underline-offset:2px}
.nm-legal-card table{width:100%;border-collapse:collapse;margin:24px 0}
.nm-legal-card th,.nm-legal-card td{padding:12px;border:1px solid #dfe7ee;text-align:left}
.nm-legal-card .cmplz-document{max-width:none!important;margin:0!important;padding:0!important}
@media(max-width:760px){.nm-legal-hero{padding:38px 0}.nm-legal-main{padding:28px 0 48px}.nm-legal-card{padding:28px 22px;border-radius:10px}}


/* v0.85 — Preferenze cookie come controllo, visivamente identico ai link footer */
.nm-footer-legal .nm-cookie-preferences{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    padding:0;
    margin:0;
    background:transparent;
    color:rgba(255,255,255,.82);
    font:inherit;
    line-height:inherit;
    cursor:pointer;
    text-decoration:none;
}
.nm-footer-legal .nm-cookie-preferences:hover{
    color:#fff;
    text-decoration:underline;
    text-underline-offset:3px;
}
.nm-footer-legal .nm-cookie-preferences::before{
    content:"·";
    display:inline-block;
    margin:0 9px;
    color:rgba(255,255,255,.35);
    text-decoration:none;
}


/* =========================================================
   v0.86 — FOOTER DEFINITIVO
   ========================================================= */
.nm-footer-contact{
    margin:0;
    font-style:normal;
    line-height:1.72;
}
.nm-footer-contact strong{
    color:#fff;
}
.nm-footer__tax{
    justify-self:center;
    color:rgba(255,255,255,.72);
    font-size:11px;
}
.nm-footer__bottom--signature{
    grid-template-columns:1fr auto 1fr;
}
.nm-theme-credit strong{
    color:#d6a43b;
    font-weight:700;
}
@media(max-width:900px){
    .nm-footer__tax{
        justify-self:center;
    }
}

/* =========================================================
   v0.86 — CHI SIAMO
   ========================================================= */
.nm-about-hero{
    padding:78px 0 68px;
    background:linear-gradient(90deg,#f3f7fa 0%,#fffaf1 100%);
}
.nm-about-hero h1{
    max-width:900px;
    margin:8px 0 16px;
    font-family:Georgia,serif;
    font-size:54px;
    line-height:1.04;
    font-weight:500;
    color:#073e70;
}
.nm-about-hero p{
    max-width:900px;
    font-size:18px;
    line-height:1.7;
    color:#657d91;
}
.nm-about-intro,.nm-about-people{
    padding:72px 0;
    background:#fff;
}
.nm-about-split{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:60px;
    align-items:start;
}
.nm-about-split h2,
.nm-about-idea h2,
.nm-about-method h2{
    margin:8px 0 0;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:39px;
    line-height:1.12;
    font-weight:500;
}
.nm-about-split p,
.nm-about-idea p{
    margin:0;
    color:#667f93;
    font-size:17px;
    line-height:1.75;
}
.nm-about-idea{
    padding:72px 0;
    background:#f4f7f9;
}
.nm-about-idea .nm-container{
    max-width:980px;
}
.nm-about-idea p{
    margin-top:18px;
}
.nm-about-method{
    padding:72px 0;
    background:#fff;
}
.nm-about-method__head{
    max-width:800px;
}
.nm-about-method__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
    margin-top:32px;
}
.nm-about-method__grid article{
    min-height:220px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#fff;
}
.nm-about-method__grid article:nth-child(2){
    background:#fbf7ee;
    border-color:#eadcbc;
}
.nm-about-method__grid span{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:11px;
    background:#edf4f8;
    color:#0b5b91;
}
.nm-about-method__grid h3{
    margin:20px 0 10px;
    font-family:Georgia,serif;
    color:#073e70;
    font-size:24px;
    font-weight:500;
}
.nm-about-method__grid p{
    color:#687f93;
    line-height:1.62;
}
.nm-about-people{
    background:#f4f7f9;
}
@media(max-width:900px){
    .nm-about-split,
    .nm-about-method__grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:640px){
    .nm-about-hero{
        padding:54px 0 46px;
    }
    .nm-about-hero h1{
        font-size:40px;
    }
    .nm-about-intro,
    .nm-about-idea,
    .nm-about-method,
    .nm-about-people{
        padding:52px 0;
    }
    .nm-about-split h2,
    .nm-about-idea h2,
    .nm-about-method h2{
        font-size:31px;
    }
}


/* =========================================================
   v0.88 — FOOTER: TIPOGRAFIA UNIFORME
   ========================================================= */
.nm-footer{
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:rgba(232,239,246,.82);
}
.nm-footer__grid{
    align-items:start;
    gap:52px;
}
.nm-footer h3,
.nm-footer__brand p,
.nm-footer__grid p,
.nm-footer__grid a,
.nm-footer-contact,
.nm-footer-contact strong{
    font-family:inherit;
    font-style:normal;
}
.nm-footer h3{
    margin:0 0 17px;
    color:#fff;
    font-size:15px;
    line-height:1.35;
    font-weight:750;
    letter-spacing:0;
}
.nm-footer__brand p,
.nm-footer__grid p,
.nm-footer__grid a,
.nm-footer-contact{
    font-size:14px;
    line-height:1.72;
    font-weight:450;
    letter-spacing:0;
}
.nm-footer__grid a{
    color:rgba(232,239,246,.82);
}
.nm-footer__grid a:hover{
    color:#fff;
}
.nm-footer-contact strong{
    display:inline-block;
    margin-bottom:4px;
    color:#fff;
    font-size:14px;
    line-height:1.5;
    font-weight:750;
}
.nm-footer__bottom--signature{
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    gap:24px!important;
    align-items:center!important;
    padding-top:20px!important;
    padding-bottom:4px!important;
    font-family:inherit!important;
    font-size:11.5px!important;
    line-height:1.45!important;
    color:rgba(221,232,242,.62)!important;
}
.nm-footer__copyright,
.nm-footer__tax,
.nm-theme-credit,
.nm-theme-credit strong{
    font-family:inherit!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-style:normal!important;
    font-weight:450!important;
    letter-spacing:0!important;
    color:inherit!important;
}
.nm-footer__copyright{justify-self:start}
.nm-footer__tax{justify-self:center}
.nm-theme-credit{
    display:block!important;
    justify-self:end;
}
.nm-theme-credit strong{
    font-weight:650!important;
    color:rgba(236,242,248,.82)!important;
}
@media(max-width:900px){
    .nm-footer__grid{gap:34px}
    .nm-footer__bottom--signature{
        grid-template-columns:1fr!important;
        justify-items:center!important;
        text-align:center;
        gap:8px!important;
    }
    .nm-footer__copyright,.nm-footer__tax,.nm-theme-credit{
        justify-self:center!important;
    }
}
@media(max-width:760px){
    .nm-footer__bottom--signature{
        align-items:center!important;
    }
}

/* =========================================================
   v0.88 — CHI SIAMO: RESTYLING EDITORIALE
   ========================================================= */
.nm-about-page{
    --nm-about-blue:#073e70;
    --nm-about-blue-deep:#052d57;
    --nm-about-gold:#c79a3b;
    --nm-about-ink:#18324a;
    --nm-about-muted:#667f93;
    --nm-about-line:#dce6ee;
}
.nm-about-page main{
    overflow:hidden;
}
.nm-about-page .nm-eyebrow{
    font-size:11px;
    line-height:1.2;
    letter-spacing:.18em;
    font-weight:800;
    color:var(--nm-about-gold);
}
.nm-about-hero{
    position:relative;
    padding:84px 0 78px;
    background:
      radial-gradient(circle at 77% 40%,rgba(199,154,59,.11),transparent 25%),
      linear-gradient(100deg,#f4f8fb 0%,#fffaf2 100%);
}
.nm-about-hero::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(7,62,112,.12),transparent);
}
.nm-about-hero__inner{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
    gap:70px;
    align-items:center;
}
.nm-about-hero__copy h1{
    max-width:850px;
    margin:12px 0 18px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:56px;
    line-height:1.04;
    letter-spacing:-.025em;
    font-weight:500;
    color:var(--nm-about-blue);
}
.nm-about-hero__copy p{
    max-width:830px;
    margin:0;
    color:var(--nm-about-muted);
    font-size:17px;
    line-height:1.78;
}
.nm-about-hero__visual{
    position:relative;
    width:300px;
    height:300px;
    justify-self:end;
}
.nm-about-monogram{
    position:absolute;
    inset:50% auto auto 50%;
    transform:translate(-50%,-50%);
    font-family:Georgia,"Times New Roman",serif;
    font-size:112px;
    line-height:1;
    color:var(--nm-about-blue);
    opacity:.9;
}
.nm-about-orbit{
    position:absolute;
    border:1px solid rgba(7,62,112,.16);
    border-radius:50%;
}
.nm-about-orbit--one{inset:28px}
.nm-about-orbit--two{inset:65px;border-color:rgba(199,154,59,.35)}
.nm-about-dot{
    position:absolute;
    width:10px;height:10px;
    border-radius:50%;
    background:var(--nm-about-gold);
    box-shadow:0 0 0 7px rgba(199,154,59,.10);
}
.nm-about-dot--a{top:47px;right:63px}
.nm-about-dot--b{left:26px;bottom:91px;background:var(--nm-about-blue)}
.nm-about-dot--c{right:27px;bottom:51px;width:6px;height:6px}

.nm-about-intro,
.nm-about-people{
    padding:76px 0;
    background:#fff;
}
.nm-about-panel{
    position:relative;
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:70px;
    padding:46px 50px;
    border:1px solid var(--nm-about-line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 16px 50px rgba(7,62,112,.055);
}
.nm-about-panel::before{
    content:"";
    position:absolute;
    left:0;
    top:40px;
    bottom:40px;
    width:4px;
    border-radius:0 5px 5px 0;
    background:linear-gradient(var(--nm-about-gold),#e1bf72);
}
.nm-about-panel h2,
.nm-about-idea h2,
.nm-about-method h2{
    margin:11px 0 0;
    font-family:Georgia,"Times New Roman",serif;
    color:var(--nm-about-blue);
    font-size:39px;
    line-height:1.12;
    letter-spacing:-.018em;
    font-weight:500;
}
.nm-about-panel__text{
    align-self:center;
}
.nm-about-panel__text p,
.nm-about-idea p{
    margin:0;
    color:var(--nm-about-muted);
    font-size:16px;
    line-height:1.82;
}

.nm-about-idea{
    padding:78px 0;
    background:#f4f7f9;
}
.nm-about-idea .nm-container{
    max-width:1100px;
}
.nm-about-idea__card{
    display:grid;
    grid-template-columns:145px minmax(0,1fr);
    gap:42px;
    align-items:center;
    padding:44px 48px;
    border-radius:22px;
    border:1px solid rgba(7,62,112,.08);
    background:linear-gradient(135deg,#fff 0%,#fffaf1 100%);
    box-shadow:0 16px 50px rgba(7,62,112,.05);
}
.nm-about-idea__symbol{
    position:relative;
    width:120px;
    height:120px;
    border-radius:50%;
    border:1px solid rgba(7,62,112,.15);
    background:#f5f9fc;
}
.nm-about-idea__symbol::before,
.nm-about-idea__symbol::after,
.nm-about-idea__symbol span{
    content:"";
    position:absolute;
    border-radius:50%;
}
.nm-about-idea__symbol::before{
    inset:24px;
    border:1px solid rgba(199,154,59,.45);
}
.nm-about-idea__symbol::after{
    width:12px;height:12px;
    left:54px;top:54px;
    background:var(--nm-about-blue);
}
.nm-about-idea__symbol span:nth-child(1){width:7px;height:7px;left:16px;top:54px;background:var(--nm-about-gold)}
.nm-about-idea__symbol span:nth-child(2){width:7px;height:7px;right:16px;top:54px;background:var(--nm-about-gold)}
.nm-about-idea__symbol span:nth-child(3){width:7px;height:7px;left:56px;bottom:16px;background:var(--nm-about-gold)}
.nm-about-idea p{margin-top:18px}

.nm-about-method{
    position:relative;
    padding:82px 0;
    background:#fff;
}
.nm-about-method__head{
    max-width:780px;
    margin-bottom:34px;
}
.nm-about-method__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin-top:0;
}
.nm-about-method__grid article{
    position:relative;
    overflow:hidden;
    min-height:265px;
    padding:30px 30px 28px;
    border:1px solid var(--nm-about-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 32px rgba(7,62,112,.045);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nm-about-method__grid article:hover{
    transform:translateY(-3px);
    border-color:rgba(7,62,112,.22);
    box-shadow:0 18px 40px rgba(7,62,112,.08);
}
.nm-about-method__grid article:nth-child(2){
    background:linear-gradient(145deg,#fffaf0,#fff);
    border-color:#eadcbc;
}
.nm-about-method__grid article::after{
    content:"";
    position:absolute;
    width:130px;height:130px;
    right:-72px;bottom:-72px;
    border-radius:50%;
    border:1px solid rgba(7,62,112,.08);
}
.nm-about-method__icon{
    display:grid!important;
    place-items:center;
    width:48px!important;
    height:48px!important;
    border-radius:13px!important;
    background:#edf4f8!important;
    color:var(--nm-about-blue)!important;
}
.nm-about-method__icon svg{
    width:28px;
    height:28px;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.nm-about-method__num{
    position:absolute;
    right:24px;
    top:21px;
    color:rgba(7,62,112,.15);
    font-family:Georgia,"Times New Roman",serif;
    font-size:28px;
}
.nm-about-method__grid h3{
    margin:23px 0 10px;
    font-family:Georgia,"Times New Roman",serif;
    color:var(--nm-about-blue);
    font-size:25px;
    line-height:1.15;
    font-weight:500;
}
.nm-about-method__grid p{
    margin:0;
    color:var(--nm-about-muted);
    font-size:15px;
    line-height:1.7;
}

.nm-about-people{
    background:#f4f7f9;
}
.nm-about-panel--people{
    background:linear-gradient(135deg,#fff 0%,#f8fbfd 100%);
}
.nm-about-panel--people::after{
    content:"";
    position:absolute;
    right:34px;
    top:34px;
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid rgba(199,154,59,.35);
    box-shadow:-18px 18px 0 -10px rgba(7,62,112,.08);
}
.nm-about-page .nm-home-final{
    position:relative;
    overflow:hidden;
}
.nm-about-page .nm-home-final::after{
    content:"";
    position:absolute;
    width:220px;height:220px;
    right:7%;top:50%;
    transform:translateY(-50%);
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    pointer-events:none;
}
.nm-about-page .nm-home-final__inner{
    position:relative;
    z-index:1;
}

@media(max-width:980px){
    .nm-about-hero__inner{
        grid-template-columns:1fr;
        gap:30px;
    }
    .nm-about-hero__visual{
        display:none;
    }
    .nm-about-panel{
        grid-template-columns:1fr;
        gap:24px;
        padding:38px 38px;
    }
    .nm-about-idea__card{
        grid-template-columns:110px 1fr;
        padding:38px;
    }
    .nm-about-idea__symbol{
        width:100px;height:100px;
    }
}
@media(max-width:760px){
    .nm-about-hero{
        padding:58px 0 50px;
    }
    .nm-about-hero__copy h1{
        font-size:41px;
    }
    .nm-about-intro,.nm-about-idea,.nm-about-method,.nm-about-people{
        padding:54px 0;
    }
    .nm-about-panel{
        padding:30px 26px;
        border-radius:16px;
    }
    .nm-about-panel h2,
    .nm-about-idea h2,
    .nm-about-method h2{
        font-size:31px;
    }
    .nm-about-idea__card{
        grid-template-columns:1fr;
        gap:24px;
        padding:30px 26px;
    }
    .nm-about-idea__symbol{
        width:82px;height:82px;
    }
    .nm-about-method__grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   v0.89 — FOOTER CONTENT-DRIVEN
   Nessun "buco" verticale quando un dato viene svuotato dal backend.
   ========================================================= */
.nm-footer__grid > div{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.nm-footer__grid > div > h3{
    margin-bottom:14px;
}
.nm-footer__grid > div > p,
.nm-footer__grid > div > address{
    margin:0;
}
.nm-footer-contact{
    display:flex;
    flex-direction:column;
    gap:0;
}
.nm-footer-contact br{
    display:none;
}
.nm-footer-contact > strong,
.nm-footer-contact > a{
    margin:0;
}
.nm-footer-contact > strong:empty,
.nm-footer-contact > a:empty{
    display:none;
}
.nm-footer-contact > strong{
    margin-bottom:0;
}
.nm-footer-contact > strong + br{
    display:none;
}


/* =========================================================
   v0.90 — CHI SIAMO: IDENTITÀ ISTITUZIONALE
   ========================================================= */
.nm-about-identity{
    padding:82px 0;
    background:#fff;
}
.nm-about-identity__shell{
    display:grid;
    grid-template-columns:minmax(0,.88fr) minmax(480px,1.12fr);
    gap:70px;
    align-items:center;
}
.nm-about-identity__intro h2{
    max-width:520px;
    margin:11px 0 18px;
    font-family:Georgia,"Times New Roman",serif;
    color:var(--nm-about-blue);
    font-size:39px;
    line-height:1.12;
    letter-spacing:-.018em;
    font-weight:500;
}
.nm-about-identity__intro p{
    max-width:540px;
    margin:0;
    color:var(--nm-about-muted);
    font-size:16px;
    line-height:1.8;
}
.nm-about-identity__card{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:116px minmax(0,1fr);
    gap:30px;
    align-items:center;
    padding:38px 40px;
    border:1px solid #dce6ee;
    border-radius:22px;
    background:
        radial-gradient(circle at 100% 0%,rgba(199,154,59,.10),transparent 34%),
        linear-gradient(145deg,#f8fbfd 0%,#fff 62%,#fffaf2 100%);
    box-shadow:0 18px 50px rgba(7,62,112,.07);
}
.nm-about-identity__card::after{
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    right:-78px;
    bottom:-82px;
    border:1px solid rgba(7,62,112,.09);
    border-radius:50%;
}
.nm-about-identity__mark{
    position:relative;
    display:grid;
    place-items:center;
    width:108px;
    height:108px;
    border:1px solid rgba(7,62,112,.14);
    border-radius:50%;
    background:#fff;
}
.nm-about-identity__mark::before{
    content:"";
    position:absolute;
    inset:13px;
    border:1px solid rgba(199,154,59,.38);
    border-radius:50%;
}
.nm-about-identity__mark span{
    position:relative;
    z-index:1;
    font-family:Georgia,"Times New Roman",serif;
    font-size:48px;
    line-height:1;
    color:var(--nm-about-blue);
}
.nm-about-identity__name{
    color:var(--nm-about-blue);
    font-family:Georgia,"Times New Roman",serif;
    font-size:29px;
    line-height:1.15;
    font-weight:500;
}
.nm-about-identity__nature{
    margin-top:5px;
    color:#8295a5;
    font-size:13px;
    line-height:1.5;
}
.nm-about-identity__rows{
    display:grid;
    gap:0;
    margin-top:22px;
    border-top:1px solid rgba(7,62,112,.10);
}
.nm-about-identity__rows > div{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:16px;
    padding:12px 0;
    border-bottom:1px solid rgba(7,62,112,.08);
}
.nm-about-identity__rows span{
    color:#8a9baa;
    font-size:11px;
    line-height:1.45;
    font-weight:750;
    letter-spacing:.07em;
    text-transform:uppercase;
}
.nm-about-identity__rows strong{
    color:#3c566c;
    font-size:13px;
    line-height:1.5;
    font-weight:600;
}
@media(max-width:980px){
    .nm-about-identity__shell{
        grid-template-columns:1fr;
        gap:36px;
    }
}
@media(max-width:640px){
    .nm-about-identity{
        padding:56px 0;
    }
    .nm-about-identity__intro h2{
        font-size:31px;
    }
    .nm-about-identity__card{
        grid-template-columns:1fr;
        padding:30px 26px;
    }
    .nm-about-identity__mark{
        width:82px;
        height:82px;
    }
    .nm-about-identity__mark span{
        font-size:38px;
    }
    .nm-about-identity__rows > div{
        grid-template-columns:1fr;
        gap:4px;
    }
}
/* =========================================================
   v0.79 — HOME: Aree Formative 4 + 3
   ========================================================= */

.nm-areas{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
@media (max-width:760px){
    body.nova-mentis-home .nm-areas{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }
}
/* =========================================================
   v0.80 — HOME: allineamento definitivo immagini e icone
   ========================================================= */

.nm-areas .nm-area-card{
    grid-template-rows:auto 1fr !important;
}

.nm-areas .nm-area-card__media{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    position:relative;
    overflow:hidden;
}

.nm-areas .nm-area-card__media img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center;
    display:block;
}

/* L'icona non dipende più dall'altezza fissa della foto */
.nm-areas .nm-area-card__content{
    position:relative !important;
    padding-top:30px !important;
}

body.nova-mentis-home .nm-area-card__icon{
    top:-23px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
}
/* Certificazioni Linguistiche — foto a tutta altezza */
.nm-area-hero-v4--lang .nm-area-hero-v4__media{
    height:auto !important;
    align-self:stretch;
}

.nm-area-hero-v4--lang .nm-area-hero-v4__media img{
    height:100% !important;
}
/* British Institutes — logo verticale */
.nm-partner-tile--british-institutes{
    height:110px;
    padding:8px 18px;
}

.nm-partner-tile--british-institutes img{
    width:auto !important;
    height:auto !important;
    max-width:110px !important;
    max-height:92px !important;
    object-fit:contain;
}
/* British Institutes — logo verticale */
.nm-partner-tile--british{
    height:110px !important;
    padding:8px 18px !important;
}

.nm-partner-tile--british img{
    width:auto !important;
    height:auto !important;
    max-width:120px !important;
    max-height:94px !important;
    object-fit:contain !important;
}
/* Partner: distribuzione automatica in base al numero di enti */
.nm-partner-panel__logos{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

/* Con un solo ente evita un riquadro sproporzionatamente largo */
.nm-partner-panel__logos:has(.nm-partner-tile:only-child){
    grid-template-columns:minmax(220px,320px);
    justify-content:center;
}
@media(max-width:760px){
    body.nova-mentis-home .nm-area-card__icon{
        top:80px !important;
    }
}

/* =========================================================
   v0.91 — Guide e Orientamento
   ========================================================= */

.nm-guide-hero,
.nm-guides-archive-hero{padding:52px 0;background:#f8fafc}

.nm-guide-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:42px;align-items:center}
.nm-guide-hero__copy h1,
.nm-guides-archive-hero h1{margin:10px 0 18px;color:#0b467f;font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.02}
.nm-guide-hero__lead,
.nm-guides-archive-hero p{font-size:1.18rem;line-height:1.75;color:#64748b;max-width:800px}
.nm-guide-hero__category{display:inline-flex;margin-top:10px;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid #dbe6ef;color:#0b467f;font-weight:700}
.nm-guide-hero__meta{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:20px;color:#64748b;font-size:.92rem}
.nm-guide-hero__media img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px}

.nm-guide-body{padding:58px 0 76px}
.nm-guide-body__grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start}
.nm-guide-content{min-width:0}
.nm-guide-prose{font-size:1.08rem;line-height:1.85;color:#334155}
.nm-guide-prose h2,.nm-guide-prose h3{color:#0b467f;line-height:1.15;margin-top:1.7em}
.nm-guide-prose img{max-width:100%;height:auto;border-radius:14px}
.nm-guide-prose figure{margin:2em 0}
.nm-guide-prose blockquote{margin:2em 0;padding:20px 24px;border-left:4px solid #d5a72f;background:#f8fafc}

.nm-guide-box,.nm-guide-note{margin:0 0 28px;padding:24px;border:1px solid #dbe6ef;border-radius:16px;background:#f8fbfe}
.nm-guide-box--summary{border-top:3px solid #d5a72f}
.nm-guide-box p,.nm-guide-note p{margin:8px 0 0}
.nm-guide-box ul{margin:12px 0 0;padding-left:20px}
.nm-guide-box li{margin:8px 0}
.nm-guide-note{background:#fffaf0;border-color:#ead9aa}
.nm-guide-note strong{color:#0b467f}

.nm-guide-aside{position:sticky;top:110px}
.nm-guide-aside__card,.nm-guide-aside__related{padding:24px;border:1px solid #dbe6ef;border-radius:16px;background:#fff}
.nm-guide-aside__card h3,.nm-guide-aside__related h3{margin:8px 0 10px;color:#0b467f}
.nm-guide-aside__related{margin-top:18px}
.nm-guide-aside__related>a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e8eef4;color:#0b467f;font-weight:700;text-decoration:none}

.nm-guide-conversion{display:grid;grid-template-columns:1fr;margin-top:42px}
.nm-guide-conversion--split{grid-template-columns:repeat(2,minmax(0,1fr))}
.nm-guide-conversion__card{padding:28px;border-radius:18px;background:#0b467f;color:#fff}
.nm-guide-conversion__card h2{margin:0 0 10px;color:#fff}
.nm-guide-conversion__card p{color:#dbeafe}
.nm-guide-conversion__card--secondary{background:#f8fafc;color:#0b467f;border:1px solid #dbe6ef}
.nm-guide-conversion__card--secondary h2{color:#0b467f}
.nm-guide-conversion__card--secondary p{color:#64748b}
.nm-guide-conversion--split{gap:18px}

.nm-guides-categories,
.nm-guides-featured,
.nm-guides-all{padding:56px 0}
.nm-guides-featured{background:#f8fafc}
.nm-guides-section-head,
.nm-guides-categories__head{margin-bottom:24px}
.nm-guides-section-head h2,
.nm-guides-categories__head h2{margin:6px 0 0;color:#0b467f;font-size:clamp(2rem,4vw,3rem)}

.nm-guides-categories__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.nm-guides-categories__grid>a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:18px;border:1px solid #dbe6ef;border-radius:14px;background:#fff;text-decoration:none}
.nm-guides-categories__grid strong{color:#0b467f}
.nm-guides-categories__grid span{color:#64748b;font-size:.9rem}
.nm-guides-categories__grid b{grid-row:1/3;grid-column:2;align-self:center;color:#0b467f}

.nm-guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nm-guide-card{overflow:hidden;border:1px solid #dbe6ef;border-radius:16px;background:#fff}
.nm-guide-card__media img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.nm-guide-card__content{padding:20px}
.nm-guide-card__cat{margin-bottom:8px;color:#b57f11;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.nm-guide-card h3{margin:0 0 10px;line-height:1.25}
.nm-guide-card h3 a{color:#0b467f;text-decoration:none}
.nm-guide-card p{color:#64748b}
.nm-guides-pagination{display:flex;justify-content:space-between;gap:20px;margin-top:32px}
.nm-guides-pagination a{font-weight:700;color:#0b467f}

@media(max-width:980px){
    .nm-guide-hero__grid,
    .nm-guide-body__grid{grid-template-columns:1fr}
    .nm-guide-aside{position:static}
    .nm-guides-categories__grid,
    .nm-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:680px){
    .nm-guide-hero,
    .nm-guides-archive-hero{padding:34px 0}
    .nm-guide-body{padding:36px 0 52px}
    .nm-guide-conversion--split,
    .nm-guides-categories__grid,
    .nm-guides-grid{grid-template-columns:1fr}
    .nm-guide-hero__meta{display:grid;gap:7px}
}


/* =========================================================
   v0.92 — Raffinamento editoriale Guide e Orientamento
   ========================================================= */

.nm-guide-hero{
    position:relative;
    overflow:hidden;
    padding:64px 0 58px;
    background:
        radial-gradient(circle at 88% 8%, rgba(213,167,47,.10), transparent 25%),
        linear-gradient(180deg,#f8fbfe 0%,#f4f8fb 100%);
    border-bottom:1px solid #e3ebf2;
}
.nm-guide-hero:after{
    content:"";
    position:absolute;
    right:-110px;
    top:-170px;
    width:390px;
    height:390px;
    border:1px solid rgba(11,70,127,.08);
    border-radius:50%;
    pointer-events:none;
}
.nm-guide-hero__grid{
    position:relative;
    z-index:1;
    grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);
    gap:56px;
}
.nm-guide-hero__copy{max-width:760px}
.nm-guide-hero__copy .nm-eyebrow{
    color:#b57f11;
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.16em;
}
.nm-guide-hero__category{
    margin:16px 0 0;
    padding:7px 12px;
    background:rgba(255,255,255,.82);
    border:1px solid #d8e4ee;
    box-shadow:0 4px 14px rgba(11,70,127,.04);
    font-size:.82rem;
}
.nm-guide-hero__copy h1{
    max-width:820px;
    margin:18px 0 18px;
    color:#073e72;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(2.7rem,5vw,4.65rem);
    font-weight:500;
    letter-spacing:-.035em;
    line-height:1.02;
}
.nm-guide-hero__lead{
    max-width:690px;
    margin:0;
    color:#526b82;
    font-size:1.14rem;
    line-height:1.72;
}
.nm-guide-hero__meta{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid #dce6ee;
    color:#718397;
    font-size:.88rem;
}
.nm-guide-hero__meta span{display:inline-flex;align-items:center}
.nm-guide-hero__meta span+span:before{
    content:"";
    width:4px;
    height:4px;
    margin-right:20px;
    border-radius:50%;
    background:#d5a72f;
}
.nm-guide-hero__media{
    position:relative;
    padding:10px;
    border:1px solid rgba(11,70,127,.10);
    border-radius:22px;
    background:rgba(255,255,255,.72);
    box-shadow:0 22px 50px rgba(13,53,89,.10);
}
.nm-guide-hero__media:before{
    content:"";
    position:absolute;
    left:-9px;
    top:34px;
    bottom:34px;
    width:3px;
    border-radius:999px;
    background:#d5a72f;
}
.nm-guide-hero__media img{
    aspect-ratio:16/10;
    border-radius:14px;
}

.nm-guide-body{padding:72px 0 88px;background:#fff}
.nm-guide-body__grid{
    grid-template-columns:minmax(0,760px) minmax(280px,330px);
    justify-content:space-between;
    gap:64px;
}
.nm-guide-prose{
    color:#31485d;
    font-size:1.075rem;
    line-height:1.9;
}
.nm-guide-prose h2{
    margin:2.05em 0 .65em;
    color:#073e72;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.75rem,3vw,2.35rem);
    font-weight:500;
    letter-spacing:-.02em;
}
.nm-guide-prose h3{
    margin:1.7em 0 .55em;
    color:#0b467f;
    font-size:1.28rem;
}
.nm-guide-prose a{
    color:#0b467f;
    text-decoration-color:#d5a72f;
    text-underline-offset:3px;
}
.nm-guide-prose ul,.nm-guide-prose ol{padding-left:1.35em}
.nm-guide-prose li{margin:.48em 0}
.nm-guide-prose figure{
    margin:2.3em 0;
    padding:8px;
    border:1px solid #e1e9f0;
    border-radius:18px;
    background:#fff;
}
.nm-guide-prose figure img{border-radius:11px}
.nm-guide-prose figcaption{
    padding:8px 6px 2px;
    color:#7a8998;
    font-size:.84rem;
}
.nm-guide-prose blockquote{
    position:relative;
    margin:2.2em 0;
    padding:24px 26px 24px 30px;
    border:0;
    border-left:3px solid #d5a72f;
    border-radius:0 14px 14px 0;
    background:#f7fafc;
    color:#25445e;
}

.nm-guide-box,.nm-guide-note{
    position:relative;
    overflow:hidden;
    margin:0 0 30px;
    padding:27px 29px;
    border:1px solid #dce6ee;
    border-radius:15px;
    background:#f7fafc;
    box-shadow:0 8px 24px rgba(11,70,127,.035);
}
.nm-guide-box:after{
    content:"";
    position:absolute;
    right:-38px;
    top:-38px;
    width:105px;
    height:105px;
    border:1px solid rgba(11,70,127,.08);
    border-radius:50%;
}
.nm-guide-box--summary{
    border-top:1px solid #dce6ee;
    border-left:4px solid #d5a72f;
    background:linear-gradient(135deg,#fbfcfd 0%,#f4f8fb 100%);
}
.nm-guide-box .nm-eyebrow{
    color:#b57f11;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.15em;
}
.nm-guide-box p,.nm-guide-note p{line-height:1.75}
.nm-guide-box ul{list-style:none;padding-left:0}
.nm-guide-box li{
    position:relative;
    padding-left:25px;
}
.nm-guide-box li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:#b57f11;
    font-weight:800;
}
.nm-guide-note{
    border-color:#eadfbe;
    background:#fffaf0;
}
.nm-guide-note strong{
    display:block;
    margin-bottom:7px;
    color:#8b620e;
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.nm-guide-aside{top:104px}
.nm-guide-aside__card,.nm-guide-aside__related{
    padding:26px;
    border:1px solid #dce6ee;
    border-radius:15px;
    box-shadow:0 12px 30px rgba(11,70,127,.045);
}
.nm-guide-aside__card{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#0b467f 0%,#083b6c 100%);
    color:#fff;
}
.nm-guide-aside__card:after{
    content:"";
    position:absolute;
    right:-45px;
    top:-45px;
    width:125px;
    height:125px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:50%;
}
.nm-guide-aside__card .nm-eyebrow{color:#e3b63e}
.nm-guide-aside__card h3{color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;font-weight:500}
.nm-guide-aside__card p{color:#d9e7f3;line-height:1.65}
.nm-guide-aside__card .nm-text-link{color:#fff}
.nm-guide-aside__related{background:#fff}
.nm-guide-aside__related .nm-eyebrow{color:#b57f11}
.nm-guide-aside__related>a{
    padding:14px 0;
    color:#174d7d;
    line-height:1.35;
    transition:transform .18s ease,color .18s ease;
}
.nm-guide-aside__related>a:hover{transform:translateX(3px);color:#b57f11}

.nm-guide-conversion{
    margin-top:48px;
    gap:18px;
}
.nm-guide-conversion__card{
    position:relative;
    overflow:hidden;
    padding:34px;
    border-radius:17px;
    background:linear-gradient(135deg,#0b467f 0%,#073865 100%);
    box-shadow:0 18px 40px rgba(11,70,127,.12);
}
.nm-guide-conversion__card:after{
    content:"";
    position:absolute;
    right:-55px;
    top:-70px;
    width:180px;
    height:180px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:50%;
}
.nm-guide-conversion__card h2{
    position:relative;
    z-index:1;
    max-width:560px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.7rem,3vw,2.2rem);
    font-weight:500;
    line-height:1.15;
}
.nm-guide-conversion__card p{
    position:relative;
    z-index:1;
    max-width:620px;
    line-height:1.7;
}
.nm-guide-conversion__card .nm-button{position:relative;z-index:1;margin-top:8px}
.nm-guide-conversion__card--secondary{
    background:#f7fafc;
    box-shadow:none;
}
.nm-guide-conversion__card--secondary:after{border-color:rgba(11,70,127,.08)}

.nm-guide-card{
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.nm-guide-card:hover{
    transform:translateY(-3px);
    border-color:#cbd9e5;
    box-shadow:0 16px 34px rgba(11,70,127,.08);
}
.nm-guide-card__cat{
    display:inline-flex;
    width:auto;
    padding:5px 9px;
    border:1px solid #eadfbe;
    border-radius:999px;
    background:#fffaf0;
    color:#9a6c0f;
    font-size:.7rem;
    letter-spacing:.09em;
}

@media(max-width:980px){
    .nm-guide-hero{padding:46px 0}
    .nm-guide-hero__grid{gap:32px}
    .nm-guide-body__grid{gap:38px}
    .nm-guide-hero__media{max-width:760px}
}

@media(max-width:680px){
    .nm-guide-hero{padding:34px 0 38px}
    .nm-guide-hero__copy h1{font-size:clamp(2.35rem,12vw,3.25rem)}
    .nm-guide-hero__lead{font-size:1.02rem}
    .nm-guide-hero__meta span+span:before{display:none}
    .nm-guide-hero__media{padding:6px;border-radius:17px}
    .nm-guide-hero__media:before{display:none}
    .nm-guide-body{padding:42px 0 58px}
    .nm-guide-box,.nm-guide-note{padding:22px}
    .nm-guide-conversion__card{padding:26px}
}
/* =========================================================
   NOVA MENTIS — HOME EDITORIAL v1.00
   1 articolo in evidenza + 4 ultimi aggiornamenti
   Sostituisce i vecchi blocchi HOME GUIDE v0.96 / v0.97 / v0.98.
   ========================================================= */

.nm-home-v078 .nm-home-editorial{
    padding:58px 0 62px;
    background:
        radial-gradient(circle at 92% 6%,rgba(199,154,59,.07),transparent 22%),
        linear-gradient(180deg,#fbfcfd 0%,#f5f8fa 100%);
    border-top:1px solid #e3e9ee;
    border-bottom:1px solid #e3e9ee;
}

.nm-home-v078 .nm-home-editorial__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:42px;
    margin-bottom:28px;
}

.nm-home-v078 .nm-home-editorial__head>div{
    max-width:800px;
}

.nm-home-v078 .nm-home-editorial__head h2{
    margin:7px 0 10px;
    font-size:clamp(34px,3.4vw,44px);
    letter-spacing:-.025em;
}

.nm-home-v078 .nm-home-editorial__head p{
    max-width:720px;
    margin:0;
    color:#687f93;
    font-size:16px;
    line-height:1.62;
}

.nm-home-v078 .nm-home-editorial__frequency{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-top:14px;
    color:#526b81;
    font-size:12px;
    font-weight:700;
}

.nm-home-v078 .nm-home-editorial__frequency>span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#c79a3b;
    box-shadow:0 0 0 4px rgba(199,154,59,.12);
}

.nm-home-v078 .nm-home-editorial__archive-link{
    flex:0 0 auto;
    margin-bottom:4px;
    white-space:nowrap;
}

.nm-home-v078 .nm-home-editorial__layout{
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr);
    gap:22px;
    align-items:stretch;
}

/* Articolo principale */
.nm-home-v078 .nm-home-editorial__featured{
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-width:0;
    border:1px solid #dbe5ed;
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 32px rgba(6,55,98,.055);
}

.nm-home-v078 .nm-home-editorial__featured-media{
    position:relative;
    display:block;
    height:315px;
    overflow:hidden;
    background:linear-gradient(135deg,#eaf0f5,#dce6ee);
    text-decoration:none;
}

.nm-home-v078 .nm-home-editorial__featured-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .55s ease;
}

.nm-home-v078 .nm-home-editorial__featured:hover .nm-home-editorial__featured-image{
    transform:scale(1.018);
}

.nm-home-v078 .nm-home-editorial__featured-fallback{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    color:rgba(7,56,109,.18);
    font:500 90px/1 Georgia,serif;
}

.nm-home-v078 .nm-home-editorial__featured-media:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(3,38,70,0) 52%,rgba(3,38,70,.14) 100%);
    pointer-events:none;
}

.nm-home-v078 .nm-home-editorial__featured-label{
    position:absolute;
    z-index:2;
    top:18px;
    left:18px;
    padding:7px 10px;
    border-radius:5px;
    background:#073e70;
    color:#fff;
    font-size:9.5px;
    font-weight:850;
    letter-spacing:.10em;
    text-transform:uppercase;
    box-shadow:0 5px 15px rgba(3,38,70,.15);
}

.nm-home-v078 .nm-home-editorial__featured-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:26px 28px 28px;
}

.nm-home-v078 .nm-home-editorial__meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px 14px;
    margin-bottom:13px;
}

.nm-home-v078 .nm-home-editorial__cat{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 8px;
    border:1px solid #eadcb8;
    border-radius:999px;
    background:#fffaf0;
    color:#966711;
    font-size:9.5px;
    font-weight:850;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.nm-home-v078 .nm-home-editorial__meta time{
    color:#8493a1;
    font-size:10px;
    font-weight:750;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.nm-home-v078 .nm-home-editorial__featured h3{
    margin:0 0 12px;
    max-width:800px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(27px,2.45vw,35px);
    font-weight:500;
    line-height:1.12;
    letter-spacing:-.024em;
}

.nm-home-v078 .nm-home-editorial__featured h3 a{
    color:#073e70;
    text-decoration:none;
}

.nm-home-v078 .nm-home-editorial__featured h3 a:hover{
    color:#0b5b91;
}

.nm-home-v078 .nm-home-editorial__featured p{
    max-width:780px;
    margin:0 0 22px;
    color:#687f93;
    font-size:14px;
    line-height:1.65;
}

.nm-home-v078 .nm-home-editorial__featured-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    margin-top:auto;
    color:#073e70;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    transition:gap .18s ease,color .18s ease;
}

.nm-home-v078 .nm-home-editorial__featured-link:hover{
    gap:11px;
    color:#b47a08;
}

/* Colonna ultimi aggiornamenti */
.nm-home-v078 .nm-home-editorial__latest{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:20px 22px 10px;
    border:1px solid #dbe5ed;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(6,55,98,.04);
}

.nm-home-v078 .nm-home-editorial__latest-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:38px;
    padding:0 2px 13px;
    border-bottom:1px solid #e7edf2;
}

.nm-home-v078 .nm-home-editorial__latest-head>span{
    color:#073e70;
    font-size:10px;
    font-weight:900;
    letter-spacing:.10em;
}

.nm-home-v078 .nm-home-editorial__latest-head>small{
    color:#91a0ae;
    font-size:10px;
}

.nm-home-v078 .nm-home-editorial__latest-list{
    display:flex;
    flex-direction:column;
}

.nm-home-v078 .nm-home-editorial__latest-item{
    display:grid;
    grid-template-columns:94px minmax(0,1fr) 24px;
    gap:15px;
    align-items:center;
    min-height:112px;
    padding:14px 2px;
    border-bottom:1px solid #e7edf2;
}

.nm-home-v078 .nm-home-editorial__latest-item:last-child{
    border-bottom:0;
}

.nm-home-v078 .nm-home-editorial__latest-thumb{
    display:block;
    width:94px;
    height:74px;
    overflow:hidden;
    border-radius:9px;
    background:linear-gradient(135deg,#edf3f7,#dce7ef);
    text-decoration:none;
}

.nm-home-v078 .nm-home-editorial__latest-thumb>span{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    color:rgba(7,56,109,.20);
    font:500 32px Georgia,serif;
}

.nm-home-v078 .nm-home-editorial__latest-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .35s ease;
}

.nm-home-v078 .nm-home-editorial__latest-item:hover .nm-home-editorial__latest-image{
    transform:scale(1.035);
}

.nm-home-v078 .nm-home-editorial__latest-copy{
    min-width:0;
}

.nm-home-v078 .nm-home-editorial__latest-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px 9px;
    margin-bottom:6px;
}

.nm-home-v078 .nm-home-editorial__latest-meta span{
    color:#a57418;
    font-size:8.5px;
    font-weight:850;
    letter-spacing:.065em;
    text-transform:uppercase;
}

.nm-home-v078 .nm-home-editorial__latest-meta time{
    color:#94a1ad;
    font-size:8.5px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.nm-home-v078 .nm-home-editorial__latest-item h3{
    margin:0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:16px;
    font-weight:500;
    line-height:1.26;
    letter-spacing:-.012em;
}

.nm-home-v078 .nm-home-editorial__latest-item h3 a{
    color:#073e70;
    text-decoration:none;
}

.nm-home-v078 .nm-home-editorial__latest-item h3 a:hover{
    color:#0b5b91;
}

.nm-home-v078 .nm-home-editorial__latest-arrow{
    display:grid;
    place-items:center;
    width:24px;
    height:30px;
    color:#b47a08;
    font-size:18px;
    text-decoration:none;
    transition:transform .18s ease,color .18s ease;
}

.nm-home-v078 .nm-home-editorial__latest-item:hover .nm-home-editorial__latest-arrow{
    color:#073e70;
    transform:translateX(2px);
}

.nm-home-v078 .nm-home-editorial__mobile-archive{
    display:none;
}

/* Tablet */
@media(max-width:1050px){
    .nm-home-v078 .nm-home-editorial__layout{
        grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
    }

    .nm-home-v078 .nm-home-editorial__featured-media{
        height:285px;
    }

    .nm-home-v078 .nm-home-editorial__latest-item{
        grid-template-columns:80px minmax(0,1fr) 20px;
        gap:12px;
    }

    .nm-home-v078 .nm-home-editorial__latest-thumb{
        width:80px;
        height:66px;
    }
}

/* Tablet verticale */
@media(max-width:860px){
    .nm-home-v078 .nm-home-editorial{
        padding:52px 0 56px;
    }

    .nm-home-v078 .nm-home-editorial__head{
        align-items:flex-start;
    }

    .nm-home-v078 .nm-home-editorial__layout{
        grid-template-columns:1fr;
    }

    .nm-home-v078 .nm-home-editorial__featured-media{
        height:340px;
    }

    .nm-home-v078 .nm-home-editorial__latest{
        padding-bottom:14px;
    }

    .nm-home-v078 .nm-home-editorial__latest-item{
        grid-template-columns:112px minmax(0,1fr) 24px;
    }

    .nm-home-v078 .nm-home-editorial__latest-thumb{
        width:112px;
        height:78px;
    }
}

/* Mobile */
@media(max-width:680px){
    .nm-home-v078 .nm-home-editorial{
        padding:46px 0 50px;
    }

    .nm-home-v078 .nm-home-editorial__head{
        flex-direction:column;
        gap:17px;
        margin-bottom:22px;
    }

    .nm-home-v078 .nm-home-editorial__archive-link{
        display:none;
    }

    .nm-home-v078 .nm-home-editorial__head h2{
        font-size:34px;
    }

    .nm-home-v078 .nm-home-editorial__head p{
        font-size:14px;
    }

    .nm-home-v078 .nm-home-editorial__frequency{
        font-size:11px;
    }

    .nm-home-v078 .nm-home-editorial__featured-media{
        height:220px;
    }

    .nm-home-v078 .nm-home-editorial__featured-body{
        padding:21px 20px 23px;
    }

    .nm-home-v078 .nm-home-editorial__featured h3{
        font-size:25px;
    }

    .nm-home-v078 .nm-home-editorial__featured p{
        font-size:13.5px;
    }

    .nm-home-v078 .nm-home-editorial__latest{
        padding:16px 16px 10px;
    }

    .nm-home-v078 .nm-home-editorial__latest-head{
        padding-bottom:11px;
    }

    .nm-home-v078 .nm-home-editorial__latest-head>small{
        display:none;
    }

    .nm-home-v078 .nm-home-editorial__latest-item{
        grid-template-columns:78px minmax(0,1fr) 18px;
        gap:11px;
        min-height:98px;
        padding:12px 0;
    }

    .nm-home-v078 .nm-home-editorial__latest-thumb{
        width:78px;
        height:64px;
        border-radius:8px;
    }

    .nm-home-v078 .nm-home-editorial__latest-item h3{
        font-size:15px;
        line-height:1.25;
    }

    .nm-home-v078 .nm-home-editorial__latest-meta{
        gap:4px 7px;
        margin-bottom:5px;
    }

    .nm-home-v078 .nm-home-editorial__latest-meta span,
    .nm-home-v078 .nm-home-editorial__latest-meta time{
        font-size:7.8px;
    }

    .nm-home-v078 .nm-home-editorial__mobile-archive{
        display:inline-flex;
        align-items:center;
        gap:8px;
        margin:14px 0 3px;
        color:#073e70;
        font-size:12px;
        font-weight:800;
        text-decoration:none;
    }
}

@media(prefers-reduced-motion:reduce){
    .nm-home-v078 .nm-home-editorial__featured-image,
    .nm-home-v078 .nm-home-editorial__latest-image,
    .nm-home-v078 .nm-home-editorial__featured-link,
    .nm-home-v078 .nm-home-editorial__latest-arrow{
        transition:none;
    }

    .nm-home-v078 .nm-home-editorial__featured:hover .nm-home-editorial__featured-image,
    .nm-home-v078 .nm-home-editorial__latest-item:hover .nm-home-editorial__latest-image{
        transform:none;
    }
}


/* =========================================================
   NOVA MENTIS — HOME METHOD
   Processo in 4 passaggi
   ========================================================= */

.nm-home-v078 .nm-home-method__grid{
    position:relative;
    gap:0;
    margin-top:28px;
}

/* linea del percorso */
.nm-home-v078 .nm-home-method__grid::before{
    content:"";
    position:absolute;
    top:22px;
    left:22px;
    right:22px;
    height:1px;
    background:rgba(16,73,121,.14);
    z-index:0;
}

/* singolo passaggio */
.nm-home-v078 .nm-home-method__grid article{
    position:relative;
    z-index:1;
    padding:0 26px 4px 0;
}

/* icona */
.nm-home-v078 .nm-home-method__grid article > span{
    position:relative;
    z-index:2;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
    background:#fff;
    border:1px solid rgba(16,73,121,.14);
    border-radius:12px;
    box-shadow:0 5px 16px rgba(16,39,66,.05);
}

/* numerazione */
.nm-home-v078 .nm-home-method__grid article::after{
    position:absolute;
    top:13px;
    right:22px;
    font-size:11px;
    line-height:1;
    font-weight:800;
    letter-spacing:.12em;
    color:rgba(7,62,112,.38);
    background:#f4f8fb;
    padding:3px 6px;
}

.nm-home-v078 .nm-home-method__grid article:nth-child(1)::after{
    content:"01";
}

.nm-home-v078 .nm-home-method__grid article:nth-child(2)::after{
    content:"02";
}

.nm-home-v078 .nm-home-method__grid article:nth-child(3)::after{
    content:"03";
}

.nm-home-v078 .nm-home-method__grid article:nth-child(4)::after{
    content:"04";
}

.nm-home-v078 .nm-home-method__grid article h3{
    margin:0 0 7px;
    font-size:17px;
    line-height:1.25;
}

.nm-home-v078 .nm-home-method__grid article p{
    margin:0;
    max-width:245px;
    line-height:1.55;
}

/* tablet */
@media(max-width:900px){

    .nm-home-v078 .nm-home-method__grid{
        gap:22px;
    }

    .nm-home-v078 .nm-home-method__grid::before{
        display:none;
    }

    .nm-home-v078 .nm-home-method__grid article{
        padding-right:12px;
    }
}

/* mobile */
@media(max-width:680px){

    .nm-home-v078 .nm-home-method__grid{
        margin-top:24px;
    }

    .nm-home-v078 .nm-home-method__grid article > span{
        width:42px;
        height:42px;
        margin-bottom:12px;
    }

    .nm-home-v078 .nm-home-method__grid article::after{
        right:8px;
    }
}
/* =========================================================
   FORM CONTATTI — PRIVACY
   ========================================================= */

.nm-contact-form__privacy {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    margin: 22px 0 26px;
    cursor: pointer;
}

.nm-contact-form__privacy input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
}

.nm-contact-form__privacy span {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #123e69;
}

.nm-contact-form__privacy a {
    font-weight: 600;
    text-decoration: underline;
}
/* =========================================================
   FIX CONTRASTO CARD SU HOVER
   ========================================================= */

.nova-mentis-home .nm-choice-card:hover,
.nova-mentis-home .nm-start-card:hover,
.nova-mentis-home .nm-area-card:hover,
.nova-mentis-home .nm-school-hub-card:hover,
.nova-mentis-home .nm-related-path:hover{
    color:#fff;
}

.nova-mentis-home .nm-choice-card:hover h3,
.nova-mentis-home .nm-choice-card:hover p,
.nova-mentis-home .nm-choice-card:hover span,
.nova-mentis-home .nm-choice-card:hover strong,

.nova-mentis-home .nm-start-card:hover h3,
.nova-mentis-home .nm-start-card:hover p,
.nova-mentis-home .nm-start-card:hover span,
.nova-mentis-home .nm-start-card:hover strong,

.nova-mentis-home .nm-area-card:hover h3,
.nova-mentis-home .nm-area-card:hover p,
.nova-mentis-home .nm-area-card:hover span,

.nova-mentis-home .nm-school-hub-card:hover h3,
.nova-mentis-home .nm-school-hub-card:hover p,
.nova-mentis-home .nm-related-path:hover{
    color:#fff !important;
}

.nova-mentis-home .nm-choice-card:hover a,
.nova-mentis-home .nm-start-card:hover a,
.nova-mentis-home .nm-area-card:hover a,
.nova-mentis-home .nm-school-hub-card:hover a{
    color:#fff !important;
}
/* =========================================================
   HOME — contrasto card "Da dove vuoi partire?"
   ========================================================= */

.nova-mentis-home .nm-home-start__card:hover{
    background:#0b568f !important;
    border-color:#d1a03a !important;
}

/* Titolo */
.nova-mentis-home .nm-home-start__card:hover .nm-home-start__copy strong{
    color:#ffffff !important;
}

/* Descrizione */
.nova-mentis-home .nm-home-start__card:hover .nm-home-start__copy small{
    color:rgba(255,255,255,.88) !important;
}

/* Icona */
.nova-mentis-home .nm-home-start__card:hover .nm-home-start__mark{
    background:#ffffff !important;
    color:#0b568f !important;
}

/* Freccia */
.nova-mentis-home .nm-home-start__card:hover > b{
    color:#e3aa32 !important;
}
/* =========================================================
   NOVA MENTIS — Certificazioni Informatiche v1
   Nuove sezioni: possibilità, metodo, FAQ
   ========================================================= */
.nm-cert-possibilities,
.nm-cert-how{margin-top:64px}
.nm-cert-section-head{max-width:820px;margin-bottom:28px}
.nm-cert-section-head h2{font-family:Georgia,"Times New Roman",serif;color:#073e70;font-size:clamp(34px,3.4vw,46px);line-height:1.08;font-weight:500;margin:7px 0 13px}
.nm-cert-section-head p{margin:0;color:#687f93;font-size:16px;line-height:1.65}

.nm-cert-possibilities__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.nm-cert-possibility{min-height:164px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:16px;align-items:start;padding:24px 22px;border:1px solid #dce6ee;border-radius:15px;background:#fff;text-decoration:none;color:inherit;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.nm-cert-possibility:nth-child(even){background:#fbf8f1;border-color:#e9dfcb}
.nm-cert-possibility:hover{transform:translateY(-3px);border-color:#cbd8e2;box-shadow:0 14px 32px rgba(7,56,109,.07)}
.nm-cert-possibility__mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf4f8;color:#0b5b91;font-size:18px}
.nm-cert-possibility:nth-child(even) .nm-cert-possibility__mark{background:#f5ead5;color:#b27a16}
.nm-cert-possibility h3{margin:2px 0 8px;color:#073e70;font-size:20px;line-height:1.2}
.nm-cert-possibility p{margin:0;color:#687f93;font-size:13.5px;line-height:1.55}
.nm-cert-possibility>b{color:#b27a16;font-size:20px;font-weight:500}

.nm-cert-how{padding:38px 0 4px;border-top:1px solid #e1e8ee}
.nm-cert-how__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dce6ee;border-bottom:1px solid #dce6ee}
.nm-cert-how__grid article{min-height:205px;padding:27px 24px;border-right:1px solid #dce6ee}
.nm-cert-how__grid article:last-child{border-right:0}
.nm-cert-how__grid span{display:block;margin-bottom:22px;color:#c18a24;font-size:12px;font-weight:900;letter-spacing:.12em}
.nm-cert-how__grid h3{margin:0 0 10px;color:#073e70;font-size:19px;line-height:1.2}
.nm-cert-how__grid p{margin:0;color:#687f93;font-size:13.5px;line-height:1.58}

.nm-cert-faq{padding:58px 0 64px;background:#f6f8fa;border-top:1px solid #e3e9ef}
.nm-cert-faq .nm-cert-section-head{margin-bottom:24px}
.nm-cert-faq__list{max-width:980px;border-top:1px solid #dce6ee}
.nm-cert-faq__list details{border-bottom:1px solid #dce6ee;background:transparent}
.nm-cert-faq__list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 4px;color:#073e70;font-size:17px;font-weight:800}
.nm-cert-faq__list summary::-webkit-details-marker{display:none}
.nm-cert-faq__list summary span{font-size:22px;font-weight:400;color:#b27a16;transition:transform .2s ease}
.nm-cert-faq__list details[open] summary span{transform:rotate(45deg)}
.nm-cert-faq__list details>div{padding:0 42px 20px 4px}
.nm-cert-faq__list p{margin:0;color:#687f93;font-size:14px;line-height:1.65}

@media(max-width:1024px){
  .nm-cert-possibilities__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nm-cert-how__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nm-cert-how__grid article:nth-child(2){border-right:0}
  .nm-cert-how__grid article:nth-child(n+3){border-top:1px solid #dce6ee}
}
@media(max-width:680px){
  .nm-cert-possibilities,.nm-cert-how{margin-top:46px}
  .nm-cert-possibilities__grid,.nm-cert-how__grid{grid-template-columns:1fr}
  .nm-cert-possibility{min-height:0;padding:21px 18px;grid-template-columns:38px minmax(0,1fr) auto}
  .nm-cert-how__grid article{min-height:0;border-right:0!important;border-top:1px solid #dce6ee;padding:23px 4px}
  .nm-cert-how__grid article:first-child{border-top:0}
  .nm-cert-faq{padding:48px 0 52px}
  .nm-cert-faq__list summary{font-size:15px;padding:18px 2px}
  .nm-cert-faq__list details>div{padding:0 18px 18px 2px}
}

/* =========================================================
   NOVA MENTIS — Certificazioni Informatiche v2
   Rifinitura: orientamento senza catalogo infinito
   ========================================================= */
.nm-cert-possibilities__note{
  margin-top:18px;
  padding:18px 20px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  border:1px solid #dfe7ee;
  border-radius:13px;
  background:#f7fafc;
}
.nm-cert-possibilities__note>span{
  color:#073e70;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:500;
}
.nm-cert-possibilities__note p{
  margin:0;
  color:#687f93;
  font-size:13px;
  line-height:1.55;
}
.nm-cert-possibilities__note a{
  color:#073e70;
  text-decoration:none;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
}
.nm-cert-possibilities__note a b{margin-left:7px;color:#b27a16}

.nm-cert-partner-footer span{max-width:760px}
.nm-cert-partner-footer a{color:#07386d!important}

@media(max-width:850px){
  .nm-cert-possibilities__note{grid-template-columns:1fr;gap:8px}
  .nm-cert-possibilities__note a{margin-top:4px}
}
/* =========================================================
   NOVA MENTIS — FIX HOME + 6 CARD CERTIFICAZIONI
   19/08/2026
   Incollare IN FONDO a assets/css/nova-mentis.css
   ========================================================= */

/* 1) HOME — le card Aree Formative restano leggibili in hover.
   Questo override neutralizza vecchie regole globali che rendevano
   bianchi/trasparenti i contenuti della card. */
body.nova-mentis-home .nm-area-card:hover{
    background:#fff !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__content,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:hover h3,
body.nova-mentis-home .nm-area-card:hover p,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover h3{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover p{color:#66778a !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon{
    background:#07386d !important;
    color:#fff !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
    display:block !important;
    filter:none !important;
}

/* 2) CERTIFICAZIONI INFORMATICHE — le 6 card sono categorie,
   non scorciatoie verso il form. */
.nm-cert-possibility{cursor:pointer;}
.nm-cert-possibility.is-active{
    border-color:#c89a38;
    box-shadow:0 12px 30px rgba(7,56,109,.08);
}
.nm-cert-possibility.is-active h3{color:#07386d;}

/* Pannello risultati dinamico */
.nm-cert-catalog-results{
    scroll-margin-top:110px;
    margin-top:22px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#f7fafc;
}
.nm-cert-catalog-results[hidden]{display:none!important;}
.nm-cert-catalog-results__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
    padding-bottom:22px;
    border-bottom:1px solid #dce6ee;
}
.nm-cert-catalog-results__head h3{
    margin:5px 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:30px;
    line-height:1.12;
    font-weight:500;
}
.nm-cert-catalog-results__head p{
    max-width:830px;
    margin:0;
    color:#687f93;
    font-size:14px;
    line-height:1.6;
}
.nm-cert-catalog-results__close{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-catalog-results__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.nm-cert-catalog-item{
    min-height:86px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-catalog-item[hidden]{display:none!important;}
.nm-cert-catalog-item span{
    display:block;
    margin-bottom:5px;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:15px;
    line-height:1.3;
}
.nm-cert-catalog-item>a{
    color:#07386d;
    text-decoration:none;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
}
.nm-cert-catalog-item>a b{margin-left:6px;color:#b27a16;}
.nm-cert-catalog-results__empty{
    margin:18px 0 0;
    padding:16px 18px;
    border-radius:10px;
    background:#fff;
    color:#687f93;
    font-size:14px;
}
.nm-cert-catalog-results__empty[hidden]{display:none!important;}

@media(max-width:850px){
    .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .nm-cert-catalog-results{padding:20px 16px;}
    .nm-cert-catalog-results__head h3{font-size:25px;}
    .nm-cert-catalog-item{grid-template-columns:1fr;gap:10px;}
    .nm-cert-catalog-item>a{white-space:normal;}
}
.nm-cert-results-modal__close{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    font-size:0 !important;
    line-height:1 !important;
}

.nm-cert-results-modal__close::before{
    content:"×";
    display:block;
    font-family:Arial, Helvetica, sans-serif;
    font-size:28px;
    line-height:1;
    transform:translate(-2px,-1px);
}
/* =========================================================
   NOVA MENTIS — FIX HOME + 6 CARD CERTIFICAZIONI
   19/08/2026
   Incollare IN FONDO a assets/css/nova-mentis.css
   ========================================================= */

/* 1) HOME — le card Aree Formative restano leggibili in hover.
   Questo override neutralizza vecchie regole globali che rendevano
   bianchi/trasparenti i contenuti della card. */
body.nova-mentis-home .nm-area-card:hover{
    background:#fff !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__content,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:hover h3,
body.nova-mentis-home .nm-area-card:hover p,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover h3{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover p{color:#66778a !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon{
    background:#07386d !important;
    color:#fff !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
    display:block !important;
    filter:none !important;
}

/* 2) CERTIFICAZIONI INFORMATICHE — le 6 card sono categorie,
   non scorciatoie verso il form. */
.nm-cert-possibility{cursor:pointer;}
.nm-cert-possibility.is-active{
    border-color:#c89a38;
    box-shadow:0 12px 30px rgba(7,56,109,.08);
}
.nm-cert-possibility.is-active h3{color:#07386d;}

/* Pannello risultati dinamico */
.nm-cert-catalog-results{
    scroll-margin-top:110px;
    margin-top:22px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#f7fafc;
}
.nm-cert-catalog-results[hidden]{display:none!important;}
.nm-cert-catalog-results__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
    padding-bottom:22px;
    border-bottom:1px solid #dce6ee;
}
.nm-cert-catalog-results__head h3{
    margin:5px 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:30px;
    line-height:1.12;
    font-weight:500;
}
.nm-cert-catalog-results__head p{
    max-width:830px;
    margin:0;
    color:#687f93;
    font-size:14px;
    line-height:1.6;
}
.nm-cert-catalog-results__close{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-catalog-results__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.nm-cert-catalog-item{
    min-height:86px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-catalog-item[hidden]{display:none!important;}
.nm-cert-catalog-item span{
    display:block;
    margin-bottom:5px;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:15px;
    line-height:1.3;
}
.nm-cert-catalog-item>a{
    color:#07386d;
    text-decoration:none;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
}
.nm-cert-catalog-item>a b{margin-left:6px;color:#b27a16;}
.nm-cert-catalog-results__empty{
    margin:18px 0 0;
    padding:16px 18px;
    border-radius:10px;
    background:#fff;
    color:#687f93;
    font-size:14px;
}
.nm-cert-catalog-results__empty[hidden]{display:none!important;}

@media(max-width:850px){
    .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .nm-cert-catalog-results{padding:20px 16px;}
    .nm-cert-catalog-results__head h3{font-size:25px;}
    .nm-cert-catalog-item{grid-template-columns:1fr;gap:10px;}
    .nm-cert-catalog-item>a{white-space:normal;}
}

/* =========================================================
   v2 — 6 card: risultati compatti in modale + loghi enti
   ========================================================= */
html.nm-cert-modal-open,
body.nm-cert-modal-open{overflow:hidden!important;}

.nm-cert-results-modal{
    position:fixed;
    inset:0;
    z-index:99998;
    display:grid;
    place-items:center;
    padding:28px;
}
.nm-cert-results-modal[hidden]{display:none!important;}
.nm-cert-results-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(4,31,60,.62);
    backdrop-filter:blur(3px);
}
.nm-cert-results-modal__dialog{
    position:relative;
    z-index:1;
    width:min(980px,calc(100vw - 40px));
    max-height:min(760px,calc(100vh - 56px));
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #d7e2ea;
    border-radius:20px;
    background:#f8fafc;
    box-shadow:0 28px 80px rgba(3,35,68,.24);
}
.nm-cert-results-modal__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:28px;
    align-items:start;
    padding:27px 30px 20px;
    border-bottom:1px solid #dce6ee;
    background:#fff;
}
.nm-cert-results-modal__head h3{
    margin:4px 0 7px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:31px;
    line-height:1.1;
    font-weight:500;
}
.nm-cert-results-modal__head p{
    max-width:760px;
    margin:0;
    color:#687f93;
    font-size:13.5px;
    line-height:1.55;
}
.nm-cert-results-modal__close{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-results-modal__meta{
    padding:12px 30px;
    border-bottom:1px solid #e3ebf1;
    background:#f5f8fa;
    color:#6c8194;
    font-size:12px;
}
.nm-cert-results-modal__meta strong{color:#073e70;}
.nm-cert-results-modal__scroll{
    overflow:auto;
    overscroll-behavior:contain;
    padding:18px 22px 22px;
}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:0;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:132px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
    padding:15px 16px 14px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    height:27px;
    display:flex;
    align-items:center;
    margin-bottom:1px;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    display:block;
    width:auto;
    height:auto;
    max-width:92px;
    max-height:25px;
    object-fit:contain;
    object-position:left center;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider span{
    margin:0;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:14px;
    line-height:1.28;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    margin-top:auto;
    color:#07386d;
    text-decoration:none;
    font-size:11.5px;
    font-weight:800;
}
.nm-cert-results-modal .nm-cert-catalog-results__empty{
    margin:0;
    padding:18px;
    border:1px solid #dce6ee;
    border-radius:11px;
    background:#fff;
}

@media(max-width:820px){
    .nm-cert-results-modal{padding:18px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .nm-cert-results-modal{padding:10px;}
    .nm-cert-results-modal__dialog{width:100%;max-height:calc(100vh - 20px);border-radius:16px;}
    .nm-cert-results-modal__head{padding:21px 18px 16px;gap:15px;}
    .nm-cert-results-modal__head h3{font-size:25px;}
    .nm-cert-results-modal__meta{padding:10px 18px;}
    .nm-cert-results-modal__scroll{padding:13px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
    .nm-cert-results-modal .nm-cert-catalog-item{min-height:112px;}
}
/* =========================================================
   NOVA MENTIS — FIX HOME + 6 CARD CERTIFICAZIONI
   19/08/2026
   Incollare IN FONDO a assets/css/nova-mentis.css
   ========================================================= */

/* 1) HOME — le card Aree Formative restano leggibili in hover.
   Questo override neutralizza vecchie regole globali che rendevano
   bianchi/trasparenti i contenuti della card. */
body.nova-mentis-home .nm-area-card:hover{
    background:#fff !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__content,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:hover h3,
body.nova-mentis-home .nm-area-card:hover p,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover h3{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover p{color:#66778a !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon{
    background:#07386d !important;
    color:#fff !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
    display:block !important;
    filter:none !important;
}

/* 2) CERTIFICAZIONI INFORMATICHE — le 6 card sono categorie,
   non scorciatoie verso il form. */
.nm-cert-possibility{cursor:pointer;}
.nm-cert-possibility.is-active{
    border-color:#c89a38;
    box-shadow:0 12px 30px rgba(7,56,109,.08);
}
.nm-cert-possibility.is-active h3{color:#07386d;}

/* Pannello risultati dinamico */
.nm-cert-catalog-results{
    scroll-margin-top:110px;
    margin-top:22px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#f7fafc;
}
.nm-cert-catalog-results[hidden]{display:none!important;}
.nm-cert-catalog-results__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
    padding-bottom:22px;
    border-bottom:1px solid #dce6ee;
}
.nm-cert-catalog-results__head h3{
    margin:5px 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:30px;
    line-height:1.12;
    font-weight:500;
}
.nm-cert-catalog-results__head p{
    max-width:830px;
    margin:0;
    color:#687f93;
    font-size:14px;
    line-height:1.6;
}
.nm-cert-catalog-results__close{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-catalog-results__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.nm-cert-catalog-item{
    min-height:86px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-catalog-item[hidden]{display:none!important;}
.nm-cert-catalog-item span{
    display:block;
    margin-bottom:5px;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:15px;
    line-height:1.3;
}
.nm-cert-catalog-item>a{
    color:#07386d;
    text-decoration:none;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
}
.nm-cert-catalog-item>a b{margin-left:6px;color:#b27a16;}
.nm-cert-catalog-results__empty{
    margin:18px 0 0;
    padding:16px 18px;
    border-radius:10px;
    background:#fff;
    color:#687f93;
    font-size:14px;
}
.nm-cert-catalog-results__empty[hidden]{display:none!important;}

@media(max-width:850px){
    .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .nm-cert-catalog-results{padding:20px 16px;}
    .nm-cert-catalog-results__head h3{font-size:25px;}
    .nm-cert-catalog-item{grid-template-columns:1fr;gap:10px;}
    .nm-cert-catalog-item>a{white-space:normal;}
}

/* =========================================================
   NOVA MENTIS — FIX HOME + 6 CARD CERTIFICAZIONI
   19/08/2026
   Incollare IN FONDO a assets/css/nova-mentis.css
   ========================================================= */

/* 1) HOME — le card Aree Formative restano leggibili in hover.
   Questo override neutralizza vecchie regole globali che rendevano
   bianchi/trasparenti i contenuti della card. */
body.nova-mentis-home .nm-area-card:hover{
    background:#fff !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__content,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:hover h3,
body.nova-mentis-home .nm-area-card:hover p,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover h3{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover p{color:#66778a !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon{
    background:#07386d !important;
    color:#fff !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
    display:block !important;
    filter:none !important;
}

/* 2) CERTIFICAZIONI INFORMATICHE — le 6 card sono categorie,
   non scorciatoie verso il form. */
.nm-cert-possibility{cursor:pointer;}
.nm-cert-possibility.is-active{
    border-color:#c89a38;
    box-shadow:0 12px 30px rgba(7,56,109,.08);
}
.nm-cert-possibility.is-active h3{color:#07386d;}

/* Pannello risultati dinamico */
.nm-cert-catalog-results{
    scroll-margin-top:110px;
    margin-top:22px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#f7fafc;
}
.nm-cert-catalog-results[hidden]{display:none!important;}
.nm-cert-catalog-results__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
    padding-bottom:22px;
    border-bottom:1px solid #dce6ee;
}
.nm-cert-catalog-results__head h3{
    margin:5px 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:30px;
    line-height:1.12;
    font-weight:500;
}
.nm-cert-catalog-results__head p{
    max-width:830px;
    margin:0;
    color:#687f93;
    font-size:14px;
    line-height:1.6;
}
.nm-cert-catalog-results__close{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-catalog-results__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.nm-cert-catalog-item{
    min-height:86px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-catalog-item[hidden]{display:none!important;}
.nm-cert-catalog-item span{
    display:block;
    margin-bottom:5px;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:15px;
    line-height:1.3;
}
.nm-cert-catalog-item>a{
    color:#07386d;
    text-decoration:none;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
}
.nm-cert-catalog-item>a b{margin-left:6px;color:#b27a16;}
.nm-cert-catalog-results__empty{
    margin:18px 0 0;
    padding:16px 18px;
    border-radius:10px;
    background:#fff;
    color:#687f93;
    font-size:14px;
}
.nm-cert-catalog-results__empty[hidden]{display:none!important;}

@media(max-width:850px){
    .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .nm-cert-catalog-results{padding:20px 16px;}
    .nm-cert-catalog-results__head h3{font-size:25px;}
    .nm-cert-catalog-item{grid-template-columns:1fr;gap:10px;}
    .nm-cert-catalog-item>a{white-space:normal;}
}

/* =========================================================
   v2 — 6 card: risultati compatti in modale + loghi enti
   ========================================================= */
html.nm-cert-modal-open,
body.nm-cert-modal-open{overflow:hidden!important;}

.nm-cert-results-modal{
    position:fixed;
    inset:0;
    z-index:99998;
    display:grid;
    place-items:center;
    padding:28px;
}
.nm-cert-results-modal[hidden]{display:none!important;}
.nm-cert-results-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(4,31,60,.62);
    backdrop-filter:blur(3px);
}
.nm-cert-results-modal__dialog{
    position:relative;
    z-index:1;
    width:min(980px,calc(100vw - 40px));
    max-height:min(760px,calc(100vh - 56px));
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #d7e2ea;
    border-radius:20px;
    background:#f8fafc;
    box-shadow:0 28px 80px rgba(3,35,68,.24);
}
.nm-cert-results-modal__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:28px;
    align-items:start;
    padding:27px 30px 20px;
    border-bottom:1px solid #dce6ee;
    background:#fff;
}
.nm-cert-results-modal__head h3{
    margin:4px 0 7px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:31px;
    line-height:1.1;
    font-weight:500;
}
.nm-cert-results-modal__head p{
    max-width:760px;
    margin:0;
    color:#687f93;
    font-size:13.5px;
    line-height:1.55;
}
.nm-cert-results-modal__close{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-results-modal__meta{
    padding:12px 30px;
    border-bottom:1px solid #e3ebf1;
    background:#f5f8fa;
    color:#6c8194;
    font-size:12px;
}
.nm-cert-results-modal__meta strong{color:#073e70;}
.nm-cert-results-modal__scroll{
    overflow:auto;
    overscroll-behavior:contain;
    padding:18px 22px 22px;
}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:0;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:132px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
    padding:15px 16px 14px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    height:27px;
    display:flex;
    align-items:center;
    margin-bottom:1px;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    display:block;
    width:auto;
    height:auto;
    max-width:92px;
    max-height:25px;
    object-fit:contain;
    object-position:left center;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider span{
    margin:0;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:14px;
    line-height:1.28;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    margin-top:auto;
    color:#07386d;
    text-decoration:none;
    font-size:11.5px;
    font-weight:800;
}
.nm-cert-results-modal .nm-cert-catalog-results__empty{
    margin:0;
    padding:18px;
    border:1px solid #dce6ee;
    border-radius:11px;
    background:#fff;
}

@media(max-width:820px){
    .nm-cert-results-modal{padding:18px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .nm-cert-results-modal{padding:10px;}
    .nm-cert-results-modal__dialog{width:100%;max-height:calc(100vh - 20px);border-radius:16px;}
    .nm-cert-results-modal__head{padding:21px 18px 16px;gap:15px;}
    .nm-cert-results-modal__head h3{font-size:25px;}
    .nm-cert-results-modal__meta{padding:10px 18px;}
    .nm-cert-results-modal__scroll{padding:13px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
    .nm-cert-results-modal .nm-cert-catalog-item{min-height:112px;}
}

/* =========================================================
   v3 — gerarchia pagina + card catalogo rifinite + badge
   ========================================================= */
.nm-cert-possibilities--primary{margin-top:0!important;padding-top:0!important;}
.nm-cert-possibilities--primary .nm-cert-section-head{max-width:820px;margin-bottom:24px;}
.nm-cert-possibility{position:relative;align-items:flex-start!important;}
.nm-cert-possibility>div{min-width:0;}
.nm-cert-possibility__cta{display:block;margin-top:12px;color:#073e70;font-size:11px;font-weight:800;letter-spacing:.01em;}
.nm-cert-possibility__cta b{color:#b88424;margin-left:5px;}
.nm-cert-value--compact{margin-top:34px!important;}
.nm-cert-clean-cta--compact{margin-top:24px!important;}
.nm-cert-how--secondary{margin-top:42px!important;}

/* Card risultati: più editoriali, ma sobrie */
.nm-cert-results-modal .nm-cert-catalog-item{
    position:relative;
    overflow:hidden;
    min-height:154px;
    padding:17px 17px 15px;
    border-color:#dce6ee;
    box-shadow:0 2px 8px rgba(5,52,95,.025);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.nm-cert-results-modal .nm-cert-catalog-item::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#c59a43;opacity:.78;
}
.nm-cert-results-modal .nm-cert-catalog-item--eipass::before{background:#0d5b9d;}
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf::before{background:#c79a35;}
.nm-cert-results-modal .nm-cert-catalog-item:hover{
    transform:translateY(-2px);border-color:#cbdbe6;box-shadow:0 10px 25px rgba(5,52,95,.08);
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{height:30px;margin-bottom:0;}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{max-width:98px;max-height:27px;}
.nm-cert-results-modal .nm-cert-catalog-item h4{font-size:14.5px;line-height:1.3;}
.nm-cert-catalog-item__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:1px;}
.nm-cert-catalog-item__badges span{
    display:inline-flex!important;align-items:center;margin:0!important;padding:4px 7px;border:1px solid #dce6ee;border-radius:999px;
    background:#f5f8fa;color:#526d82!important;font-size:8px!important;line-height:1!important;font-weight:800!important;letter-spacing:.055em!important;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{padding-top:3px;}

/* X: centriamo il glifo in un box indipendente dalle metriche del button */
.nm-cert-results-modal__close{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:0!important;}
.nm-cert-results-modal__close>span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font:400 25px/1 Arial,Helvetica,sans-serif;transform:translate(-.5px,-1px);}

@media(max-width:560px){
  .nm-cert-results-modal .nm-cert-catalog-item{min-height:132px;}
}
/* =========================================================
   NOVA MENTIS — FIX HOME + 6 CARD CERTIFICAZIONI
   19/08/2026
   Incollare IN FONDO a assets/css/nova-mentis.css
   ========================================================= */

/* 1) HOME — le card Aree Formative restano leggibili in hover.
   Questo override neutralizza vecchie regole globali che rendevano
   bianchi/trasparenti i contenuti della card. */
body.nova-mentis-home .nm-area-card:hover{
    background:#fff !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__content,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon,
body.nova-mentis-home .nm-area-card:hover h3,
body.nova-mentis-home .nm-area-card:hover p,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{
    opacity:1 !important;
    visibility:visible !important;
}
body.nova-mentis-home .nm-area-card:hover h3{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover p{color:#66778a !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more span,
body.nova-mentis-home .nm-area-card:hover .nm-area-card__more b{color:#07386d !important;}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__icon{
    background:#07386d !important;
    color:#fff !important;
}
body.nova-mentis-home .nm-area-card:hover .nm-area-card__media img{
    display:block !important;
    filter:none !important;
}

/* 2) CERTIFICAZIONI INFORMATICHE — le 6 card sono categorie,
   non scorciatoie verso il form. */
.nm-cert-possibility{cursor:pointer;}
.nm-cert-possibility.is-active{
    border-color:#c89a38;
    box-shadow:0 12px 30px rgba(7,56,109,.08);
}
.nm-cert-possibility.is-active h3{color:#07386d;}

/* Pannello risultati dinamico */
.nm-cert-catalog-results{
    scroll-margin-top:110px;
    margin-top:22px;
    padding:28px;
    border:1px solid #dce6ee;
    border-radius:16px;
    background:#f7fafc;
}
.nm-cert-catalog-results[hidden]{display:none!important;}
.nm-cert-catalog-results__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
    padding-bottom:22px;
    border-bottom:1px solid #dce6ee;
}
.nm-cert-catalog-results__head h3{
    margin:5px 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:30px;
    line-height:1.12;
    font-weight:500;
}
.nm-cert-catalog-results__head p{
    max-width:830px;
    margin:0;
    color:#687f93;
    font-size:14px;
    line-height:1.6;
}
.nm-cert-catalog-results__close{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-catalog-results__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.nm-cert-catalog-item{
    min-height:86px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 18px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-catalog-item[hidden]{display:none!important;}
.nm-cert-catalog-item span{
    display:block;
    margin-bottom:5px;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:15px;
    line-height:1.3;
}
.nm-cert-catalog-item>a{
    color:#07386d;
    text-decoration:none;
    white-space:nowrap;
    font-size:12px;
    font-weight:800;
}
.nm-cert-catalog-item>a b{margin-left:6px;color:#b27a16;}
.nm-cert-catalog-results__empty{
    margin:18px 0 0;
    padding:16px 18px;
    border-radius:10px;
    background:#fff;
    color:#687f93;
    font-size:14px;
}
.nm-cert-catalog-results__empty[hidden]{display:none!important;}

@media(max-width:850px){
    .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
    .nm-cert-catalog-results{padding:20px 16px;}
    .nm-cert-catalog-results__head h3{font-size:25px;}
    .nm-cert-catalog-item{grid-template-columns:1fr;gap:10px;}
    .nm-cert-catalog-item>a{white-space:normal;}
}

/* =========================================================
   v2 — 6 card: risultati compatti in modale + loghi enti
   ========================================================= */
html.nm-cert-modal-open,
body.nm-cert-modal-open{overflow:hidden!important;}

.nm-cert-results-modal{
    position:fixed;
    inset:0;
    z-index:99998;
    display:grid;
    place-items:center;
    padding:28px;
}
.nm-cert-results-modal[hidden]{display:none!important;}
.nm-cert-results-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(4,31,60,.62);
    backdrop-filter:blur(3px);
}
.nm-cert-results-modal__dialog{
    position:relative;
    z-index:1;
    width:min(980px,calc(100vw - 40px));
    max-height:min(760px,calc(100vh - 56px));
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #d7e2ea;
    border-radius:20px;
    background:#f8fafc;
    box-shadow:0 28px 80px rgba(3,35,68,.24);
}
.nm-cert-results-modal__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:28px;
    align-items:start;
    padding:27px 30px 20px;
    border-bottom:1px solid #dce6ee;
    background:#fff;
}
.nm-cert-results-modal__head h3{
    margin:4px 0 7px;
    font-family:Georgia,"Times New Roman",serif;
    color:#073e70;
    font-size:31px;
    line-height:1.1;
    font-weight:500;
}
.nm-cert-results-modal__head p{
    max-width:760px;
    margin:0;
    color:#687f93;
    font-size:13.5px;
    line-height:1.55;
}
.nm-cert-results-modal__close{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid #d4e0e9;
    border-radius:50%;
    background:#fff;
    color:#073e70;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.nm-cert-results-modal__meta{
    padding:12px 30px;
    border-bottom:1px solid #e3ebf1;
    background:#f5f8fa;
    color:#6c8194;
    font-size:12px;
}
.nm-cert-results-modal__meta strong{color:#073e70;}
.nm-cert-results-modal__scroll{
    overflow:auto;
    overscroll-behavior:contain;
    padding:18px 22px 22px;
}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:0;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:132px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
    padding:15px 16px 14px;
    border:1px solid #dce6ee;
    border-radius:12px;
    background:#fff;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    height:27px;
    display:flex;
    align-items:center;
    margin-bottom:1px;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    display:block;
    width:auto;
    height:auto;
    max-width:92px;
    max-height:25px;
    object-fit:contain;
    object-position:left center;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider span{
    margin:0;
    color:#b27a16;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    margin:0;
    color:#073e70;
    font-size:14px;
    line-height:1.28;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    margin-top:auto;
    color:#07386d;
    text-decoration:none;
    font-size:11.5px;
    font-weight:800;
}
.nm-cert-results-modal .nm-cert-catalog-results__empty{
    margin:0;
    padding:18px;
    border:1px solid #dce6ee;
    border-radius:11px;
    background:#fff;
}

@media(max-width:820px){
    .nm-cert-results-modal{padding:18px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .nm-cert-results-modal{padding:10px;}
    .nm-cert-results-modal__dialog{width:100%;max-height:calc(100vh - 20px);border-radius:16px;}
    .nm-cert-results-modal__head{padding:21px 18px 16px;gap:15px;}
    .nm-cert-results-modal__head h3{font-size:25px;}
    .nm-cert-results-modal__meta{padding:10px 18px;}
    .nm-cert-results-modal__scroll{padding:13px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
    .nm-cert-results-modal .nm-cert-catalog-item{min-height:112px;}
}

/* =========================================================
   v3 — gerarchia pagina + card catalogo rifinite + badge
   ========================================================= */
.nm-cert-possibilities--primary{margin-top:0!important;padding-top:0!important;}
.nm-cert-possibilities--primary .nm-cert-section-head{max-width:820px;margin-bottom:24px;}
.nm-cert-possibility{position:relative;align-items:flex-start!important;}
.nm-cert-possibility>div{min-width:0;}
.nm-cert-possibility__cta{display:block;margin-top:12px;color:#073e70;font-size:11px;font-weight:800;letter-spacing:.01em;}
.nm-cert-possibility__cta b{color:#b88424;margin-left:5px;}
.nm-cert-value--compact{margin-top:34px!important;}
.nm-cert-clean-cta--compact{margin-top:24px!important;}
.nm-cert-how--secondary{margin-top:42px!important;}

/* Card risultati: più editoriali, ma sobrie */
.nm-cert-results-modal .nm-cert-catalog-item{
    position:relative;
    overflow:hidden;
    min-height:154px;
    padding:17px 17px 15px;
    border-color:#dce6ee;
    box-shadow:0 2px 8px rgba(5,52,95,.025);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.nm-cert-results-modal .nm-cert-catalog-item::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#c59a43;opacity:.78;
}
.nm-cert-results-modal .nm-cert-catalog-item--eipass::before{background:#0d5b9d;}
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf::before{background:#c79a35;}
.nm-cert-results-modal .nm-cert-catalog-item:hover{
    transform:translateY(-2px);border-color:#cbdbe6;box-shadow:0 10px 25px rgba(5,52,95,.08);
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{height:30px;margin-bottom:0;}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{max-width:98px;max-height:27px;}
.nm-cert-results-modal .nm-cert-catalog-item h4{font-size:14.5px;line-height:1.3;}
.nm-cert-catalog-item__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:1px;}
.nm-cert-catalog-item__badges span{
    display:inline-flex!important;align-items:center;margin:0!important;padding:4px 7px;border:1px solid #dce6ee;border-radius:999px;
    background:#f5f8fa;color:#526d82!important;font-size:8px!important;line-height:1!important;font-weight:800!important;letter-spacing:.055em!important;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{padding-top:3px;}

/* X: centriamo il glifo in un box indipendente dalle metriche del button */
.nm-cert-results-modal__close{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:0!important;}
.nm-cert-results-modal__close>span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font:400 25px/1 Arial,Helvetica,sans-serif;transform:translate(-.5px,-1px);}

@media(max-width:560px){
  .nm-cert-results-modal .nm-cert-catalog-item{min-height:132px;}
}

/* =========================================================
   v4 — Soluzioni disponibili: layout editoriale 4 colonne
   ========================================================= */
.nm-cert-results-modal{padding:18px;}
.nm-cert-results-modal__dialog{
    width:min(1480px,calc(100vw - 36px));
    max-height:calc(100vh - 36px);
    border-radius:18px;
    background:#f7f9fb;
}
.nm-cert-results-modal__head{
    padding:22px 28px 18px;
    gap:24px;
}
.nm-cert-results-modal__head .nm-eyebrow{
    margin-bottom:8px;
    color:#bd861e;
    font-size:10px;
    letter-spacing:.16em;
}
.nm-cert-results-modal__head h3{
    margin:0 0 6px;
    font-size:30px;
    line-height:1.08;
}
.nm-cert-results-modal__head p{
    max-width:820px;
    font-size:12.5px;
    line-height:1.45;
}
.nm-cert-results-modal__meta{
    padding:11px 28px;
    font-size:11px;
}
.nm-cert-results-modal__scroll{padding:14px 20px 20px;}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:176px;
    gap:7px;
    padding:14px 16px 13px 18px;
    border-radius:12px;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    width:100%;
    height:27px;
    margin:0;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    width:auto!important;
    height:24px!important;
    max-width:82px!important;
    max-height:24px!important;
    object-fit:contain;
    object-position:left center;
}
/* Il logo EIRSAF originale ha proporzioni visive più grandi: lo compensiamo. */
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf .nm-cert-catalog-item__provider img{
    height:20px!important;
    max-width:76px!important;
    max-height:20px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    margin:0;
    font-size:14px;
    line-height:1.22;
    font-weight:750;
    text-transform:none!important;
    letter-spacing:0!important;
}
.nm-cert-catalog-item__badges{gap:4px;margin-top:1px;}
.nm-cert-catalog-item__badges span{
    padding:3px 7px;
    font-size:7px!important;
    letter-spacing:.08em!important;
}
.nm-cert-catalog-item__desc{
    margin:1px 0 0;
    color:#647c91;
    font-size:10px;
    line-height:1.42;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    margin-top:auto;
    padding-top:2px;
    font-size:10.5px;
}
.nm-cert-results-modal .nm-cert-catalog-item--eipass::before{width:3px;background:#2b79c2;opacity:.9;}
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf::before{width:3px;background:#d0a13d;opacity:.9;}

/* Un'unica X, disegnata in CSS: niente glifo duplicato dal tema/browser. */
.nm-cert-results-modal__close,
.nm-cert-results-modal__close:hover,
.nm-cert-results-modal__close:focus{
    position:relative!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#14558d!important;
    color:#fff!important;
    font-size:0!important;
    line-height:0!important;
    box-shadow:0 8px 20px rgba(6,55,99,.14);
    appearance:none!important;
    -webkit-appearance:none!important;
}
.nm-cert-results-modal__close::before,
.nm-cert-results-modal__close::after{content:none!important;display:none!important;}
.nm-cert-results-modal__close-icon{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    transform:none!important;
    font-size:0!important;
}
.nm-cert-results-modal__close-icon::before,
.nm-cert-results-modal__close-icon::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:17px;
    height:2px;
    border-radius:2px;
    background:#fff;
    transform-origin:center;
}
.nm-cert-results-modal__close-icon::before{transform:translate(-50%,-50%) rotate(45deg);}
.nm-cert-results-modal__close-icon::after{transform:translate(-50%,-50%) rotate(-45deg);}

@media(max-width:1180px){
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:850px){
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .nm-cert-results-modal{padding:8px;}
    .nm-cert-results-modal__dialog{width:100%;max-height:calc(100vh - 16px);}
    .nm-cert-results-modal__head{padding:18px 16px 14px;}
    .nm-cert-results-modal__head h3{font-size:25px;}
    .nm-cert-results-modal__meta{padding:9px 16px;}
    .nm-cert-results-modal__scroll{padding:10px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr;}
    .nm-cert-results-modal .nm-cert-catalog-item{min-height:158px;}
}

/* =========================================================
   v5 — 3 colonne + raggruppamento per ente + badge puliti
   ========================================================= */

/* La modale resta compatta: lo scroll è interno. */
.nm-cert-results-modal__dialog{
    width:min(1120px,calc(100vw - 42px));
}

/* Gruppi ente: EIPASS, EIRSAF (IDCert entrerà nello stesso schema). */
.nm-cert-provider-group{
    margin:0 0 24px;
}
.nm-cert-provider-group:last-of-type{margin-bottom:4px;}
.nm-cert-provider-group[hidden]{display:none!important;}

.nm-cert-provider-group__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:0 2px 12px;
    padding:0 0 10px;
    border-bottom:1px solid #dbe5ed;
}
.nm-cert-provider-group__identity{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.nm-cert-provider-group__identity img{
    display:block;
    width:74px;
    height:25px;
    object-fit:contain;
    object-position:left center;
}
.nm-cert-provider-group--eirsaf .nm-cert-provider-group__identity img{
    width:78px;
    height:23px;
}
.nm-cert-provider-group__identity span{
    color:#073e70;
    font-size:12px;
    font-weight:850;
    letter-spacing:.02em;
}
.nm-cert-provider-group__count{
    color:#71869a;
    font-size:10.5px;
    white-space:nowrap;
}
.nm-cert-provider-group__count strong{
    color:#073e70;
    font-size:11px;
}

/* 3 desktop / 2 tablet / 1 mobile. */
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0!important;
}

/* Più leggibilità grazie allo spazio guadagnato dalla terza colonna. */
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:174px!important;
    padding:17px 18px 15px!important;
    gap:8px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    width:86px;
    height:27px!important;
    margin-bottom:1px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    width:82px!important;
    height:25px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:left center!important;
}
/* EIRSAF è graficamente più pieno: un filo più piccolo per pareggiare il peso ottico. */
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf .nm-cert-catalog-item__provider img{
    width:78px!important;
    height:23px!important;
}

.nm-cert-results-modal .nm-cert-catalog-item h4{
    font-size:16px!important;
    line-height:1.27!important;
}
.nm-cert-catalog-item__badges{
    gap:5px!important;
    min-height:18px;
}
.nm-cert-catalog-item__badges span{
    padding:4px 8px!important;
    font-size:8.5px!important;
    letter-spacing:.06em!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__desc{
    font-size:12.5px!important;
    line-height:1.48!important;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    font-size:12px!important;
}

/* Separazione visiva molto leggera tra gli enti. */
.nm-cert-provider-group--eipass .nm-cert-provider-group__head{
    border-bottom-color:rgba(43,121,194,.24);
}
.nm-cert-provider-group--eirsaf .nm-cert-provider-group__head{
    border-bottom-color:rgba(208,161,61,.30);
}

/* X: micro-rifinitura ottica senza alterare la geometria del pulsante. */
.nm-cert-results-modal__close-icon{
    transform:translate(-.5px,-.5px);
}

@media(max-width:900px){
    .nm-cert-results-modal .nm-cert-catalog-results__grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:560px){
    .nm-cert-provider-group__head{
        align-items:flex-start;
        gap:10px;
    }
    .nm-cert-provider-group__identity span{font-size:11px;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{
        grid-template-columns:1fr!important;
    }
    .nm-cert-results-modal .nm-cert-catalog-item{
        min-height:158px!important;
    }
}
.nm-cert-provider-group--idcert .nm-cert-provider-group__head{
    border-bottom-color:rgba(10,93,154,.24);
}
.nm-cert-provider-group--idcert .nm-cert-provider-group__identity img{
    width:82px;
    height:23px;
}
.nm-cert-results-modal .nm-cert-catalog-item--idcert::before{
    width:3px;
    background:#0b5b91;
    opacity:.9;
}
.nm-cert-results-modal .nm-cert-catalog-item--idcert .nm-cert-catalog-item__provider img{
    width:82px!important;
    height:23px!important;
}
/* Centratura ottica social sotto logo e payoff */
.nm-footer__brand .nm-footer-social{
    width:max-content;
    align-self:center;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:translateX(-66px);
}
/* =========================================================
   IDCERT — logo bianco su fondo blu
   ========================================================= */

/* Intestazione gruppo IDCERT */
.nm-cert-provider-group--idcert .nm-cert-provider-group__identity img{
    width:88px !important;
    height:auto !important;
    max-height:none !important;

    background:#1676c8;
    border-radius:7px;
    padding:7px 10px;

    box-sizing:content-box;
    object-fit:contain;
}

/* Logo IDCERT nelle singole card */
.nm-cert-results-modal
.nm-cert-catalog-item--idcert
.nm-cert-catalog-item__provider{
    height:auto !important;
}

.nm-cert-results-modal
.nm-cert-catalog-item--idcert
.nm-cert-catalog-item__provider img{
    width:82px !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;

    background:#1676c8;
    border-radius:6px;
    padding:6px 9px;

    box-sizing:content-box;
    object-fit:contain;
}

/* =========================================================
   v6 — Soluzioni disponibili: 2 colonne + filtri ente
   ========================================================= */
.nm-cert-results-modal__dialog{
    width:min(1040px,calc(100vw - 44px))!important;
    max-height:calc(100vh - 44px)!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    background:#fff!important;
}
.nm-cert-results-modal__head{
    flex:0 0 auto;
    padding:25px 30px 18px!important;
    background:#fff;
    border-bottom:1px solid #e2e9ef;
}
.nm-cert-results-modal__head h3{font-size:31px!important;}
.nm-cert-results-modal__head p{max-width:690px!important;font-size:13px!important;}
.nm-cert-results-modal__toolbar{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:12px 30px;
    background:#fff;
    border-bottom:1px solid #e5ebf0;
}
.nm-cert-results-modal__tabs{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}
.nm-cert-results-modal__tabs button{
    min-height:36px;
    padding:0 16px;
    border:1px solid #d9e3eb;
    border-radius:9px;
    background:#fff;
    color:#123d66;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.nm-cert-results-modal__tabs button.is-active{
    background:#073e70;
    border-color:#073e70;
    color:#fff;
}
.nm-cert-results-modal__meta{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    white-space:nowrap;
    font-size:10.5px!important;
}
.nm-cert-results-modal__scroll{
    flex:1 1 auto;
    min-height:0;
    overflow:auto!important;
    padding:17px 24px 22px!important;
    background:#f8fafc;
}
.nm-cert-provider-group{
    margin:0 0 20px!important;
    padding-bottom:18px;
    border-bottom:1px solid #e1e8ee;
}
.nm-cert-provider-group:last-of-type{border-bottom:0;padding-bottom:2px;}
.nm-cert-provider-group__head{margin:0 2px 12px!important;padding:0 0 9px!important;}
.nm-cert-provider-group__identity span{font-size:13px!important;}
.nm-cert-provider-group__count{font-size:10px!important;}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px 12px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:156px!important;
    padding:15px 17px 14px 112px!important;
    gap:6px!important;
    position:relative;
    background:#fff!important;
    border-color:#dce5ec!important;
    box-shadow:none!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    position:absolute;
    left:17px;
    top:18px;
    width:78px!important;
    height:32px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    width:76px!important;
    height:28px!important;
    object-position:left center!important;
}
.nm-cert-results-modal .nm-cert-catalog-item--eirsaf .nm-cert-catalog-item__provider img{
    width:72px!important;
    height:24px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    margin-top:0!important;
    font-size:15.5px!important;
    line-height:1.25!important;
}
.nm-cert-catalog-item__badges{min-height:0!important;margin:0!important;}
.nm-cert-catalog-item__badges span{
    padding:3px 7px!important;
    font-size:7.5px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__desc{
    margin:1px 0 0!important;
    font-size:11.5px!important;
    line-height:1.42!important;
}
.nm-cert-results-modal .nm-cert-catalog-item>a{
    margin-top:auto!important;
    font-size:11px!important;
}
.nm-cert-provider-group__more{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:34px;
    margin:10px auto 0;
    padding:0 13px;
    border:1px solid #d7e2ea;
    border-radius:17px;
    background:#fff;
    color:#073e70;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}
.nm-cert-provider-group__more b{color:#b77b0a;font-size:13px;transition:transform .18s ease;}
.nm-cert-provider-group__more.is-expanded b{transform:rotate(180deg);}
.nm-cert-provider-group__more[hidden]{display:none!important;}
@media (hover:hover) and (pointer:fine){
    .nm-cert-results-modal__tabs button:hover{border-color:#aac1d3;background:#f7fafc;}
    .nm-cert-results-modal__tabs button.is-active:hover{background:#073e70;color:#fff;}
    .nm-cert-results-modal .nm-cert-catalog-item:hover{border-color:#c6d6e2!important;box-shadow:0 8px 20px rgba(7,56,109,.045)!important;transform:none!important;}
}
@media(max-width:760px){
    .nm-cert-results-modal__dialog{width:100%!important;max-height:calc(100vh - 20px)!important;}
    .nm-cert-results-modal__toolbar{align-items:flex-start;flex-direction:column;padding:11px 18px;gap:9px;}
    .nm-cert-results-modal__tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
    .nm-cert-results-modal__tabs button{padding:0 6px;font-size:9.5px;}
    .nm-cert-results-modal__meta{display:none;}
    .nm-cert-results-modal__scroll{padding:12px!important;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr!important;}
}
@media(max-width:520px){
    .nm-cert-results-modal__head{padding:19px 17px 14px!important;}
    .nm-cert-results-modal__head h3{font-size:25px!important;}
    .nm-cert-results-modal__head p{font-size:11.5px!important;}
    .nm-cert-results-modal__tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
    .nm-cert-results-modal .nm-cert-catalog-item{padding:14px 14px 13px!important;min-height:0!important;}
    .nm-cert-results-modal .nm-cert-catalog-item__provider{position:static;width:82px!important;height:27px!important;}
}


/* =========================================================
   v7 — Modale certificazioni: 3 colonne, filtri centrati,
   gruppi alleggeriti e CTA ente più elegante
   ========================================================= */
.nm-cert-results-modal__dialog{
    width:min(1220px,calc(100vw - 48px))!important;
}
.nm-cert-results-modal__toolbar{
    justify-content:center!important;
    padding:16px 30px 15px!important;
    border-bottom:1px solid #e5ebf0!important;
}
.nm-cert-results-modal__tabs{
    justify-content:center!important;
    gap:10px!important;
}
.nm-cert-results-modal__tabs::before,
.nm-cert-results-modal__tabs::after{
    content:"";
    width:58px;
    height:1px;
    background:linear-gradient(90deg,transparent,#d3a13d);
}
.nm-cert-results-modal__tabs::after{
    background:linear-gradient(90deg,#d3a13d,transparent);
}
.nm-cert-results-modal__tabs button{
    min-width:92px;
    min-height:38px;
    padding:0 18px!important;
    border-radius:9px!important;
    background:#fff!important;
    border:1px solid #d6e1e9!important;
    color:#123d66!important;
    font-size:11px!important;
    letter-spacing:.01em;
    box-shadow:0 1px 0 rgba(7,62,112,.02);
}
.nm-cert-results-modal__tabs button.is-active{
    background:#073e70!important;
    border-color:#073e70!important;
    color:#fff!important;
}
.nm-cert-results-modal__meta{display:none!important;}
.nm-cert-results-modal__scroll{
    padding:18px 26px 24px!important;
}
.nm-cert-provider-group{
    margin:0 0 24px!important;
    padding:0 0 20px!important;
    border-bottom:0!important;
}
.nm-cert-provider-group:last-of-type{margin-bottom:0!important;padding-bottom:2px!important;}
.nm-cert-provider-group__head,
.nm-cert-provider-group__identity,
.nm-cert-provider-group__count{display:none!important;}
.nm-cert-provider-group__actions{
    display:flex;
    justify-content:flex-end;
    min-height:31px;
    margin:0 2px 9px;
}
.nm-cert-provider-group__more{
    display:inline-flex!important;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    min-height:30px;
    margin:0!important;
    padding:0 4px 0 10px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#073e70!important;
    font-size:10.5px!important;
    font-weight:800!important;
    letter-spacing:.005em;
    cursor:pointer;
    box-shadow:none!important;
}
.nm-cert-provider-group__more b{
    color:#b77b0a!important;
    font-size:14px!important;
    line-height:1;
    transition:transform .18s ease;
}
.nm-cert-provider-group__more.is-expanded b{transform:rotate(180deg);}
.nm-cert-provider-group__more[hidden]{display:none!important;}
.nm-cert-results-modal .nm-cert-catalog-results__grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px 14px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item{
    min-height:168px!important;
    padding:16px 15px 14px 102px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider{
    left:15px!important;
    top:18px!important;
    width:72px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__provider img{
    width:70px!important;
    max-width:70px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item h4{
    font-size:15px!important;
}
.nm-cert-results-modal .nm-cert-catalog-item__desc{
    font-size:11px!important;
    line-height:1.45!important;
}
@media (hover:hover) and (pointer:fine){
    .nm-cert-provider-group__more:hover{color:#052f58!important;}
    .nm-cert-provider-group__more:hover b{transform:translateX(3px);}
    .nm-cert-provider-group__more.is-expanded:hover b{transform:rotate(180deg) translateX(-3px);}
}
@media(max-width:1000px){
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
    .nm-cert-results-modal__dialog{width:100%!important;}
    .nm-cert-results-modal__toolbar{padding:11px 18px!important;}
    .nm-cert-results-modal__tabs{width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;}
    .nm-cert-results-modal__tabs::before,.nm-cert-results-modal__tabs::after{display:none;}
    .nm-cert-results-modal__tabs button{min-width:0;padding:0 6px!important;font-size:9.5px!important;}
    .nm-cert-provider-group__actions{margin-bottom:7px;}
    .nm-cert-provider-group__more{font-size:10px!important;}
    .nm-cert-results-modal .nm-cert-catalog-results__grid{grid-template-columns:1fr!important;}
}
@media(max-width:520px){
    .nm-cert-results-modal__tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
    .nm-cert-provider-group__actions{justify-content:flex-start;}
    .nm-cert-results-modal .nm-cert-catalog-item{padding:14px!important;min-height:0!important;}
    .nm-cert-results-modal .nm-cert-catalog-item__provider{position:static!important;width:82px!important;height:27px!important;}
}

/* =========================================================
   v8 — Modale certificazioni: 3 risultati iniziali per ente
   + correzione proporzioni logo IDCERT nelle card
   ========================================================= */

/* Il layout desktop resta a tre colonne reali. */
@media screen and (min-width:1001px){
    .nm-cert-results-modal .nm-cert-catalog-results__grid{
        display:grid!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:12px 14px!important;
        width:100%!important;
    }
    .nm-cert-results-modal .nm-cert-catalog-results__grid > .nm-cert-catalog-item{
        width:auto!important;
        min-width:0!important;
        max-width:none!important;
        margin:0!important;
    }
}

/* IDCERT: il vecchio box-sizing:content-box sommava padding alla larghezza
   del logo e lo faceva invadere il titolo. Manteniamo il riquadro blu,
   ma dentro uno spazio realmente contenuto nella colonna logo. */
.nm-cert-results-modal .nm-cert-catalog-item--idcert .nm-cert-catalog-item__provider{
    position:absolute!important;
    left:15px!important;
    top:18px!important;
    width:72px!important;
    height:30px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
}
.nm-cert-results-modal .nm-cert-catalog-item--idcert .nm-cert-catalog-item__provider img{
    display:block!important;
    width:70px!important;
    max-width:70px!important;
    height:28px!important;
    max-height:28px!important;
    padding:4px 6px!important;
    margin:0!important;
    box-sizing:border-box!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#1676c8!important;
    border-radius:5px!important;
}

@media screen and (max-width:520px){
    .nm-cert-results-modal .nm-cert-catalog-item--idcert .nm-cert-catalog-item__provider{
        position:static!important;
        width:76px!important;
        height:30px!important;
        overflow:hidden!important;
    }
    .nm-cert-results-modal .nm-cert-catalog-item--idcert .nm-cert-catalog-item__provider img{
        width:74px!important;
        max-width:74px!important;
        height:28px!important;
        max-height:28px!important;
    }
}

/* NOVA MENTIS — GUIDE EDITORIAL v1.00 */
.nm-guides-editorial-page{background:#fff}
.nm-editorial-masthead{padding:38px 0 0;background:#fff;border-bottom:1px solid #dfe7ee}
.nm-editorial-masthead__top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:50px;align-items:end;padding-bottom:28px}
.nm-editorial-masthead h1{margin:5px 0 0;max-width:850px;color:#073e70;font:500 clamp(38px,4.2vw,58px)/1.06 Georgia,"Times New Roman",serif;letter-spacing:-.028em}
.nm-editorial-masthead__top>p{max-width:520px;margin:0;padding-bottom:4px;color:#667b8e;font-size:16px;line-height:1.65}
.nm-editorial-back{display:inline-flex;margin-bottom:22px;color:#657b8f;font-size:12px;font-weight:750;text-decoration:none}
.nm-editorial-back:hover{color:#073e70}
.nm-editorial-nav{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;border-top:1px solid #edf1f4}
.nm-editorial-nav::-webkit-scrollbar{display:none}
.nm-editorial-nav a{position:relative;flex:0 0 auto;padding:15px 18px 14px;color:#5e7080;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.nm-editorial-nav a:first-child{padding-left:0}
.nm-editorial-nav a:hover,.nm-editorial-nav a.is-active{color:#073e70}
.nm-editorial-nav a.is-active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:#c79a3b}
.nm-editorial-nav a:first-child.is-active:after{left:0}

.nm-editorial-cover{padding:42px 0 50px}
.nm-editorial-section-label{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid #073e70}
.nm-editorial-section-label>span{color:#073e70;font-size:11px;font-weight:900;letter-spacing:.12em}
.nm-editorial-section-label>small{color:#8a99a6;font-size:11px}
.nm-editorial-cover__grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(360px,.76fr);gap:26px;align-items:stretch}
.nm-editorial-lead{overflow:hidden;border-right:1px solid #e0e7ed;padding-right:26px}
.nm-editorial-lead__media{position:relative;display:block;height:350px;overflow:hidden;background:#edf2f6;text-decoration:none}
.nm-editorial-lead__image{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}
.nm-editorial-lead:hover .nm-editorial-lead__image{transform:scale(1.015)}
.nm-editorial-media-fallback{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#edf3f7,#dce7ef);color:rgba(7,56,109,.18);font:500 72px Georgia,serif}
.nm-editorial-lead__flag{position:absolute;left:16px;top:16px;z-index:2;padding:7px 10px;background:#073e70;color:#fff;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.nm-editorial-lead__body{padding:20px 0 0}
.nm-editorial-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin-bottom:9px}
.nm-editorial-meta span{color:#a57114;font-size:9px;font-weight:850;letter-spacing:.065em;text-transform:uppercase}
.nm-editorial-meta time,.nm-editorial-meta em{color:#8b98a4;font-size:9px;font-style:normal;font-weight:700;letter-spacing:.035em;text-transform:uppercase}
.nm-editorial-lead h2{margin:0 0 10px;max-width:860px;font:500 clamp(27px,2.55vw,37px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.025em}
.nm-editorial-lead h2 a,.nm-editorial-stream-item h2 a,.nm-editorial-update h3 a,.nm-editorial-mustread h3 a,.nm-editorial-rubric h3 a{color:#073e70;text-decoration:none}
.nm-editorial-lead h2 a:hover,.nm-editorial-stream-item h2 a:hover,.nm-editorial-update h3 a:hover,.nm-editorial-mustread h3 a:hover,.nm-editorial-rubric h3 a:hover{color:#0b5b91}
.nm-editorial-lead p{max-width:780px;margin:0 0 18px;color:#687d90;font-size:14px;line-height:1.65}
.nm-editorial-read{display:inline-flex;align-items:center;gap:7px;color:#073e70;font-size:12.5px;font-weight:800;text-decoration:none}
.nm-editorial-read:hover{color:#b47a08}

.nm-editorial-updates{display:flex;min-width:0;flex-direction:column}
.nm-editorial-updates>header{display:flex;justify-content:space-between;gap:12px;padding:0 0 11px;border-bottom:1px solid #dfe7ed}
.nm-editorial-updates>header strong{color:#073e70;font-size:10px;letter-spacing:.1em}
.nm-editorial-updates>header span{color:#93a0ab;font-size:10px}
.nm-editorial-update{display:grid;grid-template-columns:94px minmax(0,1fr) 22px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #e5ebf0}
.nm-editorial-update:last-child{border-bottom:0}
.nm-editorial-update__media{display:block;width:94px;height:72px;overflow:hidden;background:#edf2f6;text-decoration:none}
.nm-editorial-update__media>span{display:grid;place-items:center;width:100%;height:100%;color:rgba(7,56,109,.2);font:500 28px Georgia,serif}
.nm-editorial-update__image{width:100%;height:100%;display:block;object-fit:cover}
.nm-editorial-update__meta{display:flex;flex-wrap:wrap;gap:4px 8px;margin-bottom:5px}
.nm-editorial-update__meta span{color:#a57114;font-size:8px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.nm-editorial-update__meta time{color:#95a1ac;font-size:8px;font-weight:700;text-transform:uppercase}
.nm-editorial-update h3{margin:0;font:500 16px/1.25 Georgia,"Times New Roman",serif}
.nm-editorial-update__arrow{color:#b47a08;font-size:17px;text-decoration:none}

.nm-editorial-mustread{padding:28px 0 34px;background:#f7f9fb;border-block:1px solid #e3e9ee}
.nm-editorial-mustread__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.nm-editorial-mustread article{padding:4px 24px 6px;border-right:1px solid #dce4ea}
.nm-editorial-mustread article:first-child{padding-left:0}
.nm-editorial-mustread article:last-child{border-right:0}
.nm-editorial-mustread__meta{display:flex;gap:8px;margin-bottom:7px;color:#8c9aa6;font-size:8.5px;font-weight:750;text-transform:uppercase}
.nm-editorial-mustread__meta span{color:#a57114}
.nm-editorial-mustread h3{margin:0 0 8px;font:500 18px/1.26 Georgia,"Times New Roman",serif}
.nm-editorial-mustread article>a{color:#073e70;font-size:11px;font-weight:800;text-decoration:none}

.nm-editorial-archive{padding:50px 0 58px}
.nm-editorial-archive__layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:44px}
.nm-editorial-stream-item{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid #e3e9ee}
.nm-editorial-stream-item__media{display:block;width:220px;height:145px;overflow:hidden;background:#edf2f6}
.nm-editorial-stream-item__image{width:100%;height:100%;display:block;object-fit:cover}
.nm-editorial-stream-item h2{margin:0 0 8px;font:500 24px/1.17 Georgia,"Times New Roman",serif}
.nm-editorial-stream-item p{margin:0 0 12px;color:#6a7d8e;font-size:13.5px;line-height:1.6}
.nm-editorial-sidebar{display:flex;flex-direction:column;gap:18px}
.nm-editorial-sidebar__box{padding:22px;border:1px solid #dfe7ed;background:#fff}
.nm-editorial-sidebar__box--soft{background:#f5f8fa}
.nm-editorial-sidebar__kicker{display:block;color:#b17b1b;font-size:9px;font-weight:900;letter-spacing:.1em;margin-bottom:5px}
.nm-editorial-sidebar__box h3{margin:0 0 13px;color:#073e70;font:500 22px Georgia,"Times New Roman",serif}
.nm-editorial-sidebar__box p{margin:0 0 13px;color:#6b7e8f;font-size:12.5px;line-height:1.55}
.nm-editorial-sidebar__box>a{color:#073e70;font-size:11.5px;font-weight:800;text-decoration:none}
.nm-editorial-sidebar__topics{border-top:1px solid #e4eaf0}
.nm-editorial-sidebar__topics a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e4eaf0;color:#53697c;font-size:11.5px;font-weight:700;text-decoration:none}
.nm-editorial-sidebar__topics b{color:#9a6d18;font-size:10px}

.nm-editorial-pagination ul{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:28px 0 0;padding:0}
.nm-editorial-pagination a,.nm-editorial-pagination span{display:grid;min-width:34px;height:34px;place-items:center;padding:0 10px;border:1px solid #dfe7ed;color:#073e70;font-size:11px;font-weight:750;text-decoration:none}
.nm-editorial-pagination .current{border-color:#073e70;background:#073e70;color:#fff}

.nm-editorial-sections{padding:44px 0 52px;background:#f7f9fb;border-top:1px solid #e3e9ee}
.nm-editorial-sections__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.nm-editorial-rubric{padding:22px 24px;background:#fff;border:1px solid #dfe7ed}
.nm-editorial-rubric>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;padding-bottom:13px;margin-bottom:5px;border-bottom:2px solid #073e70}
.nm-editorial-rubric>header span{color:#a57114;font-size:8px;font-weight:900;letter-spacing:.09em}
.nm-editorial-rubric>header h2{margin:2px 0 0;color:#073e70;font:500 24px Georgia,"Times New Roman",serif}
.nm-editorial-rubric>header>a{color:#073e70;font-size:10px;font-weight:800;text-decoration:none}
.nm-editorial-rubric article{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid #e5ebf0}
.nm-editorial-rubric article:last-child{border-bottom:0}
.nm-editorial-rubric time{color:#97a3ad;font-size:8px;font-weight:750;text-transform:uppercase}
.nm-editorial-rubric h3{margin:0;font:500 15px/1.25 Georgia,"Times New Roman",serif}

.nm-editorial-tax-list{padding:42px 0 56px}
.nm-editorial-tax-stream{max-width:920px}
.nm-editorial-empty{padding:38px;border:1px solid #dfe7ed;background:#f7f9fb}
.nm-editorial-empty h2{margin-top:0;color:#073e70;font:500 28px Georgia,"Times New Roman",serif}
.nm-editorial-empty p{color:#687d90}
.nm-editorial-final{margin-top:0}

@media(max-width:1024px){
  .nm-editorial-cover__grid{grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr)}
  .nm-editorial-lead__media{height:310px}
  .nm-editorial-archive__layout{grid-template-columns:1fr 270px;gap:30px}
}
@media(max-width:820px){
  .nm-editorial-masthead__top{grid-template-columns:1fr;gap:16px}
  .nm-editorial-masthead__top>p{max-width:760px}
  .nm-editorial-cover__grid{grid-template-columns:1fr}
  .nm-editorial-lead{border-right:0;padding-right:0}
  .nm-editorial-lead__media{height:360px}
  .nm-editorial-archive__layout{grid-template-columns:1fr}
  .nm-editorial-sidebar{display:grid;grid-template-columns:1fr 1fr}
  .nm-editorial-sections__grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .nm-editorial-masthead{padding-top:28px}
  .nm-editorial-masthead h1{font-size:39px}
  .nm-editorial-nav a{padding:13px 12px}
  .nm-editorial-cover{padding:34px 0 40px}
  .nm-editorial-section-label{align-items:flex-start;flex-direction:column;gap:4px}
  .nm-editorial-lead__media{height:220px}
  .nm-editorial-lead h2{font-size:27px}
  .nm-editorial-update{grid-template-columns:78px minmax(0,1fr) 18px;gap:10px}
  .nm-editorial-update__media{width:78px;height:62px}
  .nm-editorial-update h3{font-size:14px}
  .nm-editorial-mustread__grid{grid-template-columns:1fr}
  .nm-editorial-mustread article{padding:14px 0;border-right:0;border-bottom:1px solid #dce4ea}
  .nm-editorial-mustread article:last-child{border-bottom:0}
  .nm-editorial-stream-item{grid-template-columns:1fr;gap:14px}
  .nm-editorial-stream-item__media{width:100%;height:205px}
  .nm-editorial-sidebar{grid-template-columns:1fr}
  .nm-editorial-rubric article{grid-template-columns:58px minmax(0,1fr)}
}
/* FIX ELENCHI LINK — GUIDE */
.nm-guide-page .nm-guide-prose ul li:has(a){
    display:list-item;
    position:static;
    list-style-position:outside;
    margin:8px 0;
    padding:0;
    line-height:1.6;
}

.nm-guide-page .nm-guide-prose ul li:has(a)::before{
    display:none;
    content:none;
}

.nm-guide-page .nm-guide-prose ul li:has(a)::marker{
    content:"•  ";
    color:#c79a3b;
}

.nm-guide-page .nm-guide-prose ul li:has(a) a{
    display:inline;
    margin:0;
    padding:0;
    vertical-align:baseline;
}
/* ELENCHI NORMALI NEL TESTO DELLE GUIDE */
.nm-guide-page .nm-guide-prose ul{
    list-style:disc;
    padding-left:1.4em;
    margin:16px 0 24px;
}

.nm-guide-page .nm-guide-prose ul > li{
    display:list-item;
    margin:8px 0;
    padding:0;
    line-height:1.65;
}

.nm-guide-page .nm-guide-prose ul > li::marker{
    color:#c79a3b;
}

.nm-guide-page .nm-guide-prose ul > li strong,
.nm-guide-page .nm-guide-prose ul > li b{
    display:inline;
}
/* =========================================================
   NOVA MENTIS — COSA VERIFICARE
   ========================================================= */

.nm-guide-sidebar__checks{
    padding:24px 22px;
    border:1px solid #e1e7ed;
    border-radius:14px;
    background:#fff;
}

.nm-guide-sidebar__checks .nm-guide-card-label{
    margin-bottom:16px;
    color:#073e70;
    font-size:11px;
    font-weight:800;
    letter-spacing:.10em;
}

.nm-guide-sidebar__checks ul{
    list-style:none;
    margin:0;
    padding:0;
}

.nm-guide-sidebar__checks li{
    position:relative;
    margin:0;
    padding:11px 0 11px 25px;
    border-bottom:1px solid #edf1f4;
    color:#53697c;
    font-size:14px;
    line-height:1.45;
}

.nm-guide-sidebar__checks li:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.nm-guide-sidebar__checks li:first-child{
    padding-top:0;
}

.nm-guide-sidebar__checks li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:11px;
    color:#c79a3b;
    font-size:13px;
    font-weight:800;
}

.nm-guide-sidebar__checks li:first-child::before{
    top:0;
}

/* =========================================================
   v0.90.6 — Recupero anni scolastici
   Landing editoriale isolata: nessun impatto su Guide o altre pagine
   ========================================================= */

.nm-single-path .nm-recovery-editorial-hero{
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);
    gap:72px;
    align-items:center;
}
.nm-single-path .nm-recovery-editorial-hero.no-image{
    grid-template-columns:minmax(0,820px);
}
.nm-single-path .nm-recovery-editorial-hero__copy h1{
    max-width:720px;
    margin-bottom:20px;
}
.nm-single-path .nm-recovery-editorial-hero__lead{
    max-width:680px;
    margin:0;
    color:#435d73;
    font-size:18px;
    line-height:1.68;
}
.nm-single-path .nm-recovery-editorial-hero__note{
    max-width:650px;
    margin:20px 0 26px;
    padding-left:18px;
    border-left:2px solid var(--nm-gold);
    color:#667b8d;
    font-size:14px;
    line-height:1.7;
}
.nm-single-path .nm-recovery-editorial-hero__copy .nm-actions{
    align-items:center;
    gap:24px;
}
.nm-single-path .nm-recovery-editorial-hero__guide{
    color:var(--nm-navy);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}
.nm-single-path .nm-recovery-editorial-hero__guide span,
.nm-single-path .nm-recovery-inline-link span{color:var(--nm-gold);margin-left:6px}
.nm-single-path .nm-recovery-editorial-hero__media{
    position:relative;
    min-height:430px;
    margin:0;
    overflow:hidden;
    border-radius:2px;
    background:#eef3f7;
}
.nm-single-path .nm-recovery-editorial-hero__media::after{
    content:"";
    position:absolute;
    inset:0;
    box-shadow:inset 0 0 0 1px rgba(6,49,91,.06);
    pointer-events:none;
}
.nm-single-path .nm-recovery-editorial-hero__media img{
    width:100%;height:100%;min-height:430px;object-fit:cover;display:block;
}

.nm-single-path .nm-recovery-editorial h2{
    margin:0;
    color:var(--nm-navy-deep);
    font:500 clamp(33px,3.25vw,48px)/1.08 Georgia,"Times New Roman",serif;
    letter-spacing:-.026em;
}
.nm-single-path .nm-recovery-editorial h3{
    color:var(--nm-navy-deep);
    font-family:Georgia,"Times New Roman",serif;
    font-weight:500;
}
.nm-single-path .nm-recovery-editorial__start{
    padding:84px 0 76px;
    background:#fff;
}
.nm-single-path .nm-recovery-editorial__intro{
    display:grid;
    grid-template-columns:minmax(0,1.04fr) minmax(360px,.76fr);
    gap:78px;
    align-items:end;
}
.nm-single-path .nm-recovery-editorial__intro h2{max-width:760px}
.nm-single-path .nm-recovery-editorial__intro>p{
    margin:0 0 3px;
    color:#566c7f;
    font-size:15px;
    line-height:1.78;
}
.nm-single-path .nm-recovery-flow{
    display:grid;
    grid-template-columns:repeat(7,auto);
    align-items:start;
    gap:18px;
    margin-top:58px;
    padding:30px 0 4px;
    border-top:1px solid #dce4ea;
}
.nm-single-path .nm-recovery-flow>div{max-width:220px}
.nm-single-path .nm-recovery-flow span{
    display:block;
    margin-bottom:8px;
    color:var(--nm-navy);
    font-size:14px;
    font-weight:850;
}
.nm-single-path .nm-recovery-flow p{
    margin:0;
    color:#6b7f90;
    font-size:12.5px;
    line-height:1.6;
}
.nm-single-path .nm-recovery-flow i{
    padding-top:1px;
    color:var(--nm-gold);
    font-size:20px;
    font-style:normal;
}

.nm-single-path .nm-recovery-editorial__years{
    padding:88px 0;
    background:#f6f8fa;
    border-block:1px solid #e4e9ee;
}
.nm-single-path .nm-recovery-editorial__years-grid{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.55fr);
    gap:96px;
    align-items:start;
}
.nm-single-path .nm-recovery-editorial__years-copy h2{
    max-width:760px;
    margin-bottom:26px;
}
.nm-single-path .nm-recovery-editorial__years-copy>p{
    max-width:770px;
    margin:0 0 16px;
    color:#506678;
    font-size:15px;
    line-height:1.8;
}
.nm-single-path .nm-recovery-inline-link{
    display:inline-flex;
    margin-top:14px;
    color:var(--nm-navy);
    text-decoration:none;
    font-size:13px;
    font-weight:850;
}
.nm-single-path .nm-recovery-editorial__check{
    margin-top:26px;
    padding-left:28px;
    border-left:2px solid var(--nm-gold);
}
.nm-single-path .nm-recovery-editorial__check>p{
    margin:8px 0 16px;
    color:#65798a;
    font-size:13.5px;
    line-height:1.65;
}
.nm-single-path .nm-recovery-editorial__check ul{
    margin:0;
    padding:0;
    list-style:none;
}
.nm-single-path .nm-recovery-editorial__check li{
    padding:10px 0;
    border-bottom:1px solid #dde5eb;
    color:#294b69;
    font-size:13px;
}

.nm-single-path .nm-recovery-editorial__situations{
    padding:88px 0 82px;
    background:#fff;
}
.nm-single-path .nm-recovery-editorial__situations-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.65fr);
    gap:80px;
    align-items:end;
    margin-bottom:46px;
}
.nm-single-path .nm-recovery-editorial__situations-head p{
    margin:0 0 3px;
    color:#6b7f90;
    font-size:14px;
    line-height:1.7;
}
.nm-single-path .nm-recovery-situations{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:68px;
}
.nm-single-path .nm-recovery-situations article{
    padding:28px 0 30px;
    border-top:1px solid #d9e2e8;
}
.nm-single-path .nm-recovery-situations small{
    display:block;
    margin-bottom:10px;
    color:#a97516;
    font-size:9px;
    font-weight:900;
    letter-spacing:.14em;
}
.nm-single-path .nm-recovery-situations h3{
    margin:0 0 10px;
    font-size:23px;
    line-height:1.2;
}
.nm-single-path .nm-recovery-situations p{
    max-width:540px;
    margin:0;
    color:#617587;
    font-size:13.5px;
    line-height:1.7;
}

.nm-single-path .nm-recovery-editorial__flex{
    padding:72px 0;
    background:#eef4f8;
}
.nm-single-path .nm-recovery-editorial__flex-grid{
    display:grid;
    grid-template-columns:minmax(0,.8fr) minmax(0,1fr);
    gap:90px;
    align-items:start;
}
.nm-single-path .nm-recovery-editorial__flex p{
    margin:0 0 18px;
    color:#506678;
    font-size:14.5px;
    line-height:1.8;
}
.nm-single-path .nm-recovery-editorial__pull{
    max-width:650px;
    margin-top:28px!important;
    padding:4px 0 4px 26px;
    border-left:2px solid var(--nm-gold);
    color:var(--nm-navy)!important;
    font:500 20px/1.48 Georgia,"Times New Roman",serif!important;
}

.nm-single-path .nm-recovery-editorial__links{
    padding:82px 0;
    background:#fff;
}
.nm-single-path .nm-recovery-editorial__links h2{
    max-width:760px;
    margin-bottom:34px;
}
.nm-single-path .nm-recovery-link-list{
    border-top:1px solid #dbe3e9;
}
.nm-single-path .nm-recovery-link-list a{
    display:grid;
    grid-template-columns:minmax(250px,.75fr) minmax(0,1fr) auto;
    gap:38px;
    align-items:center;
    padding:21px 2px;
    border-bottom:1px solid #dbe3e9;
    color:var(--nm-navy);
    text-decoration:none;
}
.nm-single-path .nm-recovery-link-list a>span{
    font:500 20px/1.2 Georgia,"Times New Roman",serif;
}
.nm-single-path .nm-recovery-link-list small{
    color:#6a7e8f;
    font-size:12.5px;
}
.nm-single-path .nm-recovery-link-list b{
    color:var(--nm-gold);
    font-size:18px;
    font-weight:500;
}
.nm-single-path .nm-recovery-link-list a:hover>span{color:#0a4c88}

.nm-single-path .nm-recovery-editorial__faq{
    padding:82px 0;
    background:#f7f9fb;
    border-top:1px solid #e3e8ec;
}
.nm-single-path .nm-recovery-editorial__faq-grid{
    display:grid;
    grid-template-columns:minmax(280px,.6fr) minmax(0,1.4fr);
    gap:94px;
}
.nm-single-path .nm-recovery-editorial__faq-list details{
    border-bottom:1px solid #d9e2e8;
}
.nm-single-path .nm-recovery-editorial__faq-list summary{
    display:flex;
    justify-content:space-between;
    gap:28px;
    padding:21px 0;
    cursor:pointer;
    color:var(--nm-navy);
    font-size:14px;
    font-weight:800;
    list-style:none;
}
.nm-single-path .nm-recovery-editorial__faq-list summary::-webkit-details-marker{display:none}
.nm-single-path .nm-recovery-editorial__faq-list summary span{color:var(--nm-gold);font-size:20px;font-weight:500}
.nm-single-path .nm-recovery-editorial__faq-list details[open] summary span{transform:rotate(45deg)}
.nm-single-path .nm-recovery-editorial__faq-list details p{
    max-width:760px;
    margin:-4px 0 22px;
    color:#637789;
    font-size:13.5px;
    line-height:1.75;
}

.nm-single-path .nm-recovery-editorial__cta{
    padding:60px 0;
    background:var(--nm-navy-deep);
    color:#fff;
}
.nm-single-path .nm-recovery-editorial__cta-inner{
    display:flex;
    justify-content:space-between;
    gap:70px;
    align-items:center;
}
.nm-single-path .nm-recovery-editorial__cta h2{max-width:700px;color:#fff}
.nm-single-path .nm-recovery-editorial__cta p{
    max-width:720px;
    margin:12px 0 0;
    color:#d6e2ec;
    font-size:14px;
    line-height:1.7;
}

@media(max-width:1050px){
  .nm-single-path .nm-recovery-editorial-hero{grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:44px}
  .nm-single-path .nm-recovery-editorial__years-grid,.nm-single-path .nm-recovery-editorial__faq-grid{gap:55px}
  .nm-single-path .nm-recovery-flow{grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;gap:10px}
}
@media(max-width:780px){
  .nm-single-path .nm-recovery-editorial-hero,.nm-single-path .nm-recovery-editorial-hero.has-image,.nm-single-path .nm-recovery-editorial__intro,.nm-single-path .nm-recovery-editorial__years-grid,.nm-single-path .nm-recovery-editorial__situations-head,.nm-single-path .nm-recovery-editorial__flex-grid,.nm-single-path .nm-recovery-editorial__faq-grid{grid-template-columns:1fr;gap:32px}
  .nm-single-path .nm-recovery-editorial-hero__media,.nm-single-path .nm-recovery-editorial-hero__media img{min-height:310px}
  .nm-single-path .nm-recovery-flow{grid-template-columns:1fr;margin-top:38px;padding-top:10px}
  .nm-single-path .nm-recovery-flow i{transform:rotate(90deg);padding:2px 0 2px 14px}
  .nm-single-path .nm-recovery-flow>div{max-width:none;padding:15px 0;border-top:1px solid #e3e8ec}
  .nm-single-path .nm-recovery-situations{grid-template-columns:1fr;column-gap:0}
  .nm-single-path .nm-recovery-link-list a{grid-template-columns:1fr auto;gap:8px 20px}
  .nm-single-path .nm-recovery-link-list small{grid-column:1/2}
  .nm-single-path .nm-recovery-link-list b{grid-column:2;grid-row:1/3}
  .nm-single-path .nm-recovery-editorial__cta-inner{align-items:flex-start;flex-direction:column;gap:28px}
  .nm-single-path .nm-recovery-editorial__cta .nm-button{width:100%}
}
@media(max-width:560px){
  .nm-single-path .nm-recovery-editorial__start,.nm-single-path .nm-recovery-editorial__years,.nm-single-path .nm-recovery-editorial__situations,.nm-single-path .nm-recovery-editorial__links,.nm-single-path .nm-recovery-editorial__faq{padding:58px 0}
  .nm-single-path .nm-recovery-editorial__flex{padding:52px 0}
  .nm-single-path .nm-recovery-editorial-hero__copy .nm-actions{align-items:flex-start;flex-direction:column;gap:16px}
  .nm-single-path .nm-recovery-editorial-hero__lead{font-size:16px}
  .nm-single-path .nm-recovery-editorial-hero__media,.nm-single-path .nm-recovery-editorial-hero__media img{min-height:250px}
  .nm-single-path .nm-recovery-editorial__check{margin-top:4px}
}


/* =========================================================
   v0.90.7 — Recupero anni scolastici: finitura editoriale
   Solo questa landing. Hero bilanciato, intro ricomposta, leggibilità.
   ========================================================= */
.nm-single-path .nm-recovery-editorial-hero,
.nm-single-path .nm-recovery-editorial-hero.no-image{
    grid-template-columns:minmax(0,1.02fr) minmax(390px,.82fr);
    gap:64px;
    align-items:center;
}
.nm-single-path .nm-recovery-editorial-hero__media{
    min-height:390px;
    border-radius:0;
}
.nm-single-path .nm-recovery-editorial-hero__media img{
    min-height:390px;
}
.nm-single-path .nm-recovery-editorial-hero__media.is-placeholder{
    display:flex;
    align-items:flex-end;
    padding:38px;
    background:
      radial-gradient(circle at 82% 18%,rgba(199,154,59,.18) 0 1px,transparent 2px),
      linear-gradient(145deg,#f0f5f8 0%,#e5edf3 100%);
}
.nm-single-path .nm-recovery-editorial-hero__media.is-placeholder::before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    right:-70px;
    top:-65px;
    border:1px solid rgba(7,62,112,.12);
    border-radius:50%;
}
.nm-single-path .nm-recovery-editorial-hero__placeholder{
    position:relative;
    z-index:1;
    max-width:330px;
}
.nm-single-path .nm-recovery-editorial-hero__placeholder>span{
    display:block;
    margin-bottom:15px;
    color:#a97516;
    font-size:9px;
    font-weight:900;
    letter-spacing:.14em;
}
.nm-single-path .nm-recovery-editorial-hero__placeholder>strong{
    display:block;
    color:var(--nm-navy-deep);
    font:500 30px/1.18 Georgia,"Times New Roman",serif;
}
.nm-single-path .nm-recovery-editorial-hero__placeholder>i{
    display:block;
    width:58px;
    height:2px;
    margin:24px 0 17px;
    background:var(--nm-gold);
}
.nm-single-path .nm-recovery-editorial-hero__placeholder>small{
    color:#607689;
    font-size:11px;
    line-height:1.55;
}
.nm-single-path .nm-recovery-editorial__intro{
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);
    gap:92px;
    align-items:end;
}
.nm-single-path .nm-recovery-editorial__intro-title h2{
    max-width:720px;
}
.nm-single-path .nm-recovery-editorial__intro>p{
    max-width:470px;
    padding-bottom:5px;
}
.nm-single-path .nm-recovery-flow{
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr);
    gap:14px;
    margin-top:48px;
    padding-top:28px;
}
.nm-single-path .nm-recovery-flow>div{max-width:none}
.nm-single-path .nm-recovery-flow span{font-size:15px}
.nm-single-path .nm-recovery-flow p{font-size:13.5px;line-height:1.65}
.nm-single-path .nm-recovery-situations h3{font-size:25px}
.nm-single-path .nm-recovery-situations p{font-size:14px;line-height:1.75}
.nm-single-path .nm-recovery-link-list small{font-size:13.5px}
.nm-single-path .nm-recovery-editorial__faq-list summary{font-size:14.5px}
@media(max-width:1050px){
  .nm-single-path .nm-recovery-editorial-hero,.nm-single-path .nm-recovery-editorial-hero.no-image{grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:40px}
  .nm-single-path .nm-recovery-editorial__intro{gap:50px}
}
@media(max-width:780px){
  .nm-single-path .nm-recovery-editorial-hero,.nm-single-path .nm-recovery-editorial-hero.no-image{grid-template-columns:1fr;gap:34px}
  .nm-single-path .nm-recovery-editorial-hero__media,.nm-single-path .nm-recovery-editorial-hero__media img{min-height:310px}
  .nm-single-path .nm-recovery-editorial__intro{grid-template-columns:1fr;gap:22px}
  .nm-single-path .nm-recovery-flow{grid-template-columns:1fr;margin-top:34px}
}
@media(max-width:560px){
  .nm-single-path .nm-recovery-editorial-hero__media.is-placeholder{padding:28px}
  .nm-single-path .nm-recovery-editorial-hero__placeholder>strong{font-size:26px}
}


/* =========================================================
   v0.90.8 — Recupero anni scolastici: integrazione fotografie
   Solo questa landing. Due immagini editoriali ottimizzate.
   ========================================================= */

.nm-single-path .nm-recovery-editorial-hero__media{
    aspect-ratio:4/3;
    min-height:0;
    background:#e9eff3;
    box-shadow:0 18px 44px rgba(7,56,109,.08);
}
.nm-single-path .nm-recovery-editorial-hero__media img{
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:center center;
}

/* Organizzazione dello studio: fotografia e testo sono un unico blocco editoriale */
.nm-single-path .nm-recovery-editorial__flex{
    padding:0;
    background:#eef4f8;
}
.nm-single-path .nm-recovery-editorial__flex-grid{
    display:grid;
    grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
    gap:0;
    align-items:stretch;
    max-width:1440px;
}
.nm-single-path .nm-recovery-editorial__flex-copy{
    padding:76px 76px 72px 0;
    align-self:center;
}
.nm-single-path .nm-recovery-editorial__flex-copy h2{
    max-width:520px;
    margin-bottom:24px;
}
.nm-single-path .nm-recovery-editorial__flex-copy>p:not(.nm-recovery-editorial__pull){
    max-width:650px;
}
.nm-single-path .nm-recovery-editorial__flex-media{
    position:relative;
    min-height:470px;
    margin:0;
    overflow:hidden;
    background:#dde7ee;
}
.nm-single-path .nm-recovery-editorial__flex-media::after{
    content:"";
    position:absolute;
    inset:0;
    box-shadow:inset 0 0 0 1px rgba(7,56,109,.05);
    pointer-events:none;
}
.nm-single-path .nm-recovery-editorial__flex-media img{
    width:100%;
    height:100%;
    min-height:470px;
    display:block;
    object-fit:cover;
    object-position:center center;
}

@media(max-width:1050px){
    .nm-single-path .nm-recovery-editorial__flex-grid{
        grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
    }
    .nm-single-path .nm-recovery-editorial__flex-copy{
        padding-right:48px;
    }
}
@media(max-width:780px){
    .nm-single-path .nm-recovery-editorial__flex-grid{
        grid-template-columns:1fr;
        gap:0;
    }
    .nm-single-path .nm-recovery-editorial__flex-copy{
        padding:54px 0 46px;
    }
    .nm-single-path .nm-recovery-editorial__flex-media,
    .nm-single-path .nm-recovery-editorial__flex-media img{
        min-height:340px;
    }
    .nm-single-path .nm-recovery-editorial-hero__media{
        aspect-ratio:16/10;
    }
}
@media(max-width:560px){
    .nm-single-path .nm-recovery-editorial__flex-copy{
        padding:46px 0 40px;
    }
    .nm-single-path .nm-recovery-editorial__flex-media,
    .nm-single-path .nm-recovery-editorial__flex-media img{
        min-height:270px;
    }
    .nm-single-path .nm-recovery-editorial-hero__media{
        aspect-ratio:4/3;
    }
}

/* =========================================================
   NOVA MENTIS — GUIDE CORRELATE / FIX ISOLATO v1.01
   30/08/2026
   Interviene esclusivamente sul blocco correlati del single-guida.
   ========================================================= */

.nm-guide-page .nm-guide-related{
    margin-top:58px;
    padding-top:38px;
    border-top:1px solid #dce6ee;
}

.nm-guide-page .nm-guide-related__heading{
    max-width:760px;
    margin-bottom:24px;
}

.nm-guide-page .nm-guide-related__eyebrow{
    margin-bottom:8px;
    color:#b57f11;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.nm-guide-page .nm-guide-related__heading h2{
    margin:0;
    color:#073e72;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.8rem,3vw,2.35rem);
    font-weight:500;
    line-height:1.12;
    letter-spacing:-.02em;
}

.nm-guide-page .nm-guide-related__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
}

.nm-guide-page .nm-guide-related__card{
    min-width:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #dce6ee;
    border-radius:15px;
    background:#fff;
    box-shadow:0 10px 28px rgba(11,70,127,.045);
}

.nm-guide-page .nm-guide-related__media{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#eef3f7;
}

.nm-guide-page .nm-guide-related__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.nm-guide-page .nm-guide-related__body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:20px 20px 21px;
}

.nm-guide-page .nm-guide-related__category{
    margin-bottom:8px;
    color:#a67318;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.09em;
    line-height:1.35;
    text-transform:uppercase;
}

.nm-guide-page .nm-guide-related__card h3{
    margin:0 0 10px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:1.22rem;
    font-weight:500;
    line-height:1.28;
}

.nm-guide-page .nm-guide-related__card h3 a{
    color:#073e72;
    text-decoration:none;
}

.nm-guide-page .nm-guide-related__card p{
    margin:0 0 16px;
    color:#687f93;
    font-size:.88rem;
    line-height:1.58;
}

.nm-guide-page .nm-guide-related__link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:auto;
    color:#073e72;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
}

.nm-guide-page .nm-guide-related__card:hover{
    border-color:#cbd9e5;
    box-shadow:0 14px 32px rgba(11,70,127,.075);
}

.nm-guide-page .nm-guide-related__card:hover .nm-guide-related__link{
    color:#a67318;
}

@media(max-width:980px){
    .nm-guide-page .nm-guide-related__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){
    .nm-guide-page .nm-guide-related{
        margin-top:44px;
        padding-top:30px;
    }
    .nm-guide-page .nm-guide-related__grid{
        grid-template-columns:1fr;
        gap:16px;
    }
    .nm-guide-page .nm-guide-related__body{
        padding:18px;
    }
}


/* =========================================================
   NOVA MENTIS — MONDO PARITARIE HOME
   Layout arioso: testo + foto, accessi in seconda riga
   ========================================================= */
.nm-home-paritarie{
  position:relative;
  padding:76px 0 82px;
  background:linear-gradient(90deg,#f5faff 0%,#edf6fd 52%,#f7fbff 100%);
  overflow:hidden;
}
.nm-home-paritarie__shell{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.18fr);
  grid-template-areas:
    "copy visual"
    "links links";
  column-gap:52px;
  row-gap:34px;
  align-items:center;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.nm-home-paritarie__copy{
  grid-area:copy;
  position:relative;
  z-index:4;
  width:auto;
  padding:12px 0;
}
.nm-home-paritarie__eyebrow{
  margin:0 0 18px;
  color:var(--nm-gold);
  font-size:12px;
  line-height:1;
  font-weight:850;
  letter-spacing:.22em;
}
.nm-home-paritarie__copy h2{
  margin:0 0 22px;
  max-width:570px;
  color:var(--nm-navy-deep);
  font:500 clamp(40px,3.35vw,55px)/1.03 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}
.nm-home-paritarie__copy p{
  max-width:560px;
  margin:0 0 32px;
  color:#43566e;
  font-size:15px;
  line-height:1.66;
}
.nm-home-paritarie__cta{
  min-height:50px;
  padding-inline:25px;
  font-size:13px;
}

/* Foto autonoma e ampia: niente riquadri sovrapposti. */
.nm-home-paritarie__visual{
  grid-area:visual;
  position:relative;
  z-index:1;
  width:100%;
  height:390px;
  min-width:0;
  overflow:hidden;
  border-radius:16px;
  background:#dceaf5;
}
.nm-home-paritarie__visual:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(90deg,
    rgba(243,249,254,.86) 0%,
    rgba(243,249,254,.55) 9%,
    rgba(243,249,254,.16) 20%,
    rgba(243,249,254,0) 34%);
  pointer-events:none;
}
.nm-home-paritarie__visual img{
  width:100%;
  height:100%;
  min-height:0;
  display:block;
  object-fit:cover;
  object-position:57% 50%;
}

/* Seconda riga: quattro accessi larghi e leggibili. */
.nm-home-paritarie__links{
  grid-area:links;
  position:relative;
  z-index:6;
  right:auto;
  bottom:auto;
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.nm-home-paritarie__link{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 20px;
  gap:13px;
  align-items:center;
  min-height:104px;
  padding:18px 17px;
  border:1px solid rgba(220,231,240,.92);
  border-radius:12px;
  background:rgba(255,255,255,.96);
  color:var(--nm-navy);
  text-decoration:none;
  box-shadow:0 8px 22px rgba(7,56,109,.055);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
}
.nm-home-paritarie__link:last-child{border-bottom:1px solid rgba(220,231,240,.92)}
.nm-home-paritarie__link:hover{
  transform:translateY(-3px);
  background:#fff;
  border-color:#cbdbe8;
  box-shadow:0 13px 28px rgba(7,56,109,.10);
}
.nm-home-paritarie__icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eef5fb;
  color:#356d9f;
  font-size:17px;
}
.nm-home-paritarie__link-copy{display:block;min-width:0}
.nm-home-paritarie__link-copy strong{
  display:block;
  margin:0 0 5px;
  color:var(--nm-navy);
  font-size:14px;
  line-height:1.22;
  font-weight:800;
}
.nm-home-paritarie__link-copy small{
  display:block;
  color:#526b85;
  font-size:11.5px;
  line-height:1.4;
}
.nm-home-paritarie__arrow{
  font-size:18px;
  font-weight:800;
  transition:transform .2s ease;
}
.nm-home-paritarie__link:hover .nm-home-paritarie__arrow{transform:translateX(3px)}

@media(max-width:1180px){
  .nm-home-paritarie{padding:66px 0 72px}
  .nm-home-paritarie__shell{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:38px;row-gap:30px}
  .nm-home-paritarie__visual{height:360px}
  .nm-home-paritarie__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .nm-home-paritarie__link{min-height:88px}
}

@media(max-width:900px){
  .nm-home-paritarie{padding:54px 0 60px}
  .nm-home-paritarie__shell{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "visual" "links";
    row-gap:28px;
  }
  .nm-home-paritarie__copy{max-width:690px;padding:0}
  .nm-home-paritarie__copy h2{max-width:650px}
  .nm-home-paritarie__visual{height:400px}
  .nm-home-paritarie__links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .nm-home-paritarie{padding:42px 0 48px}
  .nm-home-paritarie__shell{row-gap:22px}
  .nm-home-paritarie__copy h2{font-size:36px}
  .nm-home-paritarie__copy h2 br{display:none}
  .nm-home-paritarie__copy p{font-size:14px;margin-bottom:26px}
  .nm-home-paritarie__visual{height:285px;border-radius:14px}
  .nm-home-paritarie__visual img{object-position:62% 50%}
  .nm-home-paritarie__visual:before{background:linear-gradient(90deg,rgba(243,249,254,.58),rgba(243,249,254,0) 35%)}
  .nm-home-paritarie__links{grid-template-columns:1fr;gap:10px}
  .nm-home-paritarie__link{min-height:76px;padding:14px 15px}
  .nm-home-paritarie__cta{width:auto}
}
