:root{
  --x23-ink:#111116;
  --x23-muted:#625d57;
  --x23-paper:#fffaf3;
  --x23-cream:#f4eee5;
  --x23-red:#d6001c;
  --x23-red2:#ff1838;
  --x23-gold:#c49b55;
  --x23-dark:#0b0c11;
  --x23-line:rgba(17,17,22,.11);
  --x23-radius:34px;
  --x23-max:1180px;
  --x23-shadow:0 28px 90px rgba(32,22,14,.13);
}
html body.edictumx-home-premium-active{max-width:100%;overflow-x:hidden}
body.edictumx-home-premium-active #page,
body.edictumx-home-premium-active .site,
body.edictumx-home-premium-active #content,
body.edictumx-home-premium-active .site-content,
body.edictumx-home-premium-active .ast-container,
body.edictumx-home-premium-active #content .ast-container,
body.edictumx-home-premium-active #primary,
body.edictumx-home-premium-active .content-area,
body.edictumx-home-premium-active .site-main{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;
}
body.edictumx-home-premium-active .site-content > .ast-container,
body.edictumx-home-premium-active #content > .ast-container{display:block!important}
body.edictumx-home-premium-active #primary{float:none!important;display:block!important;flex:0 0 100%!important}
body.edictumx-home-premium-active .widget-area,
body.edictumx-home-premium-active .sidebar-main{display:none!important}
body.edictumx-home-premium-active .entry-header,
body.edictumx-home-premium-active .entry-title{display:none!important}
body.edictumx-home-premium-active #content{padding:0!important}
body.edictumx-home-premium-active{overflow-x:hidden}

#edxhp-home{display:block;width:100%;max-width:100%;min-width:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;color:var(--x23-ink);background:var(--x23-paper);line-height:1.55;overflow:hidden}
#edxhp-home *,#edxhp-home *::before,#edxhp-home *::after{box-sizing:border-box}
#edxhp-home img{display:block;max-width:100%;height:auto}
#edxhp-home a{text-decoration:none}
#edxhp-home h1,#edxhp-home h2,#edxhp-home h3{margin:0;color:inherit;font-weight:690;letter-spacing:-.05em;text-wrap:balance}
#edxhp-home h1{font-size:clamp(54px,7.1vw,112px);line-height:.9}
#edxhp-home h2{font-size:clamp(42px,5.3vw,82px);line-height:.96}
#edxhp-home h3{font-size:clamp(27px,2.6vw,40px);line-height:1.04}
#edxhp-home p{margin-top:0}
#edxhp-home .xhome-shell{width:min(var(--x23-max),calc(100% - 48px));margin-inline:auto;position:relative}
#edxhp-home .xhome-eyebrow{margin:0 0 16px;font-size:12px;font-weight:900;letter-spacing:.20em;text-transform:uppercase;color:var(--x23-red)}
#edxhp-home .xhome-lead{font-size:clamp(18px,1.5vw,23px);line-height:1.58;color:var(--x23-muted);max-width:760px}
#edxhp-home .xhome-heading{max-width:940px;margin-bottom:54px}
#edxhp-home .xhome-heading-center{text-align:center;margin-left:auto;margin-right:auto}
#edxhp-home .xhome-heading>p:last-child{font-size:19px;color:var(--x23-muted);max-width:740px}
#edxhp-home .xhome-heading-center>p:last-child{margin-left:auto;margin-right:auto}
#edxhp-home .xhome-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
#edxhp-home .xbtn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font-size:14px;font-weight:850;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
#edxhp-home .xbtn:hover{transform:translateY(-2px)}
#edxhp-home .xbtn-primary{color:#fff!important;background:linear-gradient(180deg,var(--x23-red2),#b40022)!important;box-shadow:0 16px 38px rgba(214,0,28,.25)!important;border:0!important}
#edxhp-home .xbtn-light{color:#111!important;background:#fff!important;border:0!important}
#edxhp-home .xbtn-ghost{color:var(--x23-ink)!important;background:rgba(255,255,255,.55)!important;border:1px solid rgba(17,17,22,.16)!important}
#edxhp-home .xbtn-darkghost{color:#fff!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.22)!important}
#edxhp-home .xtext-link{font-weight:850;color:var(--x23-red)!important}

/* HERO */
#edxhp-home .x23-hero{position:relative;min-height:clamp(760px,calc(100svh - 70px),980px);display:flex;align-items:center;background:#090a0f;color:#fff;overflow:hidden;isolation:isolate;padding:0}
#edxhp-home .x23-hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
#edxhp-home .x23-hero-backdrop{position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(34px) brightness(.35) saturate(.9);transform:scale(1.05)}
#edxhp-home .x23-hero-video{position:absolute;top:0;right:clamp(8px,2vw,28px);width:min(41vw,700px);height:100%;object-fit:contain;object-position:right center;background:transparent;opacity:.96}
#edxhp-home .x23-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,8,13,.985) 0%,rgba(7,8,13,.97) 44%,rgba(7,8,13,.83) 60%,rgba(7,8,13,.36) 78%,rgba(7,8,13,.18) 100%),linear-gradient(0deg,rgba(7,8,13,.65),transparent 52%)}
#edxhp-home .x23-hero-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-start;min-height:inherit;width:100%;max-width:none;margin:0;padding:94px clamp(26px,5vw,88px) 84px clamp(26px,7vw,110px)}
#edxhp-home .x23-hero-copy{max-width:min(720px,calc(100vw - min(42vw,720px) - 180px));min-width:min(560px,100%);width:100%;margin-right:auto;margin-left:0;padding-left:0;text-align:left}
#edxhp-home .x23-hero-copy h1 span{background:linear-gradient(90deg,#fff,#ead7b0,#fff);background-size:210% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:x23shine 8s linear infinite}
#edxhp-home .x23-hero-copy .xhome-eyebrow{color:#ffd49a}
#edxhp-home .x23-hero-copy .xhome-lead{color:rgba(255,255,255,.82);margin-top:24px}
#edxhp-home .x23-hero .xbtn-ghost{color:#fff!important;border-color:rgba(255,255,255,.28)!important;background:rgba(255,255,255,.05)!important}
#edxhp-home .xdemo-note{margin:18px 0 0;color:rgba(255,255,255,.65);font-size:13px}
#edxhp-home .x23-hero-signpost{justify-self:end;align-self:end;width:min(300px,100%);margin-bottom:30px;border-left:1px solid rgba(255,255,255,.18);padding-left:24px;display:grid;grid-template-columns:auto 1fr;gap:9px 16px;font-size:12px}
#edxhp-home .x23-hero-signpost span{color:#ff6d7d;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
#edxhp-home .x23-hero-signpost b{font-weight:750;color:rgba(255,255,255,.80)}

/* ticker */
#edxhp-home .x23-ticker{overflow:hidden;background:#111218;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
#edxhp-home .x23-ticker-track{width:max-content;display:flex;gap:30px;padding:14px 0;animation:x23marquee 42s linear infinite}
#edxhp-home .x23-ticker span{white-space:nowrap;color:#d8d5d0;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
#edxhp-home .x23-ticker span::before{content:"•";color:#ff3854;margin-right:12px}

