/* ═══ SOLO SITO DI CASA (aiseoassistant.io) ═══════════════════════════════
   Regole GLOBALI di layout pensate per il sito .io: header Elementor sticky,
   titolo pagina del tema nascosto, body dark full-height, ancore compensate.
   Caricato SOLO se aek_is_home_site() → sugli altri siti della famiglia il kit
   porta esclusivamente i widget e il CSS scopato .aek (aek.css). */

/* Header Elementor sticky (+ compensazione admin bar) */
[data-elementor-type="header"]{ position:-webkit-sticky; position:sticky; top:0; z-index:9999; }
body.admin-bar [data-elementor-type="header"]{ top:32px; }
@media screen and (max-width:782px){ body.admin-bar [data-elementor-type="header"]{ top:46px; } }

/* Il titolo pagina lo fa aek_pagehead: quello del tema va nascosto */
.page .page-header, .page .entry-title, .elementor-page-title, h1.entry-title.page-title{ display:none !important; }

/* Ancore (#features…) non finiscono sotto l'header sticky */
section[id]{ scroll-margin-top:88px; }

/* Body dark full-height: footer sempre in fondo anche su pagine corte */
body.elementor-default{ display:flex; flex-direction:column; min-height:100vh; background:#0c0c16; }
body.elementor-default > main#content, body.elementor-default > .site-main{ flex:1 0 auto; background:#0c0c16; }
body.elementor-default > [data-elementor-type="footer"]{ flex-shrink:0; }

/* ── 📸 Feature screenshot + bottone video (spostati QUI dal widget inline delle pagine
   Features, 0.9.58: la lightbox custom aisaLb è stata RIMOSSA — si usa quella di Elementor) ── */
.aisa-featshot a{cursor:zoom-in;display:block;line-height:0}
.aisa-featshot .elementor-widget-container{border-radius:10px;overflow:hidden}
.aisa-vidlink{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:11px 20px;border-radius:999px;background:linear-gradient(103deg,#8b6dff,#37d0ff);color:#0a0a13!important;font-weight:700;font-size:.95rem;text-decoration:none;transition:transform .18s ease;box-shadow:0 10px 30px -12px rgba(55,208,255,.7)}
.aisa-vidlink:hover{transform:translateY(-2px)}
.aisa-vidlink svg{width:15px;height:15px;fill:#0a0a13}

/* ── Data Optimization block (ex <style> inline nelle pagine Features 116/117): sul live kses spogliava il tag e il CSS finiva a schermo (03/09/2026) ── */
.aek-dataopt{--v:#8b6dff;--c:#37d0ff;position:relative;overflow:hidden;border-radius:22px;margin:8px 0;padding:clamp(30px,5vw,56px) clamp(24px,4vw,60px);color:#eef0ff;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:radial-gradient(680px 460px at 90% -20%,rgba(139,109,255,.34),transparent 60%),radial-gradient(560px 420px at 2% 120%,rgba(55,208,255,.20),transparent 60%),#0a0a13;border:1px solid #2b2b4d}.aek-dataopt .eye{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--c)}.aek-dataopt .eye .dot{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 12px var(--c)}.aek-dataopt h3{font-size:clamp(1.5rem,3vw,2.15rem);line-height:1.12;letter-spacing:-.02em;font-weight:800;margin:.5em 0 .35em;max-width:22ch;text-wrap:balance}.aek-dataopt p{font-size:clamp(1.02rem,1.6vw,1.18rem);line-height:1.6;color:#c3c3e0;max-width:62ch;margin:0}.aek-dataopt p b{color:#fff}.aek-dataopt .motif{position:absolute;top:26px;right:30px;width:118px;height:118px;color:var(--v);opacity:.85;filter:drop-shadow(0 0 26px rgba(139,109,255,.5))}.aek-dataopt .motif svg{width:100%;height:100%}@media(max-width:640px){.aek-dataopt .motif{display:none}}

/* ── 0.9.105 — hub del blog: link alle sezioni (pagina News/Blog) ── */
.aisa-sections{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 0 8px; padding:0; list-style:none; }
.aisa-sections a{ display:inline-block; text-decoration:none; font-size:14px; font-weight:700; line-height:1.2;
  color:#d7d6e6; background:#15152a; border:1px solid #2a2a4a; border-radius:999px; padding:9px 16px;
  transition:color .15s, border-color .15s, background .15s; }
.aisa-sections a:hover{ color:#a8e3ff; border-color:rgba(168,227,255,.45); background:#1a1a30; }
.aisa-sections a .n{ color:#8e8eb0; font-weight:600; margin-left:6px; font-size:12.5px; }
.aisa-hubintro{ max-width:760px; margin:0 auto 22px; text-align:center; color:#a6a6c2; font-size:16px; line-height:1.65; }
