/* Trainova — intestazione e fondo pagina comuni a TUTTE le pagine pubbliche
   (anche quelle col vecchio tema: blog, pagine SEO, legali, Gym, Nutri).
   Stessi stili di site.css, con selettori più forti per non farsi cambiare
   dalle regole generiche (nav, footer, a) delle pagine vecchie. */
header.site-nav { position: sticky; top: 0; z-index: 60; background: rgba(245,245,242,0.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border: 0; border-bottom: 1px solid transparent; padding: 0; margin: 0; height: auto; font-family: 'DM Sans', system-ui, sans-serif; }
header.site-nav.scrolled { border-bottom-color: #E4E4DE; }
header.site-nav .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; box-sizing: border-box; }
header.site-nav .brand { min-height: 44px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; text-decoration: none; color: #0A0A0A; display: inline-flex; align-items: center; gap: 3px; letter-spacing: -0.02em; }
header.site-nav .brand::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #C8FF00; border: 2px solid #0A0A0A; margin-top: 8px; }
header.site-nav .nav-menu { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; position: static; background: none; border: 0; padding: 0; margin: 0; height: auto; box-shadow: none; }
header.site-nav .nav-menu a { color: #0A0A0A; text-decoration: none; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
header.site-nav .nav-menu .soon { color: #6B6B6B; }
header.site-nav .nav-menu .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #0A0A0A; color: #FFFFFF; font-weight: 700; border: 0; }
header.site-nav .nav-menu .btn:hover { background: #262626; }
header.site-nav .nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #E4E4DE; background: #FFFFFF; color: #0A0A0A; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
@media (max-width: 900px) {
  header.site-nav .nav-toggle { display: inline-flex; }
  header.site-nav .nav-menu { display: none; position: absolute; left: 12px; right: 12px; top: 68px; flex-direction: column; align-items: stretch; gap: 4px; background: #FFFFFF; border: 1.5px solid #E4E4DE; border-radius: 24px; padding: 12px; box-shadow: 0 20px 40px rgba(10,10,10,0.08); }
  header.site-nav .nav-menu.open { display: flex; }
  header.site-nav .nav-menu a:not(.btn) { padding: 12px 14px; border-radius: 14px; }
  header.site-nav .nav-menu a:not(.btn):hover { background: #F5F5F2; }
  header.site-nav .nav-menu .btn { margin-top: 6px; }
}
footer.site-footer { background: none; border: 0; border-top: 1px solid #E4E4DE; margin: 56px 0 0; padding: 28px 0 48px; font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: #6B6B6B; text-align: left; }
footer.site-footer .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; box-sizing: border-box; }
footer.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; position: static; background: none; border: 0; padding: 0; height: auto; }
footer.site-footer a { color: #6B6B6B; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
footer.site-footer a:hover { color: #0A0A0A; text-decoration: underline; }
.sr-only:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Pagine SEO (vecchio tema): il blocco iniziale non aveva stili */
.seo-hero { max-width: 960px; margin: 0 auto; padding: 48px 24px 40px; text-align: center; box-sizing: border-box; }
.seo-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 0 auto 18px; max-width: 900px; }
.breadcrumb { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* Riquadro «Leggi anche» degli articoli: alcune pagine vecchie fissano in alto ogni <nav> */
nav.leggi-anche { position: static !important; top: auto; left: auto; right: auto; z-index: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