/* demo quick */
#edxhp-home .x23-demo-quick{padding:54px 24px;background:linear-gradient(90deg,#fff 0%,#fff9f1 56%,#f8eee4 100%);border-bottom:1px solid var(--x23-line)}
#edxhp-home .x23-demo-quick-inner{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center}
#edxhp-home .x23-demo-quick h2{font-size:clamp(32px,3.4vw,54px);max-width:900px}
#edxhp-home .x23-demo-quick p:last-child{margin:14px 0 0;color:var(--x23-muted);font-size:18px}
#edxhp-home .x23-demo-quick-action{display:flex;flex-direction:column;gap:10px;align-items:center;min-width:220px}
#edxhp-home .x23-demo-quick-action small{font-size:11px;color:#7c746d}

/* software intro */
#edxhp-home .x23-software>.xhome-shell{padding:120px 0 64px}
#edxhp-home .x23-product-scene{padding:84px 24px;overflow:hidden}
#edxhp-home .x23-product-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.78fr);gap:clamp(40px,6vw,100px);align-items:center;min-height:690px}
#edxhp-home .x23-product-grid-reverse{grid-template-columns:minmax(390px,.78fr) minmax(0,1fr)}
#edxhp-home .x23-product-edictum{background:radial-gradient(circle at 82% 24%,rgba(214,0,28,.20),transparent 27%),linear-gradient(145deg,#15161c,#08090d);color:#fff}
#edxhp-home .x23-product-edictum .xhome-eyebrow{color:#ff96a4}
#edxhp-home .x23-product-edictum .xhome-lead{color:#d2cdca}
#edxhp-home .x23-product-memoriae{background:radial-gradient(circle at 18% 18%,rgba(255,255,255,.9),transparent 28%),linear-gradient(145deg,#faf7f1,#eee4d8);color:#171419}
#edxhp-home .x23-product-logo{width:min(460px,82%);max-height:150px;object-fit:contain;object-position:left center;margin-bottom:26px}
#edxhp-home .x23-feature-list{display:grid;gap:12px;list-style:none;padding:0;margin:30px 0 0;max-width:760px}
#edxhp-home .x23-feature-list li{padding:14px 0;border-bottom:1px solid rgba(120,110,100,.18);font-size:16px}
#edxhp-home .x23-product-edictum .x23-feature-list li{border-color:rgba(255,255,255,.12);color:#d9d4d1}
#edxhp-home .x23-feature-list strong{color:inherit}
#edxhp-home .x23-product-character{position:relative;display:grid;place-items:end center;min-height:620px}
#edxhp-home .x23-product-character>img{max-height:640px;width:auto;object-fit:contain;filter:drop-shadow(0 30px 45px rgba(0,0,0,.26))}
#edxhp-home .x23-product-character-light>img{max-height:600px}
#edxhp-home .x23-character-quote{position:absolute;left:0;right:0;bottom:20px;margin:auto;width:min(440px,92%);padding:18px 20px;border-radius:20px;background:rgba(8,9,13,.82);color:#fff;font-size:14px;font-weight:750;box-shadow:0 20px 50px rgba(0,0,0,.22);backdrop-filter:blur(12px)}
#edxhp-home .x23-product-character-light .x23-character-quote{background:rgba(255,255,255,.88);color:#312c27;border:1px solid rgba(17,17,22,.09)}

/* guides */
#edxhp-home .x23-guides{padding:120px 24px;background:#fffaf3}
#edxhp-home .x23-guide-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
#edxhp-home .x23-guide{display:grid;grid-template-rows:360px auto;border-radius:32px;overflow:hidden;border:1px solid var(--x23-line);background:#fff;box-shadow:0 20px 65px rgba(30,20,12,.08)}
#edxhp-home .x23-guide-figure{display:flex;align-items:flex-end;justify-content:center;overflow:hidden;padding:20px 20px 0}
#edxhp-home .x23-guide-caronte .x23-guide-figure{background:linear-gradient(180deg,#1b1c22,#090a0e)}
#edxhp-home .x23-guide-beatrice .x23-guide-figure{background:linear-gradient(180deg,#fff,#efe5da)}
#edxhp-home .x23-guide-virgilio .x23-guide-figure{background:linear-gradient(180deg,#f8f3ec,#e8ded2)}
#edxhp-home .x23-guide-figure img{max-height:355px;width:auto;object-fit:contain}
#edxhp-home .x23-guide-copy{padding:26px 28px 30px}
#edxhp-home .x23-guide-copy>span{display:block;margin-bottom:14px;color:var(--x23-red);font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
#edxhp-home .x23-guide-copy h3{font-size:clamp(26px,2.2vw,35px);margin-bottom:12px}
#edxhp-home .x23-guide-copy p{margin:0;color:var(--x23-muted);font-size:16px}

/* Caronte historical strip */
#edxhp-home .x23-caronte-stories{padding:112px 24px;background:#101116;color:#fff}
#edxhp-home .x23-caronte-stories .xhome-eyebrow{color:#ff8d9b}
#edxhp-home .x23-caronte-stories .xhome-heading>p:last-child{color:#c2bdba}
#edxhp-home .x23-story-strip{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 22px;scrollbar-width:thin;scrollbar-color:#6f1523 #17181d}
#edxhp-home .x23-story-strip figure{flex:0 0 min(350px,82vw);margin:0;scroll-snap-align:start;border-radius:26px;overflow:hidden;background:#18191f;border:1px solid rgba(255,255,255,.09)}
#edxhp-home .x23-story-strip figure img{width:100%;height:360px;object-fit:contain;background:radial-gradient(circle at 50% 20%,#2b2021,#0c0d10)}
#edxhp-home .x23-story-strip figcaption{display:grid;gap:7px;padding:20px 22px 24px}
#edxhp-home .x23-story-strip strong{font-size:20px}
#edxhp-home .x23-story-strip span{font-size:14px;color:#bbb6b3}

/* Suite */
#edxhp-home .x23-suite{padding:110px 24px;background:radial-gradient(circle at 78% 28%,rgba(214,0,28,.22),transparent 28%),linear-gradient(140deg,#19191d,#08090d);color:#fff;overflow:hidden}
#edxhp-home .x23-suite-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:60px;align-items:center}
#edxhp-home .x23-suite-logo{width:min(560px,88%);margin-bottom:28px;filter:drop-shadow(0 18px 28px rgba(0,0,0,.25))}
#edxhp-home .x23-suite .xhome-eyebrow{color:#ffd89e}
#edxhp-home .x23-suite .xhome-lead{color:#d6d0cc}
#edxhp-home .x23-suite-equation{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:30px;font-weight:900}
#edxhp-home .x23-suite-equation span,#edxhp-home .x23-suite-equation strong{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
#edxhp-home .x23-suite-equation b{color:#ff5e72}
#edxhp-home .x23-suite-virgilio{position:relative;display:grid;place-items:center;min-height:530px}
#edxhp-home .x23-suite-virgilio img{width:min(650px,100%);filter:drop-shadow(0 35px 50px rgba(0,0,0,.28))}
#edxhp-home .x23-suite-virgilio p{position:absolute;right:0;bottom:20px;max-width:360px;margin:0;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.92);color:#27231f;font-size:14px;font-weight:800;box-shadow:0 18px 50px rgba(0,0,0,.22)}

