/* Origini Digitali — Home v1.3 · isolato sotto .od-home */
body.od-home-active { margin:0; }
body.od-home-active .wp-block-post-title, body.od-home-active .entry-title, body.od-home-active .page-title, body.od-home-active .post-title, body.od-home-active .site-header, body.od-home-active header.wp-block-template-part, body.od-home-active .wp-site-blocks > header, body.od-home-active .site-footer, body.od-home-active footer.wp-block-template-part, body.od-home-active .wp-site-blocks > footer {display:none !important}
body.od-home-active :is(.site-content,.content-area,.site-main,.entry-content,.wp-block-post-content,.wp-site-blocks,main#primary,.ast-container,.container,.content-container,.is-layout-constrained,.wp-block-group,.wp-block-post-content > .wp-block-group) {max-width:none !important;width:100% !important;margin:0 !important;padding:0 !important}
body.od-home-active .entry-content > .od-home, body.od-home-active .wp-block-post-content > .od-home {max-width:none !important}
body.od-home-active :is(.entry-content,.wp-block-post-content,.wp-block-group,.is-layout-constrained){background:transparent !important}
.od-home,.od-home * {box-sizing:border-box}
.od-home {--navy:#101b43;--blue:#234db5;--sky:#78c8ef;--cream:#f7f9ff;--ink:#1d2a4a;--muted:#64738e;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.6;overflow:clip;width:100%;max-width:none}
.od-home :is(h1,h2,h3,p) {margin:0}
.od-home a {text-decoration:none;color:inherit}
.od-home button {font:inherit;cursor:pointer}
.od-home :is(a,button):focus-visible {outline:3px solid #f6b858;outline-offset:4px}
.od-home .od-container {width:min(1180px,calc(100% - 48px));margin-inline:auto}
.od-skip {position:absolute;left:-9999px;top:8px;background:#fff;color:#123;padding:10px;z-index:9999}.od-skip:focus{left:12px}
.od-header {position:absolute;top:0;left:0;right:0;z-index:100;transition:background .25s}
.admin-bar .od-header {top:32px}
.od-nav-shell {width:min(1220px,calc(100% - 40px));height:86px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.od-header .od-nav-shell{margin-top:18px;padding:0 18px;border-radius:22px;background:rgba(255,255,255,.58);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(184,206,240,.72);box-shadow:0 16px 44px rgba(33,73,140,.10)}
.od-header.od-scrolled .od-nav-shell{background:rgba(255,255,255,.82);box-shadow:0 18px 46px rgba(22,55,115,.14)}
.od-brand {display:inline-flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-1.2px;font-weight:800;color:#163970 !important;white-space:nowrap}
.od-brand-mark {display:grid;place-items:center;width:34px;height:34px;border:1px solid #90bdf8;border-radius:11px;color:#2a64b8;font-size:24px;background:rgba(233,242,255,.95)}
.od-brand-accent {color:#3a87dc}.od-brand small {font-size:15px;font-weight:400;letter-spacing:-.2px;color:#496b99}
.od-nav {display:flex;align-items:center;gap:4px}.od-nav > a,.od-sub-trigger {border:0;background:transparent;color:#163970 !important;font-size:14px;font-weight:650;padding:11px 13px;border-radius:10px;display:flex;gap:7px;align-items:center;transition:background .2s,color .2s}.od-nav > a:hover,.od-sub-trigger:hover,.od-has-sub.od-open .od-sub-trigger{background:rgba(61,119,198,.10);color:#0f4db2 !important}
.od-nav .od-nav-contact {border:1px solid rgba(64,116,194,.28);background:rgba(255,255,255,.72);margin-left:10px;padding:10px 18px}.od-nav .od-nav-contact:hover{background:rgba(232,241,255,.96)}
.od-has-sub {position:relative}.od-sub-trigger span{font-size:19px;transition:transform .2s}.od-open .od-sub-trigger span{transform:rotate(180deg)}
.od-dropdown {position:absolute;top:calc(100% + 11px);left:0;width:256px;padding:9px;border:1px solid rgba(255,255,255,.42);border-radius:16px;background:rgba(244,249,255,.78);backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3);box-shadow:0 18px 50px rgba(4,18,58,.23);display:none;z-index:120}
.od-dropdown::before {content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
.od-open .od-dropdown {display:grid;animation:od-slide .18s ease-out both}
.od-dropdown a {display:block;padding:12px 13px;border-radius:9px;font-weight:650;font-size:14px;color:#1b3468 !important;line-height:1.4}.od-dropdown a:hover,.od-dropdown a:focus-visible{background:rgba(58,109,197,.12)}
@keyframes od-slide {from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.od-menu-toggle{display:none;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.10);color:#fff;padding:10px 13px;align-items:center;gap:12px}
.od-hamburger{display:flex;flex-direction:column;gap:4px}.od-hamburger i{display:block;width:18px;height:2px;border-radius:4px;background:#fff}
.od-hero {position:relative;color:#17284a;background:radial-gradient(ellipse at 79% 39%,rgba(204,227,255,.58) 0%,transparent 43%),linear-gradient(135deg,#ffffff 0%,#f8fbff 52%,#f1f7ff 100%);padding-top:86px;overflow:hidden}
.od-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(39,92,163,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(39,92,163,.035) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to right,transparent,black)}
.od-hero-glow{position:absolute;pointer-events:none;border-radius:50%;filter:blur(5px)}.od-glow-a{width:600px;height:600px;background:radial-gradient(circle,rgba(136,190,250,.16),transparent 68%);right:-120px;top:0}.od-glow-b{width:350px;height:350px;background:radial-gradient(circle,rgba(183,205,255,.14),transparent 68%);left:-120px;bottom:-90px}
.od-hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:575px;gap:30px;padding-top:30px;padding-bottom:38px}
.od-eyebrow,.od-kicker{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:2px}.od-eyebrow{color:#3f6ea8}.od-eyebrow-dot{width:7px;height:7px;background:#4fd1b8;border-radius:50%;box-shadow:0 0 0 5px rgba(79,209,184,.14)}
.od-hero h1{font-size:clamp(40px,4.5vw,65px);line-height:1.08;letter-spacing:-2.6px;font-weight:850;max-width:710px;margin:25px 0 24px;color:#17284a}.od-home em{font-style:normal;color:#3687df}.od-hero em{color:#2d78d1}
.od-hero-copy>p {max-width:565px;color:#556684;font-size:18px;line-height:1.8}
.od-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.od-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:14px 21px;border-radius:11px;font-size:14px;font-weight:750;min-height:49px;transition:transform .2s,background .2s,border-color .2s,color .2s}.od-btn:hover{transform:translateY(-2px)}.od-btn-primary{background:#2f6fd0;color:#fff !important;box-shadow:0 16px 32px rgba(47,111,208,.18)}.od-btn-primary:hover{background:#275fba}.od-btn-outline{color:#17376f !important;border:1px solid #c8daf5;background:rgba(255,255,255,.78)}.od-btn-outline:hover{background:#eef5ff}.od-btn-light{background:#fff;color:#163773 !important}
.od-hero-tags{display:flex;flex-wrap:wrap;gap:18px;margin-top:42px}.od-hero-tags span{color:#6a7b95;font-size:12px;font-weight:650;letter-spacing:.6px}.od-hero-tags span::before{content:"✦";color:#56b8d7;margin-right:7px}
.od-hero-art{position:relative;min-height:425px;display:grid;place-items:center;isolation:isolate}.od-orbit{position:absolute;border:1px solid rgba(178,217,255,.19);border-radius:50%}.od-orbit-outer{width:420px;height:420px}.od-orbit-inner{width:320px;height:320px;border-style:dashed}.od-pixel{width:12px;height:12px;background:#82d5f4;position:absolute;transform:rotate(45deg)}.od-pixel-one{top:40px;left:80px}.od-pixel-two{right:48px;top:140px;width:9px;height:9px}.od-pixel-three{bottom:75px;left:60px;width:7px;height:7px;background:#c9b7ff}
.od-computer{width:300px;position:relative;filter:drop-shadow(15px 29px 28px rgba(3,12,34,.3));transform:rotate(-4deg)}.od-computer-screen{height:229px;background:#142651;border:20px solid #cfd8ec;border-bottom-width:24px;border-radius:20px 20px 12px 12px;box-shadow:inset 0 0 23px rgba(71,206,235,.2),5px -5px 0 rgba(255,255,255,.18);padding:19px 18px}.od-screen-label{font:700 13px monospace;letter-spacing:2px;color:#8fe5fa}.od-screen-graphic{display:flex;align-items:end;gap:8px;margin-top:25px;height:70px}.od-screen-graphic span{width:24px;background:linear-gradient(#a7eaff,#4496de);border-radius:4px 4px 0 0}.od-screen-graphic span:nth-child(1){height:27px}.od-screen-graphic span:nth-child(2){height:55px}.od-screen-graphic span:nth-child(3){height:39px}.od-screen-graphic span:nth-child(4){height:64px}.od-screen-graphic span:nth-child(5){height:47px}.od-screen-graphic span:nth-child(6){height:68px}.od-screen-cursor{color:#a0f2d6;font:20px monospace}.od-computer-body{height:74px;background:linear-gradient(130deg,#edf4ff,#b4c5e4);border-radius:0 0 19px 19px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 27px;box-shadow:inset 0 -7px 0 rgba(62,94,158,.17)}.od-computer-body span{height:8px;width:8px;border-radius:50%;background:#4c8ec2}.od-computer-body span+span{background:#78d7c6}.od-computer-foot{height:18px;width:210px;margin:auto;background:#8b9dbd;border-radius:0 0 12px 12px}.od-float{position:absolute;padding:10px 14px;border:1px solid rgba(255,255,255,.33);background:rgba(237,247,255,.12);backdrop-filter:blur(12px);border-radius:10px;font:750 13px monospace;color:#e7f9ff;box-shadow:0 8px 24px rgba(3,15,40,.18)}.od-float-one{top:80px;right:0}.od-float-one span{color:#87d8f4}.od-float-two{bottom:65px;left:0}.od-float-two b{color:#86e5d1}
.od-hero-bottom{position:relative;display:flex;justify-content:space-between;align-items:center;padding:18px 0 24px;border-top:1px solid rgba(255,255,255,.16);font-size:11px;color:#9ebde5;font-weight:750;letter-spacing:1.5px}.od-hero-bottom a{color:#e1eeff}
.od-section{padding:100px 0;scroll-margin-top:24px}.od-kicker{color:#2d68bd;margin-bottom:16px}.od-section h2,.od-cta h2{font-size:clamp(31px,3.5vw,47px);line-height:1.17;letter-spacing:-1.7px;font-weight:850}.od-section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:42px}.od-section-heading>p{max-width:360px;color:var(--muted)}
.od-activities{background:#f7f9fe}.od-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.od-service-card{display:flex;flex-direction:column;min-height:265px;padding:27px;border-radius:16px;border:1px solid #e4eaf5;background:#fff;box-shadow:0 10px 32px rgba(15,43,91,.035);transition:transform .2s,box-shadow .2s,border-color .2s}.od-service-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(25,61,117,.10);border-color:#b8d2f5}.od-service-top{display:flex;justify-content:space-between;align-items:start}.od-service-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#2c60b1;background:#edf4ff;font-size:26px}.od-service-number{color:#a6b5cf;font-size:12px;font-weight:800}.od-service-card h3{font-size:20px;letter-spacing:-.5px;line-height:1.3;margin:22px 0 10px}.od-service-card p{color:#65738e;font-size:14px;line-height:1.65}.od-card-link{display:flex;justify-content:space-between;font-size:13px;color:#2e62b0;font-weight:800;margin-top:auto;padding-top:21px}
.od-feature-grid{display:grid;grid-template-columns:1fr .9fr;gap:80px;align-items:center}.od-feature-grid p,.od-resource-grid p,.od-events p,.od-about p{color:#66738c;font-size:16px;line-height:1.85;margin:24px 0 25px;max-width:585px}.od-inline-link{display:inline-flex;gap:14px;align-items:center;color:#245cb5 !important;font-size:14px;font-weight:800;border-bottom:1px solid #a3bde7;padding-bottom:6px}.od-feature-visual{min-height:340px;border-radius:24px;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#cce7ff,transparent 45%),linear-gradient(135deg,#edf4ff,#dce7ff)}.od-feature-panel{width:70%;min-height:275px;background:#fff;border:1px solid #dfebfc;border-radius:18px;box-shadow:18px 20px 0 rgba(41,91,169,.11),0 20px 45px rgba(32,65,114,.12);padding:23px;display:flex;flex-direction:column;align-items:center}.od-panel-chip{font-size:10px;color:#2e65b6;letter-spacing:1.5px;font-weight:850}.od-feature-symbol{font-size:85px;line-height:1.5;color:#387acb}.od-panel-lines{display:grid;gap:9px;width:100%}.od-panel-lines span{height:8px;border-radius:8px;background:#e2ebf9}.od-panel-lines span:nth-child(2){width:80%}.od-panel-lines span:nth-child(3){width:57%}.od-panel-footer{font-size:9px;color:#6489b7;letter-spacing:1.2px;margin-top:auto;padding-top:17px;font-weight:850}
.od-band{color:#fff;background:linear-gradient(120deg,#203e83,#245cb6)}.od-band .od-kicker{color:#afdcff}.od-band h2 em{color:#a1e2fd}.od-band-layout{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:80px}.od-band p{color:#d6e5ff;margin-bottom:25px;line-height:1.8}
.od-experience{background:#fff}.od-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;border-top:2px solid #dae6fa;padding-top:32px}.od-timeline>div{position:relative}.od-timeline>div::before{content:"";position:absolute;top:-40px;width:14px;height:14px;background:#3477ce;border-radius:50%;box-shadow:0 0 0 5px #d9eaff}.od-timeline span{font-size:11px;letter-spacing:1.4px;color:#2c65b8;font-weight:800}.od-timeline h3{margin:12px 0 9px;font-size:20px}.od-timeline p{color:#66738c;font-size:14px}
.od-resources{background:#f7f9fe}.od-resource-grid{display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center}.od-resource-art{display:grid;grid-template-columns:repeat(2,110px);gap:15px;justify-content:center;transform:rotate(-9deg)}.od-resource-tile{height:110px;display:grid;place-items:center;border-radius:21px;background:#fff;color:#326fbe;border:1px solid #d9e6f9;box-shadow:0 14px 30px rgba(43,89,153,.10);font-size:52px;font-weight:800}.od-resource-tile:nth-child(2){color:#4cadb6}.od-resource-tile:nth-child(3){color:#886acb}.od-resource-tile:nth-child(4){color:#dc9a49}
.od-events-row{display:flex;align-items:center;justify-content:space-between;gap:50px}.od-events-row>div{max-width:720px}.od-events-row .od-btn{flex-shrink:0}.od-about{background:#eaf2fe;text-align:center}.od-about .od-container{max-width:790px}.od-about p{margin:25px auto 0}
.od-cta{padding:100px 0;background:radial-gradient(circle at 80% 10%,#275bb1,transparent 46%),#112556;color:#fff;text-align:center;scroll-margin-top:30px}.od-cta .od-kicker{color:#a1d6fd}.od-cta h2{margin:8px 0 22px}.od-cta p{color:#d0e0f9;margin-bottom:27px}.od-cta-note{font-size:11px !important;opacity:.65;margin-top:18px !important;margin-bottom:0 !important}
.od-footer{background:#0d1c40;color:#c4d1e8}.od-footer-row{min-height:100px;display:flex;justify-content:space-between;gap:20px;align-items:center}.od-footer-brand{font-size:20px;letter-spacing:-1px;font-weight:850;color:#fff !important}.od-footer-brand span{color:#82d5f8}.od-footer-brand small{font-size:13px;font-weight:400}.od-footer p,.od-footer a:last-child{font-size:12px}
@media (max-width:1100px){.od-nav-shell{width:calc(100% - 30px)}.od-nav>a,.od-sub-trigger{padding:10px 9px;font-size:13px}.od-brand{font-size:20px}.od-hero-grid{gap:10px}.od-computer{transform:rotate(-4deg) scale(.88)}.od-orbit-outer{width:360px;height:360px}}
@media (max-width:980px){.od-menu-toggle{display:flex}.od-nav-shell{height:76px}.od-nav{display:none;position:absolute;left:20px;right:20px;top:75px;background:rgba(248,251,255,.97);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);border:1px solid rgba(199,217,243,.9);border-radius:18px;padding:12px;box-shadow:0 24px 55px rgba(24,52,102,.18);flex-direction:column;align-items:stretch;max-height:calc(100vh - 120px);overflow-y:auto}.od-nav.od-nav-open{display:flex}.od-nav>a,.od-sub-trigger{width:100%;justify-content:space-between;text-align:left;padding:13px 14px;font-size:15px;color:#163970 !important}.od-nav>a:hover,.od-sub-trigger:hover,.od-has-sub.od-open .od-sub-trigger{background:rgba(61,119,198,.10)}.od-nav .od-nav-contact{margin:8px 0 0;background:#dcecff;border-color:#c2d8f7}.od-dropdown{position:static;width:auto;margin:0 8px 10px;border:0;border-left:2px solid #b5d3f2;border-radius:0 10px 10px 0;background:rgba(255,255,255,.47);box-shadow:none;backdrop-filter:none}.od-dropdown::before{display:none}.od-dropdown a{padding:10px 12px}.od-hero-grid{min-height:590px}.od-hero-art{min-height:340px}.od-orbit-outer{width:310px;height:310px}.od-orbit-inner{width:240px;height:240px}.od-computer{transform:rotate(-4deg) scale(.75)}.od-float{font-size:10px}.od-float-one{right:-4px}.od-feature-grid,.od-band-layout,.od-resource-grid{gap:35px}}
@media (max-width:720px){.od-home .od-container{width:calc(100% - 36px)}.od-nav-shell{width:calc(100% - 32px)}.od-brand{font-size:20px}.od-brand-mark{width:30px;height:30px}.od-brand small{font-size:12px}.od-hero{padding-top:76px}.od-hero-grid{grid-template-columns:1fr;min-height:0;gap:0;padding-top:46px}.od-hero h1{font-size:clamp(38px,9vw,57px);letter-spacing:-1.9px;margin:19px 0}.od-hero-copy>p{font-size:16px}.od-hero-tags{margin-top:24px;gap:13px}.od-hero-art{min-height:330px;margin-top:18px}.od-hero-bottom{font-size:9px;letter-spacing:1px}.od-section{padding:70px 0}.od-section-heading{display:block;margin-bottom:30px}.od-section-heading>p{margin-top:18px}.od-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.od-service-card{min-height:280px;padding:20px}.od-service-card h3{font-size:17px}.od-service-card p{font-size:13px}.od-feature-grid,.od-band-layout,.od-resource-grid{grid-template-columns:1fr;gap:32px}.od-feature-visual{min-height:300px}.od-timeline{grid-template-columns:1fr;gap:24px;border-top:0;padding:0;border-left:2px solid #dae6fa;margin-left:7px}.od-timeline>div{padding-left:26px}.od-timeline>div::before{top:3px;left:-8px}.od-resource-art{padding:20px 0}.od-events-row{display:block}.od-events-row .od-btn{margin-top:12px}.od-cta{padding:75px 0}.od-footer-row{flex-direction:column;text-align:center;padding:30px 0}.od-footer p{order:3}}
@media (max-width:420px){.od-card-grid{grid-template-columns:1fr}.od-service-card{min-height:230px}.od-hero-art{min-height:290px}.od-orbit-outer{width:285px;height:285px}.od-orbit-inner{width:220px;height:220px}.od-computer{transform:rotate(-4deg) scale(.68)}.od-float-one{top:30px}.od-float-two{bottom:20px}.od-hero-bottom>span{max-width:140px}.od-menu-toggle{padding:9px 11px}}
@media (max-width:782px){.admin-bar .od-header{top:46px}}
@media (prefers-reduced-motion:reduce){.od-home *, .od-home *::before,.od-home *::after {animation:none !important;transition:none !important;scroll-behavior:auto !important}}

/* v1.3: chiarimento del primo modulo e resilienza contro stili tema */
.od-home .od-hero{background:radial-gradient(ellipse at 79% 39%,rgba(204,227,255,.58) 0%,transparent 43%),linear-gradient(135deg,#fff 0%,#f8fbff 52%,#f1f7ff 100%) !important;color:#17284a !important}
.od-home .od-hero .od-hero-copy>p{color:#556684 !important}
.od-home .od-hero .od-hero-copy h1{color:#17284a !important}
.od-home .od-hero .od-hero-copy h1 em{color:#286ecb !important}
.od-home .od-header .od-nav-shell{background:rgba(255,255,255,.77);border-color:rgba(195,216,244,.85)}
.od-home .od-menu-toggle{color:#18386d;border-color:#c7d9f4;background:#f6faff}
.od-home .od-hamburger i{background:#18386d}

/* 1.4 - B2B inspired light hero: scoped and explicit; overrides prior dark values */
body.od-home-active .od-home .od-hero {
  background: radial-gradient(ellipse at 78% 44%, #e2efff 0%, rgba(226,239,255,0) 46%), linear-gradient(180deg,#ffffff 0%,#f7faff 100%) !important;
  color:#172a48 !important;
}
body.od-home-active .od-home .od-hero .od-hero-copy h1 {color:#172a48 !important;}
body.od-home-active .od-home .od-hero .od-hero-copy h1 em {color:#246fd0 !important;}
body.od-home-active .od-home .od-hero .od-hero-copy>p {color:#51637c !important;}
body.od-home-active .od-home .od-hero .od-eyebrow {color:#416d9e !important;}
body.od-home-active .od-home .od-hero .od-hero-tags span {color:#61718b !important;}
body.od-home-active .od-home .od-hero .od-hero-bottom {border-color:#dbe7f5 !important;color:#687f9b !important;}
body.od-home-active .od-home .od-hero .od-hero-bottom a {color:#2159a3 !important;}
body.od-home-active .od-home .od-hero .od-btn-primary{color:#fff !important;background:#266ccd !important;}
body.od-home-active .od-home .od-hero .od-btn-outline{color:#173a73 !important;background:#fff !important;border:1px solid #c8dbf3 !important;}
body.od-home-active .od-home .od-header .od-nav-shell{background:rgba(255,255,255,.76) !important;border:1px solid rgba(186,211,241,.8) !important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
body.od-home-active .od-home .od-header .od-brand,body.od-home-active .od-home .od-header .od-nav>a,body.od-home-active .od-home .od-header .od-sub-trigger{color:#17375f !important;}
body.od-home-active .od-home .od-header .od-brand-accent{color:#347cce !important;}
body.od-home-active .od-home .od-header .od-brand small{color:#46678f !important;}
body.od-home-active .od-home .od-header .od-brand-mark{color:#2b70cb;background:#f5faff !important;}
body.od-home-active .od-home .od-header .od-nav-contact{background:#fff !important;border-color:#c8d9ed !important;}
body.od-home-active .od-home .od-hero::before{background-image:linear-gradient(rgba(40,90,170,.035) 1px, transparent 1px),linear-gradient(90deg,rgba(40,90,170,.035) 1px, transparent 1px) !important;}
body.od-home-active .od-home .od-hero .od-float{background:rgba(255,255,255,.88) !important;color:#224779 !important;border-color:#c4d9f3 !important;}
@media(max-width:980px){body.od-home-active .od-home .od-header .od-nav{background:rgba(250,252,255,.97) !important;}}

/* v1.5 · Navigation by services: two glass rows, original identity retained */
.od-home .od-header .od-nav-shell{height:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 22px !important;width:min(1280px,calc(100% - 40px));margin-top:12px}
.od-home .od-nav-top{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(125,155,197,.18)}
.od-home .od-nav-tagline{font-size:12px;color:#59718f;font-weight:650;letter-spacing:.3px}
.od-home .od-nav{display:flex;width:100%;justify-content:space-between;align-items:center;gap:1px;min-height:57px}
.od-home .od-nav>a,.od-home .od-nav .od-sub-trigger{padding:12px 7px;font-size:clamp(11px,.91vw,13px);font-weight:750;white-space:nowrap;line-height:1.25}
.od-home .od-lim-dropdown{width:267px;grid-template-columns:1fr;max-height:min(500px,calc(100vh - 200px));overflow-y:auto}
.od-home .od-dropdown-title{color:#5279aa;font-size:10px;letter-spacing:1.5px;font-weight:850;padding:10px 12px 4px;text-transform:uppercase}
.od-home .od-hero{padding-top:145px}
.od-home .od-hero-grid{min-height:575px}
.od-home .od-percorso-page{min-height:68vh;padding:225px 0 95px;background:radial-gradient(circle at 85% 35%,#e4f0ff 0,transparent 43%),linear-gradient(120deg,#fff,#f3f8ff)}
.od-home .od-percorso-inner{max-width:880px;margin-left:auto;margin-right:auto}
.od-home .od-percorso-back{display:inline-block;color:#386bab;font-size:14px;font-weight:750;margin-bottom:44px}
.od-home .od-percorso-page h1{font-size:clamp(38px,5.2vw,67px);letter-spacing:-2px;line-height:1.1;color:#172b49;margin:22px 0}
.od-home .od-percorso-page p{font-size:19px;color:#52647d;max-width:670px;line-height:1.75}
.od-home .od-percorso-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}
.od-home .od-percorso-note{font-size:13px;color:#64748b;border-top:1px solid #dbe7f5;padding-top:22px}
.od-home .od-footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding:50px 0 38px}
.od-home .od-footer-intro p{font-size:13px;color:#c4d1e8;margin-top:13px}
.od-home .od-footer-links{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.od-home .od-footer-links h2{color:#fff;font-size:13px;letter-spacing:.7px;text-transform:uppercase;margin-bottom:7px}
.od-home .od-footer-links a{color:#c9d7ec;font-size:14px;text-decoration:none}
.od-home .od-footer-links a:hover{color:#fff;text-decoration:underline}
.od-home .od-footer-bottom{display:flex;justify-content:space-between;align-items:center;min-height:69px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#aebfd9;gap:18px}
.od-home .od-footer-bottom a{color:#cbd9ec}
@media(max-width:1100px){
 .od-home .od-header .od-nav-shell{width:calc(100% - 26px)}
 .od-home .od-menu-toggle{display:flex;background:#f0f6ff;color:#183969;border:1px solid #bfd4ee}
 .od-home .od-hamburger i{background:#225b9f}
 .od-home .od-nav-top{min-height:74px;border-bottom:0}
 .od-home .od-nav{display:none;position:absolute;top:80px;left:13px;right:13px;width:auto;max-height:calc(100vh - 155px);overflow-y:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;background:rgba(248,251,255,.98);border:1px solid #d9e6f4;border-radius:16px;padding:12px;box-shadow:0 18px 40px rgba(27,66,126,.14);backdrop-filter:blur(22px)}
 .od-home .od-nav.od-nav-open{display:flex}
 .od-home .od-nav>a,.od-home .od-nav .od-sub-trigger{font-size:15px;padding:13px 14px;width:100%;text-align:left;justify-content:space-between}
 .od-home .od-dropdown{position:static;box-shadow:none;border-left:2px solid #b8d5f0;border-top:0;border-right:0;border-bottom:0;border-radius:0;background:#f7fbff;width:auto;max-height:none;overflow:visible;margin:0 8px 6px}
 .od-home .od-dropdown::before{display:none}
 .od-home .od-nav-tagline{display:none}
 .od-home .od-hero{padding-top:95px}
 .od-home .od-percorso-page{padding-top:160px}
}
@media(max-width:720px){
 .od-home .od-footer-main{grid-template-columns:1fr 1fr;gap:32px;padding:42px 0}
 .od-home .od-footer-intro{grid-column:1/-1}
 .od-home .od-footer-bottom{flex-direction:column;align-items:flex-start;justify-content:center;padding:18px 0}
 .od-home .od-percorso-page{padding-top:150px;padding-bottom:70px}
 .od-home .od-percorso-page p{font-size:17px}
}
@media(max-width:400px){.od-home .od-footer-main{grid-template-columns:1fr}.od-home .od-footer-intro{grid-column:auto}}

/* Origini Digitali v1.6 — Area bandi (non dati in tempo reale) */
.od-home .od-bandi-intro{margin:32px 0 28px;padding:24px 26px;background:#edf5ff;border:1px solid #d3e4fa;border-radius:18px;max-width:960px}
.od-home .od-bandi-intro strong{display:block;font-size:17px;color:#153c75;margin-bottom:10px}
.od-home .od-bandi-intro p{font-size:15px;line-height:1.7;max-width:none}
.od-home .od-bandi-heading{font-size:clamp(22px,2.3vw,32px);color:#172b49;letter-spacing:-.6px;margin:45px 0 22px}
.od-home .od-bandi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1100px}
.od-home .od-bandi-card{background:#fff;border:1px solid #dfebfa;border-radius:20px;padding:25px;box-shadow:0 12px 28px rgba(27,65,119,.05)}
.od-home .od-bandi-icon{display:grid;place-items:center;width:42px;height:42px;background:#edf5ff;color:#245fb6;border-radius:12px;font-size:23px}
.od-home .od-bandi-card h3{font-size:20px;color:#172b49;margin:16px 0 8px}
.od-home .od-bandi-card p{font-size:14px;line-height:1.65;color:#52647d}
.od-home .od-bandi-sources{display:grid;grid-template-columns:1fr .9fr;gap:30px;align-items:center;margin:55px 0 25px;padding:30px;background:#f3f7fd;border-radius:20px}
.od-home .od-bandi-sources h2{font-size:clamp(23px,2.4vw,32px);color:#172b49;margin:8px 0 12px}
.od-home .od-bandi-sources p{font-size:15px;line-height:1.7}
.od-home .od-bandi-source-links{display:flex;flex-direction:column;gap:10px}
.od-home .od-bandi-source-links a{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px 18px;background:#fff;border:1px solid #d4e2f3;color:#174c94;font-size:14px;font-weight:750;border-radius:12px}
.od-home .od-bandi-source-links a:hover{border-color:#5895d8;background:#f8fbff}
.od-home .od-bandi-status{display:flex;gap:12px;align-items:flex-start;color:#506481;font-size:14px;line-height:1.7;max-width:1000px;padding:17px 20px;border:1px solid #dce5f0;border-radius:14px;background:#fff}
.od-home .od-bandi-status strong{color:#243f64}
@media(max-width:720px){.od-home .od-bandi-grid,.od-home .od-bandi-sources{grid-template-columns:1fr}.od-home .od-bandi-sources{padding:20px}.od-home .od-bandi-card{padding:20px}}

/* v1.7 — mega menu originale, materie e argomenti per LIM */
@media(min-width:1101px){
 .od-home .od-header .od-nav-shell{position:relative}
 .od-home .od-nav .od-mega-parent{position:static}
 .od-home .od-nav .od-mega-dropdown{position:absolute;left:0;right:0;top:calc(100% + 12px);width:auto;max-width:none;max-height:min(66vh,650px);overflow-y:auto;padding:23px 26px 27px;border:1px solid #d5e4f6;background:rgba(249,252,255,.96);box-shadow:0 24px 60px rgba(13,42,88,.17);border-radius:18px}
 .od-home .od-nav .od-mega-dropdown:before{height:13px;top:-13px}
 .od-home .od-nav .od-mega-dropdown .od-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 29px}
 .od-home .od-nav .od-mega-dropdown .od-mega-intro{margin-bottom:22px}
 .od-home .od-nav .od-mega-dropdown .od-mega-group{display:flex;flex-direction:column;gap:0}
 .od-home .od-nav .od-mega-dropdown a{font-size:13px;line-height:1.35;padding:8px 9px}
 .od-home .od-nav .od-mega-dropdown .od-mega-heading{color:#163d75 !important;font-weight:850;font-size:15px;border-bottom:1px dashed #c7d8ee;padding:7px 9px 11px;margin-bottom:5px}
 .od-home .od-nav .od-simple-dropdown{width:270px}
}
.od-home .od-mega-intro strong{display:block;color:#163d75;font-size:17px;line-height:1.3;margin-bottom:5px}
.od-home .od-mega-intro span{display:block;font-size:13px;color:#5f728c}
.od-home .od-nav-bandi{color:#1254aa !important;font-weight:850 !important}
.od-home .od-topic-parent{font-weight:750;color:#2464b5 !important;margin-bottom:8px !important}
.od-home .od-topic-notice{font-size:14px;background:#ebf4ff;color:#27466d;border:1px solid #d0e2f8;border-radius:12px;padding:15px 18px;margin:24px 0}
@media(max-width:1100px){
 .od-home .od-nav .od-mega-dropdown{width:auto;max-height:none;overflow:visible;padding:12px !important}
 .od-home .od-nav .od-mega-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:12px 0}
 .od-home .od-nav .od-mega-group{display:flex;flex-direction:column;border-bottom:1px solid #e0ebf8;padding:0 4px 12px}
 .od-home .od-nav .od-mega-heading{font-weight:850;color:#174778 !important;border-bottom:1px dashed #d2e0f0}
 .od-home .od-nav .od-mega-intro{padding:5px 10px}
}
@media(max-width:600px){.od-home .od-nav .od-mega-grid{grid-template-columns:1fr;gap:10px}.od-home .od-nav .od-mega-group{padding-bottom:7px}.od-home .od-nav .od-mega-dropdown{margin:0 3px 8px}}

/* v1.8 — nasconde solo la barra del mega-menu senza perdere lo scorrimento */
@media (min-width:1101px) {
  body .od-home .od-nav .od-mega-dropdown {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* browser legacy */
  }
  body .od-home .od-nav .od-mega-dropdown::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safari */
    width: 0;
    height: 0;
  }
}

/* v1.9 — corretto percorso mouse nel mega-menu LIM e ridotta altezza */
@media (min-width:1101px) {
  /* Aderenza fra barra e pannello: niente zona morta che disattiva :hover. */
  body .od-home .od-nav .od-mega-dropdown {
    top:100% !important;
    padding:14px 24px 17px !important;
    max-height:calc(100dvh - 210px) !important;
    overflow-y:auto !important;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  body .od-home .od-nav .od-mega-dropdown::-webkit-scrollbar { display:none;width:0;height:0; }
  body .od-home .od-nav .od-mega-dropdown::before {
    content:none !important;
  }
  body .od-home .od-nav .od-mega-dropdown .od-mega-intro {
    margin-bottom:9px !important;
  }
  body .od-home .od-nav .od-mega-dropdown .od-mega-grid {
    gap:9px 24px !important;
  }
  body .od-home .od-nav .od-mega-dropdown a {
    padding:5px 8px !important;
    line-height:1.32 !important;
  }
  body .od-home .od-nav .od-mega-dropdown .od-mega-heading {
    margin-bottom:3px !important;
    padding:5px 8px 7px !important;
  }
}

/* v2.1 — catalogo storico: lezioni nel periodo, non nel mega-menu */
.od-home .od-topic-lesson-card{margin:24px 0;padding:24px;border:1px solid #cddff4;border-radius:18px;background:#f5f9ff;box-shadow:0 10px 28px rgba(30,65,117,.06)}
.od-home .od-topic-lesson-card h2{font-size:clamp(22px,2.6vw,30px);margin:8px 0;color:#172b49}
.od-home .od-topic-lesson-card p{max-width:730px;color:#536a88;line-height:1.65;margin:0 0 18px}
.od-home .od-topic-lesson-kicker{font-size:11px;letter-spacing:.11em;color:#246abf;font-weight:850}
.od-home .od-topic-lesson-card .od-btn{width:max-content;max-width:100%}
