/*
Theme Name: ACT Guianas
Theme URI: https://guianas.amazonteam.org/
Author: Trusted Developer
Description: Design refresh for the Amazon Conservation Team Guianas website.
Version: 1.0.0
Text Domain: act-guianas
*/
:root{--green:#123f35;--deep:#092c25;--gold:#efc35b;--ink:#17372f;--line:#d7dfd9}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;color:var(--ink);font:17px/1.7 'DM Sans',Arial,sans-serif;background:#fff}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #cb9a25;outline-offset:5px}
.utility{background:var(--deep);color:#fff;display:flex;gap:28px;padding:9px 4%;font-size:12px;letter-spacing:.04em}
.utility span:first-child{margin-right:auto}
.utility a:hover{text-decoration:underline}
header.site-header{display:flex;align-items:center;gap:24px;padding:16px 4%;height:108px;position:sticky;top:0;background:var(--green);color:white;z-index:20}
.admin-bar header.site-header{top:32px}
.brand{margin-right:auto}
.brand img{display:block;width:175px;max-height:80px;object-fit:contain}
nav.main-nav{display:flex;align-items:center;gap:20px;font-size:14px}
nav details{position:relative}
nav>a{white-space:nowrap}
summary{cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
summary:after{content:'⌄';margin-left:7px}
nav details[open] summary{color:var(--gold)}
.drop{position:absolute;top:44px;left:-20px;min-width:240px;padding:15px 20px;background:white;color:var(--ink);box-shadow:0 12px 35px #0002;border-top:3px solid var(--gold)}
.drop a{display:block;padding:7px 0;line-height:1.5}
.drop a:hover{color:#986f12;text-decoration:underline}
.contact{border:1px solid #ffffff80;padding:10px 17px;font-size:14px;white-space:nowrap}
#menu{display:none}
.hero{min-height:660px;height:77vh;max-height:900px;position:relative;background:center/cover;color:#fff;display:flex;align-items:center}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#031e18dc,#031e1840 75%),linear-gradient(0deg,#031e18a0,transparent 45%)}
.hero-copy{position:relative;margin:30px 8% 90px;max-width:850px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;line-height:1.5;margin:0 0 24px}
.hero .eyebrow{color:#f5d88c}
h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;line-height:1.06;margin:0 0 28px;letter-spacing:-.02em}
h1{font-size:clamp(64px,7.5vw,112px)}
h2{font-size:clamp(40px,4.3vw,66px)}
.hero-name{margin:20px 0 30px;font-size:18px}
.button{display:inline-block;padding:15px 25px;font-size:14px;font-weight:700}
.gold{background:var(--gold);color:#17372f}
.gold:hover{background:#ffdc84}
.hero-foot{position:absolute;bottom:30px;left:8%;right:8%;display:flex;justify-content:space-between;border-top:1px solid #ffffff60;padding-top:20px;font-size:12px;letter-spacing:.09em}
.wrap{width:min(1180px,84%);margin:auto}
.mission{display:grid;grid-template-columns:1fr 1fr;gap:90px;padding:110px 0}
.mission h2{max-width:520px}
.mission-text p:first-child{margin-top:0}
.mission-text{font-size:17px}
.protect{display:grid;grid-template-columns:1fr 1fr;background:var(--green);color:white}
.protect-photo{background:center/cover;min-height:650px}
.protect-copy{padding:80px 12%}
.protect .eyebrow{color:var(--gold)}
.protect p:not(.eyebrow){font-size:16px;color:#e0e9e4}
.text-link{border-bottom:1px solid currentColor;padding-bottom:6px;font-size:14px;font-weight:600;display:inline-block}
.text-link:hover{color:#a77b1c}
.programs,.stories{padding:100px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:35px}
.section-head h2{margin:0}
.section-head>a{flex-shrink:0;margin-bottom:8px}
.program-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px}
.program{min-height:410px;position:relative;color:white;display:flex;flex-direction:column;justify-content:end;padding:30px;isolation:isolate;overflow:hidden;background:center/cover}
.program:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#062b22ed,transparent 90%);z-index:-1}
.program span{font-family:'Libre Caslon Display',Georgia,serif;font-size:39px;line-height:1.1}
.program small{font-size:14px;margin-top:22px;padding-top:15px;border-top:1px solid #ffffff60}
.program:hover{outline:4px solid var(--gold);outline-offset:-4px}
.resources{padding:80px 0;background:#edf2ee}
.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #bacbbf}
.resource-grid a{padding:28px 20px 0 0}
.resource-grid span{font-size:21px;font-weight:600}
.resource-grid p{font-size:14px}
.resource-grid a:hover span{text-decoration:underline}
.stories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}
.story img,.story .ph{width:100%;height:180px;object-fit:cover;display:block;background:#dfe8e1}
.story time{display:block;font-size:12px;color:#65766d;margin-top:17px}
.story h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:28px;line-height:1.2;margin:12px 0}
.story p{font-size:14px;color:#4d6258}
.story a:hover h3{text-decoration:underline}
.support{background:linear-gradient(#092d25bd,#092d25e8),center/cover;color:#fff;padding:90px 0}
.support h2{max-width:850px}
.support .eyebrow{color:var(--gold)}
.support p:not(.eyebrow){font-size:13px;letter-spacing:.07em}
footer.site-footer{background:var(--deep);color:#e0e9e4;padding:70px 0 80px;font-size:14px}
.footer-top{display:grid;grid-template-columns:1fr 3fr;gap:70px}
.footer-logo{width:190px;max-height:100px;object-fit:contain}
.footer-top>div:first-child>a{display:inline-block;margin-top:25px;font-size:12px;text-decoration:underline}
#footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
#footer-links h3{font-size:14px;color:var(--gold);margin:0 0 17px}
#footer-links a{display:block;margin:8px 0;font-size:13px}
footer a:hover{text-decoration:underline}
.newsletter{border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30;margin-top:50px;padding:30px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}
.newsletter h3{font-size:22px;margin:0}
.newsletter p{font-size:13px;margin:5px 0}
.light{background:#e8eee8;color:var(--ink)}
.footer-bottom{display:flex;justify-content:space-between;padding-top:25px;font-size:12px}
.footer-bottom a{margin-left:17px}
.skip{position:absolute;top:-100px;z-index:100;background:#fff;padding:10px}
.skip:focus{top:0}

/* Inner pages and posts */
.page-hero{background:var(--green);color:#fff;padding:90px 0 70px}
.page-hero .eyebrow{color:var(--gold)}
.page-hero h1{font-size:clamp(44px,5.5vw,84px);margin:0;max-width:960px}
.page-hero time{display:block;margin-top:18px;font-size:13px;letter-spacing:.06em;color:#e0e9e4}
.entry{padding:70px 0 100px}
.entry-inner{max-width:820px;margin:auto;width:84%}
.entry-inner h2{font-size:clamp(30px,3.2vw,46px);margin:48px 0 20px}
.entry-inner h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:30px;margin:36px 0 14px}
.entry-inner img{max-width:100%;height:auto}
.entry-inner a{color:#986f12;text-decoration:underline}
.entry-inner blockquote{border-left:3px solid var(--gold);margin:30px 0;padding:4px 0 4px 24px;font-size:19px}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px 25px;padding:70px 0 100px}
.pagination{display:flex;gap:18px;justify-content:center;padding-bottom:90px;font-weight:600}
@media(min-width:1600px){nav.main-nav{font-size:16px}}
@media(max-width:1100px){header.site-header{gap:15px}nav.main-nav{gap:13px;font-size:12px}.brand img{width:140px}.contact{display:none}.mission{gap:45px}.protect-copy{padding:60px 9%}}
@media(max-width:800px){.utility{font-size:10px;gap:15px}.utility span:first-child{display:none}.utility a:first-of-type{margin-right:auto}header.site-header{height:90px;padding:12px 6%}.brand img{width:150px}#menu{display:block;color:white;border:1px solid #ffffff80;background:none;padding:8px 15px}nav.main-nav{display:none;position:absolute;top:90px;left:0;right:0;background:var(--green);padding:22px 7%;max-height:75vh;overflow:auto;font-size:16px}nav.main-nav.mobile-open{display:block}nav details,nav.main-nav>a{display:block;margin:15px 0}.drop{position:static;box-shadow:none;background:#ffffff12;color:#fff;margin:10px 0;min-width:0;border:0}.drop a:hover{color:var(--gold)}.hero{height:75vh;min-height:570px}.hero-copy{margin:20px 8% 65px}h1{font-size:62px}.hero-foot{font-size:10px}.hero-foot span{max-width:180px}.hero-name{font-size:16px}.mission{grid-template-columns:1fr;gap:16px;padding:70px 0}.protect{grid-template-columns:1fr}.protect-photo{min-height:420px}.protect-copy{padding:60px 8%}.program-grid{grid-template-columns:1fr}.program{min-height:340px}.programs,.stories{padding:65px 0}.section-head{align-items:start;flex-direction:column;gap:20px}.resource-grid{grid-template-columns:1fr 1fr;gap:15px}.stories-grid{grid-template-columns:1fr 1fr;gap:30px 18px}.story img,.story .ph{height:160px}.story h3{font-size:25px}.footer-top{grid-template-columns:1fr;gap:40px}#footer-links{grid-template-columns:1fr 1fr}.newsletter{align-items:start;flex-direction:column}.footer-bottom{flex-direction:column;gap:15px}.footer-bottom a{margin:0 15px 0 0}.support{padding:65px 0}.resources{padding:60px 0}.archive-grid{grid-template-columns:1fr 1fr}.page-hero{padding:60px 0 45px}}
@media(max-width:560px){.archive-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