/* Services */
#edxhp-home .x23-services{padding:120px 24px;background:linear-gradient(180deg,#fffaf3,#f3ece3)}
#edxhp-home .x23-service-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.75fr);gap:60px;align-items:center;padding:clamp(34px,5vw,70px);border-radius:38px;background:#fff;border:1px solid var(--x23-line);box-shadow:var(--x23-shadow)}
#edxhp-home .x23-service-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:rgba(214,0,28,.08);color:var(--x23-red);font-size:10px;font-weight:900;letter-spacing:.10em;text-transform:uppercase;margin-bottom:16px}
#edxhp-home .x23-service-copy h3{font-size:clamp(36px,4.2vw,66px);max-width:850px;margin-bottom:18px}
#edxhp-home .x23-service-copy>p{font-size:18px;color:var(--x23-muted);max-width:760px}
#edxhp-home .x23-service-copy ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:24px 0 28px}
#edxhp-home .x23-service-copy li{padding:8px 12px;border-radius:999px;background:#f6f1ea;font-size:12px;font-weight:800}
#edxhp-home .x23-portal-visual{min-height:430px;display:flex;align-items:center;justify-content:center;gap:16px;position:relative}
#edxhp-home .x23-phone{width:220px;height:390px;border-radius:35px;background:#121319;border:8px solid #282a30;padding:38px 20px;color:#fff;box-shadow:0 30px 70px rgba(0,0,0,.24)}
#edxhp-home .x23-phone span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#efc995;margin-bottom:40px}
#edxhp-home .x23-phone i{display:block;width:76px;height:76px;border-radius:50%;background:linear-gradient(145deg,#ddd,#aaa);margin:0 auto 30px}
#edxhp-home .x23-phone b{display:block;height:10px;border-radius:5px;background:#383a41;margin:10px auto;width:80%}
#edxhp-home .x23-paper{width:170px;height:235px;background:#fff;border:1px solid #ddd6cd;box-shadow:0 20px 50px rgba(0,0,0,.13);padding:18px;color:#222;display:flex;flex-direction:column;justify-content:space-between;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.10em}
#edxhp-home .x23-paper i{display:block;width:54px;height:54px;background:repeating-linear-gradient(45deg,#111 0 4px,#fff 4px 8px);align-self:end}
#edxhp-home .x23-arrow{font-size:46px;color:var(--x23-red)}
#edxhp-home .x23-service-inline{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:28px}
#edxhp-home .x23-service-small{display:grid;grid-template-columns:150px 1fr;gap:26px;align-items:center;padding:32px;border-radius:30px;background:#fff;border:1px solid var(--x23-line)}
#edxhp-home .x23-service-small img{width:140px;height:140px;object-fit:contain}
#edxhp-home .x23-service-small h3{font-size:clamp(28px,2.5vw,38px);margin-bottom:12px}
#edxhp-home .x23-service-small p{color:var(--x23-muted);margin-bottom:12px}
#edxhp-home .x23-lab-mark{display:grid;place-items:center;width:130px;height:130px;border-radius:50%;font-size:62px;background:linear-gradient(145deg,#fff1b8,#ffcf4f)}

/* License */
#edxhp-home .x23-license{padding:76px 24px;background:#101116;color:#fff}
#edxhp-home .x23-license-inner{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center}
#edxhp-home .x23-license h2{font-size:clamp(38px,4.2vw,65px);max-width:900px}
#edxhp-home .x23-license p:last-child{margin:16px 0 0;color:#c7c2bf;font-size:18px}
#edxhp-home .x23-license .xhome-eyebrow{color:#ff8c9a}
#edxhp-home .x23-zero{display:flex;align-items:center;gap:14px;padding-left:30px;border-left:1px solid rgba(255,255,255,.16)}
#edxhp-home .x23-zero strong{font-size:100px;line-height:.8;color:#fff}
#edxhp-home .x23-zero span{font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:#c9c4c1}

/* Demo final */
#edxhp-home .x23-demo-final{padding:100px 24px 0;background:linear-gradient(145deg,#fffaf3,#f0e5d8);overflow:hidden}
#edxhp-home .x23-demo-final-grid{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(0,1fr);gap:60px;align-items:end}
#edxhp-home .x23-demo-caronte{display:flex;justify-content:center;align-items:flex-end;min-height:520px}
#edxhp-home .x23-demo-caronte img{max-height:580px;width:auto;filter:drop-shadow(0 30px 44px rgba(0,0,0,.18))}
#edxhp-home .x23-demo-final-copy{align-self:center;padding-bottom:80px}
#edxhp-home .x23-demo-final-copy h2{max-width:900px}
#edxhp-home .x23-demo-final-copy>p{font-size:20px;color:var(--x23-muted);max-width:760px;margin:22px 0 28px}
#edxhp-home .x23-demo-final-copy ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0 0}
#edxhp-home .x23-demo-final-copy li{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.65);border:1px solid rgba(17,17,22,.08);font-size:12px;font-weight:800}

/* Articles – compact */
#edxhp-home .xhome-journal{padding:110px 24px;background:#111218;color:#fff}
#edxhp-home .xhome-journal .xhome-eyebrow{color:#ff91a0}
#edxhp-home .xhome-journal .xhome-heading>p:last-child{color:#c1bcba}
#edxhp-home .xjournal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
#edxhp-home .xjournal-tab{appearance:none;border:1px solid rgba(255,255,255,.13);background:#1a1b21;color:#d7d2cf;padding:10px 16px;border-radius:999px;font-size:12px;font-weight:850;cursor:pointer}
#edxhp-home .xjournal-tab.is-active{background:#fff;color:#111;border-color:#fff}
#edxhp-home .xarticle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
#edxhp-home .xarticle-card{overflow:hidden;border-radius:26px;background:#191a20;border:1px solid rgba(255,255,255,.08)}
#edxhp-home .xarticle-media{display:block;height:210px;overflow:hidden;background:#24252c}
#edxhp-home .xarticle-media img{width:100%;height:100%;object-fit:cover}
#edxhp-home .xarticle-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:72px;font-weight:900;color:#5e5f66}
#edxhp-home .xarticle-body{padding:22px}
#edxhp-home .xarticle-meta{display:flex;justify-content:space-between;gap:12px;color:#8f8a87;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
#edxhp-home .xarticle-body h3{font-size:25px;margin:14px 0 10px}
#edxhp-home .xarticle-body h3 a{color:#fff!important}
#edxhp-home .xarticle-body p{color:#b8b3b0;font-size:14px}
#edxhp-home .xjournal-all{display:inline-flex;margin-top:20px;color:#fff!important;font-weight:850}

/* progressive animation: visible by default */
#edxhp-home .x-reveal{opacity:1;transform:none}
#edxhp-home.xhome-js .x-reveal{opacity:0;transform:translateY(18px);transition:opacity .62s cubic-bezier(.22,1,.36,1),transform .62s cubic-bezier(.22,1,.36,1);transition-delay:var(--x-delay,0ms)}
#edxhp-home.xhome-js .x-reveal.is-visible{opacity:1;transform:none}

