/* Shared by front-end and block editor: section styles for the page builder (patterns). */
.fm-section,.fm-hero{padding:72px 24px}
.fm-hero{background:linear-gradient(135deg,var(--fm-primary),var(--fm-accent));color:#fff;text-align:center}
.fm-hero h1{font-size:clamp(2rem,5vw,3.4rem);color:#fff}
.fm-hero p{font-size:1.15rem;opacity:.95}
.fm-hero .wp-block-button__link{background:#fff;color:var(--fm-primary)}
.fm-hero .is-style-outline .wp-block-button__link{background:transparent;color:#fff;border:2px solid #fff}
.fm-section h2{text-align:center;font-size:clamp(1.5rem,3.5vw,2.2rem)}
.fm-section>p.has-text-align-center{color:#64748b}
.is-style-fm-card{background:#fff;border-radius:18px;padding:28px;box-shadow:0 6px 28px rgba(15,23,42,.08)}
.is-style-fm-soft{background:var(--fm-muted)}
.is-style-fm-dark{background:#0f172a;color:#e2e8f0}
.is-style-fm-dark h1,.is-style-fm-dark h2,.is-style-fm-dark h3{color:#fff}
.is-style-fm-gradient{background:linear-gradient(135deg,var(--fm-primary),var(--fm-accent));color:#fff}
.is-style-fm-gradient h1,.is-style-fm-gradient h2,.is-style-fm-gradient h3{color:#fff}
.fm-stat{font-size:2.6rem;font-weight:900;color:var(--fm-primary);margin:0;line-height:1.3}
.fm-cta{background:#0f172a;color:#e2e8f0;text-align:center;border-radius:0}
.fm-cta h2{color:#fff}
.wp-block-columns{gap:24px}
.wp-block-details{background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:14px 20px;margin-bottom:12px}
.wp-block-details summary{cursor:pointer;font-weight:700}
.wp-block-latest-posts.is-grid{gap:24px}
.wp-block-buttons.is-content-justification-center{justify-content:center}
/* ---- Simple page builder (fmb) ---- */
.fmb-section{position:relative}
.fmb-inner{max-width:1100px;margin-inline:auto}
.fmb-narrow{max-width:780px}
.fmb-section h1{font-size:clamp(1.8rem,4.5vw,3rem);text-align:center}
.fmb-start,.fmb-start h1,.fmb-start h2{text-align:start}
.fmb-sub{text-align:center;color:#64748b;margin:0 0 2rem}
.is-style-fm-dark .fmb-sub,.is-style-fm-gradient .fmb-sub{color:inherit;opacity:.85}
.fmb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:32px}
.fmb-stats{text-align:center}
.fmb-stats p{margin:0}
.fmb-btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:24px}
.btn.btn-outline{background:transparent;color:var(--fm-primary);border:2px solid var(--fm-primary)}
.btn.btn-outline:hover{color:var(--fm-primary)}
.fm-hero h2{font-size:clamp(2rem,5vw,3.4rem);color:#fff}
.fm-hero .btn{background:#fff;color:var(--fm-primary)}
.fm-hero .btn:hover{color:var(--fm-primary)}
.fm-hero .btn.btn-outline,.fm-cta .btn.btn-outline{background:transparent;color:#fff;border:2px solid #fff}
.fm-hero .btn.btn-outline:hover,.fm-cta .btn.btn-outline:hover{color:#fff}
.fm-hero.has-bg-image{overflow:hidden}
.fmb-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fm-hero.has-bg-image::before{content:"";position:absolute;inset:0;background:rgba(15,23,42,.55);z-index:1}
.fm-hero .fmb-inner{position:relative;z-index:2}
.fmb-split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.fmb-split img{width:100%;height:auto;border-radius:18px;display:block}
.fmb-side-end .fmb-split-media{order:2}
@media(max-width:760px){.fmb-split{grid-template-columns:1fr}.fmb-side-end .fmb-split-media{order:0}}
.fmb-html{padding:0}
.fmb-posts .posts-grid{margin-block:32px 0}
.wp-block-details{color:var(--fm-text)}
.is-style-fm-dark .is-style-fm-card,.is-style-fm-gradient .is-style-fm-card{color:var(--fm-text)}
.is-style-fm-dark .is-style-fm-card h3,.is-style-fm-gradient .is-style-fm-card h3{color:var(--fm-text)}
