/*
Theme Name: Acequia del Zute
Description: Portal de la Comunidad de Regantes de la Acequia del Zute.
Template: hello-elementor
Version: 1.0.0
Text Domain: zute
*/
:root{--ink:#20251b;--muted:#505746;--paper:#f5f1e7;--cream:#fffdf5;--green:#263e31;--fern:#bfd388;--line:#d8d9c3;--ochre:#d8a450;--max:1220px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 system-ui,sans-serif}
h1,h2,h3,p{margin:0 0 .75em}
h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.05}
h1{font-size:clamp(2.8rem,7vw,5.5rem);letter-spacing:-.055em}
h2{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em;color:var(--green)}
h3{font-size:1.6rem;color:var(--green)}
a{color:#254d37;text-underline-offset:.2em}
a:focus-visible,button:focus-visible,input:focus-visible,#zute-mapa:focus-visible{outline:3px solid #c78229;outline-offset:4px}
.shell{width:min(calc(100% - 3rem),var(--max));margin-inline:auto}
.skip{position:absolute;top:.5rem;left:.5rem;z-index:10;padding:.45rem .8rem;background:var(--cream);transform:translateY(-160%)}
.skip:focus{transform:none}
.site-head{background:var(--cream);border-bottom:1px solid var(--line)}
.head-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.7rem;color:var(--green);text-decoration:none;line-height:1.1;white-space:nowrap}
.brand strong{font-family:Georgia,serif;font-size:1.3rem;font-weight:normal}
.brand small{display:block;margin-top:.24rem;color:var(--muted);font-size:.72rem}
.brand-mark{display:grid;align-content:center;gap:4px;width:40px;height:40px;background:#264437;border-radius:50%;padding:9px;transform:rotate(-20deg)}
.brand-mark i{display:block;border-bottom:2px solid #e1e8a7;border-radius:20%;height:3px}
.head-inner ul{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;align-items:center;padding:0;margin:0;list-style:none}
.head-inner nav a{font-weight:650;font-size:.91rem;color:var(--green);text-decoration:none}
.head-inner nav a:hover,.head-inner nav .current-menu-item a{border-bottom:2px solid #87713b}
.hero{position:relative;background:#253e31 url('assets/vega-pnoa.jpg') center 53%/cover no-repeat;color:var(--cream);isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,29,23,.98) 0%,rgba(14,34,26,.90) 26%,rgba(14,34,26,.64) 52%,rgba(14,34,26,.06) 100%)}
.hero-inner{min-height:555px;display:grid;align-content:center;padding-block:4rem}
.hero-copy{max-width:520px}
.hero h1{font-size:clamp(4rem,9vw,8.9rem);line-height:.91;margin-bottom:.26em}
.kicker{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:#e4ecae;margin-bottom:1.3rem}
.hero-lead{font-size:clamp(1.05rem,2vw,1.24rem);max-width:34ch;color:#fffdf0;margin-bottom:1.5rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem}
.button{display:inline-flex;align-items:center;gap:.6rem;border:1px solid currentColor;border-radius:4px;padding:.65rem .9rem;font-weight:750;text-decoration:none}
.primary{background:#e2eaa8;color:#1e3427;border-color:#e2eaa8}
.secondary{color:#fffdf0}
.button:hover{box-shadow:0 0 0 2px var(--ochre)}
.hero .photo-credit{margin:0;padding-block:.35rem;font-size:.69rem;text-align:right;color:#fff;background:#192c23;width:100%;max-width:none;padding-inline:max(1.5rem,calc((100% - 1220px) / 2))}
.body-content{min-height:40vh;padding-block:3.4rem 4rem}
.content-card{max-width:850px}
.content-card h1{margin-bottom:.4em;color:var(--green)}
.content-card h2{margin-top:1.1em}
.content-card p,.content-card li{max-width:71ch}
.content-card ul{padding-inline-start:1.4rem}
.content-card:has(.map-wrap){max-width:100%}
.intro{max-width:62ch;color:var(--muted);font-size:1.22rem}
.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}
.home-grid article{background:var(--cream);border:1px solid var(--line);padding:1.5rem;border-radius:5px;border-top:4px solid #6f925e;display:flex;flex-direction:column}
.home-grid article:nth-child(2){border-top-color:#b18547}
.home-grid article:nth-child(3){border-top-color:#416b63}
.home-grid article a{margin-top:auto;color:#254d37;font-weight:750}
.note{background:#ebeed9;border-left:4px solid #6d8954;padding:.75rem 1rem}
.map-wrap{padding:.45rem;background:var(--cream);border:1px solid var(--line);border-radius:6px;margin-block:1.4rem}
#zute-mapa{height:clamp(360px,59vh,620px);background:#e3e7d6;z-index:0}
#zute-mapa .leaflet-control-layers-toggle{width:36px;height:36px;padding:0;border:0;box-shadow:none;background-position:center}
.map-state{margin:.5rem .8rem}
.zute-footer{background:#21392d;color:#eef0df;padding:1.75rem 0}
.zute-footer a{color:#e4edaf}
.foot-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.zute-footer p{margin:0;font-size:.88rem}
.zute-footer nav{display:flex;gap:1rem;flex-wrap:wrap}
#loginform{max-width:430px;padding:1rem 1.3rem;background:var(--cream);border:1px solid var(--line);border-radius:5px}
#loginform label{display:block}
#loginform input[type=text],#loginform input[type=password]{width:100%;padding:.6rem;border:1px solid #768172;border-radius:3px}
#loginform input[type=submit]{padding:.65rem .9rem;border:0;background:var(--green);color:white;font-weight:700;border-radius:4px;cursor:pointer}
@media(max-width:820px){.head-inner{align-items:flex-start;flex-direction:column;padding-block:.8rem}.home-grid{grid-template-columns:1fr}.hero-inner{min-height:480px}.foot-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.shell{width:calc(100% - 2rem)}.hero-inner{min-height:440px}.hero::before{background:linear-gradient(90deg,rgba(13,33,25,.96),rgba(13,33,25,.72))}.head-inner ul{gap:.32rem .75rem}.head-inner nav a{font-size:.81rem}.photo-credit{font-size:.61rem}.body-content{padding-block:2.5rem}.leaflet-control-layers-expanded{max-width:180px}}