@keyframes x23shine{to{background-position:210% 0}}
@keyframes x23marquee{to{transform:translateX(-50%)}}

@media(max-width:1100px){
  #edxhp-home .x23-hero-video{top:0;right:0;width:min(48vw,560px);inset:auto}
  #edxhp-home .x23-hero-inner{padding:90px 42px 72px 42px;width:100%}
  #edxhp-home .x23-hero-copy{max-width:min(640px,calc(100vw - min(48vw,560px) - 120px));min-width:0}
  #edxhp-home .x23-product-grid,#edxhp-home .x23-product-grid-reverse{grid-template-columns:1fr 420px;gap:36px}
  #edxhp-home .x23-guide-row{grid-template-columns:1fr 1fr}
  #edxhp-home .x23-guide:last-child{grid-column:1/-1;grid-template-columns:340px 1fr;grid-template-rows:auto;align-items:stretch}
  #edxhp-home .x23-guide:last-child .x23-guide-figure{min-height:360px}
  #edxhp-home .x23-suite-grid,#edxhp-home .x23-service-feature{grid-template-columns:1fr 420px}
}

@media(max-width:850px){
  #edxhp-home .xhome-shell{width:min(100% - 32px,760px)}
  #edxhp-home .x23-hero{display:block;min-height:auto;padding-top:0}
  #edxhp-home .x23-hero-media{position:relative;height:min(76vw,610px)}
  #edxhp-home .x23-hero-backdrop{inset:0;width:100%;height:100%;filter:blur(20px) brightness(.42)}
  #edxhp-home .x23-hero-video{inset:0;width:100%;height:100%;object-fit:contain}
  #edxhp-home .x23-hero-shade{background:linear-gradient(0deg,rgba(7,8,13,.88),rgba(7,8,13,.06) 70%)}
  #edxhp-home .x23-hero-inner{display:block;width:min(100% - 32px,760px);max-width:none;margin:0 auto;padding:42px 0 70px}
  #edxhp-home .x23-demo-quick-inner{grid-template-columns:1fr}
  #edxhp-home .x23-demo-quick-action{align-items:flex-start}
  #edxhp-home .x23-product-grid,#edxhp-home .x23-product-grid-reverse{grid-template-columns:1fr;min-height:auto}
  #edxhp-home .x23-product-memoriae .x23-product-character{order:2}
  #edxhp-home .x23-product-memoriae .x23-product-copy{order:1}
  #edxhp-home .x23-product-character{min-height:430px}
  #edxhp-home .x23-product-character>img{max-height:470px}
  #edxhp-home .x23-guide-row{grid-template-columns:1fr}
  #edxhp-home .x23-guide:last-child{grid-column:auto;display:grid;grid-template-columns:1fr;grid-template-rows:330px auto}
  #edxhp-home .x23-guide:last-child .x23-guide-figure{min-height:0}
  #edxhp-home .x23-suite-grid,#edxhp-home .x23-service-feature,#edxhp-home .x23-license-inner,#edxhp-home .x23-demo-final-grid{grid-template-columns:1fr}
  #edxhp-home .x23-suite-virgilio{min-height:auto}
  #edxhp-home .x23-service-inline{grid-template-columns:1fr}
  #edxhp-home .x23-service-feature{padding:32px 24px}
  #edxhp-home .x23-portal-visual{min-height:360px;transform:scale(.88)}
  #edxhp-home .x23-zero{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.16);padding-top:22px}
  #edxhp-home .x23-demo-caronte{order:2;min-height:420px}
  #edxhp-home .x23-demo-final-copy{padding-bottom:0}
  #edxhp-home .xarticle-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:580px){
  #edxhp-home h1{font-size:clamp(48px,14vw,70px)}
  #edxhp-home h2{font-size:clamp(38px,11vw,58px)}
  #edxhp-home .x23-product-scene,#edxhp-home .x23-guides,#edxhp-home .x23-caronte-stories,#edxhp-home .x23-suite,#edxhp-home .x23-services,#edxhp-home .xhome-journal{padding-left:18px;padding-right:18px}
  #edxhp-home .xhome-actions .xbtn{width:100%}
  #edxhp-home .x23-product-character{min-height:360px}
  #edxhp-home .x23-product-character>img{max-height:390px}
  #edxhp-home .x23-guide{grid-template-rows:300px auto}
  #edxhp-home .x23-guide-figure img{max-height:295px}
  #edxhp-home .x23-service-small{grid-template-columns:90px 1fr;padding:24px 20px}
  #edxhp-home .x23-service-small img,#edxhp-home .x23-lab-mark{width:82px;height:82px}
  #edxhp-home .x23-lab-mark{font-size:40px}
  #edxhp-home .x23-portal-visual{transform:scale(.72);margin-inline:-50px}
  #edxhp-home .xarticle-grid{grid-template-columns:1fr}
  #edxhp-home .x23-ticker-track{animation-duration:54s}
}

@media(prefers-reduced-motion:reduce){
  #edxhp-home *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  #edxhp-home.xhome-js .x-reveal{opacity:1!important;transform:none!important}
}


@media (min-width: 1400px){
  #edxhp-home .x23-hero-inner{padding-left:clamp(40px,8vw,140px);padding-right:clamp(40px,6vw,100px)}
  #edxhp-home .x23-hero-copy{max-width:740px}
}

/* ==========================================================
   v2.8 — HERO FULL VIDEO + CAROUSEL FUNZIONI
   ========================================================== */

/* Hero: copy a sinistra, video pieno sulla scena destra */
#edxhp-home .x23-hero{min-height:clamp(720px,calc(100svh - 72px),900px)}
#edxhp-home .x23-hero-media{
  left:auto!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:58%!important;
  height:100%!important;
  overflow:hidden!important;
}
#edxhp-home .x23-hero-backdrop{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:none!important;
  transform:none!important;
}
#edxhp-home .x23-hero-video{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  opacity:1!important;
  background:#101116!important;
}
#edxhp-home .x23-hero-shade{
  background:linear-gradient(90deg,rgba(8,9,14,.94) 0%,rgba(8,9,14,.62) 15%,rgba(8,9,14,.16) 44%,rgba(8,9,14,.02) 72%)!important;
}
#edxhp-home .x23-hero-inner{
  padding-left:clamp(28px,7vw,118px)!important;
  padding-right:clamp(28px,5vw,80px)!important;
}
#edxhp-home .x23-hero-copy{
  max-width:min(650px,40vw)!important;
  min-width:0!important;
  position:relative;
  z-index:3;
}
#edxhp-home .x23-hero-copy h1{font-size:clamp(52px,6.5vw,104px)}

/* Presentazione dei due software con icone */
#edxhp-home .x23-software>.x23-software-intro{
  padding:104px 0 80px!important;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:60px;
  align-items:center;
}
#edxhp-home .x23-software-intro .xhome-heading{margin:0;max-width:860px}
#edxhp-home .x23-app-icons{display:flex;align-items:center;gap:18px;justify-content:flex-end}
#edxhp-home .x23-app-icons img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(30,20,12,.14))}
#edxhp-home .x23-app-icons span{font-size:30px;font-weight:900;color:#c9b8a8}

