/*
Theme Name: RIEEF India
Theme URI: https://www.rieefindia.org/
Author: RIEEF India
Author URI: https://www.rieefindia.org/
Description: A responsive, accessible WordPress theme for Rural India Economic Empowerment Foundation, inspired by its rural empowerment brochure and brand colours.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rieef-india
Tags: nonprofit, education, blog, custom-logo, custom-menu, featured-images, full-site-editing, one-column, two-columns, accessibility-ready
*/
:root{--rieef-green:#086644;--rieef-green-dark:#064a34;--rieef-green-light:#eaf4ed;--rieef-orange:#f28c0b;--rieef-blue:#1672b8;--rieef-cream:#f7f6ed;--rieef-ink:#17382c;--rieef-muted:#607168;--rieef-white:#fff;--rieef-border:#dce7df;--rieef-shadow:0 16px 45px rgba(7,57,39,.10);--rieef-radius:22px;--rieef-width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--rieef-ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.7}img{max-width:100%;height:auto}a{color:var(--rieef-green);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--rieef-orange)}button,input,textarea,select{font:inherit}.container{width:min(var(--rieef-width),calc(100% - 40px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;left:10px;top:10px;padding:12px;background:#fff;z-index:10000}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(8,102,68,.1)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:86px}.brand{display:flex;align-items:center;gap:12px;color:var(--rieef-green-dark);text-decoration:none;min-width:220px}.brand img{width:56px;height:56px;object-fit:contain}.brand-name{font-size:1.28rem;line-height:1.05;font-weight:900;letter-spacing:.02em}.brand-name span{color:var(--rieef-orange)}.brand-subtitle{display:block;font-size:.68rem;line-height:1.3;font-weight:650;letter-spacing:.01em;margin-top:5px;max-width:230px}.primary-nav ul{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}.primary-nav a{font-size:.91rem;font-weight:700;text-decoration:none;color:#244638}.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--rieef-orange)}.nav-toggle{display:none;border:1px solid var(--rieef-border);background:white;color:var(--rieef-green);border-radius:12px;padding:9px 12px;font-weight:800}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:999px;background:var(--rieef-green);color:#fff!important;text-decoration:none;font-weight:800;border:2px solid var(--rieef-green);transition:transform .2s,background .2s;box-shadow:0 8px 20px rgba(8,102,68,.13)}.button:hover,.wp-block-button__link:hover{background:var(--rieef-green-dark);border-color:var(--rieef-green-dark);transform:translateY(-2px)}.button-orange{background:var(--rieef-orange);border-color:var(--rieef-orange);color:#1e321f!important}.button-outline{background:transparent;color:var(--rieef-green)!important;box-shadow:none}.button-outline:hover{background:var(--rieef-green);color:white!important}.hero{position:relative;overflow:hidden;padding:88px 0 74px;background:linear-gradient(120deg,#f9f8ef 0%,#eff7ef 54%,#e5f2e8 100%)}.hero:before{content:"";position:absolute;width:470px;height:470px;border-radius:50%;right:-100px;top:-190px;background:rgba(242,140,11,.10)}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:54px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--rieef-green);font-size:.79rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.eyebrow:before{content:"";width:28px;height:3px;border-radius:9px;background:var(--rieef-orange)}h1,h2,h3,h4{color:var(--rieef-green-dark);line-height:1.16;letter-spacing:-.025em;margin:0 0 18px}h1{font-size:clamp(2.7rem,5vw,4.7rem);font-weight:900}h1 .orange{color:var(--rieef-orange)}h2{font-size:clamp(2rem,3.3vw,3rem);font-weight:850}h3{font-size:1.25rem;font-weight:850}p{margin:0 0 18px}.hero-copy{font-size:1.1rem;color:#4c6257;max-width:640px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-art{position:relative;min-height:420px;display:flex;align-items:center;justify-content:center}.hero-art img{width:100%;max-width:560px;filter:drop-shadow(0 20px 25px rgba(11,73,48,.10))}.hero-note{position:absolute;bottom:18px;left:0;background:#fff;padding:16px 20px;border-radius:16px;box-shadow:var(--rieef-shadow);font-weight:800;color:var(--rieef-green);max-width:240px}.hero-note small{display:block;color:var(--rieef-muted);font-weight:500;font-size:.82rem}.section{padding:86px 0}.section-soft{background:var(--rieef-cream)}.section-green{background:var(--rieef-green-dark);color:#eaf4ed}.section-green h2,.section-green h3{color:#fff}.section-heading{max-width:720px;margin:0 auto 44px;text-align:center}.section-heading p{color:var(--rieef-muted);font-size:1.04rem}.section-green .section-heading p{color:#d5e7dc}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid var(--rieef-border);border-radius:var(--rieef-radius);padding:28px;box-shadow:0 8px 25px rgba(7,57,39,.035);height:100%;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-5px);box-shadow:var(--rieef-shadow)}.icon-bubble{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:18px;background:var(--rieef-green-light);color:var(--rieef-green);margin-bottom:22px}.icon-bubble.orange{background:#fff0d9;color:#b86600}.icon-bubble.blue{background:#e5f2fc;color:var(--rieef-blue)}.icon-bubble.purple{background:#f1e7fa;color:#7842a0}.icon-bubble.teal{background:#e1f5f5;color:#087f8c}.icon-bubble svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.card p{color:var(--rieef-muted);font-size:.95rem;margin-bottom:0}.about-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:60px;align-items:center}.about-visual{min-height:440px;border-radius:30px;overflow:hidden;position:relative;background:linear-gradient(180deg,rgba(8,102,68,.04),rgba(8,102,68,.08)),url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2400&q=90') center/cover}.about-visual:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,rgba(4,74,52,.85))}.about-badge{position:absolute;z-index:1;bottom:26px;left:26px;right:26px;color:white;font-size:1.3rem;font-weight:850;line-height:1.3}.check-list{list-style:none;padding:0;margin:24px 0}.check-list li{position:relative;padding-left:31px;margin:12px 0}.check-list li:before{content:"✓";position:absolute;left:0;top:1px;display:grid;place-items:center;width:21px;height:21px;background:var(--rieef-green);color:#fff;border-radius:50%;font-size:.75rem;font-weight:900}.vision-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.vision-card{padding:34px;border-radius:var(--rieef-radius);background:#fff;border:1px solid var(--rieef-border)}.vision-card .icon-bubble{margin-bottom:18px}.vision-card p{color:var(--rieef-muted);margin:0}.focus-card{display:flex;flex-direction:column}.focus-card .read-more{display:inline-flex;margin-top:18px;font-size:.9rem;font-weight:850;text-decoration:none}.impact-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:42px}.stat{padding:25px 18px;text-align:center;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.06)}.stat strong{display:block;color:#ffc45d;font-size:2rem;line-height:1.2}.stat span{font-size:.88rem;color:#e2f0e7}.impact-note{font-size:.8rem;color:#d0e0d6;margin-top:15px}.cta-panel{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center;padding:48px;border-radius:30px;background:linear-gradient(120deg,#eaf4ed,#f9f4e6);border:1px solid var(--rieef-border)}.cta-panel p{color:var(--rieef-muted);max-width:680px}.cta-panel .hero-actions{margin-top:12px}.site-footer{background:#063e2d;color:#d9e9df;padding:62px 0 24px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr 1fr;gap:35px}.site-footer h3{color:#fff;font-size:1.02rem;margin-bottom:18px}.site-footer p,.site-footer li,.site-footer a{color:#c5dacf;font-size:.91rem}.site-footer a:hover{color:#ffc45d}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}.footer-brand .brand{color:white;margin-bottom:18px}.footer-brand .brand-subtitle{color:#d9e9df}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:42px;padding-top:20px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:.82rem;color:#b6cfc0}.page-hero{padding:68px 0;background:linear-gradient(120deg,#f7f7ed,#e9f4eb)}.page-hero h1{font-size:clamp(2.4rem,4vw,3.7rem);margin:12px 0}.breadcrumbs{font-size:.85rem;color:var(--rieef-muted)}.breadcrumbs a{text-decoration:none}.content-layout{max-width:850px;margin:0 auto;padding:65px 0 85px}.entry-content{font-size:1.04rem}.entry-content h2,.entry-content h3{margin-top:1.5em}.entry-content ul,.entry-content ol{padding-left:1.4em}.entry-content img{border-radius:16px}.entry-content blockquote{border-left:4px solid var(--rieef-orange);padding:8px 22px;margin:28px 0;background:var(--rieef-cream)}.post-card{background:white;border:1px solid var(--rieef-border);border-radius:18px;overflow:hidden}.post-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.post-card-body{padding:24px}.post-card-body p{color:var(--rieef-muted)}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.contact-info,.contact-form{padding:32px;background:white;border:1px solid var(--rieef-border);border-radius:22px}.contact-item{margin:20px 0}.contact-item strong{display:block;color:var(--rieef-green)}.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:13px 15px;border:1px solid #ccdcd1;border-radius:10px;margin:6px 0 16px;background:#fff;color:var(--rieef-ink)}.contact-form textarea{min-height:140px}.notice{padding:16px 20px;border-radius:12px;background:#fff5df;border:1px solid #f6d99d;color:#694a0d;font-size:.9rem}.pagination{display:flex;gap:8px;margin-top:30px}.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--rieef-border);border-radius:8px;text-decoration:none}.pagination .current{background:var(--rieef-green);color:white}.no-results{text-align:center;padding:60px 20px}.wp-block-image img{border-radius:14px}.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{border:1px solid var(--rieef-border);padding:12px}.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}.alignfull{max-width:none}.wp-caption{max-width:100%}.comment-list{padding-left:20px}.comment-form input:not([type=submit]),.comment-form textarea{width:100%;padding:12px;border:1px solid var(--rieef-border);border-radius:9px}.comment-form input[type=submit]{padding:12px 20px;background:var(--rieef-green);color:#fff;border:0;border-radius:99px}.site-main{min-height:40vh}
@media(max-width:980px){.header-inner{min-height:76px}.nav-toggle{display:block}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px 20px 24px;background:#fff;border-bottom:1px solid var(--rieef-border);box-shadow:0 18px 24px rgba(0,0,0,.06)}.primary-nav.is-open{display:block}.primary-nav ul{display:flex;align-items:stretch;flex-direction:column;gap:0}.primary-nav li{border-bottom:1px solid #edf2ee}.primary-nav li:last-child{border:0}.primary-nav a{display:block;padding:12px 4px}.header-cta{display:none}.hero{padding:65px 0}.hero-grid,.about-grid{grid-template-columns:1fr;gap:32px}.hero-art{min-height:330px;max-width:650px;margin:auto;width:100%}.hero-art img{max-height:400px;object-fit:contain}.hero-note{left:10px;bottom:0}.about-visual{min-height:360px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cta-panel{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}}
@media(max-width:620px){.container{width:min(var(--rieef-width),calc(100% - 30px))}.brand{min-width:0}.brand img{width:46px;height:46px}.brand-name{font-size:1.12rem}.brand-subtitle{font-size:.58rem;max-width:190px}.hero{padding:54px 0 48px}.hero-grid{gap:20px}h1{font-size:2.7rem}.hero-copy{font-size:1rem}.hero-art{min-height:260px}.hero-note{font-size:.85rem;padding:12px 14px;max-width:205px}.section{padding:62px 0}.cards,.vision-grid{grid-template-columns:1fr}.card{padding:24px}.impact-stats{grid-template-columns:repeat(2,1fr)}.cta-panel{padding:28px 22px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-bottom{display:block}.footer-bottom span{display:block;margin:7px 0}.page-hero{padding:48px 0}.content-layout{padding:45px 0 60px}}

/* Modern vibrant homepage upgrade */
:root{--rieef-green:#075b3d;--rieef-deep:#063d32;--rieef-orange:#ff7a00;--rieef-blue:#1379c8;--rieef-purple:#7a35b5;--rieef-teal:#00a8a0;--rieef-cream:#f6fbf4}
html{scroll-behavior:smooth}body{overflow-x:hidden}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(4,53,36,.08)}.brand img{transition:transform .4s ease}.brand:hover img{transform:rotate(-7deg) scale(1.05)}.button{box-shadow:0 8px 20px rgba(255,122,0,.17);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}.button:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(255,122,0,.26);filter:saturate(1.12)}
.hero-slider{position:relative;min-height:570px;color:#fff;overflow:hidden;background:#164c34}.hero-slides,.hero-slide{position:absolute;inset:0}.hero-slide{display:flex;align-items:center;opacity:0;visibility:hidden;background-image:var(--hero-image);background-size:cover;background-position:center 54%;transform:scale(1.035);transition:opacity .8s ease,transform 7s ease,visibility .8s}.hero-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,35,25,.83) 0%,rgba(3,53,35,.66) 37%,rgba(4,42,26,.15) 76%,rgba(4,42,26,.12) 100%),linear-gradient(0deg,rgba(0,0,0,.2),transparent 50%)}.hero-content{position:relative;z-index:2;padding-top:92px;padding-bottom:100px;animation:heroRise .85s both;max-width:1200px}.hero-content .eyebrow{display:inline-flex;align-items:center;gap:10px;color:#ffe3b3;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}.hero-content .eyebrow:before{content:'';width:30px;height:3px;background:var(--rieef-orange);border-radius:4px}.hero-content h1{font-size:clamp(2.8rem,5.7vw,5.3rem);line-height:.99;max-width:760px;margin:20px 0 24px;letter-spacing:-.045em;color:#fff;text-wrap:balance}.hero-content h1 span{display:block;color:#ffad38}.hero-content .hero-copy{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.65;max-width:570px;color:rgba(255,255,255,.93)}.hero-content .hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}.hero-content .button{border-radius:100px;padding:14px 24px}.hero-content .button-glass{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.75);color:white;box-shadow:none;backdrop-filter:blur(8px)}.hero-content .button-glass:hover{background:rgba(255,255,255,.23)}.slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(2,39,28,.35);color:white;font-size:2rem;line-height:1;cursor:pointer;backdrop-filter:blur(8px);transition:background .2s,transform .2s}.slider-arrow:hover{background:var(--rieef-orange);transform:translateY(-50%) scale(1.08)}.slider-prev{left:26px}.slider-next{right:26px}.slider-dots{position:absolute;z-index:5;bottom:26px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.slider-dots button{width:10px;height:10px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.55);cursor:pointer;transition:width .25s,background .25s}.slider-dots button.is-active{width:30px;border-radius:8px;background:#ff8a00}.hero-float-card{position:absolute;right:max(6%,calc((100vw - 1200px)/2));bottom:70px;z-index:4;display:flex;align-items:center;gap:12px;padding:15px 20px;background:rgba(255,255,255,.94);color:var(--rieef-deep);border:1px solid rgba(255,255,255,.8);border-radius:18px;box-shadow:0 18px 55px rgba(0,0,0,.2);animation:floaty 4s ease-in-out infinite}.hero-float-card .float-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff0d9;color:var(--rieef-orange);font-size:1.5rem}.hero-float-card strong,.hero-float-card small{display:block}.hero-float-card small{margin-top:3px;color:#66766e;font-size:.8rem}.promise-ribbon{position:relative;z-index:3;background:linear-gradient(100deg,#f0faf2,#fff 45%,#fff5e8);border-bottom:1px solid #e6eee5}.promise-grid{display:grid;grid-template-columns:repeat(5,1fr);padding:23px 0}.promise-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 16px;border-right:1px solid #dce7de;animation:fadeUp .7s both}.promise-item:last-child{border:0}.promise-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:16px;color:#fff;font-size:1.7rem;font-weight:800;box-shadow:0 8px 18px rgba(0,0,0,.1)}.promise-icon.green{background:linear-gradient(135deg,#087d52,#20b56f)}.promise-icon.orange{background:linear-gradient(135deg,#ff6500,#ffb12d)}.promise-icon.blue{background:linear-gradient(135deg,#1466bd,#28b4e2)}.promise-icon.purple{background:linear-gradient(135deg,#6b2db4,#bd62e6)}.promise-icon.teal{background:linear-gradient(135deg,#008d84,#49c9b2)}.promise-item strong,.promise-item small{display:block}.promise-item strong{font-size:.93rem;color:#073e31}.promise-item small{font-size:.78rem;color:#68756f;margin-top:4px}.section-heading h2,.about-grid h2{letter-spacing:-.035em}.section-heading h2{font-size:clamp(2rem,3.2vw,3.1rem)}.about-visual{position:relative;overflow:hidden;border-radius:26px;box-shadow:0 18px 50px rgba(8,70,47,.15);background-position:center;background-size:cover}.about-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(145deg,transparent 30%,rgba(4,63,43,.4))}.about-badge{z-index:2;box-shadow:0 14px 32px rgba(0,0,0,.18);backdrop-filter:blur(8px)}.vision-card,.card{border:1px solid rgba(11,92,61,.08);box-shadow:0 12px 35px rgba(9,70,47,.055);transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease}.vision-card:hover,.card:hover{transform:translateY(-8px);box-shadow:0 22px 48px rgba(9,70,47,.13);border-color:rgba(255,122,0,.3)}.focus-card{position:relative;overflow:hidden}.focus-card:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--rieef-green),var(--rieef-orange),var(--rieef-blue));transform:scaleX(0);transform-origin:left;transition:transform .35s}.focus-card:hover:before{transform:scaleX(1)}.icon-bubble{box-shadow:0 8px 20px rgba(5,88,59,.13);transition:transform .3s}.card:hover .icon-bubble{transform:rotate(-7deg) scale(1.08)}.section-soft{background:radial-gradient(circle at 5% 10%,#e8f8df,transparent 34%),linear-gradient(135deg,#f8fbf5,#fff8ec)}.section-green{background:radial-gradient(circle at 90% 10%,rgba(255,157,38,.28),transparent 28%),linear-gradient(135deg,#064b38,#08744b 65%,#0a5b75);position:relative;overflow:hidden}.section-green:after{content:'';position:absolute;width:340px;height:340px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-100px;bottom:-190px;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025)}.stat strong{color:#ffb13d}.cta-panel{border-radius:30px;background:linear-gradient(120deg,#fff4e4,#eef9ee 58%,#e8f5ff);border:1px solid #e2eee3;box-shadow:0 18px 50px rgba(5,67,45,.08)}.read-more{font-weight:800}.read-more:hover{color:var(--rieef-orange)}.site-footer{background:#052f27}.site-footer a:hover{color:#ffad38}
@keyframes heroRise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeUp{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(max-width:900px){.hero-slider{min-height:560px}.hero-content{padding-top:78px;padding-bottom:100px}.hero-float-card{right:22px;bottom:62px}.promise-grid{grid-template-columns:repeat(2,1fr);gap:12px}.promise-item{justify-content:flex-start;border:0;padding:8px 10px}.promise-item:last-child{grid-column:1/-1}.slider-prev{left:12px}.slider-next{right:12px}}
@media(max-width:560px){.hero-slider{min-height:590px}.hero-slide{background-position:58% center}.hero-shade{background:linear-gradient(90deg,rgba(2,35,25,.82),rgba(3,53,35,.52)),linear-gradient(0deg,rgba(0,0,0,.25),transparent)}.hero-content{padding:70px 25px 120px}.hero-content h1{font-size:clamp(2.65rem,12vw,4rem)}.hero-content .hero-copy{font-size:1rem}.hero-content .hero-actions{gap:10px}.hero-content .button{padding:12px 17px;font-size:.88rem}.slider-arrow{width:38px;height:38px;font-size:1.6rem;top:auto;bottom:18px;transform:none}.slider-arrow:hover{transform:scale(1.06)}.slider-prev{left:18px}.slider-next{right:18px}.slider-dots{bottom:32px}.hero-float-card{display:none}.promise-grid{padding:15px 0;grid-template-columns:1fr 1fr}.promise-item{gap:9px}.promise-icon{flex-basis:38px;width:38px;height:38px;border-radius:13px;font-size:1.35rem}.promise-item strong{font-size:.82rem}.promise-item small{font-size:.7rem}.promise-item:last-child{grid-column:1/-1}.about-visual{min-height:300px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.hero-slide{transform:none}}

.contact-strip{background:linear-gradient(90deg,#064b38,#08734b);color:#fff;font-size:.78rem}.contact-strip-inner{display:flex;align-items:center;gap:24px;min-height:34px}.contact-strip a,.contact-strip-inner>span{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:7px}.contact-strip a:hover{color:#ffd08a}.contact-address{margin-left:auto}.header-cta{white-space:nowrap}@media(max-width:900px){.contact-strip-inner{gap:14px;flex-wrap:wrap;padding:7px 0}.contact-address{margin-left:0}.contact-address span{max-width:100%}}@media(max-width:620px){.contact-strip{font-size:.72rem}.contact-strip-inner{gap:5px 14px}.contact-address{display:none!important}.header-inner{gap:10px}.header-cta{display:none}}


/* Starter subpage layouts */
.rieef-page-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,72px);align-items:center;margin:52px auto 42px;max-width:1200px;padding:0 24px}.rieef-page-intro>img{width:100%;height:420px;object-fit:cover;border-radius:28px;box-shadow:0 18px 50px rgba(5,65,45,.14)}.rieef-page-copy h2,.rieef-page-lead h2,.rieef-contact-copy h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;letter-spacing:-.04em;margin:12px 0 18px;color:#073f32}.rieef-page-copy p,.rieef-page-lead p,.rieef-contact-copy>p{font-size:1.05rem;line-height:1.8;color:#56635f}.rieef-page-lead{max-width:850px;margin:54px auto 34px;text-align:center;padding:0 24px}.rieef-stat-grid{max-width:1150px;margin:20px auto 48px;padding:0 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.rieef-stat-grid>div{padding:25px;border-radius:18px;background:linear-gradient(135deg,#e8f6ed,#fff8e9);display:flex;flex-direction:column;gap:7px}.rieef-stat-grid strong{font-size:1.3rem;color:#075c41}.rieef-stat-grid span{color:#5d6c66}.rieef-two-cards{max-width:1150px;margin:0 auto 54px;padding:0 24px;display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.rieef-info-card{padding:32px;border-radius:22px;background:#f1f7ef;border:1px solid #e0eddf}.rieef-info-card h3{font-size:1.55rem;margin:12px 0;color:#064a37}.rieef-info-card p,.rieef-focus-card p,.rieef-outcomes-grid p,.rieef-involve-grid p{line-height:1.7;color:#5a6761}.rieef-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#08764f;color:white;font-size:1.7rem}.rieef-icon.orange{background:#ff8500}.rieef-quote-band{margin:50px 0;padding:50px 24px;text-align:center;background:linear-gradient(120deg,#075b40,#078b62);color:#fff}.rieef-quote-band p{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:800;margin:0 0 10px}.rieef-quote-band span{opacity:.85}.rieef-focus-grid{max-width:1240px;padding:0 24px;margin:0 auto 60px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.rieef-focus-card{position:relative;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(8,63,43,.09);padding-bottom:24px;transition:transform .25s,box-shadow .25s}.rieef-focus-card:hover{transform:translateY(-7px);box-shadow:0 20px 42px rgba(8,63,43,.15)}.rieef-focus-card>img{width:100%;height:205px;object-fit:cover}.rieef-focus-card h3,.rieef-focus-card p{margin-left:23px;margin-right:23px}.rieef-focus-card h3{font-size:1.25rem;line-height:1.25;color:#073f32;margin-top:25px}.focus-icon{width:54px;height:54px;border:4px solid #fff;border-radius:50%;display:grid;place-items:center;position:relative;margin-top:-29px;margin-left:20px;color:white;font-size:1.4rem;background:#08764f;box-shadow:0 6px 18px #003d2b20}.focus-icon.orange,.involve-symbol.orange,.contact-symbol.orange{background:#ff8500}.focus-icon.blue,.involve-symbol.blue,.contact-symbol.blue{background:#1477b8}.focus-icon.purple,.involve-symbol.purple{background:#7842a5}.focus-icon.teal{background:#0796a8}.focus-icon.leaf{background:#62a83b}.rieef-cta-band{max-width:1190px;margin:0 auto 60px;padding:38px 42px;border-radius:26px;background:linear-gradient(120deg,#e5f6e9,#fff2dc);display:flex;align-items:center;justify-content:space-between;gap:25px}.rieef-cta-band h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15;color:#064633;margin:8px 0}.rieef-cta-band p{color:#586760;max-width:680px}.rieef-outcomes-grid,.rieef-involve-grid{max-width:1190px;padding:0 24px;margin:30px auto 55px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rieef-outcomes-grid article,.rieef-involve-grid article{border:1px solid #e2ece5;border-radius:20px;padding:25px;background:#fff;box-shadow:0 8px 24px rgba(7,66,45,.05)}.rieef-outcomes-grid article>span{font-weight:900;font-size:2rem;color:#ff8500}.rieef-outcomes-grid h3,.rieef-involve-grid h3{color:#074b38;font-size:1.2rem}.rieef-note{max-width:1140px;margin:0 auto 55px;padding:15px 20px;border-left:4px solid #ff8500;background:#fff8ed;color:#665b49}.involve-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:#08764f;color:#fff;font-size:1.7rem}.rieef-contact-layout{max-width:1180px;padding:0 24px;margin:52px auto 70px;display:grid;grid-template-columns:1fr .9fr;gap:45px;align-items:stretch}.rieef-contact-card{display:flex;gap:17px;padding:22px 0;border-bottom:1px solid #e1e9e4}.rieef-contact-card h3{margin:0 0 7px;color:#064b37}.rieef-contact-card p{margin:0 0 7px;line-height:1.7;color:#596760}.rieef-contact-card a,.text-link{font-weight:700;color:#08764f;text-decoration:none}.contact-symbol{flex:0 0 48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#08764f;color:white;font-size:1.35rem}.rieef-contact-visual{position:relative;min-height:520px;border-radius:26px;overflow:hidden}.rieef-contact-visual>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.contact-visual-caption{position:absolute;bottom:0;left:0;right:0;padding:32px;color:#fff;background:linear-gradient(transparent,rgba(2,43,30,.94))}.contact-visual-caption h3{font-size:2rem;line-height:1.1}.rieef-story-placeholder{max-width:1120px;margin:0 auto 65px;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.rieef-story-placeholder img{width:100%;height:340px;object-fit:cover;border-radius:24px}.rieef-story-placeholder h3{font-size:1.8rem;color:#074b38}.rieef-story-placeholder p{line-height:1.8;color:#5a6761}
@media(max-width:850px){.rieef-page-intro,.rieef-contact-layout,.rieef-story-placeholder{grid-template-columns:1fr}.rieef-page-intro>img{height:320px}.rieef-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rieef-outcomes-grid,.rieef-involve-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rieef-contact-visual{min-height:390px}.rieef-cta-band{margin-left:20px;margin-right:20px;flex-direction:column;align-items:flex-start}.rieef-stat-grid{grid-template-columns:1fr}}
@media(max-width:560px){.rieef-focus-grid,.rieef-outcomes-grid,.rieef-involve-grid,.rieef-two-cards{grid-template-columns:1fr}.rieef-page-intro{padding:0 18px;margin-top:32px}.rieef-page-intro>img{height:250px}.rieef-focus-grid{padding:0 18px}.rieef-page-lead{margin-top:35px}.rieef-contact-layout{padding:0 18px}.rieef-cta-band{padding:28px}.rieef-story-placeholder{padding:0 18px}.rieef-story-placeholder img{height:240px}}


/* High-resolution photography and edge-to-edge image framing */
img{max-width:100%;height:auto}
.hero-slider{min-height:clamp(520px,54vw,740px)}
.hero-slide{background-size:cover;background-position:center center;background-repeat:no-repeat}
.about-visual{background-size:cover;background-position:center center}
.rieef-page-intro>img,.rieef-focus-card>img,.rieef-contact-visual>img,.rieef-story-placeholder img{width:100%;object-fit:cover;object-position:center}
.rieef-page-intro>img{height:clamp(340px,38vw,560px)}
.rieef-focus-card>img{height:clamp(220px,20vw,310px)}
.rieef-contact-visual>img{height:100%;min-height:520px;object-fit:cover}
.rieef-story-placeholder img{height:clamp(300px,30vw,460px)}
.brand img,.footer-brand .brand img{width:64px;height:64px;flex:0 0 64px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(4,67,45,.12))}
/* Photo cards use a full-bleed image at the top with text over a clean white panel. */
.rieef-focus-card{isolation:isolate}
.rieef-focus-card>img{display:block;object-position:center 45%;transition:transform .6s ease}
.rieef-focus-card:hover>img{transform:scale(1.045)}
@media(max-width:850px){.hero-slider{min-height:590px}.rieef-page-intro>img{height:360px}.rieef-focus-card>img{height:250px}}
@media(max-width:560px){.hero-slider{min-height:600px}.rieef-page-intro>img{height:290px}.rieef-focus-card>img{height:230px}.brand img,.footer-brand .brand img{width:52px;height:52px;flex-basis:52px}}

/* Typography refinement: smaller homepage hero title and navigation */
@media (min-width: 901px){
  .hero-content h1{font-size:clamp(2.25rem,3.6vw,3.65rem);line-height:1.08;letter-spacing:-.035em}
  .primary-nav ul{gap:18px}
  .primary-nav a{font-size:.84rem;font-weight:650}
  .header-cta{font-size:.86rem;padding:11px 17px}
}
@media (min-width:621px) and (max-width:900px){
  .hero-content h1{font-size:clamp(2.15rem,4.4vw,3.1rem);line-height:1.1}
  .primary-nav ul{gap:14px}
  .primary-nav a{font-size:.82rem}
}
@media (max-width:620px){
  .hero-content h1{font-size:clamp(2rem,8.5vw,2.8rem);line-height:1.1;letter-spacing:-.025em}
  .primary-nav a{font-size:.9rem}
}

/* Customizer-selected homepage about photo */
.rieef-home .about-visual { background-image: linear-gradient(180deg,rgba(4,45,28,.03),rgba(4,45,28,.18)), var(--about-image, url("https://images.unsplash.com/photo-1594708767771-a7502209ff51?auto=format&fit=crop&w=1800&q=90")); background-size:cover; background-position:center; }
