/* ============ Adattamenti specifici WordPress ============ */

/* header fisso + admin bar */
body.admin-bar .site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar .site-header{top:46px}}

/* reset di margini che WP inietta */
.site-header ul,.site-nav ul{list-style:none;margin:0;padding:0;display:contents}
.site-nav li{display:contents}

/* immagini nei contenuti */
.wp-post-image{display:block}

/* Fluent Forms dentro .newsletter-card (stile prototipo) */
.newsletter-card .ff-el-group{margin-bottom:14px}
.newsletter-card .ff-el-form-control{width:100%;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:var(--r-pill);padding:15px 24px;color:var(--white);font:inherit}
.newsletter-card textarea.ff-el-form-control{border-radius:18px;min-height:120px}
.newsletter-card .ff-el-form-control::placeholder{color:rgba(255,255,255,.6)}
.newsletter-card .ff-el-input--label label{color:var(--white);font-size:13px}
.newsletter-card .ff-btn-submit{width:100%;display:inline-flex;justify-content:center;border-radius:var(--r-pill);padding:17px 30px;font:400 var(--fs-btn)/1 var(--font-sans);border:0;cursor:pointer;background:var(--red);color:var(--white);transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
.newsletter-card .ff-btn-submit:hover{background:var(--white);color:var(--red)}
.newsletter-card .ff-el-is-error .text-danger{color:var(--salmon);font-size:12px}
.newsletter-card .ff-message-success{color:var(--white);background:rgba(255,255,255,.12);border-radius:14px;padding:14px}

/* dot rosso sulle voci footer (i menu WP non hanno lo span del prototipo) */
.site-footer__grid ul li::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--red);flex:none}
