/*
Theme Name: HERA Foundation
Theme URI: https://herafoundation.it
Author: HERA Foundation ETS
Description: Tema su misura per il sito di HERA Foundation ETS, fedele al prototipo approvato. Progetti, News & Media, Gallery, Partner e Persone si gestiscono dal pannello; impostazioni generali in "Impostazioni HERA".
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: hera
License: Proprietario (immagini e marchi HERA Foundation); font Hanken Grotesk e Newsreader sotto SIL Open Font License
*/

/* ---------- Caratteri ospitati sul sito (nessuna chiamata a Google) ---------- */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/hanken-grotesk-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-style:italic;font-display:swap;font-weight:200 800;src:url(assets/fonts/newsreader-latin-ext-opsz-italic.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Newsreader';font-style:italic;font-display:swap;font-weight:200 800;src:url(assets/fonts/newsreader-latin-opsz-italic.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Cabinet Grotesk: il file si carica da Impostazioni HERA (vedi functions.php) */

/* ---------- Regole del prototipo (identiche) ---------- */
body{margin:0;font-family:'Hanken Grotesk',system-ui,sans-serif;color:#132361;background:#fff}
h1,h2,h3,h4,p{margin:0}
a{color:#132361;text-decoration:none}a:hover{color:#b7417e}
.u{color:#fff}.u:hover{color:#c9ccf5}
.n{display:inline-block;padding:10px 0;border-bottom:3px solid transparent}.n:hover{color:#132361;border-bottom-color:#b7417e}
.f{color:#dfe2ff}.f:hover{color:#fff}
.lk{font-weight:700;border-bottom:2px solid currentColor;padding-bottom:2px}
/* Su desktop il menu principale resta in alto durante lo scorrimento. */
@media (min-width:1024px){
.hera-header{position:sticky;top:0;z-index:50}
.admin-bar .hera-header{top:32px}
html{scroll-padding-top:96px}
}

/* ---------- Aggiunte tecniche (non cambiano l'aspetto) ---------- */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:focus-visible{outline:3px solid #b7417e;outline-offset:2px}
.hera-skip{position:absolute;left:-9999px;top:0;background:#132361;color:#fff;padding:12px 18px;font-weight:700;z-index:100}
.hera-skip:focus{left:12px;top:12px;color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
[hidden]{display:none!important}
input,button,select,textarea{border-radius:0}
.hera-video{background:#fff}
.hera-testo p{margin:0 0 1.1em}
.hera-testo h2{font-size:30px;font-weight:700;margin:1.4em 0 .5em}
.hera-testo h3{font-size:22px;font-weight:700;margin:1.3em 0 .4em}
.hera-testo ul,.hera-testo ol{padding-left:22px;margin:0 0 1.1em}
.hera-testo a{text-decoration:underline}
.hera-testo img{max-width:100%;height:auto}
.hera-testo blockquote{margin:1.4em 0;font-family:'Newsreader',Georgia,serif;font-style:italic;font-size:26px;line-height:1.35}
.hera-msg{font-size:15px;line-height:1.45;font-weight:600}
.hera-msg.ok{color:#037246}.hera-msg.err{color:#9a3168}
.hera-msg:empty{display:none}
