*{box-sizing:border-box}
:root{color-scheme:light;--ink:#4c210f;--paper:#fff8e8;--gold:#d79a27;--line:#dcbb75}
body{margin:0;color:var(--ink);font:1rem/1.55 system-ui,sans-serif;background:#f3d483;background-image:var(--site-background,radial-gradient(ellipse at top,#fff4cd,#f0bf55));background-size:cover;background-attachment:fixed;background-position:center}
a{color:#64250d;text-underline-offset:.19em}
:focus-visible{outline:3px solid #531b0c;outline-offset:3px}
h1,h2{font-family:Georgia,serif;line-height:1.12}
h1{font-size:clamp(2rem,5vw,3.5rem);margin:.3em 0 .55em}
h2{font-size:clamp(1.35rem,3vw,1.9rem)}
.poster{position:relative;margin:0 auto;width:min(100%,820px);aspect-ratio:2/3;background:#c78a1d;box-shadow:0 0 46px #4c210f70;container-type:inline-size}
.poster-image{display:block;width:100%;height:100%;object-fit:cover}
.visually-hidden,.poster:not(.custom) .hotspot span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hotspot{position:absolute;display:grid;place-items:center;border-radius:2.7cqw;text-decoration:none}
.poster:not(.custom) .hotspot:hover{box-shadow:inset 0 0 0 2px #fff4c0,0 0 12px #fff3b9}
.poster:not(.custom) .hotspot:focus-visible{outline:3px solid #4d210a;box-shadow:0 0 0 6px #fff7d8}
.hotspot[class*="page-"]{width:44%;height:8.5%}
.page-nossa-historia,.page-videos,.page-batuque{left:5.2%}
.page-fotos,.page-fale-conosco,.page-quimbanda{left:50.7%}
.page-nossa-historia,.page-fotos{top:45.5%}
.page-videos,.page-fale-conosco{top:54.3%}
.page-batuque,.page-quimbanda{top:63.3%}
.hotspot.page-publicacoes{left:9%;top:73.3%;width:83%;height:8.5%}
.hotspot[class*="social-"]{top:87.2%;height:6.5%;width:12.5%}
.social-facebook{left:26%}.social-instagram{left:40%}.social-youtube{left:54%}.social-tiktok{left:69%}
.custom-title{position:absolute;inset:5% 7% auto;text-align:center;color:#fff2c9;background:#3f1a0bcc;border-radius:.55em;padding:.45em;margin:0;overflow-wrap:anywhere}
.custom .hotspot{background:linear-gradient(#fff8df,#f5d485);border:2px solid #af7519;box-shadow:0 2px 6px #38180770;text-align:center;font:bold 5cqw/1.12 Georgia,serif;padding:.25em}
.custom .hotspot[class*="social-"]{font:600 2.5cqw/1.1 system-ui,sans-serif;padding:.1em}
.home-footer{text-align:center;padding:1rem;background:#fff4d8}
.public-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:#401d0d;color:#fff5d9;padding:1rem clamp(1rem,4vw,3rem)}
.public-header>a{font:bold 1.45rem Georgia,serif}
.public-header nav,.links{display:flex;gap:.6rem 1rem;align-items:center;flex-wrap:wrap}
.public-header a,.text-button{color:inherit}
.public-header [aria-current]{font-weight:800}
.public-header :focus-visible{outline-color:#fff4d0}
.text-button{background:none;border:0;text-decoration:underline;padding:0;font:inherit;box-shadow:none}
.panel,.auth-card{border:1px solid var(--line);border-radius:1rem;background:var(--paper);padding:clamp(1rem,4vw,2.6rem);box-shadow:0 12px 40px #5b2f1220;min-width:0;overflow-wrap:anywhere}
.public-panel,.admin-area,.auth-card,.narrow{width:min(calc(100% - 2rem),1040px);margin:clamp(1rem,4vw,3rem) auto}
.narrow,.auth-card{max-width:560px}
.admin-area{display:grid;gap:1rem}
.stack,.form-grid,.fields{display:grid;gap:1rem}
.fields,.form-grid.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}
label{display:grid;gap:.3rem;font-weight:640;min-width:0}
label.check{display:flex;align-items:center;gap:.45rem}
input,textarea,select{max-width:100%;width:100%;padding:.65rem;border:1px solid #ad8a4b;border-radius:.35rem;background:#fffdf6;color:#381807;font:inherit}
input[type=checkbox]{width:auto;accent-color:#86400e}
button,.button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:.55rem .95rem;border:1px solid #ad751e;border-radius:.45rem;background:#f5d286;color:#381807;font:650 1rem/1.2 system-ui,sans-serif;text-decoration:none;cursor:pointer}
.stack>button,.form-grid>button{justify-self:start}
details{border:1px solid var(--line);padding:.7rem;border-radius:.4rem}
details[open]>summary{margin-bottom:.75rem}
summary{cursor:pointer;font-weight:700}
.entry-list{padding:0;list-style:none}
.entry-list li{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--line);padding:.75rem 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}
.card{background:#fffdfa;border:1px solid var(--line);border-radius:.75rem;padding:1rem}
.card img{width:100%;max-height:350px;object-fit:contain;border-radius:.4rem}
.prose{white-space:pre-wrap}
.pagination{margin-top:1rem}
.notice{padding:.75rem;border-radius:.4rem;background:#e1efdc}
.notice.error{background:#f8e1d7;color:#7a2615}
.setup-database:has(option[value="sqlite"]:checked) .mysql-fields{display:none}
fieldset{min-width:0;border:1px solid var(--line);border-radius:.5rem}

