/*
Theme Name: Villabate Press
Version: 1.1.0
Text Domain: villabate-press
*/
:root{--ink:#171717;--wine:#781f32;--paper:#faf9f6;--rule:#ddd7cf;--muted:#62615e}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.2em}
a:hover{color:var(--wine)}
a:focus-visible,input:focus-visible,button:focus-visible{outline:2px solid var(--wine);outline-offset:4px}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(1220px,calc(100% - 48px));margin-inline:auto}
.utility{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--rule);padding:10px 0;color:var(--muted);font-size:.82rem}
.masthead{text-align:center;padding:24px 0 18px}
.wordmark{font:700 clamp(2.1rem,8vw,5.6rem)/.98 Georgia,serif;letter-spacing:-.065em;text-decoration:none;display:inline-block}
.wordmark span{color:var(--wine)}
.tagline{margin:10px 0 0;color:var(--muted);font:italic 1.1rem Georgia,serif}
.sections{border-block:1px solid var(--rule);padding:10px 0;display:flex;justify-content:center;gap:8px 23px;flex-wrap:wrap;font-size:.87rem;font-weight:650}
.sections a,.footer a,.cards h2 a,.cards h3 a{text-decoration:none}
main{padding-block:32px 60px;min-height:45vh}
h1,h2,h3{font-family:Georgia,serif;line-height:1.12;margin-top:0}
h1{font-size:clamp(2.3rem,6vw,5rem);letter-spacing:-.045em;margin-bottom:18px}
h2{font-size:clamp(1.5rem,3vw,2.45rem)}
h3{font-size:1.42rem}
.label,.meta{font-size:.85rem;color:var(--muted)}
.label{color:var(--wine);font-weight:700}
.section{border-top:2px solid var(--ink);padding-top:15px;margin-bottom:35px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.cards img{aspect-ratio:16/9;object-fit:cover;width:100%;margin-bottom:12px}
.cards h3{margin:5px 0 8px}
.lead .cards{grid-template-columns:2fr 1fr 1fr}
.lead article:first-child h3{font-size:clamp(1.8rem,4vw,3.4rem)}
.article{max-width:760px;margin:auto}
.article p,.article li{font:clamp(1.1rem,2vw,1.23rem)/1.68 Georgia,serif}
figure{margin:24px 0}
figcaption{font-size:.85rem;color:var(--muted);padding-top:8px}
.footer{border-top:4px solid var(--wine);padding:26px 0 34px;background:#eeeae3}
.footer nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px}
input,button{font:inherit;padding:.35em .5em;border:1px solid var(--rule);background:white;color:var(--ink)}
button{cursor:pointer}
.screen-reader-text{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.screen-reader-text:focus{width:auto;height:auto;clip-path:none;padding:.5em;background:white;z-index:10}
@media(max-width:760px){.wrap{width:calc(100% - 28px)}.cards,.lead .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lead article:first-child{grid-column:1/-1}.sections{justify-content:flex-start;flex-wrap:nowrap;overflow:auto}.utility input{width:8em}.utility{font-size:.74rem}}
@media(max-width:420px){.cards{grid-template-columns:1fr}}


.masthead{padding:19px 0 15px}
.masthead .wordmark{font-size:clamp(2.2rem,7vw,4.85rem)}
.tagline{margin-top:8px}
.mobile-sections{display:none}
.sections a[aria-current=page]{color:var(--wine);text-decoration:underline}
.lead .cards.solo{grid-template-columns:minmax(0,1fr)}
.lead .solo article{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:4px 30px;align-content:start;align-items:start}
.lead .solo article>a{grid-row:1/5}
.lead .solo article img{margin-bottom:0}
.lead .solo article h3{font-size:clamp(1.9rem,4vw,3.1rem)}
main{min-height:0;padding-block:25px 40px}
.section:last-child{margin-bottom:0}
.article h1{font-size:clamp(2.25rem,5vw,4rem)}
.article nav.meta{margin-bottom:13px}
.footer{background:#171717;color:#faf9f6;border-top:5px solid #781f32;padding:33px 0 19px}
.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:25px 36px}
.footer h2{font:700 .82rem/1.3 system-ui,sans-serif;letter-spacing:.045em;text-transform:uppercase;margin:0 0 10px}
.footer #footer-brand{margin-bottom:8px;text-transform:none;letter-spacing:normal}
.footer .wordmark{font-size:clamp(1.7rem,2.9vw,2.55rem)}
.footer .wordmark span{color:#e8a3b0}
.footer nav{display:block;margin:0}
.footer ul{list-style:none;margin:0;padding:0;columns:1}
.footer nav:first-of-type ul{columns:2}
.footer li{margin:0 0 6px}
.footer p,.footer li,.footer-bottom{font-size:.88rem;color:#ded8d0}
.footer p{max-width:30ch;margin:0 0 8px}
.footer .footer-tagline{font-family:Georgia,serif;font-style:italic}
.footer a:hover{color:#fff;text-decoration:underline}
.footer a:focus-visible{outline-color:#f4bec9}
.footer-bottom{border-top:1px solid #59534f;margin-top:25px;padding-top:13px;display:flex;justify-content:space-between;gap:12px}
@media(max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .desktop-sections{display:none}
 .mobile-sections{display:block;border-block:1px solid var(--rule)}
 .mobile-sections summary{cursor:pointer;padding:10px 0;font-weight:700}
 .mobile-sections .sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;border-bottom:0;gap:10px}
 .lead .solo article{display:block}
 .lead .solo article img{margin-bottom:10px}
}
@media(max-width:420px){.footer-grid{grid-template-columns:1fr;gap:20px}.footer-bottom{flex-wrap:wrap}}
