/*
Theme Name: Bridge Child
Theme URI: https://house4future.it/
Description: Base leggera H4F con contenuti WordPress ed Elementor.
Author: House 4 Future
Version: 1.1.0
Template: bridge
*/
:root{--h4f-green:#2a562d;--h4f-dark:#233b2a;--h4f-paper:#f8f7f2;--h4f-gold:#b38a36}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--h4f-paper);color:var(--h4f-dark);font-family:Poppins,system-ui,sans-serif;font-size:16px;line-height:1.65;overflow-x:clip}
img{max-width:100%;height:auto}
a{color:var(--h4f-green)}
h1,h2,h3,h4{line-height:1.2}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid var(--h4f-gold);outline-offset:4px}
.h4f-site-main{width:100%;min-width:0;margin:0}
.h4f-skip-link{position:fixed;top:8px;left:12px;transform:translateY(-160%);background:#fff;padding:12px 18px;border:2px solid var(--h4f-green);z-index:100100}
.h4f-skip-link:focus{transform:none}
.h4f-fallback-header,.h4f-fallback-footer{padding:24px;max-width:1200px;margin:auto}
.h4f-fallback-header img{max-width:220px}
.h4f-editorial{max-width:1100px;margin:auto;padding:150px 24px 64px}
.h4f-editorial h1{font-size:clamp(30px,4vw,48px);margin:0 0 24px}
.h4f-editorial .h4f-post-meta{font-size:14px;color:#526652}
.h4f-article-image{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:16px;margin:24px 0}
.h4f-prose{max-width:850px;margin:0 auto;overflow-wrap:anywhere}
.h4f-prose h2,.h4f-prose h3{margin-top:1.6em}
.h4f-prose p{margin:0 0 1.2em}
.h4f-prose ul,.h4f-prose ol{padding-left:1.5em}
.h4f-prose table{width:100%;border-collapse:collapse}
.h4f-prose th,.h4f-prose td{border:1px solid #d8ddd2;padding:12px;text-align:left}
.h4f-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.h4f-post-card{background:#fff;border:1px solid #d8ddd2;padding:24px;border-radius:16px;margin-bottom:24px;overflow-wrap:anywhere}
.h4f-post-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.h4f-post-card h2{font-size:24px}
.elementor-form .elementor-field-type-acceptance label,.elementor-form .elementor-field-type-acceptance a{color:#fff}
.elementor-form .elementor-field-type-acceptance a{text-decoration:underline}
.elementor-1227 .elementor-form .elementor-field::placeholder{color:#fff;opacity:1}
.elementor-1227 .elementor-form .elementor-field:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:767px){.h4f-editorial{padding:126px 18px 42px}.h4f-post-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
