/*
Theme Name: Yesearth-Org-theme-15.4
Theme URI: https://www.yesearth.org/
Author: SLRD YesEarth
Description: Stable dashboard controlled responsive bilingual WordPress theme for YesEarth with custom logo, menus, featured images, typography controls, social icons, SEO ready structure, banner controls and content color controls.
Version: 15.4.4
Requires at least: 6.0
Tested up to: 6.9
Text Domain: yesearth-org-theme
Tags: custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support, block-styles, wide-blocks, one-column, right-sidebar
*/

:root{
  --ye-primary:#1f6f36;
  --ye-secondary:#0f3d1f;
  --ye-accent:#6fbf4b;
  --ye-heading:#0f3d1f;
  --ye-body:#172617;
  --ye-muted:#5f6f5f;
  --ye-bg:#ffffff;
  --ye-soft:#f2faf2;
  --ye-border:#d8ead8;
  --ye-footer:#0f3d1f;
  --ye-radius:14px;
  --ye-shadow:0 10px 30px rgba(15,61,31,.10);
  --ye-container:1180px;
  --ye-font-family:Arial,Helvetica,sans-serif;
  --ye-heading-font:Arial,Helvetica,sans-serif;
  --ye-body-font-size:16px;
  --ye-content-text-color:#172617;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ye-bg);color:var(--ye-content-text-color);font-family:var(--ye-font-family);font-size:var(--ye-body-font-size);line-height:1.65}
body.rtl{direction:rtl}
a{color:var(--ye-primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
h1,h2,h3,h4,h5,h6{font-family:var(--ye-heading-font);color:var(--ye-heading)}
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.ye-container{max-width:var(--ye-container);margin:0 auto;padding:0 22px}
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;color:#000;padding:12px;z-index:10000000}

/* Hide Google Translate popup */
.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt,.goog-tooltip,.skiptranslate iframe,.goog-te-gadget-icon{display:none!important}
body{top:0!important}
.goog-te-gadget{font-size:0!important}
.goog-te-combo{display:none!important}

/* Announcement banner */
.ye-announcement{background:var(--ye-primary);color:#fff;padding:9px 20px;text-align:center;font-size:14px;font-weight:700}
.ye-announcement a{color:#fff;text-decoration:underline}

/* Header */
.ye-header{position:sticky;top:0;z-index:999999;background:#fff;border-bottom:1px solid var(--ye-border);box-shadow:0 2px 14px rgba(0,0,0,.04)}
.ye-header-inner{height:64px;display:flex;align-items:center;gap:14px;justify-content:space-between}
.ye-logo img{height:var(--ye-logo-height,42px);width:auto;max-width:220px;display:block}
.ye-nav-wrap{display:flex;align-items:center;gap:10px}
.ye-menu{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}
.ye-menu li{position:relative}
.ye-menu a{display:block;padding:22px 7px;color:var(--ye-menu-color,#172617);font-size:var(--ye-menu-size,13px);font-weight:700;white-space:nowrap;line-height:1}
.ye-menu a:hover{color:var(--ye-primary);text-decoration:none}
.ye-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:235px;background:#fff;border:1px solid var(--ye-border);box-shadow:var(--ye-shadow);border-radius:0 0 12px 12px;padding:8px 0;z-index:1000001}
.ye-menu li:hover>.sub-menu,.ye-menu li:focus-within>.sub-menu{display:block}
.ye-menu .sub-menu a{padding:11px 16px;font-size:13px;line-height:1.3}
.ye-search-btn{border:1px solid #a8cfa8;background:#f2faf2;color:#0f3d1f;width:40px;height:40px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin-left:2px;flex:0 0 40px}
.ye-search-btn svg{width:21px;height:21px;stroke-width:2.6}
.ye-lang{display:flex;border:1px solid #b8d9b8;border-radius:8px;overflow:hidden;margin-left:2px}
.ye-lang a,.ye-lang button{border:0;background:#fff;color:#164d24;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none}
.ye-lang .active,.ye-lang button.active{background:var(--ye-primary);color:#fff}
.ye-social-icons{display:flex;gap:8px;align-items:center}
.ye-social-icons a{width:30px;height:30px;border-radius:50%;background:var(--ye-soft);display:flex;align-items:center;justify-content:center;color:var(--ye-secondary);font-size:13px;font-weight:800;text-decoration:none}
.ye-mobile-toggle{display:none;border:1px solid var(--ye-border);background:#fff;border-radius:8px;padding:7px 10px;font-size:24px;line-height:1;color:#0f3d1f;cursor:pointer}

/* Search */
.ye-search-overlay{position:fixed;inset:0;background:rgba(15,61,31,.84);display:none;align-items:center;justify-content:center;z-index:1000002;padding:24px}
.ye-search-overlay.open{display:flex}
.ye-search-box{background:#fff;border-radius:18px;max-width:620px;width:100%;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.25)}
.ye-search-box input{width:100%;font-size:20px;padding:14px 16px;border:1px solid var(--ye-border);border-radius:10px}
.ye-close-search{float:right;border:0;background:transparent;font-size:26px;cursor:pointer;color:#0f3d1f}

/* Hero and slider */
.ye-hero{position:relative;min-height:var(--ye-hero-height,520px);display:flex;align-items:center;overflow:hidden;background:#0f3d1f}
.ye-hero::before{content:"";position:absolute;inset:0;background:var(--ye-hero-image,url('assets/images/hero-yesearth.svg')) center/cover no-repeat;opacity:.94}
.ye-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,28,12,.86) 0%,rgba(5,28,12,.66) 38%,rgba(5,28,12,.25) 68%,rgba(5,28,12,.08) 100%)}
.ye-hero-inner{position:relative;z-index:2;max-width:600px;color:#fff;padding:72px 0;text-align:left}
.ye-hero h1{font-size:clamp(28px,4vw,48px);line-height:1.08;margin:0 0 12px;font-weight:900;color:#fff}
.ye-hero h1 span{display:block;color:#8fd55c}
.ye-hero p{font-size:clamp(15px,1.45vw,18px);max-width:520px;margin:0 0 24px;color:rgba(255,255,255,.92)}
.ye-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:var(--ye-button-radius,8px);background:var(--ye-accent);color:#0b2c14;font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.02em;border:0}
.ye-btn:hover{text-decoration:none;filter:brightness(.96)}
.ye-btn.outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.75);margin-left:10px}
.ye-slider{position:relative}
.ye-slide{display:none}
.ye-slide.active{display:block}

/* Impact */
.ye-impact-bar{position:relative;z-index:5;margin-top:-46px}
.ye-impact-inner{background:#fff;border-radius:12px;box-shadow:var(--ye-shadow);border:1px solid var(--ye-border);display:grid;grid-template-columns:1.05fr repeat(5,1fr);overflow:hidden}
.ye-impact-title{padding:16px;font-size:17px;font-weight:900;text-transform:uppercase;color:#0f3d1f;border-right:1px solid var(--ye-border);display:flex;align-items:center;justify-content:center;text-align:center}
.ye-impact-title span{display:block;color:#2d8a3e}
.ye-impact-item{padding:14px 10px;border-right:1px solid var(--ye-border);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:86px}
.ye-impact-icon{font-size:22px;line-height:1;margin-bottom:6px;display:flex;align-items:center;justify-content:center;color:#1f6f36;text-align:center}
.ye-impact-num{font-size:18px;font-weight:900;color:#1f6f36;line-height:1.1;text-align:center}
.ye-impact-label{font-size:11.5px;color:#243524;line-height:1.25;margin-top:3px;text-align:center}

/* Sections */
.ye-section{padding:58px 0}
.ye-section.light{background:#f7fbf7}
.ye-section-title{text-align:center;margin:0 0 32px}
.ye-section-title .kicker{display:block;color:#2d8a3e;font-size:15px;letter-spacing:.08em;font-weight:900;text-transform:uppercase;margin-bottom:8px}
.ye-section-title h2{font-size:clamp(26px,3vw,38px);line-height:1.15;color:#0f3d1f;margin:0}
.ye-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ye-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.ye-grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.ye-card{background:#fff;border:1px solid var(--ye-border);border-radius:14px;padding:22px;box-shadow:0 4px 18px rgba(15,61,31,.06)}
.ye-card h3{margin:10px 0 8px;color:#0f3d1f;font-size:20px}
.ye-card p{margin:0;color:var(--ye-content-text-color);font-size:15px}
.ye-card-icon{font-size:32px;color:#1f6f36}
.ye-intervention-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;align-items:stretch}
.ye-intervention-card{text-align:center;background:#fff;border:1px solid var(--ye-border);border-radius:14px;padding:18px 12px;box-shadow:0 4px 18px rgba(15,61,31,.05)}
.ye-intervention-card:hover{text-decoration:none;transform:translateY(-2px)}
.ye-intervention-card .icon{font-size:32px;margin-bottom:8px;display:flex;align-items:center;justify-content:center}
.ye-intervention-card h3{font-size:15px;margin:0;color:#0f3d1f;line-height:1.25}
.ye-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ye-post-card{background:#fff;border:1px solid var(--ye-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(15,61,31,.06)}
.ye-post-card img{width:100%;height:170px;object-fit:cover;display:block}
.ye-post-body{padding:16px}
.ye-post-body h3{font-size:18px;line-height:1.25;margin:0 0 8px;color:#0f3d1f}
.ye-post-body p{font-size:14px;color:var(--ye-content-text-color);margin:0 0 12px}

/* Page layouts */
.ye-page-hero{background:#0f3d1f;color:#fff;text-align:center;padding:72px 22px}
.ye-page-hero h1{font-size:clamp(30px,5vw,52px);margin:0 0 10px;color:#fff}
.ye-page-hero p{max-width:760px;margin:0 auto;color:rgba(255,255,255,.86)}
.ye-page-content{max-width:1100px;margin:0 auto;padding:50px 22px}
.ye-content-wrap.right-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px}
.ye-clean-section{padding:38px 0;border-bottom:1px solid var(--ye-border)}
.ye-clean-section h2{font-size:30px;color:#0f3d1f;margin:0 0 15px}
.ye-clean-section p{font-size:17px;color:var(--ye-content-text-color)}
.ye-sidebar .widget{background:#fff;border:1px solid var(--ye-border);border-radius:14px;padding:20px;margin-bottom:20px}

/* Our Interventions */
.ye-wrap *{box-sizing:border-box}
.ye-wrap{font-family:var(--ye-font-family);color:var(--ye-content-text-color);line-height:1.7;font-size:16px}
.ye-wrap img{max-width:100%;height:auto}
.ye-wrap ul{padding-left:0;list-style:none;margin:0}
.ye-int-page-hero{position:relative;background:#0f3d1f;color:#fff;text-align:center;padding:64px 24px 52px;overflow:hidden}
.ye-int-page-hero::before{content:"";position:absolute;inset:0;background:url('assets/images/hero-yesearth.svg') center/cover no-repeat;opacity:.18}
.ye-int-page-hero>*{position:relative;z-index:1}
.ye-int-page-hero h1{font-size:clamp(30px,5vw,48px);font-weight:900;margin:0 0 10px;color:#fff}
.ye-int-page-hero p{font-size:18px;max-width:760px;margin:0 auto;color:rgba(255,255,255,.86)}
.ye-intro-band{background:#f3f9f3;border-left:5px solid #2d8a3e;padding:26px 30px;margin:38px auto;max-width:960px;border-radius:0 10px 10px 0}
.ye-stats{background:#0f3d1f;padding:34px 20px;text-align:center}
.ye-stats h2{color:#fff;font-size:24px;margin:0 0 22px}
.ye-stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;max-width:980px;margin:0 auto}
.ye-stat{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:15px 10px;color:#fff}
.ye-stat .num{font-size:28px;font-weight:900;color:#87e89c;display:block;line-height:1}
.ye-stat .lbl{font-size:12.5px;color:rgba(255,255,255,.78);line-height:1.35;margin-top:6px;display:block}
.ye-section-hdr{text-align:center;margin:46px 0 30px;padding:0 20px}
.ye-section-hdr .kicker{display:inline-block;color:#2d8a3e;font-size:16px;font-weight:900;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:10px}
.ye-section-hdr h2{font-size:clamp(28px,4vw,38px);font-weight:900;color:#0f3d1f;margin:0 0 12px}
.ye-section-hdr p{font-size:17px;color:var(--ye-content-text-color);max-width:740px;margin:0 auto;line-height:1.75}
.ye-divider{width:60px;height:4px;background:#2d8a3e;border-radius:2px;margin:12px auto 0}
.ye-intervention{max-width:1080px;margin:0 auto 58px;padding:0 20px;scroll-margin-top:90px}
.ye-intervention-inner{background:#fff;border:1px solid #ddeedd;border-radius:16px;overflow:hidden;box-shadow:0 2px 18px rgba(20,80,30,.07)}
.ye-int-header{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch}
.ye-int-header.reverse{direction:rtl}
.ye-int-header.reverse>*{direction:ltr}
.ye-int-img{width:100%;height:340px;object-fit:cover;display:block}
.ye-int-intro{padding:38px 40px;display:flex;flex-direction:column;justify-content:center;background:#fff}
.ye-int-icon-wrap{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:30px;margin-bottom:18px;flex-shrink:0;background:#e4f5e4}
.ye-int-intro h2{font-size:clamp(24px,2.6vw,32px);font-weight:900;color:#0f3d1f;margin:0 0 13px}
.ye-int-intro .overview-label{font-size:13px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;color:#2d8a3e;margin-bottom:8px}
.ye-int-intro p{font-size:15.5px;color:var(--ye-content-text-color);line-height:1.82;margin:0}
.ye-int-body{padding:36px 40px 42px}
.ye-act-label{font-size:16px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#2d8a3e;margin-bottom:18px}
.ye-act-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-bottom:34px}
.ye-act-card{background:#f6fbf6;border:1px solid #d4ead4;border-radius:12px;padding:20px 22px}
.ye-act-card .act-icon{font-size:24px;margin-bottom:10px;display:block}
.ye-act-card h4{font-size:16px;font-weight:800;color:#1a3d1a;margin:0 0 8px}
.ye-act-card p{font-size:13.8px;color:var(--ye-content-text-color);margin:0;line-height:1.7}
.ye-benefits-row{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:30px}
.ye-benefits-col h3{font-size:16px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#2d8a3e;margin:0 0 14px}
.ye-benefits-col li{font-size:14.5px;color:var(--ye-content-text-color);padding:7px 0 7px 24px;border-bottom:1px solid #edf5ed;position:relative}
.ye-benefits-col li::before{content:'✓';position:absolute;left:0;color:#2d8a3e;font-weight:900}
.ye-tech-strip{background:#0f3d1f;border-radius:10px;padding:18px 24px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
.ye-tech-strip .tech-label{font-size:13px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#a8f0b8;margin-right:6px;white-space:nowrap;margin-top:3px}
.ye-tech-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#e0f8e8;font-size:12.5px;padding:5px 13px;border-radius:20px}

/* Footer */
.ye-footer{background:var(--ye-footer);color:#dcebdc;padding:42px 0;margin-top:40px}
.ye-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:26px}
.ye-footer a{color:#dcebdc;display:block;margin:6px 0}
.ye-footer h3{color:#fff;margin:0 0 12px}
.ye-footer .ye-social-icons a{background:rgba(255,255,255,.12);color:#fff}

/* Plugin compatibility */
.woocommerce .products{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
#bbpress-forums{font-size:16px}
.wp-block-image img{height:auto}
.alignwide{max-width:var(--ye-container);margin-left:auto;margin-right:auto}

/* Responsive */
@media(max-width:1100px){
  .ye-menu a{font-size:12px;padding-left:5px;padding-right:5px}
  .ye-impact-inner{grid-template-columns:repeat(3,1fr)}
  .ye-impact-title{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--ye-border)}
  .ye-intervention-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .ye-header-inner{height:64px}
  .ye-mobile-toggle{display:block}
  .ye-nav-wrap{position:fixed;top:64px;left:0;right:0;background:#fff;z-index:1000000;display:none;box-shadow:var(--ye-shadow);max-height:calc(100vh - 64px);overflow:auto;border-top:1px solid var(--ye-border);padding:0}
  .ye-nav-wrap.open{display:block}
  .ye-menu{display:block;width:100%}
  .ye-menu a{padding:14px 22px;font-size:14px;line-height:1.2;border-bottom:1px solid #edf5ed}
  .ye-menu .sub-menu{position:static;display:none;box-shadow:none;border:0;border-radius:0;padding:0;background:#f7fbf7}
  .ye-menu li.open>.sub-menu{display:block}
  .ye-menu .menu-item-has-children>a::after{content:' ▼';float:right}
  .ye-search-btn{margin-left:auto}
  .ye-lang{display:none}
  .ye-hero{min-height:450px}
  .ye-hero-inner{padding:54px 0}
  .ye-hero::after{background:linear-gradient(90deg,rgba(5,28,12,.9),rgba(5,28,12,.74))}
  .ye-btn.outline{margin-left:0;margin-top:10px}
  .ye-impact-bar{margin-top:0}
  .ye-impact-inner{grid-template-columns:1fr 1fr}
  .ye-grid,.ye-grid-4,.ye-grid-5,.ye-post-grid,.ye-footer-grid,.ye-content-wrap.right-sidebar{grid-template-columns:1fr}
  .ye-intervention-grid{grid-template-columns:repeat(2,1fr)}
  .ye-int-header,.ye-int-header.reverse{grid-template-columns:1fr;direction:ltr}
  .ye-int-img{height:230px}
  .ye-int-intro,.ye-int-body{padding:26px 22px}
  .ye-stats-grid{grid-template-columns:1fr 1fr}
  .ye-benefits-row{grid-template-columns:1fr}
}
@media(max-width:480px){
  .ye-intervention-grid,.ye-impact-inner,.ye-stats-grid{grid-template-columns:1fr}
}


/* ===== Yesearth Org Theme 12.2 layout correction =====
   Restores a clean news style homepage structure similar to current yesearth.org:
   top identity strip, compact logo, single row menu, flash news, post grids.
*/
.ye-site-title-strip{
  background:#f8fbf8;
  border-bottom:1px solid var(--ye-border);
  padding:7px 0;
  font-size:14px;
  font-weight:700;
  color:var(--ye-secondary);
}
.ye-site-title-strip .ye-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.ye-site-title-strip .school-name{
  white-space:nowrap;
}
.ye-header{
  position:sticky;
  top:0;
  z-index:999999;
  background:#fff;
  border-bottom:1px solid var(--ye-border);
  box-shadow:0 2px 10px rgba(15,61,31,.05);
}
.ye-header-inner{
  height:auto;
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
}
.ye-logo{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:210px;
}
.ye-logo img,
.custom-logo{
  height:54px !important;
  width:auto !important;
  max-width:168px !important;
  object-fit:contain;
  display:block;
}
.ye-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.ye-brand-text strong{
  color:var(--ye-secondary);
  font-size:22px;
  font-weight:900;
}
.ye-brand-text span{
  color:var(--ye-muted);
  font-size:12px;
  font-weight:700;
}
.ye-nav-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  gap:10px;
}
.ye-menu{
  display:flex;
  flex-wrap:nowrap;
  gap:2px;
  justify-content:flex-end;
  align-items:center;
}
.ye-menu a{
  font-size:12.5px;
  padding:29px 6px;
  white-space:nowrap;
}
.ye-menu .sub-menu a{
  padding:11px 16px;
  font-size:13px;
}
.ye-social-icons{
  display:none;
}
.ye-search-btn{
  width:38px;
  height:38px;
  flex:0 0 38px;
  margin-left:0;
}
.ye-lang{
  flex:0 0 auto;
}
.ye-mobile-toggle{
  justify-self:end;
}

/* News style homepage */
.ye-home-news{
  background:#fff;
}
.ye-flash{
  padding:22px 0 10px;
  border-bottom:1px solid var(--ye-border);
}
.ye-flash h2{
  font-size:20px;
  margin:0 0 14px;
  color:var(--ye-secondary);
  border-left:4px solid var(--ye-primary);
  padding-left:12px;
}
.ye-flash-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.ye-news-card{
  background:#fff;
  border:1px solid var(--ye-border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(15,61,31,.05);
}
.ye-news-card img{
  width:100%;
  height:155px;
  object-fit:cover;
  display:block;
}
.ye-news-card .body{
  padding:13px;
}
.ye-news-card h3{
  margin:0;
  font-size:17px;
  line-height:1.25;
  color:var(--ye-secondary);
}
.ye-news-card p{
  color:var(--ye-content-text-color);
  font-size:14px;
  margin:8px 0 0;
}
.ye-section.news-section{
  padding:36px 0;
}
.ye-section.news-section .ye-section-title{
  text-align:left;
  margin-bottom:18px;
  border-bottom:2px solid var(--ye-border);
  padding-bottom:8px;
}
.ye-section.news-section .ye-section-title h2{
  font-size:24px;
}
.ye-section.news-section .ye-section-title .kicker{
  font-size:12px;
}
.ye-news-list-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:26px;
  align-items:start;
}
.ye-main-posts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.ye-side-posts{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.ye-side-posts .ye-news-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:0;
}
.ye-side-posts .ye-news-card img{
  height:100%;
  min-height:100px;
}
.ye-side-posts .ye-news-card h3{
  font-size:15px;
}
.ye-intervention-grid{
  grid-template-columns:repeat(5,1fr);
}
.ye-intervention-card{
  min-height:108px;
}
.ye-hero{
  min-height:420px;
}
.ye-hero-inner{
  max-width:620px;
  padding:58px 0;
}
.ye-hero h1{
  font-size:clamp(28px,3.5vw,42px);
}
.ye-impact-bar{
  margin-top:0;
  padding:20px 0 0;
}
.ye-impact-inner{
  box-shadow:0 4px 16px rgba(15,61,31,.08);
}
.yesearth-interventions-page .ye-wrap .ye-nav{
  position:sticky !important;
  top:78px !important;
  z-index:50 !important;
}

/* Prevent uploaded interventions page CSS from affecting global header */
.yesearth-interventions-page .ye-wrap .ye-hero{
  min-height:auto;
  display:block;
}
.yesearth-interventions-page .ye-wrap .ye-hero::before,
.yesearth-interventions-page .ye-wrap .ye-hero::after{
  display:none;
}
.yesearth-interventions-page .ye-wrap .ye-nav a{
  padding:7px 14px !important;
  font-size:13px !important;
}

@media(max-width:1120px){
  .ye-header-inner{
    grid-template-columns:auto 1fr auto;
  }
  .ye-menu a{
    font-size:11.5px;
    padding-left:4px;
    padding-right:4px;
  }
  .ye-brand-text strong{
    font-size:19px;
  }
  .ye-logo{
    min-width:180px;
  }
}
@media(max-width:900px){
  .ye-flash-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .ye-news-list-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .ye-site-title-strip .ye-container{
    justify-content:center;
  }
  .ye-site-title-strip .school-name{
    white-space:normal;
    text-align:center;
  }
  .ye-header-inner{
    min-height:66px;
    grid-template-columns:auto 1fr auto auto;
    gap:10px;
  }
  .ye-logo{
    min-width:0;
  }
  .ye-logo img,
  .custom-logo{
    height:44px !important;
    max-width:126px !important;
  }
  .ye-brand-text strong{
    font-size:18px;
  }
  .ye-brand-text span{
    font-size:10px;
  }
  .ye-nav-wrap{
    top:66px;
  }
  .ye-menu a{
    font-size:14px;
    padding:14px 22px;
  }
  .ye-flash-grid,
  .ye-main-posts{
    grid-template-columns:1fr;
  }
  .ye-side-posts .ye-news-card{
    grid-template-columns:100px 1fr;
  }
  .ye-intervention-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .yesearth-interventions-page .ye-wrap .ye-nav{
    top:66px !important;
  }
}
@media(max-width:480px){
  .ye-brand-text{
    display:none;
  }
  .ye-intervention-grid,
  .ye-impact-inner{
    grid-template-columns:1fr;
  }
  .ye-side-posts .ye-news-card{
    grid-template-columns:1fr;
  }
  .ye-side-posts .ye-news-card img{
    height:145px;
  }
}


/* ===== Yesearth 12.3 intervention header duplication fix ===== */
.ye-home-news .ye-section.news-section .ye-section-title .kicker{
    display:none !important;
}
.ye-home-news .ye-section.news-section .ye-section-title{
    margin-bottom:18px !important;
}
.ye-home-news .ye-section.news-section .ye-section-title h2{
    margin:0 !important;
}


/* ===== Yesearth 13.0 multilingual and mobile navigation ===== */

.ye-lang{
 display:flex;
 align-items:center;
 gap:6px;
 margin-left:10px;
}

.ye-lang button{
 border:1px solid #d9e5da;
 background:#fff;
 color:#0f3d1f;
 padding:6px 10px;
 border-radius:4px;
 font-size:12px;
 cursor:pointer;
}

.ye-lang button.active,
.ye-lang button:hover{
 background:#0f6b38;
 color:#fff;
 border-color:#0f6b38;
}

.ye-mobile-toggle{
 display:none;
 align-items:center;
 justify-content:center;
 background:#0f6b38;
 color:#fff;
 border:none;
 width:42px;
 height:42px;
 border-radius:4px;
 font-size:22px;
 cursor:pointer;
 z-index:999999;
}

@media(max-width:960px){

 .ye-mobile-toggle{
   display:flex !important;
 }

 .ye-nav-wrap{
   position:fixed !important;
   top:66px !important;
   left:0;
   width:100%;
   background:#fff;
   z-index:999999 !important;
   display:none;
   flex-direction:column;
   border-top:1px solid #e6ece6;
   box-shadow:0 10px 25px rgba(0,0,0,.08);
   max-height:calc(100vh - 66px);
   overflow-y:auto;
   padding-bottom:20px;
 }

 .ye-nav-wrap.active{
   display:flex !important;
 }

 .ye-menu{
   width:100%;
   flex-direction:column !important;
   align-items:stretch !important;
 }

 .ye-menu li{
   width:100%;
   border-bottom:1px solid #edf2ed;
 }

 .ye-menu a{
   display:block;
   width:100%;
   padding:14px 18px !important;
   font-size:15px !important;
 }

 .ye-menu .sub-menu{
   position:static !important;
   display:none;
   opacity:1 !important;
   visibility:visible !important;
   transform:none !important;
   width:100%;
   background:#f8fbf8;
   box-shadow:none;
   border:none;
 }

 .ye-menu li.menu-open > .sub-menu{
   display:block !important;
 }

 .ye-menu li.menu-item-has-children > a::after{
   content:"+";
   float:right;
   font-weight:700;
 }

 .ye-lang{
   justify-content:center;
   margin-top:10px;
 }
}

body{
 font-family:"Inter","Noto Sans","Noto Sans Bengali",sans-serif;
}


/* ===== Yesearth 13.1 live language translation ===== */
.ye-lang button{
  min-width:72px;
}
html[lang="hi"] body,
html[lang="as"] body{
  font-family:"Noto Sans Devanagari","Noto Sans Bengali","Inter",Arial,sans-serif;
}
html[lang="as"] body{
  font-family:"Noto Sans Bengali","Noto Sans Devanagari","Inter",Arial,sans-serif;
}
.ye-translating{
  opacity:.96;
}


/* ===== Yesearth 14.0 ===== */
.ye-category-grid{
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:24px;
}
.ye-category-card,
.ye-meearth-card{
 background:#fff;
 border:1px solid #e5ece6;
 border-radius:12px;
 overflow:hidden;
 box-shadow:0 4px 18px rgba(0,0,0,.05);
}
.ye-category-card img{
 width:100%;
 height:220px;
 object-fit:cover;
}
.ye-category-body{
 padding:18px;
}
.ye-category-label{
 display:inline-block;
 background:#0f6b38;
 color:#fff;
 font-size:11px;
 padding:5px 10px;
 border-radius:30px;
 margin-bottom:10px;
}
.ye-meearth-grid{
 display:grid;
 grid-template-columns:repeat(5,1fr);
 gap:20px;
}
.ye-meearth-card img{
 width:100%;
 height:170px;
 object-fit:cover;
}
.ye-meearth-body{
 padding:14px;
}
@media(max-width:1100px){
 .ye-category-grid{grid-template-columns:1fr 1fr;}
 .ye-meearth-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:700px){
 .ye-category-grid,
 .ye-meearth-grid{
  grid-template-columns:1fr;
 }
}


/* ===== Yesearth 14.1 Our Impact fixes ===== */

.ye-impact-bar{
    padding-top:20px !important;
}

.ye-impact-inner{
    display:grid !important;
    grid-template-columns:1.2fr repeat(5,1fr) !important;
    gap:10px !important;
    align-items:center !important;
    padding:18px 14px !important;
}

.ye-impact-title{
    margin-right:14px !important;
    white-space:nowrap;
    font-size:24px !important;
    line-height:1.2 !important;
}

.ye-impact-item{
    text-align:center !important;
    padding:8px 4px !important;
}

.ye-impact-icon{
    font-size:20px !important;
    margin-bottom:5px !important;
}

.ye-impact-num{
    font-size:18px !important;
    line-height:1.2 !important;
}

.ye-impact-label{
    font-size:11px !important;
    line-height:1.35 !important;
}

@media(max-width:900px){

    .ye-impact-inner{
        grid-template-columns:repeat(3,1fr) !important;
    }

    .ye-impact-title{
        grid-column:1 / -1;
        text-align:center;
        margin-bottom:10px !important;
    }
}

@media(max-width:560px){

    .ye-impact-inner{
        grid-template-columns:1fr 1fr !important;
    }

    .ye-impact-title{
        grid-column:1 / -1;
    }

    .ye-impact-icon{
        font-size:16px !important;
    }

    .ye-impact-num{
        font-size:15px !important;
    }

    .ye-impact-label{
        font-size:10px !important;
    }
}


/* ===== Yesearth 14.3 homepage order and sections ===== */
.ye-home-news .ye-intervention-grid{
  grid-template-columns:repeat(10,1fr) !important;
  gap:10px !important;
}
.ye-home-news .ye-intervention-card{
  padding:12px 6px !important;
  min-height:88px !important;
}
.ye-home-news .ye-intervention-card .icon{
  font-size:22px !important;
  margin-bottom:5px !important;
}
.ye-home-news .ye-intervention-card h3{
  font-size:11.5px !important;
  line-height:1.25 !important;
}
.ye-category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.ye-category-card,.ye-meearth-card{
  background:#fff;
  border:1px solid #e5ece6;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.05);
}
.ye-category-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.ye-category-body,.ye-meearth-body{padding:16px;}
.ye-category-label{
  display:inline-block;
  background:#0f6b38;
  color:#fff;
  font-size:11px;
  padding:5px 10px;
  border-radius:30px;
  margin-bottom:10px;
}
.ye-meearth-featured{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:26px;
  align-items:stretch;
  margin-bottom:28px;
}
.ye-meearth-featured .ye-meearth-card img{height:300px;}
.ye-meearth-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.ye-meearth-card img{
  width:100%;
  height:150px;
  object-fit:cover;
  background:#eaf2ea;
}
.ye-meearth-body h3{
  font-size:16px;
  line-height:1.35;
  margin:0 0 8px;
}
.ye-meearth-body p{
  font-size:13px;
  line-height:1.55;
  color:#546257;
  margin:0 0 10px;
}
@media(max-width:1180px){
  .ye-home-news .ye-intervention-grid{grid-template-columns:repeat(5,1fr) !important;}
}
@media(max-width:900px){
  .ye-category-grid,.ye-meearth-featured{grid-template-columns:1fr;}
  .ye-meearth-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .ye-home-news .ye-intervention-grid,.ye-category-grid,.ye-meearth-grid{grid-template-columns:1fr !important;}
}


/* ===== Yesearth 14.7 Safe Me & My Earth frontend feed ===== */
.ye-meearth-header-link{
  text-decoration:none;
  color:inherit;
}
.ye-meearth-header-link:hover h2{
  color:#0f6b38;
}
.ye-meearth-loading,
.ye-meearth-error-note{
  font-size:14px;
  color:#667566;
  text-align:center;
  margin:16px 0 22px;
}
.ye-meearth-live-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.ye-meearth-live-grid .ye-meearth-card{
  background:#fff;
  border:1px solid #e5ece6;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.05);
}
.ye-meearth-live-grid .ye-meearth-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  background:#eef5ef;
  display:block;
}
.ye-meearth-live-grid .ye-meearth-card .ye-meearth-body{
  padding:14px;
}
.ye-meearth-live-grid .ye-meearth-card h3{
  font-size:16px;
  line-height:1.35;
  margin:0 0 8px;
}
.ye-meearth-live-grid .ye-meearth-card p{
  font-size:13px;
  line-height:1.55;
  color:#546257;
  margin:0 0 10px;
}
.ye-meearth-live-grid .ye-meearth-source{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  color:#0f6b38;
  background:#eef8ef;
  padding:4px 9px;
  border-radius:30px;
  margin-bottom:8px;
}
@media(max-width:1100px){
  .ye-meearth-live-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:700px){
  .ye-meearth-live-grid{grid-template-columns:1fr;}
}


/* ===== Yesearth 14.9 language selector click fix ===== */
.ye-lang{
  position:relative !important;
  z-index:1000002 !important;
  pointer-events:auto !important;
}
.ye-lang button,
.ye-lang a{
  position:relative !important;
  z-index:1000003 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
.ye-header .ye-lang{
  flex-shrink:0 !important;
}
@media(max-width:960px){
  .ye-nav-wrap .ye-lang{
    display:flex !important;
    justify-content:center !important;
    padding:12px 10px !important;
    gap:8px !important;
  }
  .ye-nav-wrap .ye-lang button{
    min-width:72px !important;
    padding:9px 10px !important;
  }
}


/* ===== Yesearth 15.0 English Hindi language and Me & My Earth fix ===== */
.ye-lang{
  display:flex !important;
  gap:6px !important;
  align-items:center !important;
  position:relative !important;
  z-index:1000005 !important;
  pointer-events:auto !important;
}
.ye-lang button{
  border:1px solid #d9e5da !important;
  background:#fff !important;
  color:#0f3d1f !important;
  padding:7px 11px !important;
  border-radius:4px !important;
  font-size:12px !important;
  cursor:pointer !important;
  pointer-events:auto !important;
}
.ye-lang button.active,
.ye-lang button:hover{
  background:#0f6b38 !important;
  color:#fff !important;
  border-color:#0f6b38 !important;
}
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-gadget-icon{
  display:none !important;
}
body{top:0 !important;}
.skiptranslate iframe{display:none !important;}
.goog-te-gadget{height:0 !important; overflow:hidden !important;}

.ye-meearth-error-note{
  font-size:14px;
  color:#667566;
  text-align:center;
  margin:16px 0 22px;
}
.ye-meearth-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.ye-meearth-featured{
  margin-bottom:22px;
}
.ye-meearth-card{
  background:#fff;
  border:1px solid #e5ece6;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.05);
}
.ye-meearth-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
  background:#eef5ef;
}
.ye-meearth-featured .ye-meearth-card img{
  height:300px;
}
.ye-meearth-body{
  padding:14px;
}
.ye-meearth-source{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  color:#0f6b38;
  background:#eef8ef;
  padding:4px 9px;
  border-radius:30px;
  margin-bottom:8px;
}
@media(max-width:1100px){
  .ye-meearth-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:700px){
  .ye-meearth-grid{grid-template-columns:1fr;}
}


/* ===== Yesearth 15.2 mobile menu and visible Google Translate fix ===== */

/* Show Google Translate selector instead of hiding it */
#google_translate_element{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  position:relative !important;
  z-index:1000005 !important;
}
.goog-te-gadget{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  font-size:11px !important;
}
.goog-te-combo{
  display:inline-block !important;
  visibility:visible !important;
  width:auto !important;
  max-width:160px !important;
  height:32px !important;
  padding:4px 6px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  background:#fff !important;
  color:#0f3d1f !important;
  font-size:12px !important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-gadget-icon{
  display:none !important;
}
body{
  top:0 !important;
}
.skiptranslate iframe{
  display:none !important;
}

/* Keep own buttons optional, but not blocking click */
.ye-lang{
  position:relative !important;
  z-index:1000006 !important;
  pointer-events:auto !important;
  display:flex !important;
  gap:6px !important;
  align-items:center !important;
}
.ye-lang button{
  position:relative !important;
  z-index:1000007 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}

/* Mobile menu must open above all content */
.ye-mobile-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border:0;
  border-radius:4px;
  background:#0f6b38;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  position:relative;
  z-index:1000010 !important;
}

@media(max-width:960px){
  .ye-mobile-toggle{
    display:flex !important;
  }

  .ye-nav-wrap{
    position:fixed !important;
    top:66px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-height:calc(100vh - 66px) !important;
    overflow-y:auto !important;
    background:#ffffff !important;
    border-top:1px solid #e5ece6 !important;
    box-shadow:0 12px 28px rgba(0,0,0,.12) !important;
    z-index:1000009 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    padding:0 0 18px !important;
  }

  .ye-nav-wrap.open,
  .ye-nav-wrap.active,
  body.ye-mobile-menu-open .ye-nav-wrap{
    display:flex !important;
  }

  .ye-nav{
    width:100% !important;
  }

  .ye-menu{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ye-menu li{
    width:100% !important;
    border-bottom:1px solid #edf2ed !important;
  }

  .ye-menu a{
    display:block !important;
    width:100% !important;
    padding:14px 18px !important;
    font-size:15px !important;
    line-height:1.4 !important;
  }

  .ye-menu .sub-menu{
    position:static !important;
    display:none !important;
    width:100% !important;
    min-width:0 !important;
    background:#f8fbf8 !important;
    box-shadow:none !important;
    border:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    padding:0 0 0 12px !important;
  }

  .ye-menu li.open > .sub-menu,
  .ye-menu li.menu-open > .sub-menu{
    display:block !important;
  }

  .ye-menu li.menu-item-has-children > a::after{
    content:"+";
    float:right;
    font-weight:800;
  }

  .ye-nav-wrap .ye-lang,
  .ye-nav-wrap #google_translate_element{
    margin:12px auto 0 !important;
    justify-content:center !important;
    text-align:center !important;
  }
}


/* ===== Yesearth 15.3 language dropdown and feature check fixes ===== */

/* Language dropdown */
.ye-lang{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  position:relative !important;
  z-index:1000006 !important;
  pointer-events:auto !important;
}
.ye-lang label{
  font-size:12px !important;
  font-weight:700 !important;
  color:#0f3d1f !important;
  white-space:nowrap !important;
}
.ye-lang-select{
  display:inline-block !important;
  visibility:visible !important;
  width:auto !important;
  min-width:145px !important;
  height:34px !important;
  padding:5px 9px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  background:#fff !important;
  color:#0f3d1f !important;
  font-size:13px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  position:relative !important;
  z-index:1000007 !important;
}
.ye-lang button{
  display:none !important;
}

/* Visible Google Translate dropdown retained as fallback */
#google_translate_element{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  position:relative !important;
  z-index:1000005 !important;
}
.goog-te-gadget{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  font-size:11px !important;
}
.goog-te-combo{
  display:inline-block !important;
  visibility:visible !important;
  width:auto !important;
  max-width:160px !important;
  height:32px !important;
  padding:4px 6px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  background:#fff !important;
  color:#0f3d1f !important;
  font-size:12px !important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-gadget-icon{
  display:none !important;
}
body{top:0 !important;}
.skiptranslate iframe{display:none !important;}

/* Mobile menu and dropdown visibility */
.ye-mobile-toggle{
  position:relative !important;
  z-index:1000010 !important;
  cursor:pointer !important;
}
@media(max-width:960px){
  .ye-nav-wrap{
    z-index:1000009 !important;
  }
  .ye-nav-wrap .ye-lang{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    padding:12px 10px !important;
    margin:8px auto 0 !important;
    gap:6px !important;
  }
  .ye-nav-wrap .ye-lang-select{
    width:92% !important;
    max-width:320px !important;
    height:40px !important;
    font-size:15px !important;
  }
  .ye-nav-wrap #google_translate_element{
    margin:8px auto 0 !important;
    text-align:center !important;
  }
}

/* Compact interventions checked for desktop row */
.ye-home-news .ye-intervention-grid{
  grid-template-columns:repeat(10,1fr) !important;
  gap:10px !important;
}
.ye-home-news .ye-intervention-card{
  padding:12px 6px !important;
  min-height:88px !important;
}
.ye-home-news .ye-intervention-card .icon{
  font-size:22px !important;
  margin-bottom:5px !important;
}
.ye-home-news .ye-intervention-card h3{
  font-size:11.5px !important;
  line-height:1.25 !important;
}
@media(max-width:1180px){
  .ye-home-news .ye-intervention-grid{
    grid-template-columns:repeat(5,1fr) !important;
  }
}
@media(max-width:600px){
  .ye-home-news .ye-intervention-grid{
    grid-template-columns:1fr !important;
  }
}


/* ===== Yesearth 15.4 translator, search box and Me & My Earth fixes ===== */

/* Header search box next to search icon */
.ye-header-search{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  max-width:260px !important;
  flex:0 0 auto !important;
}
.ye-header-search input[type="search"]{
  width:185px !important;
  height:36px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  padding:6px 9px !important;
  font-size:13px !important;
  color:#0f3d1f !important;
  background:#fff !important;
}
.ye-header-search button{
  height:36px !important;
  min-width:38px !important;
  border:1px solid #0f6b38 !important;
  border-radius:4px !important;
  background:#0f6b38 !important;
  color:#fff !important;
  cursor:pointer !important;
  font-weight:700 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.ye-search-btn{
  display:none !important;
}

/* Language dropdown */
.ye-lang{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  position:relative !important;
  z-index:1000006 !important;
  pointer-events:auto !important;
}
.ye-lang label{
  font-size:12px !important;
  font-weight:700 !important;
  color:#0f3d1f !important;
  white-space:nowrap !important;
}
.ye-lang-select{
  display:inline-block !important;
  visibility:visible !important;
  min-width:150px !important;
  height:34px !important;
  padding:5px 9px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  background:#fff !important;
  color:#0f3d1f !important;
  font-size:13px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  position:relative !important;
  z-index:1000007 !important;
}

/* Google widget visible as fallback */
#google_translate_element{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  position:relative !important;
  z-index:1000005 !important;
}
.goog-te-gadget{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  font-size:11px !important;
}
.goog-te-combo{
  display:inline-block !important;
  visibility:visible !important;
  max-width:155px !important;
  height:32px !important;
  padding:4px 6px !important;
  border:1px solid #d9e5da !important;
  border-radius:4px !important;
  background:#fff !important;
  color:#0f3d1f !important;
  font-size:12px !important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-gadget-icon{
  display:none !important;
}
body{top:0 !important;}
.skiptranslate iframe{display:none !important;}

@media(max-width:1200px){
  .ye-header-search input[type="search"]{
    width:140px !important;
  }
}
@media(max-width:960px){
  .ye-header-search{
    order:6 !important;
    width:100% !important;
    max-width:none !important;
    padding:10px 16px !important;
  }
  .ye-header-search input[type="search"]{
    flex:1 !important;
    width:auto !important;
  }
  .ye-nav-wrap .ye-lang,
  .ye-nav-wrap #google_translate_element{
    margin:8px auto 0 !important;
    text-align:center !important;
    justify-content:center !important;
  }
  .ye-nav-wrap .ye-lang{
    flex-direction:column !important;
    padding:12px 10px !important;
  }
  .ye-lang-select{
    width:92% !important;
    max-width:320px !important;
    height:40px !important;
    font-size:15px !important;
  }
}

/* ===== 15.4.1: Single language selector =====
   The header should show only ONE language dropdown: the theme's own
   <select id="ye-language-select">. The Google Website Translator still loads
   and powers the actual translation, but its built-in combo box is hidden so it
   does not appear as a second dropdown. The element is kept in the DOM (not
   display:none) and only visually hidden, so the JavaScript can still drive
   .goog-te-combo and the cookie/reload fallback reliably.
   This block is intentionally last so it overrides the earlier
   "visible as fallback" rules above. */
#google_translate_element{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  pointer-events:none !important;
}
.ye-nav-wrap #google_translate_element{
  margin:-1px !important;
}

/* ===== 15.4.4: Soft light homepage background =====
   A faint, fresh green-tinted backdrop on the front page so the white sections
   and cards gain a little depth instead of sitting on flat white. Other pages
   keep their existing background. */
body.home{
  background:linear-gradient(180deg,#eef5ec 0%,#f6faf4 45%,#f2f7f0 100%);
}
body.home .ye-intervention-card,
body.home .ye-news-card,
body.home .ye-category-card,
body.home .ye-meearth-card{
  box-shadow:0 6px 22px rgba(15,61,31,.07);
}
