/*
Theme Name: Forninho Base
Theme URI: https://oforninhodecortegaca.camidal.pt/
Author: Forninho
Description: Tema técnico mínimo para plugins independentes do Forninho. Layout de Home a toda a largura.
Version: 1.3.0
Requires PHP: 7.4
Text Domain: forninho-base
*/
:root{--forninho-cream:#faf7f1;--forninho-brown:#542b1b;--forninho-ink:#30241e;--forninho-content-width:1160px;--forninho-body-font:system-ui,-apple-system,'Segoe UI',sans-serif;--forninho-heading-font:Georgia,serif;--forninho-body-size:16px;--forninho-radius:12px;--forninho-button-bg:#542b1b;--forninho-button-text:#fff;--forninho-button-radius:40px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--forninho-cream);color:var(--forninho-ink);font-family:var(--forninho-body-font);font-size:var(--forninho-body-size);overflow-wrap:break-word}
img{max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid var(--forninho-brown);outline-offset:3px}
.forninho-content{width:min(100% - 40px,var(--forninho-content-width));margin-inline:auto;padding-block:40px}
.forninho-home{width:100%;max-width:none;margin:0;padding:0}
.forninho-home .fhome-section{width:100%}
.forninho-page-copy{width:min(100% - 40px,var(--forninho-content-width));margin:40px auto}
.forninho-empty{border:1px dashed #cab9aa;border-radius:10px;padding:32px;color:#6f5b4a}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;width:1px;height:1px;white-space:nowrap}
.screen-reader-text:focus{position:fixed;clip:auto;left:16px;top:16px;z-index:99999;background:#fff;color:#222;padding:12px}
@media(max-width:700px){.forninho-content,.forninho-page-copy{width:calc(100% - 32px)}}

/* A página inicial utiliza apenas as secções modulares. */
.forninho-home{width:100%;max-width:none;margin:0;padding:0;}

/* 1.3 - Home isolada dos estilos e fundos do antigo site */
html,body{margin:0!important;min-width:0;max-width:100%;overflow-x:clip}
body.home,body.front-page,body.home.custom-background{background:#faf7f1!important;background-image:none!important}
body.home::before,body.home::after{background-image:none!important}
body.home #page,body.home .site,body.home .site-content,body.home #content,
body.home main#conteudo-principal,body.home main.forninho-home{
 width:100%!important;min-width:0!important;max-width:none!important;
 margin:0!important;padding:0!important;border:0!important;
 background:transparent!important;background-image:none!important;
 box-shadow:none!important
}
body.home main.forninho-home>.fhome-section,
body.home main.forninho-home>.forninho-home-wrap,
body.home main.forninho-home>.forninho-home-section{
 display:block;width:100%!important;max-width:none!important;margin:0!important
}
body.home main.forninho-home .fhome-section{
 width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
 background-size:cover;background-repeat:no-repeat
}
body.home main.forninho-home .fhome-section .fhome-inner{width:min(100% - 48px,1200px);max-width:1200px;margin-inline:auto}
body.home main.forninho-home .fhome-hero{min-height:540px;display:flex;align-items:center}
body.home main.forninho-home .fhome-hero .fhome-inner{min-height:440px}
@media(max-width:700px){body.home main.forninho-home .fhome-section .fhome-inner{width:calc(100% - 32px)}body.home main.forninho-home .fhome-hero{min-height:440px}}
