/*
Theme Name: Area
Description: Identidad y tema de bloques para la Alianza para la Regeneración del Estero.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.3
Text Domain: area
License: GPL-2.0-or-later
*/
:root{
  --ink:#1D384B;
  --blue:#325C86;
  --green:#2A490D;
  --sand:#EFE6DF;
  --sand-mid:#CBBAAA;
  --pale:#B1D37C;
  --earth:#7C6C5D;
  --rule:#1d384b35
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth
}
body{
  margin:0;
  color:var(--ink);
  font-family:"Public Sans",sans-serif;
  font-size:18px;
  line-height:1.55;
  font-weight:400
}
h1,h2,h3,h4,p{
  margin:0
}
h1,h2,h3,h4{
  font-family:"Newsreader",serif;
  font-weight:400;
  letter-spacing:-.035em;
  text-transform:none
}
a{
  color:inherit;
  text-decoration-thickness:1px;
  text-underline-offset:6px
}
button{
  font:inherit;
  color:inherit
}
button,a,summary{
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,summary:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:5px
}
button{
  cursor:pointer
}
.mark{
  display:block;
  width:160px;
  height:auto;
  color:inherit
}
.shore{
  width:100%;
  height:100%;
  pointer-events:none
}
.muted{
  color:#566568
}
.small{
  font-size:15px;
  line-height:1.5
}
.skip{
  position:absolute;
  left:-9999px
}
.skip:focus{
  left:20px;
  top:10px;
  padding:12px;
  background:var(--sand);
  z-index:10
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*::before,*::after{
    animation:none!important;
    transition:none!important
  }
}
body{
  background:var(--sand)
}
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:26px 56px 18px;
  gap:40px
}
.lockup{
  display:flex;
  align-items:center;
  gap:24px;
  text-decoration:none
}
.lockup .mark{
  width:133px
}
.lockup span{
  font-size:14px;
  line-height:1.4;
  max-width:182px
}
.desktop-nav{
  display:flex;
  align-items:center;
  gap:34px;
  font-size:15px
}
.desktop-nav a{
  text-decoration:none;
  padding:12px 0
}
.desktop-nav a:last-child{
  border-bottom:1px solid
}
.mobile-nav{
  display:none
}
.hero{
  display:grid;
  grid-template-columns:39% 61%;
  padding:22px 0 0 56px;
  min-height:720px
}
.hero-copy{
  padding:49px 48px 0 0;
  display:flex;
  flex-direction:column;
  align-items:flex-start
}
.hero h1{
  font-size:clamp(70px,7.5vw,112px);
  line-height:.95;
  letter-spacing:-.05em;
  max-width:520px
}
.hero-copy>p{
  font-size:19px;
  line-height:1.6;
  max-width:370px;
  margin-top:30px
}
.hero-link{
  font-size:16px;
  margin-top:24px;
  text-decoration:none;
  border-bottom:1px solid;
  line-height:2.4
}
.hero-media{
  margin:0;
  min-width:0
}
.photo-stage{
  height:600px;
  overflow:hidden;
  background:var(--blue)
}
.photo-stage img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:54% 50%;
  transition:opacity .2s ease
}
.scene-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:17px 40px 0 0;
  gap:20px
}
.scene-controls button{
  border:0;
  background:none;
  padding:10px 0 13px;
  font-size:21px;
  min-height:48px;
  border-bottom:2px solid transparent
}
.scene-controls button[aria-pressed="true"]{
  border-color:currentColor
}
.scene-count{
  font-size:14px
}
.hero-footnote{
  margin-top:auto;
  padding:30px 0 25px;
  font-size:14px;
  line-height:1.6;
  max-width:330px
}
.intro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  padding:110px 8% 115px;
  border-top:1px solid var(--rule);
  margin-top:30px
}
.intro h2{
  font-size:65px;
  line-height:1.03;
  max-width:520px
}
.intro p{
  font-size:21px;
  line-height:1.65;
  max-width:550px
}
.intro a{
  display:inline-block;
  font-size:16px;
  margin-top:24px
}
.field{
  background:var(--green);
  color:var(--sand);
  display:grid;
  grid-template-columns:56% 44%;
  min-height:590px
}
.field figure{
  margin:0;
  min-height:590px
}
.field img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.field-copy{
  padding:75px 65px;
  align-self:center
}
.field h2{
  font-size:62px;
  line-height:1.04
}
.field p{
  margin-top:28px;
  max-width:390px;
  font-size:19px
}
.field a{
  display:inline-block;
  margin-top:25px;
  font-size:16px
}
.archive{
  padding:100px 8% 110px;
  display:grid;
  grid-template-columns:minmax(0,43fr) minmax(0,57fr);
  gap:80px
}
.archive h2{
  font-size:64px;
  line-height:1.03
}
.archive p{
  max-width:400px;
  font-size:19px;
  margin-top:24px
}
.community{
  display:grid;
  grid-template-columns:48% 52%;
  background:#CBBAAA;
  min-height:610px
}
.community-copy{
  padding:84px 16%
}
.community h2{
  font-size:67px;
  line-height:1.02
}
.community p{
  font-size:20px;
  margin:27px 0
}
.community figure{
  margin:0;
  position:relative;
  overflow:hidden;
  min-height:610px
}
.community img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.site-footer{
  background:var(--ink);
  color:var(--sand);
  padding:65px 8% 45px;
  display:flex;
  justify-content:space-between;
  gap:70px
}
.site-footer .mark{
  width:200px
}
.site-footer h2{
  font-size:44px;
  line-height:1.1
}
.site-footer p{
  font-size:15px;
  max-width:390px;
  margin-top:20px
}
.site-footer a{
  font-size:15px
}
@media(max-width:900px){
  .site-header{
    padding:18px 24px
  }
  .lockup{
    gap:15px
  }
  .lockup .mark{
    width:120px
  }
  .lockup span{
    display:none
  }
  .desktop-nav{
    display:none
  }
  .mobile-nav{
    display:block;
    font-size:15px
  }
  .mobile-nav summary{
    padding:12px 0;
    cursor:pointer;
    list-style:none;
    border-bottom:1px solid
  }
  .mobile-nav summary::-webkit-details-marker{
    display:none
  }
  .mobile-nav nav{
    position:absolute;
    top:83px;
    left:0;
    right:0;
    padding:20px 24px;
    background:var(--sand);
    z-index:4;
    border-bottom:1px solid var(--rule);
    display:grid;
    gap:15px
  }
  .hero{
    padding:8px 0 0;
    grid-template-columns:1fr;
    min-height:auto
  }
  .hero-copy{
    padding:24px 24px 31px
  }
  .hero h1{
    font-size:72px;
    line-height:.95;
    max-width:360px
  }
  .hero-copy>p{
    font-size:17px;
    line-height:1.55;
    max-width:360px;
    margin-top:23px
  }
  .hero-link{
    margin-top:15px;
    font-size:15px
  }
  .hero-footnote{
    display:none
  }
  .photo-stage{
    height:360px
  }
  .photo-stage img{
    object-position:55% 50%
  }
  .scene-controls{
    padding:9px 24px 10px;
    gap:12px
  }
  .scene-controls button{
    font-size:18px
  }
  .scene-count{
    font-size:13px
  }
  .intro{
    grid-template-columns:1fr;
    gap:27px;
    padding:57px 24px 60px;
    margin-top:20px
  }
  .intro h2{
    font-size:47px
  }
  .intro p{
    font-size:18px;
    line-height:1.6
  }
  .intro a{
    font-size:15px;
    margin-top:20px
  }
  .field{
    grid-template-columns:1fr
  }
  .field figure{
    min-height:0;
    height:330px
  }
  .field-copy{
    padding:44px 24px 52px
  }
  .field h2{
    font-size:48px;
    max-width:360px
  }
  .field p{
    font-size:17px;
    max-width:360px;
    margin-top:23px
  }
  .archive{
    grid-template-columns:1fr;
    gap:35px;
    padding:55px 24px 60px
  }
  .archive h2{
    font-size:48px
  }
  .archive p{
    font-size:17px
  }
  .community{
    grid-template-columns:1fr
  }
  .community-copy{
    padding:48px 24px
  }
  .community h2{
    font-size:49px
  }
  .community p{
    font-size:18px
  }
  .community figure{
    min-height:0;
    height:360px
  }
  .site-footer{
    padding:48px 24px;
    display:block
  }
  .site-footer .mark{
    width:150px;
    margin-bottom:30px
  }
  .site-footer h2{
    font-size:39px
  }
  .site-footer p{
    font-size:14px
  }
}
.wp-site-blocks{
  padding:0
}
.wp-site-blocks>*{
  margin-block-start:0
}
.wp-block-post-content>*{
  margin-block-start:0
}
h1#scene-title{
  white-space:pre-line
}
.scene-controls form{
  display:flex;
  gap:34px
}
.hero-media{
  position:relative
}
.motion-control{
  border:0;
  border-bottom:1px solid;
  background:transparent;
  font-size:14px;
  margin:8px 0 20px;
  padding:5px 0;
  min-height:32px
}
.motion-control[hidden]{
  display:none
}
.hero.is-moving .photo-stage img{
  animation:area-approach 12s ease-in-out infinite alternate
}
.scene-controls button{
  border-radius:0
}
.site-footer nav{
  display:flex;
  gap:25px;
  margin-top:20px
}
.desktop-nav a[aria-current=page]{
  border-bottom:1px solid
}
.site-header .mark{
  max-width:none
}
.area-page{
  padding:65px max(24px,8vw) 100px
}
.area-page>.wp-block-post-title{
  font-size:clamp(52px,6vw,90px);
  line-height:1;
  max-width:1100px!important;
  margin-bottom:45px
}
.area-page .wp-block-post-content{
  font-size:20px;
  line-height:1.7
}
.area-page .wp-block-post-content>p,.area-page .wp-block-post-content>h2,.area-page .wp-block-post-content>h3,.area-page .wp-block-post-content>details,.area-page .area-contact{
  max-width:820px;
  margin-left:0;
  margin-right:auto
}
.area-page p{
  margin-bottom:25px
}
.area-page h2{
  font-size:48px;
  line-height:1.1;
  margin:55px 0 22px
}
.area-page h3{
  font-size:33px;
  line-height:1.2;
  margin:35px 0 15px
}
.area-page figure{
  margin:45px 0
}
.area-page figure img{
  display:block;
  width:100%;
  height:auto
}
.area-page figcaption{
  font-size:14px;
  color:var(--ink);
  line-height:1.5;
  margin-top:10px
}
.area-page details{
  border-top:1px solid var(--rule);
  padding:20px 0;
  margin-top:0
}
.area-page details:last-of-type{
  border-bottom:1px solid var(--rule)
}
.area-page details summary{
  font-family:'Newsreader',serif;
  font-size:30px;
  line-height:1.3;
  cursor:pointer;
  padding:5px 0
}
.area-page details p{
  font-size:18px;
  margin:20px 0 0
}
.area-page .gallery-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
  max-width:1200px!important;
  margin:45px 0
}
.area-page .gallery-grid figure{
  margin:0
}
.area-page .gallery-grid img{
  aspect-ratio:4/3;
  object-fit:cover
}
.area-contact{
  border-top:1px solid var(--rule);
  margin-top:50px;
  padding-top:10px
}
.area-contact a{
  font-size:22px;
  overflow-wrap:anywhere
}
.intro .intro-body p+p{
  margin-top:25px;
  font-size:18px
}
.intro .intro-body a{
  margin-top:0
}
.field figure.wp-block-image{
  height:590px
}
.field .field-copy p{
  margin:28px 0 0
}
.field .field-copy a{
  margin:0
}
.community .community-copy p{
  margin:27px 0
}
.community .community-copy a{
  font-size:16px
}
.community figure.wp-block-image{
  height:610px
}
.wp-block-post-content .field,.wp-block-post-content .community{
  max-width:none
}
.site-footer .mark{
  height:auto
}
.archive ul{
  list-style:none;
  padding:0;
  margin:0
}
.archive ul li{
  padding:22px 0;
  border-top:1px solid var(--rule)
}
.archive ul li:last-child{
  border-bottom:1px solid var(--rule)
}
.archive ul a{
  display:block;
  font-size:23px;
  text-decoration:none
}
.archive ul span{
  display:block;
  font-size:15px;
  margin-top:8px
}
.wp-block-post-content .wp-block-image a{
  display:block
}
a:hover{
  text-decoration-thickness:2px
}
@keyframes area-approach{
  from{
    transform:scale(1)
  }
  to{
    transform:scale(1.045)
  }
}
@media(max-width:900px){
  .scene-controls form{
    gap:27px
  }
  .motion-control{
    margin-left:24px
  }
  .hero h1{
    font-size:clamp(62px,18.5vw,72px)
  }
  .field figure.wp-block-image{
    height:330px
  }
  .community figure.wp-block-image{
    height:360px
  }
  .area-page{
    padding:35px 24px 65px
  }
  .area-page .wp-block-post-content{
    font-size:18px
  }
  .area-page h2{
    font-size:39px;
    margin-top:40px
  }
  .area-page h3{
    font-size:29px
  }
  .area-page .gallery-grid{
    grid-template-columns:1fr;
    gap:30px
  }
  .area-page details summary{
    font-size:27px
  }
  .archive ul a{
    font-size:20px
  }
  .site-footer nav{
    gap:25px
  }
  .site-footer .mark{
    margin-bottom:25px
  }
  .intro .intro-body p+p{
    font-size:18px
  }
}
@media(prefers-reduced-motion:reduce){
  .hero.is-moving .photo-stage img{
    animation:none!important
  }
  .motion-control{
    display:none
  }
}
