/* PiccoleFavole — base comune della bozza. Nessun paesaggio o colore stagionale.
   Per Register mantenere il vero style_common.css del sito e verificare il raccordo.
   Questo file non è una copia sostitutiva del master di produzione. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:#0a0e2a;color:#fff3dc}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold,currentColor);outline-offset:5px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Componenti comuni: accessibilità e footer unificato. */
.skip-link{position:absolute;top:8px;left:12px;z-index:10000;padding:10px 16px;background:#0a0e2a;color:#fff3dc;border:2px solid #e8c57a;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
#site-footer.pf-footer{display:block;width:100%;text-align:left;padding:36px 5%;font:16px/1.6 system-ui,sans-serif;color:#fff3dc;background:#0a0e2a;border-top:1px solid #e8c57a50}
#site-footer .pf-footer-grid{width:min(1100px,100%);margin:auto;display:grid;grid-template-columns:1.35fr repeat(3,minmax(0,1fr));gap:32px;align-items:start}
#site-footer .pf-footer-brand,#site-footer .pf-footer-col{min-width:0}
#site-footer .pf-footer-logo{font-size:clamp(22px,2.4vw,30px);font-weight:700;white-space:nowrap}
#site-footer .pf-footer-logo span{color:#e8c57a}
#site-footer .pf-footer-brand p{margin:8px 0 0}
#site-footer .pf-footer-col h5{font-size:17px;line-height:1.4;margin:0 0 12px;color:#e8c57a}
#site-footer .pf-footer-col>a{display:block;width:fit-content;max-width:100%;margin:0 0 7px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
#site-footer .pf-footer-col>a:hover{text-decoration:underline;text-underline-offset:4px}
#site-footer .pf-footer-bottom{width:min(1100px,100%);margin:28px auto 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;font-size:14px}
@media(max-width:800px){#site-footer .pf-footer-grid{grid-template-columns:1fr 1fr}#site-footer .pf-footer-brand{grid-column:1/-1}}
@media(max-width:520px){#site-footer .pf-footer-grid{grid-template-columns:1fr;gap:24px}#site-footer .pf-footer-brand{grid-column:auto}#site-footer .pf-footer-bottom{display:block}#site-footer .pf-footer-bottom>span{display:block;margin-top:6px}}