/* Sezioni carousel funzioni */
#edxhp-home .x23-feature-carousel{padding:112px 24px;overflow:hidden}
#edxhp-home .x23-feature-carousel-dark{background:radial-gradient(circle at 86% 15%,rgba(214,0,28,.16),transparent 30%),#101116;color:#fff}
#edxhp-home .x23-feature-carousel-light{background:linear-gradient(145deg,#fffdf9,#eee4d8);color:#171419}
#edxhp-home .x23-feature-carousel-dark .xhome-eyebrow{color:#ff8f9d}
#edxhp-home .x23-feature-carousel-dark .xhome-heading>p:last-child{color:#c7c1be}
#edxhp-home .xcarousel-shell{position:relative}
#edxhp-home .xcarousel-viewport{overflow:hidden;border-radius:34px;border:1px solid rgba(110,100,90,.12);box-shadow:0 24px 80px rgba(0,0,0,.12)}
#edxhp-home .x23-feature-carousel-dark .xcarousel-viewport{border-color:rgba(255,255,255,.09);box-shadow:0 30px 80px rgba(0,0,0,.32)}
#edxhp-home .xcarousel-track{display:flex;width:100%;transition:transform .6s cubic-bezier(.22,1,.36,1);will-change:transform}
#edxhp-home .xcarousel-slide{flex:0 0 100%;min-width:0;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:stretch;background:#fff}
#edxhp-home .x23-feature-carousel-dark .xcarousel-slide{background:#18191f;color:#fff}
#edxhp-home .xcarousel-media{min-height:500px;display:grid;place-items:center;overflow:hidden;background:#0a0b0f;padding:22px}
#edxhp-home .x23-feature-carousel-light .xcarousel-media{background:#f6f0e8}
#edxhp-home .xcarousel-media img{width:100%;height:100%;max-height:520px;object-fit:contain;border-radius:18px}
#edxhp-home .xcarousel-media-paper{background:#e8dfd4!important}
#edxhp-home .xcarousel-copy{padding:clamp(34px,5vw,66px);display:flex;flex-direction:column;justify-content:center}
#edxhp-home .xcarousel-copy>span{color:var(--x23-red);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:18px}
#edxhp-home .x23-feature-carousel-dark .xcarousel-copy>span{color:#ff8d9b}
#edxhp-home .xcarousel-copy h3{font-size:clamp(34px,3.4vw,54px);margin-bottom:18px}
#edxhp-home .xcarousel-copy p{font-size:18px;color:#645e58;margin:0;line-height:1.65}
#edxhp-home .x23-feature-carousel-dark .xcarousel-copy p{color:#c7c1be}
#edxhp-home .xcarousel-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}
#edxhp-home .xcarousel-prev,#edxhp-home .xcarousel-next{width:48px;height:48px;border-radius:50%;border:1px solid rgba(17,17,22,.16);background:#fff;color:#171419;font-size:21px;cursor:pointer;transition:.2s ease}
#edxhp-home .x23-feature-carousel-dark .xcarousel-prev,#edxhp-home .x23-feature-carousel-dark .xcarousel-next{background:#1b1c22;color:#fff;border-color:rgba(255,255,255,.13)}
#edxhp-home .xcarousel-prev:hover,#edxhp-home .xcarousel-next:hover{transform:translateY(-2px)}
#edxhp-home .xcarousel-dots{display:flex;gap:9px;align-items:center}
#edxhp-home .xcarousel-dot{appearance:none;width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#b8afa6;cursor:pointer;transition:.2s ease}
#edxhp-home .xcarousel-dot.is-active{width:28px;border-radius:999px;background:var(--x23-red)}
#edxhp-home .x23-feature-carousel-dark .xcarousel-dot{background:#56575e}
#edxhp-home .x23-feature-carousel-dark .xcarousel-dot.is-active{background:#ff4960}

/* PotheinosX: visual funzionali anche senza screenshot */
#edxhp-home .xmem-visual{position:relative;min-height:500px;display:flex;align-items:center;justify-content:center;gap:28px;background:radial-gradient(circle at 50% 20%,#fff,#eee3d6)!important}
#edxhp-home .xmem-card{width:220px;height:330px;border-radius:12px;background:#fff;box-shadow:0 24px 55px rgba(57,37,20,.16);border:1px solid #dfd6cd;padding:34px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#2e2926;transform:rotate(-4deg)}
#edxhp-home .xmem-card-back{transform:rotate(5deg) translateY(24px)}
#edxhp-home .xmem-card b{font-family:Georgia,serif;font-size:22px;font-weight:500;margin-bottom:30px}
#edxhp-home .xmem-card span{width:86px;height:108px;border-radius:50%;background:linear-gradient(145deg,#ddd3ca,#9b8a7d);margin-bottom:24px}
#edxhp-home .xmem-card i{width:72%;height:1px;background:#c9bfb6;margin:12px 0}
#edxhp-home .xmem-card small{font-family:Georgia,serif;line-height:1.5;color:#70675f}
#edxhp-home .xmem-frontback .xmem-sheet{width:250px;height:350px;background:#fff;border:1px solid #d8cec5;border-radius:12px;box-shadow:0 24px 55px rgba(57,37,20,.13);padding:28px;text-align:center}
#edxhp-home .xmem-frontback .xmem-sheet:first-child{transform:rotate(-4deg)}
#edxhp-home .xmem-frontback .xmem-sheet:last-child{transform:rotate(4deg) translateY(24px)}
#edxhp-home .xmem-sheet strong{font-size:11px;letter-spacing:.16em;color:#c81d31}
#edxhp-home .xmem-sheet i{display:block;width:94px;height:120px;border-radius:50%;background:linear-gradient(145deg,#e4d9cf,#a88e7d);margin:35px auto 28px}
#edxhp-home .xmem-sheet b{display:block;width:75%;height:8px;border-radius:4px;background:#ddd4cb;margin:12px auto}
#edxhp-home .xmem-library{display:grid;grid-template-columns:repeat(3,150px);grid-auto-rows:150px;gap:14px}
#edxhp-home .xmem-library div{border-radius:18px;background:linear-gradient(145deg,#fff,#dfd2c5);box-shadow:0 15px 35px rgba(50,30,20,.12);position:relative;overflow:hidden}
#edxhp-home .xmem-library div:nth-child(2n){background:linear-gradient(145deg,#f5ddcf,#c9a58f)}
#edxhp-home .xmem-library div::before{content:"";position:absolute;inset:26px;border-radius:50%;border:3px solid rgba(180,20,40,.25)}
#edxhp-home .xmem-print{flex-direction:column;gap:16px}
#edxhp-home .xmem-print-sheet{width:min(520px,88%);aspect-ratio:1.42;background:#fff;border:1px solid #d9cfc5;box-shadow:0 26px 60px rgba(50,30,20,.14);padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
#edxhp-home .xmem-print-sheet i{display:block;border:1px solid #e4dbd2;background:linear-gradient(145deg,#fff,#f2ece5);position:relative}
#edxhp-home .xmem-print-sheet i::before{content:"M";position:absolute;inset:0;display:grid;place-items:center;font-size:50px;font-weight:900;color:#d8172f}
#edxhp-home .xmem-print>span{font-size:11px;font-weight:900;letter-spacing:.15em;color:#8a7f76}

