/* ═══ 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}
