/*
Theme Name: ECOCOACH Redesign
Author: Vaxi.ir
Version: 3.1.0
Text Domain: ecocoach
Description: قالب راست‌چین مجله‌ای برای بلاگ اکوکوچ
*/

@font-face{
  font-family:'Peyda';
  src:url('font/PeydaWebFaNum-Regular.woff2') format('woff2'),url('font/PeydaWebFaNum-Regular.woff') format('woff');
  font-weight:400;font-style:normal;font-display:swap
}
@font-face{
  font-family:'Peyda';
  src:url('font/PeydaWebFaNum-Bold.woff2') format('woff2'),url('font/PeydaWebFaNum-Bold.woff') format('woff');
  font-weight:700;font-style:normal;font-display:swap
}
@font-face{
  font-family:'IRANSans';
  src:url('font/IRANSansWeb.woff2') format('woff2'),url('font/IRANSansWeb.woff') format('woff');
  font-weight:400;font-style:normal;font-display:swap
}
@font-face{
  font-family:'IRANSans';
  src:url('font/IRANSansWeb_Bold.woff2') format('woff2'),url('font/IRANSansWeb_Bold.woff') format('woff');
  font-weight:700;font-style:normal;font-display:swap
}

:root{
  /* رنگ‌های اصلی قالب ECOCOACH */
  --green:#1f2454;
  --green-dark:#1b214f;
  --green-soft:#eceef8;
  --mint:#f3f4f8;
  --mint-2:#f7f8fc;
  --ink:#242733;
  --muted:#8b8f9a;
  --line:#e8e9ef;
  --page:#f5f6fa;
  --white:#fff;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --shadow:0 10px 24px rgba(22,28,66,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  text-align:right;
  background:var(--page);
  color:var(--ink);
  font-family:'Peyda','IRANSans',Tahoma,sans-serif;
  line-height:1.9;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
svg{display:block}
.container{width:min(100% - 32px,1050px);margin-inline:auto}
.image-fallback{display:block;width:100%;height:100%;background:linear-gradient(135deg,#0b5b3b,#d9e8de)}

/* Home hero / showcase */
.home-main{padding-bottom:4px}
.home-showcase{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:13px;
  direction:rtl;
  align-items:stretch;
  margin-bottom:33px
}
.showcase-slider,.topic-card{background:var(--mint);border-radius:17px}
.showcase-slider{position:relative;padding:14px 14px 11px;min-height:324px;overflow:hidden}
.spotlight-stage{height:262px;position:relative}
.spotlight-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease;display:flex;flex-direction:column}
.spotlight-slide.is-active{opacity:1;visibility:visible;z-index:2}
.spotlight-image{position:relative;display:block;height:218px;border-radius:14px;overflow:hidden;background:#dfe7e2}
.spotlight-image img{width:100%;height:100%;object-fit:cover}
.spotlight-category{position:absolute;right:10px;top:10px;padding:3px 8px;border-radius:6px;background:rgba(255,255,255,.9);font-size:9px;font-weight:700;color:var(--green)}
.spotlight-caption{padding:10px 7px 0}
.spotlight-caption h2{font-size:13px;line-height:1.8;text-align:center;margin:0;font-weight:700}
.spotlight-caption h2 a:hover{color:var(--green)}
.slider-arrow{position:absolute;z-index:5;top:99px;width:31px;height:31px;border:0;border-radius:50%;background:rgba(255,255,255,.0);color:#111;font-size:27px;line-height:1;display:grid;place-items:center}
.slider-next{left:0}.slider-prev{right:0}
.spotlight-dots{display:flex;justify-content:center;align-items:center;gap:5px;padding-top:5px}
.spotlight-dot{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#d4d9d6}
.spotlight-dot.is-active{background:#222}
.spotlight-empty{height:100%;display:grid;place-items:center;color:var(--muted)}

.topic-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1.08fr;gap:10px;min-height:324px}
.topic-card{position:relative;overflow:hidden;padding:12px;display:flex;align-items:flex-end;justify-content:center;min-height:0;transition:.2s ease}
.topic-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.topic-card-wide{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr;align-items:center;padding:10px 21px}
.topic-art{display:flex;align-items:center;justify-content:center;min-height:74px;color:#789e89}
.topic-art svg{width:94px;height:70px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.topic-card-wide .topic-art svg{width:126px;height:92px}
.topic-copy{display:block;text-align:center}
.topic-card-wide .topic-copy{text-align:right}
.topic-copy strong{display:block;font-size:13px;line-height:1.6;font-weight:700}
.topic-copy small{display:block;margin-top:6px;color:#68716c;font-size:10px;line-height:1.8}

/* Magazine intro */
.magazine-intro{
  background:#fff;border-radius:18px;min-height:112px;padding:24px 28px 0;margin-bottom:12px;position:relative;
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;box-shadow:0 3px 16px rgba(38,62,51,.025)
}
.magazine-title-wrap{display:flex;align-items:flex-start;gap:9px}
.magazine-icon{width:31px;height:31px;color:var(--green);flex:0 0 31px;margin-top:2px}
.magazine-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.magazine-title-wrap h1{font-size:19px;line-height:1.4;margin:0 0 5px;font-weight:700}
.magazine-title-wrap p{font-size:10.5px;color:#858c88;margin:0;line-height:2}
.magazine-tabs{position:absolute;bottom:-17px;left:38px;width:203px;height:43px;border-radius:11px;background:#e9eeeb;padding:0;display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:center;overflow:hidden;font-size:10px;color:#5c645f}
.magazine-tabs span{height:100%;display:grid;place-items:center}
.magazine-tabs .is-active{background:var(--green);color:#fff;border-radius:10px;font-weight:700}

/* Article grid */
.magazine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:32px}
.magazine-card{background:#fff;border:1px solid #edf0ee;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.2s ease;box-shadow:0 2px 12px rgba(28,59,45,.03)}
.magazine-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.magazine-thumb{height:176px;position:relative;overflow:hidden;margin:8px 8px 0;border-radius:12px;background:#dce8e0}
.magazine-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.magazine-card:hover .magazine-thumb img{transform:scale(1.025)}
.card-category{position:absolute;top:9px;right:9px;background:rgba(250,253,251,.94);color:var(--green);border-radius:6px;padding:3px 8px;font-size:8.5px;font-weight:700}
.magazine-card-body{padding:8px 12px 10px;display:flex;flex-direction:column;flex:1}
.magazine-card h2{font-size:12.5px;line-height:1.85;margin:0 0 4px;min-height:47px;font-weight:700}
.magazine-card h2 a:hover{color:var(--green)}
.magazine-card p{font-family:'IRANSans',sans-serif;font-size:9.3px;line-height:2;color:#777f7a;margin:0 0 10px;min-height:55px}
.card-meta-row{margin-top:auto;padding-top:8px;border-top:1px solid #f0f2f1;display:flex;justify-content:space-between;align-items:end;gap:8px}
.author-mini{display:flex;align-items:center;gap:6px;min-width:0}
.author-mini img{width:28px;height:28px;border-radius:50%;object-fit:cover}
.author-mini span{display:flex;flex-direction:column;min-width:0}
.author-mini strong{font-size:8.4px;line-height:1.5;max-width:84px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.author-mini small{font-size:7.2px;color:#8c928f;white-space:nowrap}
.post-stats{display:flex;gap:5px;align-items:center;color:#858c88;font-size:7.5px;white-space:nowrap}
.post-stats span{background:#f4f6f5;border-radius:6px;padding:2px 5px}
.all-posts-wrap{display:flex;justify-content:center;margin:28px 0 33px}
.soft-button{min-width:130px;height:38px;border-radius:10px;background:#e8efeb;color:var(--green);display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;font-weight:700;transition:.2s}
.soft-button:hover{background:#dce9e1}.soft-button span{font-size:15px}

/* Popular */
.popular-section{background:#fff;border-radius:18px;padding:22px 25px 24px;margin-bottom:36px;box-shadow:0 3px 18px rgba(38,62,51,.025)}
.popular-heading{font-size:15px;margin:0 0 15px;font-weight:700}
.popular-layout{display:grid;grid-template-columns:1.18fr .82fr;gap:13px;direction:ltr}
.popular-lead,.popular-side{direction:rtl}
.popular-lead-media{height:252px;position:relative;border-radius:14px;overflow:hidden;display:block;background:#dce8e0}
.popular-lead-media img{width:100%;height:100%;object-fit:cover}
.popular-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(4,25,16,.78) 100%)}
.popular-lead-content{position:absolute;right:15px;left:15px;bottom:13px;color:#fff;display:flex;flex-direction:column;gap:4px}
.popular-lead-content strong{font-size:13px;line-height:1.7}
.popular-lead-content small{font-size:8px;opacity:.9}
.popular-side{display:grid;gap:11px;align-content:start}
.popular-item{min-height:118px;background:#f1f3f2;border-radius:12px;padding:9px;display:grid;grid-template-columns:96px 1fr 21px;gap:10px;align-items:center}
.popular-item-thumb{height:88px;border-radius:9px;overflow:hidden;background:#dce8e0}
.popular-item-thumb img{width:100%;height:100%;object-fit:cover}
.popular-item-copy h3{font-size:10.5px;line-height:1.8;margin:0 0 10px;font-weight:700}
.popular-item-copy h3 a:hover{color:var(--green)}
.popular-item-copy>div{display:flex;gap:8px;color:#777e7a;font-size:7.5px}
.popular-open{width:18px;height:18px;border:1px solid var(--green);color:var(--green);border-radius:5px;display:grid;place-items:center;font-size:10px;line-height:1}

/* CTA */
.wealth-cta{
  width:min(100% - 110px,810px);min-height:130px;margin:0 auto 38px;border-radius:18px;overflow:hidden;position:relative;
  background:linear-gradient(92deg,#063b26 0%,#0d5d3e 47%,#4c8767 100%);color:#fff;display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:18px;padding:18px 24px;direction:ltr
}
.cta-art{position:relative;height:100%;min-height:100px;display:block;direction:ltr}
.cta-line{position:absolute;width:74px;height:98px;left:43px;bottom:-19px;border:2px solid rgba(255,255,255,.2);border-radius:8px 8px 0 0;box-shadow:inset 0 0 0 5px rgba(0,0,0,.08)}
.cta-line:before{content:"";position:absolute;width:48px;height:74px;left:11px;bottom:0;border:2px solid rgba(255,255,255,.17);border-bottom:0}
.cta-coin{position:absolute;border-radius:50%;border:2px solid #d2b766;background:radial-gradient(circle at 35% 30%,#e6d278,#9f792f);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.coin-one{width:32px;height:32px;left:17px;top:15px}.coin-two{width:21px;height:21px;left:122px;top:34px}
.cta-copy{direction:rtl;text-align:right}
.cta-copy h2{font-size:20px;margin:0 0 2px;line-height:1.55;font-weight:700}
.cta-copy p{font-size:12px;margin:0;color:#d7d773}
.cta-button{direction:rtl;min-width:95px;height:34px;border-radius:9px;background:#dfeccf;color:#245e3d;font-size:9.5px;font-weight:700;display:flex;align-items:center;justify-content:center;align-self:end;margin-bottom:11px}

/* Generic archive/page/single */
.hero{background:var(--mint);border-radius:18px;padding:28px 30px;margin:0 0 24px;box-shadow:0 2px 14px rgba(28,59,45,.03)}
.hero h1{font-size:25px;margin:0 0 6px;color:var(--green);line-height:1.5}.hero p{margin:0;color:var(--muted);font-size:13px}
.archive-hero{margin-bottom:24px}
.list-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.post-card{background:#fff;border-radius:15px;border:1px solid #edf0ee;padding:8px;display:flex;flex-direction:column;min-width:0;box-shadow:0 2px 12px rgba(28,59,45,.03)}
.post-thumb{position:relative;height:180px;border-radius:12px;overflow:hidden;background:#dce8e0}.post-thumb a{display:block;width:100%;height:100%}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-date{position:absolute;right:8px;top:8px;background:rgba(255,255,255,.9);color:var(--green);font-size:8px;padding:3px 7px;border-radius:6px}
.post-content{padding:10px 5px 6px;display:flex;flex-direction:column;flex:1}.post-title{font-size:13px;line-height:1.8;margin:0 0 6px}.post-excerpt{font-size:10px;color:var(--muted);margin:0 0 10px}.post-btn{display:inline-flex;margin-top:auto;align-self:flex-start;color:var(--green);font-size:10px;font-weight:700}.post-btn:after{content:' ←';margin-right:5px}
.archive-pagination{margin:25px 0}.archive-pagination .page-numbers{list-style:none;display:flex;justify-content:center;gap:6px;padding:0}.archive-pagination a,.archive-pagination span{min-width:34px;height:34px;border-radius:8px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;padding:0 8px;font-size:10px}.archive-pagination .current{background:var(--green);color:#fff;border-color:var(--green)}
.empty-posts{text-align:center;color:var(--muted);padding:30px}

.single-wrap{background:#fff;border-radius:18px;padding:28px;margin:0 0 28px;box-shadow:0 3px 18px rgba(38,62,51,.035)}
.breadcrumb{display:flex;flex-wrap:wrap;gap:7px;color:#8b918e;font-size:10px;margin-bottom:16px}.breadcrumb a{color:var(--green)}
.single-title{font-size:27px;line-height:1.65;margin:0 0 12px}.single-meta{display:flex;flex-wrap:wrap;gap:9px;color:#858c88;font-size:10px;margin-bottom:18px}.single-thumb{height:420px;border-radius:15px;overflow:hidden;margin-bottom:24px}.single-thumb img{width:100%;height:100%;object-fit:cover}
.single-content,.page-content{font-family:'IRANSans','Peyda',sans-serif;font-size:13px;color:#333a36;line-height:2.25}.single-content p,.page-content p{margin:0 0 18px}.single-content h2,.single-content h3,.single-content h4,.page-content h2,.page-content h3,.page-content h4{font-family:'Peyda',sans-serif;color:var(--green);line-height:1.7;margin:26px 0 10px}.single-content img,.page-content img{border-radius:14px;margin:18px auto}.single-content a,.page-content a{color:var(--green);text-decoration:underline}.single-content table,.page-content table{width:100%;border-collapse:collapse;margin:22px 0}.single-content th,.page-content th{background:var(--green);color:#fff;padding:10px}.single-content td,.page-content td{padding:10px;border:1px solid var(--line)}
.single-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.single-tags a{background:var(--mint);color:var(--green);border-radius:999px;padding:5px 11px;font-size:9px}
.share-box{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.share-title{display:block;font-size:11px;font-weight:700;margin-bottom:9px}.share-links{display:flex;gap:8px;flex-wrap:wrap}.share-links a{background:var(--green);color:#fff;border-radius:8px;padding:6px 13px;font-size:9px}
.author-box{margin-top:25px;padding:17px;border-radius:13px;background:var(--mint-2);display:flex;align-items:center;gap:12px}.author-avatar img{border-radius:50%;width:58px;height:58px}.author-content h3{font-size:13px;margin:0 0 4px}.author-content p{font-size:10px;color:var(--muted);margin:0}
.related-posts{margin-top:30px}.section-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}.section-head h2{font-size:15px;margin:0}.section-icon{color:var(--green)}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related-item{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.related-thumb{height:145px;display:block}.related-thumb img{width:100%;height:100%;object-fit:cover}.related-content{padding:10px}.related-content h3{font-size:11px;line-height:1.8;margin:0 0 5px}.related-content p{font-size:9px;line-height:1.9;color:var(--muted);margin:0}
.list-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;grid-template-columns:120px 1fr 22px;gap:14px;align-items:center;margin-bottom:10px}.item-thumb{height:90px;border-radius:10px;overflow:hidden}.item-thumb img{width:100%;height:100%;object-fit:cover}.item-date{font-size:8px;color:#858c88}.item-title{font-size:12px;margin:3px 0}.item-excerpt{font-size:9.5px;color:var(--muted);margin:0}.item-arrow{color:var(--green);font-size:20px}
.categories{margin:24px 0}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips a,.chips button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:10px;color:var(--green)}
.not-found-page{padding:50px 0}.not-found-inner{background:#fff;border-radius:18px;text-align:center;padding:45px 20px}.not-found-code{font-size:88px;line-height:1;color:var(--green);font-weight:700}.not-found-inner h1{font-size:22px}.not-found-inner p{color:var(--muted);font-size:12px}.home-btn{display:inline-flex;background:var(--green);color:#fff;border-radius:9px;padding:8px 16px;font-size:10px}

@media (max-width:980px){
  .home-showcase{grid-template-columns:1fr 1fr}
  .magazine-thumb{height:150px}
  .wealth-cta{width:calc(100% - 40px)}
}

@media (max-width:767px){
  .container{width:min(100% - 24px,1050px)}
  .home-showcase{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.showcase-slider{min-height:296px}.spotlight-stage{height:238px}.spotlight-image{height:196px}.topic-mosaic{min-height:300px}.topic-card-wide{grid-template-columns:1fr 1.2fr}.topic-card-wide .topic-art svg{width:108px}.topic-copy strong{font-size:12px}
  .magazine-intro{min-height:130px;padding:19px 18px 0;display:block}.magazine-title-wrap h1{font-size:17px}.magazine-title-wrap p{font-size:9.5px}.magazine-tabs{left:18px;right:18px;width:auto;bottom:-17px}
  .magazine-grid{grid-template-columns:1fr;margin-top:31px;gap:12px}.magazine-thumb{height:220px}.magazine-card h2{font-size:14px;min-height:auto}.magazine-card p{font-size:10.5px;min-height:auto}.author-mini strong{font-size:9.5px}.author-mini small,.post-stats{font-size:8.2px}
  .popular-section{padding:18px 14px}.popular-layout{grid-template-columns:1fr;direction:rtl}.popular-lead-media{height:220px}.popular-item{grid-template-columns:90px 1fr 20px}.popular-item-copy h3{font-size:11px}
  .wealth-cta{width:100%;grid-template-columns:1fr auto;direction:rtl;min-height:145px;padding:20px}.cta-art{display:none}.cta-copy h2{font-size:17px}.cta-copy p{font-size:10px}.cta-button{align-self:center;margin:0}
  .list-card{grid-template-columns:1fr}.post-thumb{height:220px}.single-wrap{padding:18px 14px}.single-title{font-size:22px}.single-thumb{height:235px}.single-content,.page-content{font-size:12px}.related-grid{grid-template-columns:1fr}.related-thumb{height:200px}.author-box{align-items:flex-start}.list-item{grid-template-columns:82px 1fr 16px}.item-thumb{height:74px}.item-excerpt{display:none}
}

@media (max-width:480px){
  .topic-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:150px 140px}.topic-card-wide{padding:8px 12px}.topic-card-wide .topic-art svg{width:90px;height:72px}.topic-copy small{display:none}
  .magazine-thumb{height:190px}
  .cta-copy h2{font-size:15px}.cta-button{min-width:82px}
}

/* =========================================================
   ECOCOACH 2.1 — ORIGINAL PALETTE + LARGE DESKTOP SCALE
   Layout follows the supplied reference; palette and visual weight
   follow the original ECOCOACH theme.
========================================================= */

/* Base scale */
.container{width:min(100% - 36px,1200px)}
body{font-family:'IRANSans','Peyda',Tahoma,sans-serif;background:var(--page);color:var(--ink);line-height:2}

/* Original ECOCOACH navy palette */
.image-fallback{background:linear-gradient(135deg,#1b214f,#eceef8)}
.showcase-slider,.topic-card{background:#f3f4f8;border:1px solid rgba(31,36,84,.05)}
.spotlight-image,.magazine-thumb,.popular-lead-media,.popular-item-thumb,.post-thumb{background:#eceef5}
.topic-art{color:#747a9c}
.topic-copy small{color:#8b8f9a}
.magazine-intro,.magazine-card,.popular-section,.post-card,.single-wrap{box-shadow:0 6px 18px rgba(22,28,66,.06)}
.magazine-tabs{background:#eceef5;color:#555969}
.magazine-card{border-color:#e8e9ef}
.magazine-card p{color:#777b89}
.card-meta-row{border-top-color:#eceef5}
.author-mini small,.post-stats,.popular-item-copy>div{color:#8b8f9a}
.post-stats span{background:#f3f4f8}
.soft-button{background:#eceef8;color:#1f2454}
.soft-button:hover{background:#e2e5f2}
.popular-overlay{background:linear-gradient(180deg,transparent 43%,rgba(21,25,63,.86) 100%)}
.popular-item{background:#f3f4f8}
.wealth-cta{background:linear-gradient(92deg,#15193f 0%,#1f2454 50%,#273060 100%)}
.cta-copy p{color:#e1e3f0}
.cta-button{background:#eceef8;color:#1f2454}
.cta-line{border-color:rgba(255,255,255,.22);box-shadow:inset 0 0 0 5px rgba(0,0,0,.08)}
.cta-line:before{border-color:rgba(255,255,255,.18)}
.hero{background:linear-gradient(135deg,#1f2454,#273060);color:#fff}
.hero h1{color:#fff}.hero p{color:rgba(255,255,255,.88)}
.single-content h2,.single-content h3,.single-content h4,.page-content h2,.page-content h3,.page-content h4{color:#1f2454}
.single-content a,.page-content a,.breadcrumb a,.single-tags a,.post-btn,.item-arrow{color:#1f2454}
.single-tags a{background:#eceef8}
.share-links a,.archive-pagination .current,.home-btn{background:#1f2454;border-color:#1f2454}
.author-box{background:#f7f8fc}

/* Bigger showcase */
.home-showcase{grid-template-columns:1.04fr .96fr;gap:18px;margin-bottom:42px}
.showcase-slider{padding:18px 18px 14px;min-height:430px;border-radius:22px}
.spotlight-stage{height:350px}
.spotlight-image{height:292px;border-radius:18px}
.spotlight-category{right:14px;top:14px;padding:5px 11px;border-radius:8px;font-size:12px}
.spotlight-caption{padding:13px 10px 0}
.spotlight-caption h2{font-size:17px;line-height:1.9}
.slider-arrow{top:133px;width:40px;height:40px;font-size:34px}
.spotlight-dots{gap:7px;padding-top:9px}
.spotlight-dot{width:8px;height:8px;background:#cfd2de}
.spotlight-dot.is-active{background:#1f2454}

.topic-mosaic{gap:14px;min-height:430px}
.topic-card{padding:17px;border-radius:22px}
.topic-card-wide{padding:15px 28px}
.topic-art{min-height:96px}
.topic-art svg{width:122px;height:92px}
.topic-card-wide .topic-art svg{width:158px;height:116px}
.topic-copy strong{font-size:16px;line-height:1.8}
.topic-copy small{margin-top:8px;font-size:13px;line-height:2}

/* Magazine heading */
.magazine-intro{min-height:145px;border-radius:23px;padding:31px 35px 0;margin-bottom:15px;gap:24px}
.magazine-title-wrap{gap:13px}
.magazine-icon{width:39px;height:39px;flex-basis:39px}
.magazine-title-wrap h1{font-size:25px;margin-bottom:7px}
.magazine-title-wrap p{font-size:14px;line-height:2}
.magazine-tabs{bottom:-21px;left:46px;width:252px;height:52px;border-radius:13px;font-size:13px}
.magazine-tabs .is-active{border-radius:12px}

/* Article cards */
.magazine-grid{gap:16px;margin-top:43px}
.magazine-card{border-radius:20px}
.magazine-thumb{height:226px;margin:11px 11px 0;border-radius:16px}
.card-category{top:12px;right:12px;padding:5px 10px;border-radius:8px;font-size:11px}
.magazine-card-body{padding:12px 16px 14px}
.magazine-card h2{font-size:16px;line-height:1.9;margin-bottom:7px;min-height:61px}
.magazine-card p{font-size:12.5px;line-height:2.05;margin-bottom:14px;min-height:75px}
.card-meta-row{padding-top:11px;gap:10px}
.author-mini{gap:8px}
.author-mini img{width:36px;height:36px}
.author-mini strong{font-size:11px;max-width:105px}
.author-mini small{font-size:9.5px}
.post-stats{gap:6px;font-size:9.5px}
.post-stats span{padding:3px 7px;border-radius:7px}
.all-posts-wrap{margin:36px 0 44px}
.soft-button{min-width:165px;height:46px;border-radius:12px;gap:11px;font-size:13px}
.soft-button span{font-size:19px}

/* Popular section */
.popular-section{border-radius:23px;padding:29px 32px 31px;margin-bottom:45px}
.popular-heading{font-size:20px;margin-bottom:20px}
.popular-layout{gap:18px}
.popular-lead-media{height:330px;border-radius:18px}
.popular-lead-content{right:20px;left:20px;bottom:18px;gap:6px}
.popular-lead-content strong{font-size:17px;line-height:1.8}
.popular-lead-content small{font-size:11px}
.popular-side{gap:14px}
.popular-item{min-height:153px;border-radius:16px;padding:12px;grid-template-columns:126px 1fr 27px;gap:13px}
.popular-item-thumb{height:116px;border-radius:12px}
.popular-item-copy h3{font-size:14px;line-height:1.9;margin-bottom:13px}
.popular-item-copy>div{gap:10px;font-size:10px}
.popular-open{width:24px;height:24px;border-radius:7px;font-size:13px}

/* CTA */
.wealth-cta{width:min(100% - 120px,970px);min-height:168px;margin-bottom:47px;border-radius:23px;grid-template-columns:230px 1fr auto;gap:23px;padding:23px 30px}
.cta-art{min-height:125px}
.cta-line{width:91px;height:122px;left:53px;bottom:-24px}
.cta-line:before{width:60px;height:92px;left:14px}
.coin-one{width:40px;height:40px;left:21px;top:19px}.coin-two{width:27px;height:27px;left:150px;top:42px}
.cta-copy h2{font-size:26px;margin-bottom:4px}
.cta-copy p{font-size:15px}
.cta-button{min-width:120px;height:44px;border-radius:11px;font-size:13px;margin-bottom:14px}

/* Generic pages at original ECOCOACH scale */
.hero{border-radius:24px;padding:36px 38px;margin-bottom:30px}
.hero h1{font-size:32px}.hero p{font-size:16px}
.list-card{gap:18px;margin:30px 0}
.post-card{border-radius:20px;padding:11px}
.post-thumb{height:225px;border-radius:16px}.post-date{right:11px;top:11px;font-size:11px;padding:4px 9px}
.post-content{padding:13px 8px 8px}.post-title{font-size:17px}.post-excerpt{font-size:13px}.post-btn{font-size:13px}
.archive-pagination a,.archive-pagination span{min-width:42px;height:42px;font-size:13px}
.single-wrap{border-radius:24px;padding:34px;margin-bottom:34px}
.breadcrumb{font-size:13px;margin-bottom:20px}
.single-title{font-size:34px}.single-meta{font-size:13px;margin-bottom:22px}.single-thumb{height:480px;border-radius:20px;margin-bottom:30px}
.single-content,.page-content{font-size:15px;line-height:2.25}
.related-grid{gap:16px}.related-item{border-radius:17px}.related-thumb{height:185px}.related-content{padding:13px}.related-content h3{font-size:14px}.related-content p{font-size:12px}

@media (max-width:980px){
  .showcase-slider,.topic-mosaic{min-height:390px}
  .spotlight-stage{height:315px}.spotlight-image{height:260px}
  .magazine-thumb{height:205px}
  .wealth-cta{width:calc(100% - 40px)}
}

@media (max-width:767px){
  .container{width:min(100% - 24px,1200px)}
  .home-showcase{gap:12px;margin-bottom:26px}.showcase-slider{min-height:330px;padding:14px}.spotlight-stage{height:266px}.spotlight-image{height:216px}.spotlight-caption h2{font-size:14px}.slider-arrow{top:95px;width:34px;height:34px;font-size:29px}
  .topic-mosaic{min-height:330px;gap:11px}.topic-card{padding:13px}.topic-card-wide{padding:10px 17px}.topic-card-wide .topic-art svg{width:116px}.topic-copy strong{font-size:13px}.topic-copy small{font-size:10.5px}
  .magazine-intro{min-height:138px;padding:21px 19px 0}.magazine-title-wrap h1{font-size:19px}.magazine-title-wrap p{font-size:11px}.magazine-tabs{left:18px;right:18px;width:auto;height:46px;font-size:11px}
  .magazine-grid{margin-top:36px;gap:14px}.magazine-thumb{height:230px}.magazine-card h2{font-size:15px;min-height:auto}.magazine-card p{font-size:11.5px;min-height:auto}.author-mini strong{font-size:10px}.author-mini small,.post-stats{font-size:8.8px}
  .popular-section{padding:20px 15px}.popular-heading{font-size:17px}.popular-lead-media{height:235px}.popular-item{grid-template-columns:96px 1fr 22px;min-height:120px}.popular-item-thumb{height:90px}.popular-item-copy h3{font-size:12px}
  .wealth-cta{min-height:150px;padding:21px}.cta-copy h2{font-size:18px}.cta-copy p{font-size:11px}.cta-button{min-width:94px;height:38px;font-size:11px}
  .post-thumb{height:230px}.single-wrap{padding:20px 15px}.single-title{font-size:24px}.single-thumb{height:260px}.single-content,.page-content{font-size:13px}.related-thumb{height:210px}
}

/* === ECOCOACH 2.2: Customizer showcase + functional magazine tabs === */
.home-showcase.home-showcase-custom{
  display:block;
  margin-bottom:42px;
}
.home-showcase-custom .topic-mosaic{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr);
  grid-template-rows:1fr;
  gap:18px;
  min-height:460px;
  direction:rtl;
}
.topic-custom-slider{
  position:relative;
  min-width:0;
  min-height:460px;
  padding:12px 12px 10px;
  overflow:hidden;
  border-radius:22px;
  background:var(--mint);
  border:1px solid rgba(31,36,84,.05);
}
.topic-slider-stage{
  position:relative;
  height:408px;
  overflow:hidden;
  border-radius:17px;
  background:#e8e9ef;
}
.topic-slide{
  position:absolute;
  inset:0;
  display:block;
  opacity:0;
  visibility:hidden;
  transition:opacity .38s ease,visibility .38s ease;
}
.topic-slide.is-active{opacity:1;visibility:visible;z-index:2}
.topic-slide-image{
  width:100%;
  height:100%;
  object-fit:cover;
}
.topic-slider-arrow{
  position:absolute;
  z-index:6;
  top:auto;
  bottom:18px;
  transform:none;
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.66);
  color:var(--green);
  opacity:.78;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  font-size:34px;
  line-height:1;
  box-shadow:0 4px 14px rgba(22,28,66,.08);
  transition:opacity .2s ease,background .2s ease,transform .2s ease;
}
.topic-slider-arrow:hover,
.topic-slider-arrow:focus-visible{
  opacity:1;
  background:rgba(255,255,255,.9);
  transform:translateY(-2px);
}
.topic-slider-next{right:15px;left:auto}
.topic-slider-prev{left:15px;right:auto}
.topic-slider-dots{
  height:29px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:7px;
}
.topic-slider-dot{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#cfd2de;
}
.topic-slider-dot.is-active{background:var(--green)}
.topic-slider-empty{
  min-height:438px;
  display:grid;
  place-items:center;
  padding:32px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:2;
}
.home-showcase-custom .topic-card.topic-blog-card{
  min-width:0;
  min-height:460px;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  overflow:hidden;
  border-radius:22px;
  background:var(--mint);
  border:1px solid rgba(31,36,84,.05);
  transform:none;
}
.home-showcase-custom .topic-card.topic-blog-card:hover{
  transform:none;
  box-shadow:var(--shadow);
}
.topic-blog-card-image{
  flex:0 0 165px;
  height:165px;
  overflow:hidden;
  background:#e5e7f0;
}
.topic-blog-card-image img{width:100%;height:100%;object-fit:cover}
.topic-blog-card-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  flex:1;
  padding:25px 24px 22px;
}
.topic-blog-kicker{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 10px;
  margin-bottom:10px;
  border-radius:8px;
  background:var(--green-soft);
  color:var(--green);
  font-size:11px;
  font-weight:700;
}
.topic-blog-card h2{
  margin:0 0 10px;
  color:var(--green);
  font-size:23px;
  line-height:1.6;
}
.topic-blog-card p{
  margin:0;
  color:#626675;
  font-family:'IRANSans',sans-serif;
  font-size:12.5px;
  line-height:2.1;
}

.magazine-tabs button{
  height:100%;
  padding:0 10px;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
}
.magazine-tabs button.is-active{
  background:var(--green);
  color:#fff;
  border-radius:12px;
  font-weight:700;
}
.magazine-panel[hidden]{display:none!important}
.magazine-panel .empty-posts{grid-column:1/-1}

@media (max-width:980px){
  .home-showcase-custom .topic-mosaic{
    grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);
    min-height:410px;
  }
  .topic-custom-slider,.home-showcase-custom .topic-card.topic-blog-card{min-height:410px}
  .topic-slider-stage{height:358px}
  .topic-blog-card-content{padding:20px 18px}
  .topic-blog-card h2{font-size:20px}
  .topic-blog-card p{font-size:11.5px;line-height:2}
}

@media (max-width:767px){
  .home-showcase.home-showcase-custom{margin-bottom:26px}
  .home-showcase-custom .topic-mosaic{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    gap:12px;
    min-height:0;
  }
  .topic-custom-slider{min-height:320px;padding:9px}
  .topic-slider-stage{height:278px;border-radius:14px}
  .topic-slider-dots{height:24px}
  .topic-slider-arrow{width:35px;height:35px;font-size:29px}
  .topic-slider-arrow{bottom:12px}
  .topic-slider-next{right:10px;left:auto}.topic-slider-prev{left:10px;right:auto}
  .home-showcase-custom .topic-card.topic-blog-card{min-height:0}
  .topic-blog-card-image{flex-basis:190px;height:190px}
  .topic-blog-card-content{padding:20px 18px 19px}
  .topic-blog-card h2{font-size:20px}
  .topic-blog-card p{font-size:11.5px;line-height:2.05}
}

/* === ECOCOACH 2.4: hot article + real view counter === */
.topic-blog-card-image{display:block}
.topic-blog-card-image.topic-blog-card-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}
.topic-blog-card h2 a{color:inherit}
.topic-blog-card h2 a:hover{opacity:.82}
.popular-weekly-views{font-weight:700}

/* === ECOCOACH 2.5: editorial single article layout === */
.single-page-container{padding-bottom:24px}
.single-page-shell{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:24px;
  align-items:start;
  direction:ltr;
}
.single-page-shell>*{direction:rtl}
.single-article-card{
  grid-column:2;
  min-width:0;
  background:#fff;
  border:1px solid rgba(31,36,84,.055);
  border-radius:24px;
  padding:34px 38px 38px;
  box-shadow:0 8px 28px rgba(22,28,66,.055)
}
.single-sidebar{grid-column:1;min-width:0}
.single-sidebar-sticky{position:sticky;top:18px;display:grid;gap:13px}
.single-side-promo{
  position:relative;
  overflow:hidden;
  min-height:178px;
  border-radius:19px;
  padding:22px 20px;
  color:#fff;
  background:linear-gradient(135deg,#171c49 0%,#252b65 72%,#313976 100%);
  box-shadow:0 10px 24px rgba(25,29,75,.14)
}
.single-side-promo:before,.single-side-promo:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.11)}
.single-side-promo:before{width:150px;height:150px;left:-72px;top:-72px}
.single-side-promo:after{width:105px;height:105px;left:-34px;top:-34px}
.single-side-promo-kicker{display:block;font-size:11px;color:#d9dcef;margin-bottom:5px}
.single-side-promo h2{position:relative;z-index:1;font-size:20px;line-height:1.65;margin:0 0 7px;color:#fff}
.single-side-promo p{position:relative;z-index:1;font-size:11.5px;line-height:2;color:rgba(255,255,255,.8);margin:0 0 12px}
.single-side-promo a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;background:#fff;color:#1f2454;border-radius:9px;padding:7px 12px;font-size:11px;font-weight:700}
.single-toc,.single-side-recent{background:#fff;border:1px solid #e9eaf0;border-radius:17px;padding:13px;box-shadow:0 5px 18px rgba(22,28,66,.035)}
.single-side-title{display:flex;align-items:center;gap:7px;padding:1px 3px 10px;font-size:12px;color:#242733}
.single-side-title-icon{width:24px;height:24px;border-radius:7px;background:#eceef8;color:#1f2454;display:grid;place-items:center;font-size:13px;font-weight:700}
.single-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:6px;counter-reset:toc}
.single-toc li{counter-increment:toc}
.single-toc a{position:relative;display:flex;gap:8px;align-items:flex-start;padding:9px 10px;border-radius:9px;background:#f4f5f9;color:#4f5362;font-size:11px;line-height:1.8;transition:.2s}
.single-toc a:before{content:counter(toc);flex:0 0 21px;height:21px;border-radius:6px;background:#fff;color:#1f2454;display:grid;place-items:center;font-size:9px;font-weight:700;margin-top:1px}
.single-toc li.toc-h3 a{margin-right:14px;background:#f8f8fb;font-size:10.5px}
.single-toc a:hover,.single-toc a.is-active{background:#eceef8;color:#1f2454}
.single-toc-empty{margin:0;padding:10px;border-radius:9px;background:#f6f7fa;color:#8b8f9a;font-size:10.5px;line-height:1.9}
.single-side-recent-list{display:grid;gap:6px}
.single-side-recent-item{display:grid;grid-template-columns:1fr 20px;gap:7px;align-items:center;min-height:46px;padding:8px 10px;border-radius:9px;background:#f4f5f9;color:#383c49;font-size:10.5px;line-height:1.7}
.single-side-recent-item b{display:grid;place-items:center;color:#1f2454;font-size:14px}

.single-article-head{position:relative;margin-bottom:24px}
.single-article-head .breadcrumb{margin-bottom:17px;color:#9699a5;font-size:11px;gap:6px;line-height:1.7}
.single-article-head .breadcrumb .current{max-width:460px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.single-category-chip{display:inline-flex;align-items:center;min-height:29px;margin-bottom:9px;padding:4px 10px;border-radius:8px;background:#eceef8;color:#1f2454;font-size:10.5px;font-weight:700}
.single-title{font-size:32px;line-height:1.75;letter-spacing:-.25px;margin:0 0 18px;color:#20232d;font-weight:700}
.single-top-meta{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:15px;border-top:1px solid #eff0f4}
.single-author-mini{display:flex;align-items:center;gap:9px;min-width:150px}
.single-author-mini img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #f0f1f6}
.single-author-mini span{display:grid;line-height:1.45}.single-author-mini small{font-size:9px;color:#9a9da8}.single-author-mini strong{font-size:11px;color:#353844}
.single-meta-items{display:flex;align-items:center;justify-content:flex-start;gap:20px;color:#7f838f}
.single-meta-items>span{display:grid;gap:1px;font-size:10px;line-height:1.6;white-space:nowrap}
.single-meta-items b{font-size:9px;color:#a0a3ad;font-weight:400}
.single-thumb{width:100%;height:auto;aspect-ratio:16/8.6;border-radius:19px;overflow:hidden;margin:0 0 20px;background:#eceef5}
.single-thumb img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.single-summary{margin:0 0 25px;padding:17px 19px;border:1px solid #e3e5ef;border-right:4px solid #1f2454;border-radius:13px;background:#f7f8fc}
.single-summary strong{display:block;margin-bottom:4px;color:#1f2454;font-size:13px}
.single-summary p{margin:0;color:#555a68;font-size:13px;line-height:2.05}

/* Readable article typography */
.single-content{
  font-family:'IRANSans','Peyda',Tahoma,sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:2.35;
  color:#30333c;
  word-break:normal;
  overflow-wrap:anywhere
}
.single-content>p,.single-content .wp-block-paragraph{margin:0 0 22px}
.single-content strong,.single-content b{color:#22252e;font-weight:700}
.single-content h2,.single-content h3,.single-content h4,.single-content h5,.single-content h6{
  font-family:'Peyda','IRANSans',sans-serif;
  color:#1f2454;
  scroll-margin-top:24px;
  font-weight:700
}
.single-content h2{font-size:24px;line-height:1.8;margin:38px 0 13px;padding:10px 13px;border-radius:10px;background:linear-gradient(90deg,rgba(236,238,248,.18),#eceef8);border-right:3px solid #1f2454}
.single-content h3{font-size:20px;line-height:1.85;margin:31px 0 10px;padding-right:12px;position:relative}
.single-content h3:before{content:"";position:absolute;right:0;top:.72em;width:5px;height:5px;border-radius:50%;background:#1f2454}
.single-content h4{font-size:18px;line-height:1.9;margin:26px 0 9px}
.single-content h5,.single-content h6{font-size:16px;line-height:1.9;margin:22px 0 8px}
.single-content a{color:#1f2454;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.single-content ul,.single-content ol{margin:8px 0 25px;padding:0 25px 0 0}
.single-content li{margin:7px 0;padding-right:3px}
.single-content li::marker{color:#1f2454;font-weight:700}
.single-content blockquote,.single-content .wp-block-quote{
  position:relative;
  margin:28px 0;
  padding:18px 21px 18px 18px;
  border:0;
  border-right:4px solid #1f2454;
  border-radius:12px;
  background:#f7f8fc;
  color:#454956
}
.single-content blockquote p:last-child{margin-bottom:0}
.single-content figure{max-width:100%;margin:28px auto}
.single-content img{height:auto;max-width:100%;margin:28px auto;border-radius:15px;box-shadow:0 5px 18px rgba(22,28,66,.055)}
.single-content figure img{margin:0 auto}
.single-content figcaption,.single-content .wp-element-caption{margin:8px 0 0;text-align:center;color:#8b8f9a;font-size:11px;line-height:1.9}
.single-content .aligncenter{margin-left:auto;margin-right:auto}.single-content .alignleft{float:left;margin:10px 20px 20px 0}.single-content .alignright{float:right;margin:10px 0 20px 20px}
.single-content hr,.single-content .wp-block-separator{border:0;border-top:1px solid #e6e8ee;margin:34px 0}
.single-content .table-scroll{max-width:100%;overflow-x:auto;margin:28px 0;border-radius:12px;border:1px solid #e5e7ee}
.single-content .table-scroll table{margin:0;border:0;border-radius:0}
.single-content table{width:100%;border-collapse:collapse;margin:28px 0;font-size:13px;line-height:1.9;background:#fff;border:1px solid #e5e7ee;border-radius:12px;overflow:hidden}
.single-content th{background:#eceef8;color:#1f2454;padding:12px 14px;border:1px solid #dfe2ec;font-weight:700;text-align:right}
.single-content td{padding:11px 14px;border:1px solid #e8e9ef;color:#4d515d;vertical-align:top}
.single-content tbody tr:nth-child(even) td{background:#fafafd}
.single-content pre,.single-content .wp-block-code{direction:ltr;text-align:left;white-space:pre;overflow:auto;padding:17px;border-radius:12px;background:#20232d;color:#f2f3f7;font-family:monospace;font-size:13px;line-height:1.75}
.single-content :not(pre)>code{direction:ltr;display:inline-block;padding:1px 6px;border-radius:5px;background:#eceef8;color:#1f2454;font-family:monospace;font-size:.9em}
.single-content iframe,.single-content video{max-width:100%;border-radius:14px}
.single-content .wp-block-embed,.single-content .wp-block-video{margin:28px 0}
.single-content details{margin:9px 0;border:1px solid #e4e6ed;border-radius:10px;background:#f7f8fc;overflow:hidden}
.single-content details summary{cursor:pointer;list-style:none;padding:12px 15px;color:#333744;font-weight:700;font-family:'Peyda',sans-serif}
.single-content details summary::-webkit-details-marker{display:none}
.single-content details summary:after{content:"+";float:left;width:20px;height:20px;border-radius:6px;background:#fff;color:#1f2454;display:grid;place-items:center;font-size:14px}
.single-content details[open] summary:after{content:"−"}
.single-content details>*:not(summary){margin-right:15px;margin-left:15px}
.single-content .wp-block-button__link{background:#1f2454;color:#fff;text-decoration:none;border-radius:9px;padding:8px 16px}
.single-content .wp-block-pullquote{border-top:3px solid #1f2454;border-bottom:3px solid #1f2454;padding:20px;margin:30px 0}
.single-content .wp-block-pullquote blockquote{background:transparent;border:0;margin:0;padding:0;text-align:center}

.single-tags-wrap{margin-top:32px;padding-top:19px;border-top:1px solid #eceef2}
.single-tags-wrap>strong{display:block;margin-bottom:9px;font-size:12px;color:#3b3f4b}
.single-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0}
.single-tags a{background:#f1f2f7;color:#1f2454;border:1px solid #e6e8f0;border-radius:8px;padding:5px 10px;font-size:10.5px}
.share-box{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px;padding:15px 17px;border:1px solid #e6e8ef;border-radius:13px;background:#fafafd}
.share-copy{display:grid;gap:2px}.share-copy strong{font-size:12px;color:#292d38}.share-copy span{font-size:10px;color:#90939e}
.share-links{display:flex;gap:6px;flex-wrap:wrap}.share-links a,.copy-post-link{border:0;background:#eceef8;color:#1f2454;border-radius:8px;padding:6px 10px;font-size:10px;font-weight:700}.copy-post-link.is-copied{background:#1f2454;color:#fff}
.author-box{margin-top:27px;padding:20px 22px;border-radius:15px;background:linear-gradient(135deg,#171c49,#252b65);display:flex;align-items:center;gap:14px;color:#fff}
.author-avatar img{border-radius:50%;width:62px;height:62px;object-fit:cover;border:3px solid rgba(255,255,255,.16)}
.author-content small{display:block;font-size:9px;color:rgba(255,255,255,.6);margin-bottom:1px}.author-content h3{font-size:14px;color:#fff;margin:0 0 3px}.author-content p{font-size:11px;line-height:2;color:rgba(255,255,255,.8);margin:0}
.related-posts{margin-top:37px;padding-top:26px;border-top:1px solid #eceef2}
.single-section-head{justify-content:space-between;align-items:end;margin-bottom:14px}.single-section-head>div>span{font-size:9.5px;color:#9295a1}.single-section-head h2{font-size:18px;color:#252934;margin:1px 0 0}.single-section-head>a{font-size:10px;color:#1f2454;font-weight:700}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.related-item{background:#fff;border:1px solid #e8e9ef;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(22,28,66,.035)}
.related-thumb{display:block;height:148px;background:#eceef5;overflow:hidden}.related-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.related-item:hover .related-thumb img{transform:scale(1.025)}
.related-content{padding:10px 11px 11px}.related-category{display:inline-flex;margin-bottom:5px;padding:2px 6px;border-radius:5px;background:#eceef8;color:#1f2454;font-size:8.5px;font-weight:700}.related-content h3{font-size:12px;line-height:1.9;min-height:45px;margin:0 0 7px;color:#282c37}.related-meta{display:flex;justify-content:space-between;gap:7px;padding-top:7px;border-top:1px solid #eff0f4;color:#9699a4;font-size:8.5px}

/* Comments */
.single-comments-section{margin-top:38px;padding-top:27px;border-top:1px solid #eceef2}
.comments-area{margin:0}.comments-heading{margin-bottom:13px}.comments-heading span{font-size:9.5px;color:#9295a1}.comments-heading h2{font-size:18px;color:#252934;margin:1px 0 0}
.comment-list{list-style:none;margin:0 0 26px;padding:0}.comment-list .comment{margin:0 0 10px}.comment-body{position:relative;padding:15px 16px;border:1px solid #e8e9ef;border-radius:12px;background:#fafafd}.comment-author{display:flex;align-items:center;gap:8px}.comment-author .avatar{width:38px;height:38px;border-radius:50%}.comment-author .fn{font-size:11px;font-weight:700}.comment-author .says{display:none}.comment-metadata{margin:3px 46px 8px 0;font-size:8.5px;color:#9b9ea8}.comment-content{font-size:12px;line-height:2.05;color:#555966}.comment-content p{margin:0 0 7px}.reply a{display:inline-flex;padding:3px 8px;border-radius:6px;background:#eceef8;color:#1f2454;font-size:9px}.comment-list .children{list-style:none;margin:9px 25px 0 0;padding:0}.comment-note{font-size:10px;color:#9295a1;margin:0 0 12px}
.comment-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.comment-form p{margin:0}.comment-form-comment,.comment-form-cookies-consent,.form-submit{grid-column:1/-1}.comment-form label{display:block;margin:0 0 5px;color:#505462;font-size:10px;font-weight:700}.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid #dfe2e9;background:#fff;border-radius:9px;padding:9px 11px;outline:none;color:#292d38;font-size:11px;transition:.2s}.comment-form textarea{resize:vertical;min-height:120px}.comment-form input:focus,.comment-form textarea:focus{border-color:#1f2454;box-shadow:0 0 0 3px rgba(31,36,84,.07)}.comment-form-cookies-consent{display:flex;gap:7px;align-items:flex-start;color:#777b87;font-size:9px}.comment-form-cookies-consent label{font-weight:400}.submit-comment{border:0;background:#1f2454;color:#fff;border-radius:9px;padding:9px 17px;font-size:11px;font-weight:700}

@media (max-width:1100px){
  .single-page-shell{grid-template-columns:250px minmax(0,1fr);gap:18px}
  .single-article-card{padding:28px 28px 32px}
  .single-title{font-size:28px}
  .single-meta-items{gap:12px}
  .single-content{font-size:15px}
}
@media (max-width:900px){
  .single-page-shell{display:flex;flex-direction:column;gap:15px}
  .single-article-card,.single-sidebar{width:100%;grid-column:auto}
  .single-article-card{order:1}
  .single-sidebar{order:2}
  .single-sidebar-sticky{position:static;grid-template-columns:1fr 1fr}
  .single-side-promo{display:none}
  .single-toc{grid-column:1/-1}
  .single-side-recent{grid-column:1/-1}
  .single-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .single-top-meta{align-items:flex-start}
  .single-meta-items{flex-wrap:wrap}
}
@media (max-width:767px){
  .single-page-container{width:min(100% - 18px,1200px)}
  .single-article-card{border-radius:17px;padding:20px 15px 24px}
  .single-article-head .breadcrumb{font-size:9.5px;margin-bottom:12px}.single-article-head .breadcrumb .current{max-width:210px}
  .single-category-chip{font-size:9px;min-height:26px}
  .single-title{font-size:23px;line-height:1.75;margin-bottom:14px}
  .single-top-meta{display:grid;gap:12px}.single-author-mini{min-width:0}.single-meta-items{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:7px}.single-meta-items>span{padding:7px;border-radius:8px;background:#f7f8fb;text-align:center;font-size:8.5px}.single-meta-items b{font-size:7.5px}
  .single-thumb{border-radius:13px;aspect-ratio:16/10;margin-bottom:15px}
  .single-summary{padding:13px 14px;margin-bottom:20px}.single-summary p{font-size:12px}
  .single-content{font-size:14px;line-height:2.25}.single-content>p,.single-content .wp-block-paragraph{margin-bottom:18px}.single-content h2{font-size:19px;margin-top:30px;padding:8px 10px}.single-content h3{font-size:17px;margin-top:25px}.single-content h4{font-size:16px}.single-content table{font-size:11px}.single-content th,.single-content td{padding:9px 10px;min-width:110px}.single-content img{margin:21px auto;border-radius:11px}
  .share-box{display:grid;gap:11px;padding:13px}.share-links{justify-content:flex-start}
  .author-box{align-items:flex-start;padding:16px}.author-avatar img{width:52px;height:52px}.author-content p{font-size:10px}
  .related-grid{grid-template-columns:1fr}.related-thumb{height:205px}.related-content h3{min-height:auto;font-size:13px}
  .single-sidebar-sticky{display:block}.single-toc,.single-side-recent{margin-bottom:10px}.single-toc ol{grid-template-columns:1fr}
  .comment-form{grid-template-columns:1fr}.comment-form-author,.comment-form-email{grid-column:1/-1}.comment-list .children{margin-right:12px}
}

/* === ECOCOACH 2.6: single sidebar content === */
@media (min-width:901px){
  .single-sidebar-sticky{
    max-height:calc(100vh - 36px);
    overflow-y:auto;
    overflow-x:hidden;
    padding-left:3px;
    scrollbar-width:thin;
    scrollbar-color:#d8dbe7 transparent;
  }
  .single-sidebar-sticky::-webkit-scrollbar{width:5px}
  .single-sidebar-sticky::-webkit-scrollbar-thumb{background:#d8dbe7;border-radius:20px}
}
.single-side-popular,.single-side-services{
  background:#fff;
  border:1px solid #e9eaf0;
  border-radius:17px;
  padding:13px;
  box-shadow:0 5px 18px rgba(22,28,66,.035)
}
.single-side-popular-list{display:grid;gap:6px}
.single-side-popular-item{
  display:grid;
  grid-template-columns:27px minmax(0,1fr);
  gap:8px;
  align-items:center;
  min-height:52px;
  padding:7px 8px;
  border-radius:10px;
  background:#f6f7fa;
  color:#383c49;
  transition:.2s ease;
}
.single-side-popular-item:hover{background:#eceef8;transform:translateY(-1px)}
.single-side-rank{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#fff;
  color:#1f2454;
  font-size:10px;
  font-weight:700;
  box-shadow:0 1px 4px rgba(31,36,84,.05)
}
.single-side-popular-copy{display:grid;gap:2px;min-width:0}
.single-side-popular-copy strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#343844;
  font-size:10.5px;
  line-height:1.8;
  font-weight:700;
}
.single-side-popular-copy small{font-size:8.5px;color:#969aa5;line-height:1.5}
.single-sidebar-banners{display:grid;gap:10px}
.single-sidebar-banner{
  display:block;
  overflow:hidden;
  border-radius:16px;
  background:#eef0f5;
  border:1px solid #e8e9ef;
  box-shadow:0 5px 18px rgba(22,28,66,.035)
}
.single-sidebar-banner-image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/7.2;
  object-fit:cover;
  margin:0;
  border-radius:0;
  transition:transform .3s ease;
}
a.single-sidebar-banner:hover .single-sidebar-banner-image{transform:scale(1.02)}
.single-side-services-list{display:grid;gap:6px}
.single-side-service-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 20px;
  gap:7px;
  align-items:center;
  min-height:43px;
  padding:8px 10px;
  border-radius:9px;
  background:#f4f5f9;
  color:#383c49;
  font-size:10.5px;
  line-height:1.7;
  transition:.2s ease;
}
a.single-side-service-item:hover{background:#eceef8;color:#1f2454}
.single-side-service-item b{display:grid;place-items:center;color:#1f2454;font-size:14px}
.single-side-service-item.is-static{grid-template-columns:1fr;color:#5d616e}
.single-author-mini{min-width:110px}
.single-author-mini span{padding-right:0}

@media (max-width:900px){
  .single-sidebar-sticky{max-height:none;overflow:visible;padding-left:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .single-side-popular,.single-side-recent,.single-sidebar-banners,.single-side-services{grid-column:1/-1}
  .single-sidebar-banners{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .single-sidebar-sticky{display:block}
  .single-side-popular,.single-side-recent,.single-sidebar-banners,.single-side-services{margin-bottom:10px}
  .single-sidebar-banners{display:grid;grid-template-columns:1fr;gap:10px}
  .single-side-popular-item{min-height:50px}
  .single-sidebar-banner-image{aspect-ratio:16/7.5}
}

/* =========================================================
   ECOCOACH 2.7 — sidebar order, footer controls, archive load-more
========================================================= */

/* Single sidebar: banners first, then compact service shortcuts. */
.single-sidebar-sticky{align-content:start}
.single-sidebar-banners{order:1}
.single-side-services{order:2}
.single-side-popular{order:3}
.single-side-recent:not(.single-side-popular){order:4}
.single-side-services{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.single-side-services-list{display:grid;gap:9px}
.single-side-service-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:58px;
  padding:11px 15px 11px 12px;
  border-radius:20px;
  background:#eceef5;
  border:1px solid rgba(31,36,84,.025);
  color:#292d38;
  font-size:13px;
  font-weight:700;
  line-height:1.7;
  transition:.2s ease;
}
a.single-side-service-item:hover{background:#e5e7f1;color:#1f2454;transform:translateY(-1px)}
.single-side-service-item b{
  flex:0 0 27px;
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:1.5px solid #1f2454;
  border-radius:7px;
  color:#1f2454;
  background:rgba(255,255,255,.35);
  font-size:15px;
  line-height:1;
}
.single-side-service-item.is-static{color:#292d38;grid-template-columns:none}

/* Sidebar banners should feel like true banner placements. */
.single-sidebar-banner{border-radius:16px;background:#fff}
.single-sidebar-banner-image{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  background:#fff;
}

/* Featured image on single posts: never crop the uploaded image. */
.single-thumb{
  height:auto !important;
  aspect-ratio:auto !important;
  overflow:visible;
  padding:8px;
  background:#f6f7fa;
  border:1px solid #e8e9ef;
  border-radius:19px;
}
.single-thumb img{
  display:block;
  width:100%;
  height:auto !important;
  max-height:none;
  object-fit:contain !important;
  border-radius:13px;
  margin:0;
}

/* Modern archive/category/tag/search cards. */
.archive-modern-page{padding-bottom:34px}
.archive-modern-head{
  margin:4px 0 22px;
  padding:26px 30px;
  background:#fff;
  border:1px solid #e9eaf0;
  border-radius:20px;
  box-shadow:0 6px 20px rgba(22,28,66,.045);
}
.archive-modern-head>span{display:inline-block;color:#1f2454;font-size:10px;font-weight:700;margin-bottom:3px}
.archive-modern-head h1{margin:0;color:#252934;font-size:27px;line-height:1.65}
.archive-modern-head p,.archive-modern-description{margin:5px 0 0;color:#777b88;font-size:11.5px;line-height:2}
.archive-modern-description p{margin:0}
.archive-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.archive-article-card{
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8e9ef;
  border-radius:17px;
  box-shadow:0 5px 18px rgba(22,28,66,.035);
  transition:transform .22s ease,box-shadow .22s ease;
}
.archive-article-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(22,28,66,.09)}
.archive-article-thumb{position:relative;display:block;height:205px;margin:8px 8px 0;overflow:hidden;border-radius:13px;background:#eceef5}
.archive-article-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.archive-article-card:hover .archive-article-thumb img{transform:scale(1.025)}
.archive-card-category{position:absolute;top:9px;right:9px;padding:3px 8px;border-radius:6px;background:rgba(255,255,255,.94);color:#1f2454;font-size:9px;font-weight:700}
.archive-article-body{padding:11px 14px 13px}
.archive-article-body h2{margin:0 0 6px;font-size:14px;line-height:1.9;min-height:54px;color:#2b2f3a}
.archive-article-body h2 a:hover{color:#1f2454}
.archive-article-body p{margin:0 0 11px;min-height:62px;color:#777b88;font-size:10.5px;line-height:2}
.archive-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #eff0f4;color:#9296a2;font-size:9px}
.archive-load-more-wrap{display:flex;justify-content:center;margin:28px 0 8px}
.archive-load-more{
  min-width:190px;
  min-height:44px;
  border:1px solid #dfe2eb;
  border-radius:12px;
  padding:8px 16px;
  background:#eceef8;
  color:#1f2454;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:11px;
  font-weight:700;
  transition:.2s ease;
}
.archive-load-more:hover{background:#1f2454;color:#fff;border-color:#1f2454}
.archive-load-more b{font-size:15px;line-height:1}
.archive-load-more.is-loading{opacity:.65;pointer-events:none}
.archive-load-more[hidden]{display:none}
.archive-empty-state{margin:20px 0;padding:40px 20px;background:#fff;border-radius:18px;text-align:center}
.archive-load-error{margin:12px auto 0;color:#a23b3b;font-size:10px;text-align:center}

@media (max-width:1050px){
  .archive-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .single-sidebar-banners{order:1!important;grid-template-columns:1fr 1fr}
  .single-side-services{order:2!important}
  .single-side-popular{order:3!important}
  .single-side-recent:not(.single-side-popular){order:4!important}
}
@media (max-width:767px){
  .single-side-service-item{min-height:56px;border-radius:19px;font-size:12.5px}
  .single-thumb{padding:5px;border-radius:14px}
  .single-thumb img{border-radius:10px}
  .archive-modern-head{padding:20px 17px;border-radius:16px}.archive-modern-head h1{font-size:22px}.archive-modern-head p,.archive-modern-description{font-size:10.5px}
  .archive-article-grid{grid-template-columns:1fr;gap:11px}
  .archive-article-thumb{height:auto;aspect-ratio:16/9}
  .archive-article-body h2{min-height:auto;font-size:13.5px}.archive-article-body p{min-height:auto}
}

/* =========================================================
   ECOCOACH 2.8 — footer, header search, single sidebar fixes
========================================================= */

/* The single sidebar stays sticky, but the sidebar itself never gets an inner scrollbar. */
@media (min-width:901px){
  .single-sidebar-sticky{
    max-height:none !important;
    overflow:visible !important;
    padding-left:0 !important;
    scrollbar-width:auto;
  }
}

/* Keep sidebar ad slots at a predictable banner height. */
.single-sidebar-banners{gap:10px}
.single-sidebar-banner{
  width:100%;
  height:138px;
  min-height:138px;
  max-height:138px;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.single-sidebar-banner-image{
  width:100% !important;
  height:100% !important;
  max-height:138px !important;
  object-fit:cover !important;
  object-position:center;
  margin:0 !important;
}

@media (max-width:767px){

  .single-sidebar-banner,
  .single-sidebar-banner-image{
    height:150px !important;
    min-height:150px;
    max-height:150px !important;
  }
}

/* =========================================================
   ECOCOACH 2.9 — cleaner popular list + configurable ads
========================================================= */

/* Daily popular posts: no rank number and no view count. */
.single-side-popular-list{gap:8px}
.single-side-popular-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:54px;
  padding:10px 13px;
  border:1px solid #e7e9f0;
  border-radius:14px;
  background:#f7f8fb;
  color:#303440;
  box-shadow:none;
}
.single-side-popular-item:hover{
  background:#eef0f7;
  border-color:#dfe2ec;
  color:#1f2454;
  transform:translateY(-1px);
}
.single-side-popular-item>strong{
  flex:1;
  min-width:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:11.5px;
  line-height:1.9;
  font-weight:700;
}
.single-side-popular-arrow{
  flex:0 0 26px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1.5px solid #1f2454;
  border-radius:8px;
  color:#1f2454;
  background:#fff;
  font-size:14px;
  line-height:1;
}

/* Only the dedicated advertising card is sticky; the whole sidebar is not. */
@media (min-width:901px){
  .single-sidebar-sticky{position:static!important;top:auto!important}
  .eco-ad-slot--sticky{position:sticky;top:18px;z-index:4}
}

/* Shared advertisement placements. */
.eco-ad-slot{
  width:100%;
  margin:18px 0;
  direction:rtl;
}
.single-sidebar .eco-ad-slot{margin:0}
.eco-ad-slot--banner{
  overflow:hidden;
  border:1px solid #e7e9f0;
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 24px rgba(22,28,66,.05);
}
.eco-ad-banner-link{display:block;width:100%;line-height:0}
.eco-ad-banner-image{
  display:block;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
}
.eco-ad-slot--sticky.eco-ad-slot--banner .eco-ad-banner-image{
  max-height:210px!important;
  object-fit:cover!important;
}
.eco-ad-text-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 20px;
  border:1px solid #e5e7ef;
  border-radius:18px;
  background:linear-gradient(135deg,#f5f6fa 0%,#eceef5 100%);
  box-shadow:0 7px 24px rgba(22,28,66,.045);
}
.eco-ad-text-copy{flex:1;min-width:0}
.eco-ad-text-copy strong{
  display:block;
  margin:0 0 5px;
  color:#252936;
  font-size:15px;
  line-height:1.7;
}
.eco-ad-text-copy p{
  margin:0!important;
  color:#6b6f7b!important;
  font-size:11.5px!important;
  line-height:2!important;
}
.eco-ad-cta{
  flex:0 0 auto;
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:8px 13px;
  border-radius:12px;
  background:#1f2454;
  color:#fff!important;
  font-size:11px;
  font-weight:700;
  text-decoration:none!important;
  transition:.2s ease;
}
a.eco-ad-cta:hover{transform:translateY(-1px);opacity:.92}
.eco-ad-text-icon,
.eco-ad-text-icon-fallback{
  flex:0 0 24px;
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center;
  object-fit:contain!important;
  margin:0!important;
  padding:4px;
  border-radius:7px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:13px;
}
.eco-ad-inline{margin:26px 0}
.single-top-ad{margin-top:0;margin-bottom:18px}
.single-bottom-ad{margin-top:26px;margin-bottom:20px}
.single-sticky-ad{order:3}
.single-side-popular{order:4!important}
.single-side-recent:not(.single-side-popular){order:5!important}

/* A sidebar text ad stays compact enough for a sticky placement. */
.single-sticky-ad .eco-ad-text-card{
  display:grid;
  gap:12px;
  padding:15px;
}
.single-sticky-ad .eco-ad-cta{width:100%}

@media (max-width:900px){
  .eco-ad-slot--sticky{position:static}
  .single-sticky-ad{grid-column:1/-1;order:3!important}
  .single-side-popular{order:4!important}
  .single-side-recent:not(.single-side-popular){order:5!important}
}
@media (max-width:767px){
  .eco-ad-slot{margin:14px 0}
  .single-sidebar .eco-ad-slot{margin-bottom:10px}
  .eco-ad-text-card{display:grid;gap:12px;padding:14px;border-radius:15px}
  .eco-ad-text-copy strong{font-size:13px}
  .eco-ad-text-copy p{font-size:10.5px!important;line-height:1.9!important}
  .eco-ad-cta{width:100%;min-height:42px}
  .eco-ad-slot--banner{border-radius:14px}
  .eco-ad-slot--sticky.eco-ad-slot--banner .eco-ad-banner-image{max-height:none!important;object-fit:contain!important}
}

/* =========================================================
   ECOCOACH 2.10 — mobile homepage + single sidebar fixes
========================================================= */
@media (max-width:767px){
  /* Homepage slider: show the whole uploaded image instead of cropping it. */
  .topic-slider-stage{
    height:auto !important;
    aspect-ratio:16/9;
    background:#f4f5f8;
  }
  .topic-slide-image{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#f4f5f8;
  }
  .topic-custom-slider{
    min-height:0 !important;
  }

  /* Keep the magazine text and tabs in normal document flow on small screens. */
  .magazine-intro{
    min-height:0 !important;
    height:auto !important;
    padding:20px 17px !important;
    display:block !important;
  }
  .magazine-title-wrap{
    width:100%;
    align-items:flex-start;
  }
  .magazine-title-wrap>div{
    min-width:0;
    width:100%;
  }
  .magazine-title-wrap p{
    display:block;
    margin:0;
  }
  .magazine-tabs{
    position:static !important;
    inset:auto !important;
    width:100% !important;
    height:46px;
    margin-top:15px;
  }
  .magazine-grid{
    margin-top:14px !important;
  }

  /* Single post sidebar banners: always one full-width banner per row. */
  .single-sidebar-banners{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
    width:100%;
  }
  .single-sidebar-banner{
    grid-column:1 / -1 !important;
    width:100% !important;
  }
}

/* =========================================================
   ECOCOACH 2.11 — responsive homepage wealth CTA
========================================================= */
@media (max-width:767px){
  .wealth-cta{
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 auto 30px !important;
    padding:20px 17px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-items:center !important;
    justify-items:stretch !important;
    gap:14px !important;
    border-radius:19px !important;
    overflow:hidden !important;
    direction:rtl !important;
  }
  .wealth-cta .cta-art{
    display:none !important;
  }
  .wealth-cta .cta-copy{
    width:100% !important;
    min-width:0 !important;
    text-align:center !important;
    direction:rtl !important;
  }
  .wealth-cta .cta-copy h2{
    margin:0 0 5px !important;
    font-size:clamp(17px,4.8vw,21px) !important;
    line-height:1.65 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .wealth-cta .cta-copy p{
    margin:0 !important;
    font-size:12px !important;
    line-height:1.9 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .wealth-cta .cta-button{
    box-sizing:border-box !important;
    width:min(100%,220px) !important;
    min-width:0 !important;
    height:44px !important;
    margin:0 auto !important;
    align-self:auto !important;
    justify-self:center !important;
    padding:0 18px !important;
    font-size:12px !important;
    border-radius:11px !important;
  }
}

@media (max-width:420px){
  .wealth-cta{
    padding:18px 14px !important;
    gap:12px !important;
    border-radius:17px !important;
  }
  .wealth-cta .cta-copy h2{
    font-size:17px !important;
  }
  .wealth-cta .cta-copy p{
    font-size:11px !important;
  }
  .wealth-cta .cta-button{
    width:100% !important;
    max-width:none !important;
  }
}

/* =========================================================
   ECOCOACH 3.0 — header & footer matched to ecocoach.net
========================================================= */

:root{
  --eco-navy:#1b1f4e;
  --eco-footer:#11153a;
  --eco-nav-text:#4c5170;
  --eco-outline:#d8dbf0;
}

body.eco-menu-open{overflow:hidden}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* ---------- Header ---------- */
.eco-header{
  position:relative;
  z-index:40;
  background:#fff;
  margin-bottom:24px;
}
.eco-header__inner{
  display:flex;
  align-items:center;
  gap:28px;
  min-height:88px;
}
/* RTL order: buttons (right) → menu → logo (left) */
.eco-header__actions{order:1;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.eco-header__nav{order:2;flex:1 1 auto;min-width:0;display:flex;justify-content:center}
.eco-header__brand{order:3;flex:0 0 auto;display:flex;align-items:center}
.eco-header__toggle{order:0}

.eco-header__logo{
  width:auto;
  height:auto;
  max-width:150px;
  max-height:48px;
  object-fit:contain;
}

.eco-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 24px;
  border-radius:11px;
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
.eco-btn--solid{background:var(--eco-navy);color:#fff;border:1px solid var(--eco-navy);min-width:95px}
.eco-btn--solid:hover{background:#262b66;border-color:#262b66}
.eco-btn--outline{background:#fff;color:var(--eco-navy);border:1px solid var(--eco-outline);min-width:84px}
.eco-btn--outline:hover{border-color:var(--eco-navy)}
.eco-btn:focus-visible,
.eco-nav a:focus-visible,
.eco-submenu-toggle:focus-visible,
.eco-header__toggle:focus-visible,
.eco-drawer__close:focus-visible,
.eco-search-toggle:focus-visible,
.eco-footer a:focus-visible{
  outline:2px solid #6c74d9;
  outline-offset:2px;
}

/* Menu (shared) */
.eco-nav,
.eco-nav .sub-menu{list-style:none;margin:0;padding:0}
.eco-nav li{margin:0;padding:0;position:relative}

/* Desktop menu */
.eco-nav--desktop{display:flex;align-items:center;gap:30px}
.eco-nav--desktop>li{display:flex;align-items:center;gap:2px}
.eco-nav--desktop>li>a{
  display:block;
  padding:10px 0;
  font-size:13.5px;
  font-weight:700;
  color:var(--eco-nav-text);
  white-space:nowrap;
  transition:color .2s ease;
}
.eco-nav--desktop>li:hover>a,
.eco-nav--desktop>li.current-menu-item>a,
.eco-nav--desktop>li.current-menu-ancestor>a{color:var(--eco-navy)}

.eco-submenu-toggle{
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  padding:0;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--eco-nav-text);
}
.eco-submenu-toggle svg{
  width:15px;height:15px;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .2s ease;
}

.eco-nav--desktop .sub-menu{
  position:absolute;
  top:100%;
  right:-14px;
  min-width:210px;
  padding:8px;
  background:#fff;
  border:1px solid #eceef6;
  border-radius:14px;
  box-shadow:0 16px 40px rgba(22,28,66,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  z-index:50;
}
.eco-nav--desktop .sub-menu .sub-menu{top:-9px;right:100%;margin-right:6px}
.eco-nav--desktop li:hover>.sub-menu,
.eco-nav--desktop li:focus-within>.sub-menu,
.eco-nav--desktop li.is-open>.sub-menu{opacity:1;visibility:visible;transform:none}
.eco-nav--desktop li:hover>.eco-submenu-toggle svg,
.eco-nav--desktop li.is-open>.eco-submenu-toggle svg{transform:rotate(180deg)}
.eco-nav--desktop .sub-menu li{display:flex;align-items:center;justify-content:space-between}
.eco-nav--desktop .sub-menu a{
  display:block;
  flex:1;
  padding:8px 12px;
  line-height:1.7;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
  color:var(--eco-nav-text);
  white-space:nowrap;
}
.eco-nav--desktop .sub-menu a:hover{background:#f4f5fb;color:var(--eco-navy)}
.eco-nav--desktop .sub-menu .eco-submenu-toggle svg{transform:rotate(90deg)}

/* Hamburger (mobile only) */
.eco-header__toggle{
  display:none;
  width:44px;height:44px;
  padding:0;
  border:1px solid var(--eco-outline);
  border-radius:11px;
  background:#fff;
  align-content:center;
  justify-items:center;
  gap:5px;
}
.eco-header__toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--eco-navy)}

/* Optional search */
.eco-search-toggle{
  display:grid;place-items:center;
  width:44px;height:44px;
  padding:0;
  border:1px solid var(--eco-outline);
  border-radius:11px;
  background:#fff;
  color:var(--eco-navy);
}
.eco-search-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.eco-search-panel{
  position:absolute;
  top:calc(100% - 8px);
  left:50%;
  width:min(680px,calc(100% - 32px));
  padding:10px;
  background:#fff;
  border:1px solid #e4e6ee;
  border-radius:16px;
  box-shadow:0 18px 45px rgba(22,28,66,.16);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(-50%,-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  z-index:45;
}
.eco-search-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.eco-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.eco-search-input,
.eco-drawer__search input{
  width:100%;min-width:0;height:46px;
  padding:0 14px;
  border:1px solid #dfe2eb;border-radius:11px;
  background:#f7f8fc;color:#292d38;
  font-size:13px;outline:none;
}
.eco-search-input:focus,
.eco-drawer__search input:focus{border-color:var(--eco-navy);background:#fff}
.eco-search-submit{height:46px;min-width:92px;padding:0 18px;border:0;border-radius:11px;background:var(--eco-navy);color:#fff;font-size:13px;font-weight:700}

/* Mobile drawer */
.eco-drawer{
  position:fixed;
  top:0;right:0;
  width:min(330px,86vw);
  height:100vh;height:100dvh;
  display:flex;flex-direction:column;
  padding:18px 20px 24px;
  background:#fff;
  box-shadow:-14px 0 40px rgba(17,21,58,.16);
  transform:translateX(105%);
  visibility:hidden;
  transition:transform .3s ease,visibility .3s ease;
  overflow-y:auto;
  z-index:100000;
}
.eco-drawer.is-open{transform:none;visibility:visible}
.eco-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;margin-bottom:10px;border-bottom:1px solid #eef0f6}
.eco-drawer__brand .eco-header__logo{max-width:130px;max-height:40px}
.eco-drawer__close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--eco-outline);border-radius:10px;background:#fff;color:var(--eco-navy)}
.eco-drawer__close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.eco-drawer__search{margin:6px 0 8px}
.eco-drawer__nav{flex:1 0 auto}

.eco-nav--mobile>li{border-bottom:1px solid #f0f1f6}
.eco-nav--mobile li{display:flex;flex-wrap:wrap;align-items:center}
.eco-nav--mobile a{flex:1;display:block;padding:13px 2px;font-size:14px;font-weight:700;color:#2d3150}
.eco-nav--mobile .eco-submenu-toggle{width:36px;height:36px;border-radius:9px;background:#f4f5fb}
.eco-nav--mobile .sub-menu{display:none;flex-basis:100%;padding:0 14px 8px 0}
.eco-nav--mobile li.is-open>.sub-menu{display:block}
.eco-nav--mobile li.is-open>.eco-submenu-toggle svg{transform:rotate(180deg)}
.eco-nav--mobile .sub-menu a{padding:9px 2px;font-size:13px;color:var(--eco-nav-text)}

.eco-drawer__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
.eco-drawer__actions .eco-btn{min-width:0;padding:0 12px}

.eco-drawer-overlay{
  position:fixed;inset:0;
  background:rgba(17,21,58,.42);
  opacity:0;visibility:hidden;
  transition:opacity .25s ease,visibility .25s ease;
  z-index:99990;
}
.eco-drawer-overlay.is-open{opacity:1;visibility:visible}

@media (max-width:1180px){
  .eco-header__inner{gap:20px}
  .eco-nav--desktop{gap:20px}
  .eco-nav--desktop>li>a{font-size:13px}
  .eco-btn{padding:0 18px}
}

@media (max-width:1024px){
  .eco-header{margin-bottom:16px}
  .eco-header__inner{min-height:70px;gap:12px;justify-content:space-between}
  .eco-header__nav{display:none}
  .eco-header__toggle{display:grid}
  .eco-header__actions .eco-btn--outline{display:none}
  .eco-header__actions{margin-inline-end:auto}
  .eco-btn{height:42px}
  .eco-header__logo{max-width:128px;max-height:40px}
  .eco-search-toggle{width:42px;height:42px}
}

@media (max-width:420px){
  .eco-header__actions .eco-btn--solid{padding:0 14px;min-width:0;font-size:13px}
}

/* ---------- Footer ---------- */
.eco-footer{
  margin-top:40px;
  background:var(--eco-footer);
  color:#fff;
}
.eco-footer__top{
  display:grid;
  grid-template-columns:minmax(0,320px) minmax(0,1fr) minmax(0,250px);
  gap:28px;
  align-items:start;
  padding:26px 0 28px;
}

.eco-footer__logo{display:inline-flex;align-items:center;gap:10px;color:#fff}
.eco-footer__logo-icon{width:30px;height:30px;object-fit:contain}
.eco-footer__logo span{font-size:16px;font-weight:700;line-height:1}
.eco-footer__about{
  margin:14px 0 18px;
  font-size:13px;
  line-height:2.1;
  color:#dcdeea;
  text-align:justify;
}
.eco-footer__trust{display:flex;align-items:flex-end;gap:14px}
.eco-footer__badges{display:flex;gap:10px;flex:0 0 auto}
.eco-footer__badge{
  display:grid;place-items:center;
  width:74px;height:74px;
  padding:6px;
  background:#fff;
  border-radius:11px;
  overflow:hidden;
}
.eco-footer__badge a{display:grid;place-items:center;width:100%;height:100%}
.eco-footer__badge img{width:100%;height:100%;max-width:100%;object-fit:contain;cursor:pointer}
.eco-footer__trust p{margin:0 0 4px;font-size:12px;line-height:2;color:#b9bcd0}

.eco-footer__links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  padding-top:6px;
}
.eco-footer__menu{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.eco-footer__menu li{margin:0;line-height:1.6}
.eco-footer__menu a{font-size:13.5px;font-weight:700;color:#eceef6;line-height:1.6;transition:color .2s ease}
.eco-footer__menu a:hover{color:#fff;text-decoration:underline;text-underline-offset:6px}

.eco-footer__contact{min-width:0}
.eco-contact-card{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:58px;
  padding:8px 10px 8px 14px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  color:#fff;
  transition:background-color .2s ease;
}
.eco-contact-card:hover{background:rgba(255,255,255,.11)}
.eco-contact-card__text{display:grid;gap:2px;min-width:0}
.eco-contact-card__text small{font-size:11.5px;color:#b9bcd0;line-height:1.6}
.eco-contact-card__text strong{font-size:14px;font-weight:700;line-height:1.6;text-align:right;unicode-bidi:plaintext}
.eco-contact-card__icon{
  display:grid;place-items:center;flex:0 0 40px;
  width:40px;height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}
.eco-contact-card__icon svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.eco-footer__contact h3{margin:18px 0 6px;font-size:14px;font-weight:700;color:#fff}
.eco-footer__contact p{margin:0;font-size:12.5px;line-height:2;color:#e1e3ec}

.eco-footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0 18px}
.eco-footer__socials{list-style:none;margin:0;padding:0;display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.eco-footer__socials li{margin:0}
.eco-footer__socials a{
  display:grid;place-items:center;
  width:44px;height:44px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:11px;
  transition:background-color .2s ease,border-color .2s ease;
}
.eco-footer__socials a:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2)}
.eco-footer__socials svg{width:19px;height:19px}

@media (max-width:1024px){
  .eco-footer__top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 32px;padding-top:30px}
  .eco-footer__brand{grid-column:1/-1}
  .eco-footer__about{max-width:560px}
}

@media (max-width:640px){
  .eco-footer{margin-top:28px}
  .eco-footer__top{grid-template-columns:1fr;gap:26px}
  .eco-footer__about{text-align:right}
  .eco-footer__links{padding-top:0}
  .eco-footer__menu{gap:14px}
  .eco-footer__trust{flex-wrap:wrap}
  .eco-footer__badge{width:68px;height:68px}
}

@media (prefers-reduced-motion:reduce){
  .eco-drawer,.eco-drawer-overlay,.eco-nav--desktop .sub-menu,.eco-search-panel,.eco-submenu-toggle svg{transition:none}
}

/* Homepage load-more button (same look as the old "all posts" link). */
button.soft-button{
  border:0;
  padding:0 20px;
  font-family:inherit;
  appearance:none;-webkit-appearance:none;
}
button.soft-button span{font-size:inherit}
button.soft-button[hidden]{display:none}
button.soft-button.is-loading{opacity:.65;cursor:progress}
button.soft-button[data-home-load-more]:after{
  content:"";
  width:7px;height:7px;
  border-left:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(-45deg);
}
button.soft-button[data-home-load-more].is-loading:after{display:none}