/* SuiteX: Virgilio molto più presente, niente fumetto */
#edxhp-home .x23-suite-grid{grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr);gap:30px}
#edxhp-home .x23-suite-virgilio{min-height:650px;align-self:stretch;place-items:center}
#edxhp-home .x23-suite-virgilio img{width:min(840px,118%);max-width:none;max-height:680px;object-fit:contain;filter:drop-shadow(0 35px 55px rgba(0,0,0,.30))}
#edxhp-home .x23-suite-virgilio p{display:none!important}

/* Portale: immagini reali */
#edxhp-home .x23-portal-real{position:relative;min-height:520px;display:flex;align-items:center;justify-content:center;padding:20px}
#edxhp-home .x23-portal-main{width:min(520px,90%);border-radius:24px;box-shadow:0 28px 70px rgba(25,15,10,.22);transform:rotate(-2deg)}
#edxhp-home .x23-portal-float{position:absolute;right:-8px;bottom:2px;width:250px;border-radius:18px;box-shadow:0 20px 50px rgba(25,15,10,.24);transform:rotate(4deg);border:5px solid #fff}

@media(max-width:1100px){
  #edxhp-home .x23-hero-media{width:54%!important}
  #edxhp-home .x23-hero-copy{max-width:44vw!important}
  #edxhp-home .x23-software>.x23-software-intro{grid-template-columns:1fr auto;gap:30px}
  #edxhp-home .x23-app-icons img{width:120px;height:120px}
  #edxhp-home .xcarousel-slide{grid-template-columns:1fr 340px}
  #edxhp-home .x23-suite-grid{grid-template-columns:1fr 480px}
  #edxhp-home .x23-suite-virgilio{min-height:560px}
  #edxhp-home .x23-suite-virgilio img{max-height:590px}
}

@media(max-width:850px){
  #edxhp-home .x23-hero-media{position:relative!important;width:100%!important;height:min(78vw,620px)!important}
  #edxhp-home .x23-hero-video,#edxhp-home .x23-hero-backdrop{object-fit:cover!important}
  #edxhp-home .x23-hero-copy{max-width:none!important}
  #edxhp-home .x23-software>.x23-software-intro{grid-template-columns:1fr;padding:78px 0 60px!important}
  #edxhp-home .x23-app-icons{justify-content:flex-start}
  #edxhp-home .xcarousel-slide{grid-template-columns:1fr}
  #edxhp-home .xcarousel-media,#edxhp-home .xmem-visual{min-height:390px}
  #edxhp-home .xcarousel-copy{padding:32px 26px 38px}
  #edxhp-home .x23-suite-grid{grid-template-columns:1fr}
  #edxhp-home .x23-suite-virgilio{min-height:500px}
  #edxhp-home .x23-suite-virgilio img{width:min(720px,110%);max-height:560px}
  #edxhp-home .x23-portal-real{min-height:430px}
}

@media(max-width:580px){
  #edxhp-home .x23-app-icons img{width:92px;height:92px}
  #edxhp-home .x23-app-icons span{font-size:24px}
  #edxhp-home .x23-feature-carousel{padding:76px 18px}
  #edxhp-home .xcarousel-media,#edxhp-home .xmem-visual{min-height:300px;padding:14px}
  #edxhp-home .xmem-card{width:145px;height:230px;padding:20px 14px}
  #edxhp-home .xmem-card span{width:60px;height:76px;margin-bottom:12px}
  #edxhp-home .xmem-card b{font-size:17px;margin-bottom:12px}
  #edxhp-home .xmem-frontback .xmem-sheet{width:150px;height:235px;padding:16px}
  #edxhp-home .xmem-sheet i{width:60px;height:74px;margin:18px auto}
  #edxhp-home .xmem-library{grid-template-columns:repeat(3,86px);grid-auto-rows:86px;gap:8px}
  #edxhp-home .x23-portal-float{width:150px;right:0}
}

/* v2.9 – carousel screenshot refresh + footer visibility */
#edxhp-home .x23-service-feature .xportal-carousel-shell{display:flex;flex-direction:column;justify-content:center;min-height:100%}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-viewport{border-radius:28px;border:1px solid rgba(110,100,90,.14);box-shadow:0 24px 70px rgba(25,15,10,.18);background:#fff}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-slide{grid-template-columns:1fr;background:#fff}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-media{min-height:420px;background:#f6f1ea;padding:18px}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-media img{max-height:500px;object-fit:contain;border-radius:16px}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-copy{padding:22px 24px 28px}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-copy>span{display:inline-flex;color:var(--x23-red);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-copy h4{font-size:clamp(24px,2.4vw,32px);line-height:1.15;margin:0 0 12px;color:#171419}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-copy p{font-size:15px;line-height:1.65;margin:0;color:var(--x23-muted)}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-controls{margin-top:18px}
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-prev,
#edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-next{background:#fff;color:#171419;border-color:rgba(17,17,22,.12)}

