/* Sati Lab — base generale */
/* Due soli caratteri: Anton per i titoli, Inter (Regular) per tutto il resto. */
:root { --sl-f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --sl-f-title: 'Anton', 'Arial Narrow', Impact, sans-serif; --sl-w-ui: 400; }
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body.satilab {
  margin: 0;
  background: var(--slc-bg, #0015B1);
  color: #f5f6fa;
  font-family: var(--sl-f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(body.satilab img) { max-width: 100%; height: auto; }
#sl-main { display: block; }
.sl-accent { color: var(--slc-lime, #C6F432); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* con la barra admin di WordPress la navbar scende */
body.admin-bar #satilab-glass-nav-wrap { top: 32px; }
@media (max-width: 782px) { body.admin-bar #satilab-glass-nav-wrap { top: 46px; } }

/* se JavaScript non parte, dopo 4 secondi tutto torna visibile */
@keyframes slRevealSafe { to { opacity: 1; translate: 0 0; } }
html:not(.sl-ready) [data-fx] { animation: slRevealSafe .01s 4s forwards !important; }

/* hero senza riquadri */
.sl-hero-noreels .sl-hero-grid { grid-template-columns: minmax(0, 640px); }

/* form contatti: modulo Fluent Forms nascosto (riceve i dati) e trappola anti-bot */
.sl-ct-fluent { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.sl-ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sl-admin-note { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px dashed rgba(255,255,255,.35); font-size: 13px; line-height: 1.5; color: #fff; }
.sl-admin-note a { color: var(--slc-lime, #C6F432); text-decoration: underline; }

/* pagina "Contatti" da sola: spazio sotto la navbar */
body.page-template-page-contatti-php .sl-ct-section { padding-top: 150px; }
@media (max-width: 640px) { body.page-template-page-contatti-php .sl-ct-section { padding-top: 120px; } }

/* griglia progetti: card come link */
.sl-grid-card, .sl-car-card, .sl-pd-gitem { text-decoration: none; color: inherit; }
.sl-car-card { cursor: pointer; }

/* pagine generiche (pagina, articolo, 404) */
.sl-page { padding: 150px 24px 90px; background: var(--slc-bg, #0015B1); }
.sl-page-in { max-width: 820px; margin: 0 auto; }
.sl-page h1 { font-family: var(--sl-f-title); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(36px, 6vw, 64px); line-height: 1; margin: 0 0 24px; color: #fff; }
.sl-page .sl-content { font-size: 17px; line-height: 1.75; color: var(--slc-dim, #C9DCFF); }
.sl-page .sl-content a { color: var(--slc-lime, #C6F432); }
.sl-page .sl-content h2, .sl-page .sl-content h3 { color: #fff; font-family: var(--sl-f-title); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 1.6em 0 .5em; }
.sl-page .sl-content img { border-radius: 16px; }
.sl-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sl-post-list a { display: block; padding: 18px 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; font-weight: var(--sl-w-ui); transition: border-color .2s ease, background .2s ease; }
.sl-post-list a:hover { border-color: var(--slc-lime, #C6F432); background: rgba(255,255,255,.08); }
