/* Warm, community-led visual system. */
:root{--paper:#f6f5ed;--ink:#173c2d;--muted:#53675c;--line:#dce3d8;--soft:#e8efe3}
#navbar .brand-wordmark{display:block;margin-left:10px;color:#f5f6ef;font-size:1.05rem;font-weight:650;line-height:1.2}
#navbar .brand-wordmark small{display:block;margin-top:5px;color:#b7d3be;font-size:.7rem;font-weight:400;letter-spacing:.09em}
#navbar .nav-links a{font-size:.95rem;text-transform:none;letter-spacing:0}
.btn-donate,.btn,.ft-col h4{text-transform:none;letter-spacing:0}
.site-width{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.editorial-page{background:var(--paper);color:var(--ink)}
.editorial-page h1,.editorial-page h2,.editorial-page h3{color:var(--ink);font-family:'Playfair Display',Georgia,serif;letter-spacing:-.035em;text-wrap:balance}
.editorial-page h1{font-size:clamp(2.8rem,5.1vw,4.65rem);line-height:1.08;font-weight:700}
.editorial-page h1 em{font-style:normal;color:#347a51}
.editorial-page h2{font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.15;font-weight:700}
.editorial-page h3{font-size:1.55rem;line-height:1.25}
.editorial-page p{color:var(--muted);line-height:1.8}
.editorial-page .eyebrow{color:#386448;font-size:.77rem;font-weight:700;letter-spacing:.11em;line-height:1.5;margin-bottom:20px}
.editorial-hero{display:grid;grid-template-columns:.95fr 1.05fr;gap:64px;align-items:center;padding-block:64px 76px}
.editorial-hero-copy>p:not(.eyebrow){font-size:1.08rem;margin:24px 0 30px;max-width:470px}
.action-primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--ink);border:2px solid var(--ink);border-radius:10px;color:#fff;text-decoration:none;padding:15px 24px;min-height:52px;font-weight:650;font-size:.95rem;transition:background .2s,transform .2s}
.action-primary:hover{background:#286344;transform:translateY(-2px)}
.editorial-page :focus-visible{outline-color:#32764e}
.text-link{display:inline-block;color:var(--ink);font-size:.95rem;font-weight:650;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#8ca693;line-height:1.6;padding:8px 0}
.editorial-hero-copy>.text-link{display:block;width:fit-content;margin-top:14px}
.editorial-hero-photo{margin:0;position:relative}
.editorial-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:1.08;object-fit:cover;object-position:50% 38%;border-radius:24px 24px 90px 24px}
.editorial-hero-photo figcaption{margin:14px 0 0;color:var(--muted);font-size:.82rem}
.editorial-intro{display:grid;grid-template-columns:1fr 2fr;gap:60px;padding-block:70px;border-top:1px solid var(--line)}
.editorial-intro h2{max-width:710px;margin-bottom:24px}
.editorial-intro p:not(.eyebrow){max-width:690px;margin-bottom:20px}
.editorial-section{padding-block:76px}
.paper-section{background:#fffef9;border-block:1px solid var(--line)}
.section-topline{display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:36px}
.section-topline .eyebrow{margin-bottom:12px}
.section-aside{font-size:.9rem;max-width:260px;flex-shrink:0}
.editorial-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.editorial-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.editorial-card>img{width:100%;height:280px;object-fit:cover;display:block}
.editorial-card>img[src*="encuentro-escolar"]{object-position:50% 42%}
.editorial-card>img[src*="limpieza-tanque"]{object-position:50% 40%}
.editorial-card>img[src*="traslado-tanque"]{object-position:50% 38%}
.editorial-card>img[src*="ilustracion"]{object-fit:contain;background:#e7ecde}
.editorial-card>div{padding:26px;display:flex;flex-direction:column;flex:1}
.card-category{font-size:.73rem;font-weight:650;color:#466953;margin-bottom:12px}
.editorial-card p{font-size:.95rem;margin:14px 0 24px}
.editorial-card a{color:var(--ink);font-size:.9rem;font-weight:700;text-decoration:none;border-top:1px solid var(--line);padding-top:16px;margin-top:auto}
.editorial-card a:hover{text-decoration:underline;text-underline-offset:4px}
.home-gallery{display:grid;grid-template-columns:1.45fr .8fr 1fr;gap:22px;align-items:start}
.home-gallery figure{margin:0;min-width:0}
.home-gallery figure:nth-child(2){margin-top:52px}
.home-gallery a,.community-grid a{display:block;border-radius:16px;overflow:hidden;background:#e3eadf;cursor:zoom-in}
.home-gallery img{display:block;width:100%;height:380px;object-fit:cover;transition:transform .3s}
.home-gallery figure:nth-child(1) img{height:330px;object-position:50% 35%}
.home-gallery figure:nth-child(2) img{height:410px;object-position:50% 38%}
.home-gallery figure:nth-child(3) img{height:350px;object-position:50% 40%}
.home-gallery a:hover img,.community-grid a:hover img{transform:scale(1.025)}
.home-gallery figcaption{font-size:.84rem;color:var(--muted);margin-top:12px}
.editorial-invite{background:#e6eddf;padding:70px 0;text-align:center;border-top:1px solid var(--line)}
.editorial-invite h2{margin:0 auto 18px;max-width:700px}
.editorial-invite p:not(.eyebrow){margin:0 auto 26px;max-width:600px}
.editorial-invite .text-link{margin-left:24px}
.story-opening{padding-block:64px 44px;text-align:center}
.story-opening h1{margin-bottom:24px}
.story-opening>p:last-child{max-width:620px;margin:auto;font-size:1.08rem}
.story-photo{margin-top:0;margin-bottom:70px}
.story-photo img{display:block;width:100%;height:460px;object-fit:cover;object-position:50% 56%;border-radius:22px}
.story-photo figcaption{font-size:.84rem;color:var(--muted);padding-top:12px}
.value-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;margin-top:42px}
.value-columns article{border-top:1px solid #a9beaa;padding-top:24px}
.value-columns span{color:#4c7656;font-size:.8rem}
.value-columns h3{margin:18px 0 14px}
.editorial-page .community-grid{gap:26px;align-items:start}
.editorial-page .community-grid figure{background:none;overflow:visible;border-radius:0}
.editorial-page .community-grid img{height:390px;object-position:50% 35%}
.editorial-page .community-grid figure:nth-child(2){padding-top:65px}
.editorial-page .community-grid figure:nth-child(2) img{object-position:50% 43%}
.editorial-page .community-grid figcaption{color:var(--muted);padding:14px 0;font-size:.88rem}
.program-overview{padding-bottom:76px}
.program-overview .editorial-cards{row-gap:30px}
.program-overview .editorial-card{scroll-margin-top:110px}
.program-overview .editorial-card h2{font-size:1.55rem}
.illustration-pair{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:32px}
.illustration-pair figure{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:center;margin:0}
.illustration-pair img{width:160px;height:210px;object-fit:contain;border-radius:12px}
.illustration-pair h3{margin-bottom:12px}
.lightbox{padding:20px;border:1px solid #ffffff30;border-radius:18px;background:#10271c;color:#fff;width:min(1100px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto}
.lightbox::backdrop{background:#03140ee8;backdrop-filter:blur(6px)}
.lightbox img{display:block;width:100%;height:calc(100dvh - 270px);min-height:120px;object-fit:contain;margin:16px 0}
.lightbox-bar{display:flex;justify-content:space-between;align-items:center;gap:16px}
.lightbox button{background:#ffffff15;color:#fff;border:1px solid #ffffff40;border-radius:8px;padding:10px 16px;cursor:pointer;min-height:44px}
.lightbox button:hover{background:#ffffff30}
.lightbox-caption{font-size:.92rem;color:#d9e7df;line-height:1.65;margin:0 0 12px}
.lightbox-navigation{display:flex;gap:10px}
/* Light surfaces keep long-form reading and forms comfortable. */
body[data-page="blog"] .blog-card{background:#f6f5ed;border-color:#dce3d8;box-shadow:none}
body[data-page="blog"] .blog-card-title,body[data-page="blog"] .blog-card-author{color:#173c2d}
body[data-page="blog"] .blog-card-meta,body[data-page="blog"] .blog-card-excerpt{color:#53675c}
body[data-page="blog"] .blog-card-footer{border-color:#dce3d8}
body[data-page="blog"] .blog-card-footer a{color:#286344}
body[data-page="blog"] .post-content-wrap{max-width:900px;background:#f6f5ed;border-radius:20px;margin-bottom:48px;padding-inline:48px}
body[data-page="blog"] .post-content{color:#354e40}
body[data-page="blog"] .post-content :is(h2,h3,strong){color:#173c2d}
body[data-page="blog"] .post-content a{color:#286344}
body[data-page="blog"] .post-content :is(th,td){border-color:#b5c4b4}
body[data-page="blog"] .post-featured-img{object-position:50% 40%}
body[data-page="contacto"] .contact-form-section{background:#f6f5ed}
body[data-page="contacto"] .contact-form-left h2,body[data-page="contacto"] .contact-feature-text strong{color:#173c2d}
body[data-page="contacto"] .contact-form-left p,body[data-page="contacto"] .contact-feature-text span{color:#53675c}
body[data-page="contacto"] .contact-form-card{background:#fffef9;border:1px solid #dce3d8;box-shadow:0 12px 40px #173c2d08}
body[data-page="contacto"] .form-group label{color:#173c2d}
body[data-page="contacto"] .form-group :is(input,select,textarea){background-color:#fff;color:#173c2d;border-color:#b6c7b8}
body[data-page="contacto"] .form-group :is(input,textarea)::placeholder{color:#627367}
body[data-page="contacto"] .form-group select option{background:#fff;color:#173c2d}
body[data-page="contacto"] .contact-form-card .btn-primary{background:#173c2d;color:#fff}
body[data-page="contacto"] .form-message.error{color:#8a2626}
body[data-page="contacto"] .form-message.success{color:#1e5738}
@media(max-width:600px){body[data-page="blog"] .post-content-wrap{padding-inline:24px;border-radius:0}body[data-page="blog"] .blog-card-img{object-position:50% 40%}}
@media(max-width:900px){.editorial-hero{gap:30px;padding-block:46px}.editorial-hero h1{font-size:3.1rem}.editorial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-hero-photo img{aspect-ratio:.85}.home-gallery{gap:16px}.illustration-pair{grid-template-columns:1fr}.editorial-intro{gap:30px}}
@media(max-width:600px){.site-width{width:calc(100% - 40px)}.editorial-hero{grid-template-columns:1fr;gap:32px;padding-block:36px 44px}.editorial-hero h1{font-size:2.9rem}.editorial-hero-copy>p:not(.eyebrow){font-size:1rem;margin-top:20px}.editorial-hero-photo img{aspect-ratio:1.15;border-radius:18px 18px 54px 18px}.editorial-intro{grid-template-columns:1fr;gap:8px;padding-block:44px}.editorial-section{padding-block:44px}.section-topline{align-items:start;flex-direction:column;gap:16px;margin-bottom:28px}.editorial-cards{grid-template-columns:1fr;gap:24px}.editorial-card>img{height:300px}.editorial-card>div{padding:23px}.home-gallery{grid-template-columns:1fr;gap:28px}.home-gallery figure:nth-child(2){margin-top:0}.home-gallery figure:nth-child(n) img{height:auto;max-height:470px;object-fit:contain}.home-gallery figure:nth-child(2){width:80%;margin-inline:auto}.editorial-invite{padding-block:44px}.editorial-invite .text-link{display:block;width:fit-content;margin:18px auto 0}.story-opening{padding-block:40px 30px;text-align:left}.story-opening h1{font-size:2.65rem}.story-opening>p:last-child{font-size:1rem}.story-photo{margin-bottom:42px}.story-photo img{height:auto;aspect-ratio:1;object-position:50% 54%}.value-columns{grid-template-columns:1fr;gap:28px;margin-top:30px}.editorial-page .community-grid figure:nth-child(2){padding-top:0}.editorial-page .community-grid img{height:auto;max-height:460px;object-fit:contain}.illustration-pair figure{grid-template-columns:100px 1fr;gap:16px}.illustration-pair img{width:100px;height:160px}.lightbox{padding:14px}.lightbox img{height:calc(100dvh - 240px)}.lightbox button{padding:10px 12px}}