.edictumx-home-premium-active .site,
.edictumx-home-premium-active #page,
.edictumx-home-premium-active .site-content{overflow:visible!important}
.edictumx-home-premium-active #edxhp-home{overflow:visible}
.edictumx-home-premium-active .site-footer,
.edictumx-home-premium-active .ast-footer-wrap,
.edictumx-home-premium-active .ast-builder-footer-wrap,
.edictumx-home-premium-active .ast-small-footer-wrap,
.edictumx-home-premium-active .footer-adv{display:block!important;visibility:visible!important;opacity:1!important}
.edictumx-home-premium-active .site-footer{position:relative;z-index:20;margin-top:0;border-top:1px solid rgba(255,255,255,.08);background:#0b0c10;color:#f5efe8}
.edictumx-home-premium-active .site-footer a,
.edictumx-home-premium-active .site-footer .menu-link,
.edictumx-home-premium-active .site-footer .widget-title,
.edictumx-home-premium-active .site-footer h1,
.edictumx-home-premium-active .site-footer h2,
.edictumx-home-premium-active .site-footer h3,
.edictumx-home-premium-active .site-footer h4,
.edictumx-home-premium-active .site-footer h5,
.edictumx-home-premium-active .site-footer h6{color:#fff}
.edictumx-home-premium-active .site-footer p,
.edictumx-home-premium-active .site-footer li,
.edictumx-home-premium-active .site-footer span,
.edictumx-home-premium-active .site-footer div{color:rgba(255,255,255,.82)}
.edictumx-home-premium-active .site-footer .ast-builder-grid-row-container,
.edictumx-home-premium-active .site-footer .ast-builder-footer-grid-columns,
.edictumx-home-premium-active .site-footer .site-primary-footer-wrap,
.edictumx-home-premium-active .site-footer .site-below-footer-wrap{background:transparent}
.edictumx-home-premium-active .site-footer .ast-builder-grid-row-container-inner,
.edictumx-home-premium-active .site-footer .ast-builder-layout-element{padding-top:18px;padding-bottom:18px}
.edictumx-home-premium-active .site-footer .widget{margin-bottom:18px}

@media (max-width: 980px){
  #edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-media{min-height:320px}
}
@media (max-width: 767px){
  #edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-media{min-height:260px;padding:14px}
  #edxhp-home .x23-service-feature .xportal-carousel-shell .xcarousel-copy{padding:18px 18px 24px}
}

/* v2.10 – nuovi visual, icona trasparente e footer garantito */
#edxhp-home .x23-app-icons img:first-child{background:transparent!important;box-shadow:none!important}
#edxhp-home .x23-product-memoriae .x23-product-character-light>img{max-height:680px;transform:translateY(12px)}
#edxhp-home .x23-lab-image{background:transparent!important;border-radius:0!important;overflow:visible!important}
#edxhp-home .x23-lab-image img{width:128px;height:128px;object-fit:contain;filter:drop-shadow(0 18px 26px rgba(174,101,22,.22))}
#edxhp-home .x23-demo-caronte img{max-height:650px}
#edxhp-home .x23-service-small.x23-service-lab{align-items:center}

/* Footer premium della home: non dipende dal builder Astra */
#edxhp-home .x23-home-footer{background:radial-gradient(circle at 82% 0%,rgba(214,0,28,.15),transparent 28%),linear-gradient(180deg,#111218 0%,#07080d 100%);color:#fff;border-top:1px solid rgba(255,255,255,.08);padding:58px 24px 26px}
#edxhp-home .x23-home-footer-inner{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(520px,1.35fr);gap:clamp(48px,8vw,120px);align-items:start}
#edxhp-home .x23-home-footer-brand img{display:block;width:min(320px,82%);height:auto;object-fit:contain;object-position:left center;margin:0 0 22px}
#edxhp-home .x23-home-footer-brand p{max-width:520px;margin:0;color:rgba(255,255,255,.67);font-size:16px;line-height:1.7}
#edxhp-home .x23-home-footer-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
#edxhp-home .x23-home-footer-nav>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#edxhp-home .x23-home-footer-nav strong{display:block;margin-bottom:7px;color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
#edxhp-home .x23-home-footer-nav a{color:rgba(255,255,255,.74);font-size:15px;text-decoration:none;transition:color .2s ease,transform .2s ease}
#edxhp-home .x23-home-footer-nav a:hover{color:#fff;transform:translateX(3px)}
#edxhp-home .x23-home-footer-bottom{display:flex;justify-content:space-between;gap:24px;margin-top:44px;padding-top:22px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.45);font-size:13px}

/* Il footer Astra risultava vuoto sulla Home Premium: evitiamo le fasce decorative duplicate. */
body.edictumx-home-premium-active>.site-footer,
body.edictumx-home-premium-active #page>.site-footer,
body.edictumx-home-premium-active .site-footer:not(.x23-home-footer),
body.edictumx-home-premium-active .ast-footer-wrap,
body.edictumx-home-premium-active .ast-builder-footer-wrap{display:none!important}

@media(max-width:980px){
  #edxhp-home .x23-home-footer-inner{grid-template-columns:1fr;gap:42px}
  #edxhp-home .x23-home-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  #edxhp-home .x23-product-memoriae .x23-product-character-light>img{max-height:560px}
}
@media(max-width:680px){
  #edxhp-home .x23-home-footer{padding:44px 18px 24px}
  #edxhp-home .x23-home-footer-nav{grid-template-columns:1fr 1fr;gap:30px}
  #edxhp-home .x23-home-footer-bottom{flex-direction:column;gap:7px}
  #edxhp-home .x23-lab-image img{width:82px;height:82px}
  #edxhp-home .x23-demo-caronte img{max-height:500px}
}

/* v2.11 – SEO footer: social links reali e navigazione a quattro colonne */
#edxhp-home .x23-home-footer-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
#edxhp-home .x23-home-footer-social a{font-weight:700}
@media(max-width:1100px){#edxhp-home .x23-home-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#edxhp-home .x23-home-footer-nav{grid-template-columns:1fr}}

/* v2.13 – responsive mobile: tutte le sezioni a schede diventano a colonna singola */
@media (max-width: 768px){
  /* Griglie principali / schede */
  #edxhp-home .x23-demo-quick-inner,
  #edxhp-home .x23-software>.x23-software-intro,
  #edxhp-home .x23-product-grid,
  #edxhp-home .x23-product-grid-reverse,
  #edxhp-home .x23-guide-row,
  #edxhp-home .x23-guide:last-child,
  #edxhp-home .x23-suite-grid,
  #edxhp-home .x23-service-feature,
  #edxhp-home .x23-service-inline,
  #edxhp-home .x23-license-inner,
  #edxhp-home .x23-demo-final-grid,
  #edxhp-home .xarticle-grid,
  #edxhp-home .xcarousel-slide,
  #edxhp-home .x23-home-footer-inner,
  #edxhp-home .x23-home-footer-nav{
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* Evita che elementi speciali continuino a occupare più colonne */
  #edxhp-home .x23-guide:last-child{
    grid-column:auto!important;
  }

  /* Ogni scheda occupa l'intera larghezza disponibile */
  #edxhp-home .x23-guide,
  #edxhp-home .x23-service-small,
  #edxhp-home .xarticle-card,
  #edxhp-home .x23-home-footer-nav>div{
    width:100%;
    min-width:0;
  }
}



/* v2.14 – ulteriore protezione mobile per Home Premium */
@media (max-width: 820px){
  #edxhp-home .x23-demo-quick-inner,
  #edxhp-home .x23-software>.x23-software-intro,
  #edxhp-home .x23-product-grid,
  #edxhp-home .x23-product-grid-reverse,
  #edxhp-home .x23-guide-row,
  #edxhp-home .x23-guide:last-child,
  #edxhp-home .x23-suite-grid,
  #edxhp-home .x23-service-feature,
  #edxhp-home .x23-service-inline,
  #edxhp-home .x23-license-inner,
  #edxhp-home .x23-demo-final-grid,
  #edxhp-home .xarticle-grid,
  #edxhp-home .xcarousel-slide,
  #edxhp-home .x23-home-footer-inner,
  #edxhp-home .x23-home-footer-nav{
    grid-template-columns:minmax(0,1fr)!important;
  }

  #edxhp-home .x23-service-feature > *,
  #edxhp-home .x23-service-small,
  #edxhp-home .x23-guide,
  #edxhp-home .xarticle-card,
  #edxhp-home .xcarousel-copy,
  #edxhp-home .xcarousel-media,
  #edxhp-home .x23-home-footer-nav > div{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }

  #edxhp-home .x23-service-feature *,
  #edxhp-home .x23-service-small *,
  #edxhp-home .x23-guide *,
  #edxhp-home .xarticle-card *,
  #edxhp-home .xcarousel-copy *,
  #edxhp-home .x23-home-footer *{
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
  }
}


/* ==========================================================
   v2.15 – RESPONSIVE REFINEMENT
   Smartphone: 1 colonna + tipografia/spaziature compatte.
   Tablet: 2 colonne per le griglie di schede; i blocchi editoriali
   e i caroselli restano a 1 colonna quando serve leggibilità.
   ========================================================== */

/* TABLET: schede in due colonne */
@media (min-width:769px) and (max-width:1024px){
  #edxhp-home .x23-guide-row,
  #edxhp-home .x23-service-inline,
  #edxhp-home .xarticle-grid,
  #edxhp-home .x23-home-footer-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  #edxhp-home .x23-guide:last-child{
    grid-column:auto!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:330px auto!important;
  }

  #edxhp-home .x23-service-small,
  #edxhp-home .x23-guide,
  #edxhp-home .xarticle-card,
  #edxhp-home .x23-home-footer-nav>div{
    min-width:0!important;
    width:100%!important;
  }
}

/* SMARTPHONE: una colonna vera + migliore leggibilità */
@media (max-width:768px){
  #edxhp-home .xhome-shell{
    width:min(var(--x23-max),calc(100% - 32px));
  }

  #edxhp-home h1{
    font-size:clamp(42px,12vw,62px);
    line-height:.96;
    letter-spacing:-.045em;
  }
  #edxhp-home h2{
    font-size:clamp(34px,9vw,48px);
    line-height:1.02;
    letter-spacing:-.04em;
  }
  #edxhp-home h3{
    font-size:clamp(24px,7vw,34px);
    line-height:1.08;
    letter-spacing:-.035em;
  }
  #edxhp-home .xhome-lead,
  #edxhp-home .xhome-heading>p:last-child{
    font-size:17px;
    line-height:1.6;
  }
  #edxhp-home .xhome-heading{
    margin-bottom:36px;
  }
  #edxhp-home .xhome-eyebrow{
    margin-bottom:12px;
    font-size:11px;
    letter-spacing:.16em;
  }

  #edxhp-home .x23-product-scene,
  #edxhp-home .x23-guides,
  #edxhp-home .x23-feature-carousel,
  #edxhp-home .x23-services,
  #edxhp-home .x23-license,
  #edxhp-home .x23-demo-final{
    padding-left:16px;
    padding-right:16px;
  }

  #edxhp-home .x23-product-scene{padding-top:62px;padding-bottom:62px}
  #edxhp-home .x23-guides{padding-top:72px;padding-bottom:72px}
  #edxhp-home .x23-feature-carousel{padding-top:68px;padding-bottom:68px}
  #edxhp-home .x23-services{padding-top:72px;padding-bottom:72px}

  #edxhp-home .x23-guide,
  #edxhp-home .x23-service-feature,
  #edxhp-home .x23-service-small,
  #edxhp-home .xarticle-card{
    border-radius:24px;
  }

  #edxhp-home .x23-service-feature{
    padding:24px 20px!important;
    gap:28px!important;
  }
  #edxhp-home .x23-service-small{
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:22px 20px!important;
  }
  #edxhp-home .x23-service-small>img,
  #edxhp-home .x23-lab-mark{
    width:82px!important;
    height:82px!important;
    justify-self:start;
  }

  #edxhp-home .xcarousel-viewport{border-radius:24px}
  #edxhp-home .xcarousel-media{min-height:240px!important;padding:12px!important}
  #edxhp-home .xcarousel-copy{padding:24px 20px 28px!important}
  #edxhp-home .xcarousel-copy p{font-size:16px;line-height:1.6}
  #edxhp-home .xcarousel-copy h3{font-size:30px}

  #edxhp-home .x23-feature-list{margin-top:22px}
  #edxhp-home .x23-feature-list li{font-size:15px;line-height:1.55;padding:12px 0}

  #edxhp-home .xhome-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
  }
  #edxhp-home .xbtn{
    width:100%;
    min-height:50px;
    padding-inline:18px;
  }

  #edxhp-home .x23-home-footer{
    padding:40px 16px 22px;
  }
  #edxhp-home .x23-home-footer-nav{
    gap:24px!important;
  }
}

@media (max-width:430px){
  #edxhp-home .xhome-shell{width:calc(100% - 28px)}
  #edxhp-home h1{font-size:clamp(40px,11.5vw,54px)}
  #edxhp-home h2{font-size:clamp(32px,9.2vw,44px)}
  #edxhp-home h3{font-size:clamp(23px,7.2vw,31px)}
  #edxhp-home .x23-product-scene,
  #edxhp-home .x23-guides,
  #edxhp-home .x23-feature-carousel,
  #edxhp-home .x23-services,
  #edxhp-home .x23-license,
  #edxhp-home .x23-demo-final{padding-left:14px;padding-right:14px}
}


/* ==========================================================
   v2.16 – Home Premium: smartphone sempre a 1 colonna
   ========================================================== */
@media (max-width: 768px){
  #edxhp-home [class*="grid"],
  #edxhp-home [class*="cards"],
  #edxhp-home [class*="columns"],
  #edxhp-home [class*="feature"],
  #edxhp-home [class*="inline"],
  #edxhp-home [class*="services"]{
    grid-template-columns:minmax(0,1fr)!important;
  }

  #edxhp-home [class*="card"],
  #edxhp-home [class*="feature"],
  #edxhp-home [class*="service"],
  #edxhp-home [class*="guide"],
  #edxhp-home [class*="copy"],
  #edxhp-home [class*="media"]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  #edxhp-home [class*="card"] *,
  #edxhp-home [class*="feature"] *,
  #edxhp-home [class*="service"] *,
  #edxhp-home [class*="guide"] *{
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:auto;
  }
}


/* ==========================================================
   v2.18.0 — FIX HEADER ASTRA / STICKY MENU HOME
   La Home non deve creare un antenato scrollabile del masthead:
   overflow-x:hidden su #page/.site impediva a position:sticky
   di seguire correttamente il viewport.
   ========================================================== */
body.edictumx-home-premium-active #page,
body.edictumx-home-premium-active .site,
body.edictumx-home-premium-active #content,
body.edictumx-home-premium-active .site-content,
body.edictumx-home-premium-active #primary,
body.edictumx-home-premium-active .content-area,
body.edictumx-home-premium-active .site-main{
  overflow:visible!important;
}

/* Il taglio orizzontale resta sul viewport, senza creare un
   nuovo contenitore di scrolling per l'header sticky. */
html body.edictumx-home-premium-active{
  overflow-x:clip!important;
}

/* Astra: masthead sempre sopra hero/video e sticky al viewport. */
body.edictumx-home-premium-active #masthead,
body.edictumx-home-premium-active .site-header{
  position:sticky!important;
  top:0!important;
  z-index:99999!important;
  isolation:isolate;
}

/* Evita che i wrapper interni dell'header creino livelli inferiori. */
body.edictumx-home-premium-active #masthead .ast-primary-header-bar,
body.edictumx-home-premium-active #masthead .main-header-bar{
  position:relative;
  z-index:1;
}

/* Con barra amministratore WordPress, lo sticky parte sotto la toolbar. */
body.admin-bar.edictumx-home-premium-active #masthead,
body.admin-bar.edictumx-home-premium-active .site-header{
  top:32px!important;
}

@media (max-width:782px){
  body.admin-bar.edictumx-home-premium-active #masthead,
  body.admin-bar.edictumx-home-premium-active .site-header{
    top:46px!important;
  }
}

@supports not (overflow:clip){
  html body.edictumx-home-premium-active{
    overflow-x:hidden!important;
  }
}
