/* =========================================================
   پایگاه خبری تغذیه و سلامتی — استایل یکپارچه نسخه V5
   هدر و فوتر بازطراحی و واکنش‌گرا
========================================================= */

:root{
  --green:#285c4d;
  --green-dark:#1e4439;
  --green-soft:#edf4f0;
  --cream:#fbfaf6;
  --line:#e8e5dc;
  --muted:#728079;
  --gold:#a77b36;
  --white:#fff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream);
  color:#263831;
  font-family:Tahoma,Arial,sans-serif;
  line-height:1.9;
  direction:rtl;
}
img{max-width:100%}
a{transition:all .18s ease}
.wrap{
  width:min(1600px,94%);
  margin-inline:auto;
}

/* =========================
   HEADER
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 14px rgba(35,55,47,.04);
}
.top-nav{
  min-height:82px;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:16px;
  width:min(1600px,94%);
  margin-inline:auto;
  direction:rtl;
}
.brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  color:#263831;
  text-decoration:none;
  min-width:185px;
}
.brand b{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:14px;
  background:var(--green);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:700;
}
.brand span{
  display:block;
  font-weight:700;
  font-size:13px;
  line-height:1.5;
  white-space:nowrap;
}
.brand small{
  display:block;
  margin-top:1px;
  color:#8a948f;
  font-size:9px;
  font-weight:400;
  line-height:1.5;
}
.main-nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  direction:rtl;
}
.main-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 8px;
  color:#52665f;
  font-size:11px;
  text-decoration:none;
  border-radius:9px;
  white-space:nowrap;
}
.main-nav a:hover{
  background:var(--green-soft);
  color:var(--green);
}
.header-search{
  flex:0 0 190px;
  display:flex;
  height:38px;
  border:1px solid #deded6;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  direction:rtl;
}
.header-search input{
  border:0;
  outline:0;
  width:100%;
  min-width:0;
  padding:7px 10px;
  font:11px Tahoma,Arial,sans-serif;
  color:#35463f;
  background:transparent;
}
.header-search input::placeholder{color:#a0a7a3}
.header-search button{
  border:0;
  background:var(--green-soft);
  color:var(--green);
  width:36px;
  flex:0 0 36px;
  cursor:pointer;
  font-size:16px;
}
.header-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.member-link{
  font-size:10px;
  color:#52665f;
  text-decoration:none;
}
.member-link:hover{color:var(--green)}
.member-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  background:var(--green);
  color:#fff!important;
  text-decoration:none;
  padding:8px 12px;
  border-radius:9px;
}
.member-btn:hover{background:var(--green-dark)}

/* تبلیغ بالای سایت */
.site-header + .ad-slot,
.site-header + div[class*="ad"]{width:min(1600px,94%);margin-inline:auto}

/* =========================
   HERO / GENERAL
========================= */
.hero{
  padding:55px 0;
  background:linear-gradient(135deg,#edf4ed,#fbfaf6);
}
.heroGrid{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:45px;
  align-items:center;
}
.hero img{
  width:100%;
  height:390px;
  object-fit:cover;
  border-radius:26px;
}
.hero h1{
  font-size:42px;
  line-height:1.35;
  margin:10px 0;
}
.hero p{color:#6c7872}
.hero i,.hero small,small{
  color:#5f806f;
  font-style:normal;
  font-size:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff!important;
  text-decoration:none;
  padding:9px 18px;
  border-radius:11px;
  font-size:12px;
  border:0;
}
.btn:hover{background:var(--green-dark)}

.section{padding:50px 0}
.alt{background:#f1f0e8}
.head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:15px;
  margin-bottom:20px;
}
.head h2{margin:0;font-size:24px}
.head span{font-size:11px;color:#63816f}
.head a{color:#4f655d;text-decoration:none;font-size:12px}

.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.card,.three>div,.shop{
  background:#fff;
  border:1px solid #ebe7de;
  border-radius:19px;
  overflow:hidden;
}
.card img{width:100%;height:175px;object-fit:cover}
.pad{padding:18px}
.card h3{font-size:16px;margin:4px 0}
.card p,.three p{font-size:12px;color:#747e79}
.card a{font-size:12px;color:var(--green);text-decoration:none}
.three{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.three>div{padding:23px}
.three>div img{display:block}
.shop{
  padding:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
}

/* =========================
   ARCHIVE / SEARCH
========================= */
.page-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.page-heading span{font-size:11px;color:#63816f}
.page-heading h1{margin:3px 0;font-size:28px}
.page-heading p{margin:0;color:var(--muted);font-size:11px}
.archive-tools,.big-search{
  display:grid;
  grid-template-columns:1fr 260px auto;
  gap:10px;
  margin-bottom:22px;
}
.big-search{grid-template-columns:1fr auto}
.archive-tools input,.archive-tools select,.big-search input{
  border:1px solid #dddcd4;
  border-radius:10px;
  background:#fff;
  padding:11px;
  font:11px Tahoma;
  outline:0;
}
.empty-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:45px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
.meta{margin-top:10px;font-size:9px;color:#8a958f}
.meta a{color:#527566}
.pagination{
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:28px;
}
.pagination a{
  width:34px;height:34px;border-radius:9px;background:#fff;
  border:1px solid var(--line);display:grid;place-items:center;
  color:#5d6d67;font-size:10px;text-decoration:none;
}
.pagination a.active{background:var(--green);color:#fff;border-color:var(--green)}

/* =========================
   ARTICLE
========================= */
.author-head{
  display:flex;
  align-items:center;
  gap:15px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  margin-bottom:22px;
}
.author-avatar{
  width:58px;height:58px;border-radius:50%;
  background:#e8f1ec;color:var(--green);
  display:grid;place-items:center;font-size:22px;font-weight:bold;
}
.author-head span{font-size:10px;color:#6a8878}
.author-head h1{margin:2px 0;font-size:23px}
.author-head p{margin:0;font-size:10px;color:var(--muted)}
.article-page{padding:45px 0}
.article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:20px;
  align-items:start;
}
.article-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  overflow:hidden;
}
.breadcrumb{
  display:flex;gap:7px;font-size:10px;color:#8b948f;margin-bottom:15px;
  flex-wrap:wrap;
}
.breadcrumb a{color:#527566}
.article-box>small{color:#5f806f}
.article-box h1{font-size:32px;line-height:1.55;margin:8px 0 12px;color:#233b33}
.article-meta{
  display:flex;gap:18px;flex-wrap:wrap;color:#8a948f;font-size:10px;
  padding-bottom:18px;border-bottom:1px solid #eeeae2;
}
.article-meta a{color:#4d7664}
.article-cover{width:100%;max-height:500px;object-fit:cover;border-radius:15px;margin:20px 0}
.lead{font-size:15px;color:#5f6d67;line-height:2.2;font-weight:600}
.article-content{font-size:14px;line-height:2.35;color:#35463f}
.article-side{display:flex;flex-direction:column;gap:15px}
.side-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}
.side-box h3{font-size:14px;margin:0 0 10px}
.side-box a{display:block;padding:10px 0;border-bottom:1px solid #f0ede6;color:#4b665c;font-size:10px;text-decoration:none}
.side-box p{font-size:10px;color:var(--muted)}

/* =========================
   FOOTER
========================= */
.site-footer{
  margin-top:45px;
  background:#1f3f35;
  color:#dce9e3;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:45px;
  padding:42px 0 34px;
  direction:rtl;
}
.footer-grid>div{
  min-width:0;
}
.footer-grid strong{
  display:block;
  font-size:16px;
  color:#fff;
  margin-bottom:8px;
}
.footer-grid p{
  margin:0;
  max-width:360px;
  font-size:11px;
  color:#c4d5ce;
  line-height:2;
}
.footer-grid b{
  display:block;
  color:#fff;
  font-size:12px;
  margin-bottom:10px;
}
.footer-grid a{
  display:block;
  width:max-content;
  max-width:100%;
  margin-bottom:6px;
  font-size:10px;
  color:#c4d5ce;
  line-height:1.9;
  text-decoration:none;
}
.footer-grid a:hover{
  color:#fff;
  text-decoration:underline;
}
.socials{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.footer-grid .socials a{
  width:auto;
  margin:0;
  border:1px solid rgba(255,255,255,.18);
  padding:5px 9px;
  border-radius:7px;
}
.footer-grid .socials a:hover{
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:15px 0;
  font-size:9px;
  color:#a9bdb5;
}
.footer-bottom .wrap{text-align:center}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:980px){
  .top-nav{min-height:74px;gap:10px}
  .brand{min-width:170px}
  .main-nav a{padding-inline:6px;font-size:10px}
  .header-search{flex-basis:170px}
}

@media(max-width:820px){
  .main-nav{display:none}
  .top-nav{
    min-height:auto;
    padding:12px 0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap:10px;
  }
  .brand{grid-area:brand;min-width:0}
  .header-actions{grid-area:actions}
  .header-search{
    grid-area:search;
    width:100%;
    flex-basis:auto;
  }
  .heroGrid{grid-template-columns:1fr}
  .hero h1{font-size:30px}
  .hero img{height:300px}
  .cards,.three{grid-template-columns:1fr 1fr}
  .article-layout{grid-template-columns:1fr}
  .article-side{display:grid;grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
}

@media(max-width:600px){
  .wrap{width:min(94%,1120px)}
  .brand span{font-size:11px}
  .brand b{width:42px;height:42px;flex-basis:42px}
  .member-link{display:none}
  .member-btn{padding:7px 10px}
  .cards,.three{grid-template-columns:1fr}
  .hero{padding:35px 0}
  .hero img{height:250px}
  .head{align-items:flex-start;flex-direction:column}
  .shop{flex-direction:column;align-items:flex-start}
  .archive-tools,.big-search{grid-template-columns:1fr}
  .archive-tools .btn{grid-column:auto}
  .article-side,.footer-grid{grid-template-columns:1fr}
  .article-box{padding:20px}
  .article-box h1{font-size:25px}
  .article-cover{max-height:300px}
}

/* =========================================================
   HOMEPAGE V6 — editorial / magazine presentation
========================================================= */
.hero-pro{padding:64px 0 48px;background:radial-gradient(circle at 15% 20%,#e5f0ea 0,#f7f5ee 42%,#fbfaf6 100%);overflow:hidden}
.hero-pro-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:52px;align-items:center}
.hero-copy{padding:10px 0}
.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#668474;font-size:11px;font-weight:700;letter-spacing:.1px}
.eyebrow:before{content:"";width:24px;height:2px;background:#a77b36;border-radius:5px}
.hero-copy h1{font-size:48px;line-height:1.45;margin:14px 0 13px;color:#213b32;letter-spacing:-.5px}
.hero-copy p{font-size:14px;line-height:2.2;color:#64736d;max-width:600px;margin:0 0 22px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn-light{background:#fff;color:#285c4d!important;border:1px solid #dfe6e1}
.btn-light:hover{background:#edf4f0}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;color:#78847f;font-size:10px}
.hero-trust span{position:relative;padding-right:13px}
.hero-trust span:before{content:"✓";position:absolute;right:0;color:#a77b36}
.hero-visual{position:relative}
.hero-visual:after{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid #dfe7e0;border-radius:30px;z-index:0}
.hero-visual img{position:relative;z-index:1;display:block;width:100%;height:410px;object-fit:cover;border-radius:28px;box-shadow:0 20px 45px rgba(35,65,53,.12)}
.hero-badge{position:absolute;z-index:2;bottom:22px;right:22px;background:rgba(255,255,255,.95);border:1px solid #e7e3da;border-radius:15px;padding:12px 16px;display:flex;align-items:center;gap:9px;box-shadow:0 10px 25px rgba(30,55,45,.1)}
.hero-badge strong{font-size:20px;color:#285c4d}.hero-badge span{font-size:10px;color:#68756f}
.quick-topics{background:#fff;border-top:1px solid #eeeae1;border-bottom:1px solid #eeeae1}
.quick-topics .wrap{min-height:62px;display:flex;align-items:center;gap:9px;overflow:auto;padding-top:8px;padding-bottom:8px}
.quick-title{margin-left:8px;min-width:max-content}.quick-title span{display:block;color:#8b968f;font-size:9px}.quick-title strong{display:block;color:#29473c;font-size:11px}
.quick-topics a{white-space:nowrap;text-decoration:none;color:#52665f;background:#f5f7f4;border:1px solid #e3e9e4;border-radius:999px;padding:7px 13px;font-size:10px}.quick-topics a:hover{background:#edf4f0;color:#285c4d}
.editorial-section,.latest-home{padding:58px 0}.daily-section{background:#fbfaf6}.special-section{background:#f1f0e8}.latest-home{background:#fff}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.section-heading h2{font-size:27px;margin:6px 0 2px;color:#263e35}.section-heading p{margin:0;color:#7a8580;font-size:11px}.section-heading>a{white-space:nowrap;color:#4f655d;text-decoration:none;font-size:11px;padding-bottom:4px}.section-heading>a:hover{color:#285c4d}
.daily-grid,.special-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:18px}.latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-post-card{background:#fff;border:1px solid #e7e4dc;border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 5px 18px rgba(35,55,47,.035);transition:transform .2s ease,box-shadow .2s ease}.home-post-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(35,55,47,.09)}
.home-post-card.featured{box-shadow:0 12px 30px rgba(35,55,47,.08)}
.home-post-image{display:block;position:relative;background:#e8eee9;overflow:hidden}.home-post-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(20,45,36,.1))}.home-post-image img{display:block;width:100%;height:190px;object-fit:cover;transition:transform .3s ease}.home-post-card.featured .home-post-image img{height:245px}.home-post-card:hover .home-post-image img{transform:scale(1.035)}
.home-post-body{padding:17px 18px 18px}.post-chip{display:inline-block;background:#edf4f0;color:#4f7563;border-radius:999px;padding:4px 9px;font-size:8px;margin-bottom:6px}.home-post-body h3{font-size:16px;line-height:1.8;margin:3px 0 5px}.home-post-body h3 a{color:#263e35;text-decoration:none}.home-post-body h3 a:hover{color:#285c4d}.home-post-body p{font-size:10px;line-height:2;color:#77827d;margin:5px 0 10px}.home-post-meta{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #efede7;padding-top:9px;color:#99a19d;font-size:8px}.read-more{display:inline-block;margin-top:10px;color:#557866;text-decoration:none;font-size:9px}.read-more:hover{color:#285c4d}
.empty-home{background:#fff;border:1px dashed #d9dfdb;border-radius:18px;padding:34px;text-align:center}.empty-home h3{margin:0 0 5px;font-size:15px;color:#40574d}.empty-home p{margin:0;color:#89938e;font-size:10px}
.category-strip{padding:54px 0;background:#edf4f0}.category-strip .wrap{display:grid;grid-template-columns:.9fr 1.4fr;gap:35px;align-items:center}.category-intro h2{font-size:25px;line-height:1.6;margin:7px 0;color:#29483c}.category-intro p{font-size:11px;color:#718078}.category-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-boxes a{background:#fff;border:1px solid #dfe7e1;border-radius:16px;padding:20px;text-decoration:none;transition:all .18s ease}.category-boxes a:hover{transform:translateY(-2px);border-color:#c8d8cf}.category-boxes b{display:block;color:#304b40;font-size:13px;margin-bottom:4px}.category-boxes span{color:#8b968f;font-size:9px}
.membership-pro{padding:48px 0;background:#fff}.membership-pro .wrap,.shop-pro .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid #e4e5dc;border-radius:22px;padding:30px;background:linear-gradient(120deg,#f6f5ed,#fff)}.membership-pro h2,.shop-pro h2{font-size:23px;margin:7px 0 3px;color:#29463b}.membership-pro p,.shop-pro p{font-size:11px;color:#7b8681;margin:0}
.shop-pro{padding:0 0 52px;background:#fff}.shop-pro .wrap{background:#285c4d;border-color:#285c4d}.shop-pro .eyebrow,.shop-pro h2,.shop-pro p{color:#fff}.shop-pro .eyebrow:before{background:#d8b46e}.shop-pro p{opacity:.82}.shop-pro .btn-light{border:0}
.social-pro{padding:54px 0;background:#fbfaf6}.social-pro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.social-pro-grid>div{background:#fff;border:1px solid #e7e4dc;border-radius:18px;padding:21px}.social-pro-grid b{font-size:14px;color:#2d493e}.social-pro-grid p{font-size:10px;color:#818b86;margin:5px 0 0}
.ad-slot{width:min(1600px,94%);margin:22px auto}.ad-card{overflow:hidden;border-radius:15px}.ad-card img{display:block;width:100%;height:auto;max-height:180px;object-fit:cover}
@media(max-width:900px){.hero-pro-grid{grid-template-columns:1fr;gap:30px}.hero-copy h1{font-size:38px}.hero-visual img{height:330px}.daily-grid,.special-grid{grid-template-columns:1fr 1fr}.daily-grid .featured,.special-grid .featured{grid-column:1/-1}.category-strip .wrap{grid-template-columns:1fr}.latest-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hero-pro{padding:38px 0}.hero-copy h1{font-size:29px}.hero-copy p{font-size:12px}.hero-visual img{height:245px}.hero-badge{bottom:12px;right:12px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:22px}.daily-grid,.special-grid,.latest-grid,.category-boxes,.social-pro-grid{grid-template-columns:1fr}.daily-grid .featured,.special-grid .featured{grid-column:auto}.home-post-card.featured .home-post-image img,.home-post-image img{height:220px}.membership-pro .wrap,.shop-pro .wrap{align-items:flex-start;flex-direction:column}.quick-topics .wrap{justify-content:flex-start}.quick-title{display:none}}

/* V7 hero slideshow */
.hero-slideshow{position:relative;z-index:1;width:100%;height:410px;border-radius:28px;overflow:hidden;background:#e8eee9;box-shadow:0 20px 45px rgba(35,65,53,.12)}
.hero-slideshow .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .7s ease;transform:none!important}
.hero-slideshow .hero-slide.active{opacity:1;visibility:visible}
.hero-dots{position:absolute;z-index:3;left:18px;bottom:18px;display:flex;gap:7px;align-items:center;direction:ltr;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.82);backdrop-filter:blur(5px)}
.hero-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#aebbb4;cursor:pointer;transition:all .2s ease}
.hero-dot.active{width:22px;border-radius:999px;background:#285c4d}
@media(max-width:900px){.hero-slideshow{height:330px}}
@media(max-width:600px){.hero-slideshow{height:245px}.hero-dots{left:12px;bottom:12px}}
@media(prefers-reduced-motion: reduce){.hero-slideshow .hero-slide{transition:none}.hero-dot{transition:none}}

.article-kicker{display:inline-flex;padding:6px 11px;border-radius:999px;background:#edf5f1;color:#286b58;font-size:11px;margin-bottom:10px}.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;padding-top:18px;border-top:1px solid #e8ebe7}.article-tags a{background:#f3f7f5;color:#286b58;border-radius:999px;padding:7px 11px;font-size:11px}.article-meta{flex-wrap:wrap}

.popular-home{padding:70px 0;background:#f6f7f2}.popular-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.popular-grid .home-post-card{height:100%}@media(max-width:900px){.popular-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.popular-grid{grid-template-columns:1fr}}

/* =========================================================
   V12 — NEWSROOM HOMEPAGE
========================================================= */
.breaking-bar{background:#203f35;color:#fff;border-bottom:3px solid #a77b36}.breaking-inner{min-height:42px;display:flex;align-items:center;gap:14px}.breaking-inner strong{background:#a77b36;color:#fff;padding:4px 10px;border-radius:6px;font-size:9px;white-space:nowrap}.breaking-track{display:flex;gap:30px;overflow:hidden;flex:1;font-size:10px;color:#dbe8e2;white-space:nowrap}.breaking-track span{position:relative}.breaking-track span+span:before{content:'•';position:absolute;right:-18px;color:#a77b36}.breaking-inner>a{font-size:9px;color:#fff;text-decoration:none;white-space:nowrap}.news-hero{padding:28px 0 20px;background:#f5f4ee}.news-hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr);gap:18px;align-items:stretch}.lead-story{background:#fff;border:1px solid #e2e3dc;border-radius:20px;overflow:hidden;display:grid;grid-template-columns:1.08fr .92fr;min-height:420px;box-shadow:0 8px 26px rgba(34,55,47,.06)}.lead-image{display:block;overflow:hidden;background:#e4ece7}.lead-image img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block;transition:transform .35s}.lead-story:hover .lead-image img{transform:scale(1.025)}.lead-content{padding:32px 30px;display:flex;flex-direction:column;justify-content:center}.lead-label{display:inline-flex;width:max-content;background:#edf4f0;color:#4c765f;border-radius:999px;padding:5px 10px;font-size:9px}.lead-content h1{font-size:29px;line-height:1.75;margin:13px 0 9px}.lead-content h1 a{color:#223b32;text-decoration:none}.lead-content p{font-size:11px;line-height:2.15;color:#75817c;margin:0}.lead-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px;padding-top:12px;border-top:1px solid #eceae3;color:#98a09c;font-size:8px}.lead-meta a{margin-right:auto;color:#4d735f;text-decoration:none}.hero-side{background:#fff;border:1px solid #e2e3dc;border-radius:20px;padding:18px;box-shadow:0 8px 26px rgba(34,55,47,.04)}.side-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eceae3;padding-bottom:11px;margin-bottom:4px}.side-title span{font-weight:700;color:#2c4a3f;font-size:13px}.side-title a{font-size:9px;color:#718078;text-decoration:none}.mini-story{display:grid;grid-template-columns:92px 1fr;gap:11px;padding:14px 0;border-bottom:1px solid #eeeae3}.mini-story img{width:92px;height:76px;object-fit:cover;border-radius:10px}.mini-story span{font-size:8px;color:#6b8878}.mini-story h3{font-size:11px;line-height:1.8;margin:3px 0}.mini-story h3 a{color:#30463e;text-decoration:none}.mini-story small{font-size:8px;color:#a0a7a3}.hero-note{display:flex;align-items:center;gap:10px;margin-top:14px;background:#f1f5f1;border-radius:12px;padding:11px}.hero-note b{font-size:20px;color:#285c4d}.hero-note span{font-size:9px;color:#718079}.hero-topics{background:#fff;border-bottom:1px solid #e8e6de;border-top:1px solid #e8e6de}.hero-topics .wrap{min-height:54px;display:flex;align-items:center;gap:8px;overflow:auto}.hero-topics span{font-size:9px;color:#8a938f;margin-left:4px;white-space:nowrap}.hero-topics a{font-size:9px;color:#4c685d;text-decoration:none;background:#f5f7f4;border:1px solid #e0e7e2;border-radius:999px;padding:6px 11px;white-space:nowrap}.news-section{padding:58px 0;background:#fbfaf6}.news-section.special-news{background:#eef2ed}.news-card-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:17px}.news-section.special-news .home-post-card:first-child{background:#203f35;border-color:#203f35}.news-section.special-news .home-post-card:first-child h3 a,.news-section.special-news .home-post-card:first-child p,.news-section.special-news .home-post-card:first-child .home-post-meta{color:#e6eee9}.topic-news{padding:62px 0;background:#f4f3ed}.topic-header{margin-bottom:25px}.topic-header h2{font-size:27px;color:#293f37;margin:6px 0}.topic-header p{font-size:11px;color:#7c8681}.topic-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.topic-column{background:#fff;border:1px solid #e4e3dc;border-radius:18px;padding:12px}.topic-column-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #e9ece8;padding:8px 5px 11px;margin-bottom:2px}.topic-column-head span{font-size:14px;font-weight:700;color:#29483d}.topic-column-head a{font-size:9px;color:#658073;text-decoration:none}.topic-column-head.medical{border-color:#b7d6c8}.topic-column-head.nutrition{border-color:#d9caa7}.topic-column-head.cooking{border-color:#d8b8a9}.topic-column .home-post-card{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid #eeeae3}.topic-column .home-post-card:last-child{border-bottom:0}.topic-column .home-post-image img{height:135px}.topic-column .home-post-body{padding:12px 6px 14px}.topic-column .home-post-body h3{font-size:13px}.latest-news{padding:62px 0;background:#fff}.latest-grid-pro{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.popular-home{padding:62px 0;background:#eef3ef}.popular-grid{grid-template-columns:repeat(4,1fr)}.editor-note{padding:55px 0;background:#203f35;color:#fff}.editor-note .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.editor-note .eyebrow,.editor-note h2,.editor-note p{color:#fff}.editor-note .eyebrow:before{background:#d7b36d}.editor-note h2{font-size:25px;margin:7px 0}.editor-note p{font-size:11px;opacity:.78;margin:0;max-width:720px}.editor-note .btn{background:#fff;color:#285c4d!important}.hero-slideshow{position:relative;z-index:1;width:100%;height:100%;min-height:420px;border-radius:0;overflow:hidden;background:#e8eee9;box-shadow:none}.hero-slideshow .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .7s ease}.hero-slideshow .hero-slide.active{opacity:1;visibility:visible}.hero-dots{position:absolute;z-index:3;left:18px;bottom:18px;display:flex;gap:7px;align-items:center;direction:ltr;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.82)}.hero-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#aebbb4;cursor:pointer}.hero-dot.active{width:22px;border-radius:999px;background:#285c4d}
@media(max-width:1000px){.lead-story{grid-template-columns:1fr}.lead-image{height:320px}.lead-image img{min-height:320px}.lead-content{padding:22px}.news-hero-grid{grid-template-columns:1fr}.hero-side{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.hero-side .side-title,.hero-side .hero-note{grid-column:1/-1}.topic-columns{grid-template-columns:1fr 1fr}.topic-column:last-child{grid-column:1/-1}.popular-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.breaking-track span:nth-child(2),.breaking-inner>a{display:none}.lead-image,.lead-image img{height:250px;min-height:250px}.lead-content h1{font-size:23px}.hero-side{display:block}.mini-story{grid-template-columns:84px 1fr}.mini-story img{width:84px;height:70px}.news-card-grid,.latest-grid-pro,.topic-columns,.popular-grid{grid-template-columns:1fr}.news-section,.topic-news,.latest-news,.popular-home{padding:45px 0}.editor-note .wrap{align-items:flex-start;flex-direction:column}.editor-note h2{font-size:21px}.hero-topics .wrap{padding-block:8px}.hero-topics a{padding:6px 9px}}

/* V13: wide editorial layout and card actions */
.wrap{width:min(1600px,94%)}
.top-nav{width:min(1600px,94%)}
.site-header + .ad-slot,.site-header + div[class*="ad"]{width:min(1600px,94%)}
.read-more{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:10px;font-weight:700;color:var(--green);text-decoration:none}
.read-more:hover{color:var(--gold)}
.socials{display:flex;gap:10px;align-items:center;margin-top:12px}
.social-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none!important;font-size:10px;font-weight:700;transition:.18s}
.social-icon:hover{transform:translateY(-2px);background:rgba(255,255,255,.18)}
.hero-slideshow{height:100%;min-height:420px}
.hero-slideshow .hero-slide{display:block}
.hero-slideshow .hero-slide img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:1000px){.hero-slideshow{min-height:320px}}
@media(max-width:700px){.hero-slideshow{min-height:250px}}

.social-icon svg{width:19px;height:19px;display:block;fill:currentColor}
.social-icon.social-اینستاگرام svg{fill:none}
/* V18 shop */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid #e5e6df;border-radius:18px;overflow:hidden;box-shadow:0 8px 25px rgba(40,60,50,.05)}.product-card img{width:100%;height:210px;object-fit:cover;display:block}.product-body{padding:16px}.product-body h2,.product-body h3{margin:0 0 9px;color:#29463b;font-size:16px}.product-body p{font-size:12px;line-height:2;color:#68756f}.product-price{font-weight:800;color:#2b6b58;margin:10px 0}.product-link{color:#2b6b58;font-size:12px;font-weight:700;text-decoration:none}.home-products{padding-bottom:35px}.shop-head{margin-bottom:18px}.shop-page{padding:45px 0 70px;background:#fafaf7}.shop-page .page-heading{margin-bottom:25px}
.shop-page .page-heading h1{text-align:center}.shop-page .product-grid{margin-top:20px}.shop-pro{padding-bottom:50px}.shop-pro .product-grid{background:transparent}.shop-pro .product-card{border-color:rgba(255,255,255,.16)}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.product-grid{grid-template-columns:1fr}.product-card img{height:220px}}


/* V21: balanced homepage cards + sticky navigation */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
}
html{scroll-behavior:smooth}
.news-section[id],.topic-news,.latest-news,.popular-home,.editor-note,.shop-pro{scroll-margin-top:92px}
.news-card-grid{align-items:stretch}
.news-card-grid .home-post-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.news-card-grid .home-post-image img{height:205px!important}
.news-card-grid .home-post-body{
  flex:1;
  display:flex;
  flex-direction:column;
}
.news-card-grid .home-post-body .read-more{margin-top:auto}
.news-section.special-news .home-post-card:first-child{
  background:#fff;
  border-color:#e7e4dc;
}
.news-section.special-news .home-post-card:first-child h3 a,
.news-section.special-news .home-post-card:first-child p,
.news-section.special-news .home-post-card:first-child .home-post-meta{
  color:inherit;
}
@media(max-width:700px){
  .site-header{position:sticky;top:0}
  .news-card-grid .home-post-image img{height:205px!important}
}

/* V23 member experience */
.article-top-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.back-home,.favorite-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;text-decoration:none;font-size:10px;border:1px solid #dfe5df;background:#f8faf8;color:#285c4d}.favorite-form{margin:0}.favorite-btn{font-family:inherit;cursor:pointer}.favorite-btn.saved{background:#285c4d;color:#fff;border-color:#285c4d}.header-actions sup{background:#b23b3b;color:#fff;border-radius:20px;padding:1px 4px;font-size:7px;position:relative;top:-4px}.article-box .article-top-actions + .breadcrumb{margin-top:0}.site-header{position:sticky!important;top:0!important;z-index:1000}

/* V25 — استاندارد نهایی تبلیغات */
.ad-slot{width:min(970px,94%);margin:22px auto}.ad-card{overflow:hidden;border-radius:14px;background:#fff;border:1px solid #e7e4dc}.ad-card a,.ad-card picture{display:block}.ad-card img{display:block;width:100%;height:auto;object-fit:contain}.ad-position-top,.ad-position-middle,.ad-position-footer{max-width:970px}.ad-position-top .ad-card img,.ad-position-middle .ad-card img,.ad-position-footer .ad-card img{aspect-ratio:970/90}.ad-position-hero{max-width:970px}.ad-position-hero .ad-card img{aspect-ratio:970/250}.ad-position-article{width:100%;max-width:300px;margin:26px 0}.ad-position-article .ad-card img{aspect-ratio:300/250}.ad-position-sidebar{width:100%;max-width:300px;margin:20px auto}.ad-position-sidebar .ad-card img{aspect-ratio:300/600}.ad-position-middle .ad-card,.ad-position-footer .ad-card,.ad-position-top .ad-card{margin-top:10px}.ad-position-top{margin-top:0}.ad-position-hero{margin-top:24px;margin-bottom:24px}.ad-slot .ad-card + .ad-card{margin-top:12px}
@media(max-width:700px){.ad-slot{width:min(94%,320px);margin:16px auto}.ad-position-top,.ad-position-middle,.ad-position-footer,.ad-position-hero{max-width:320px}.ad-position-article{max-width:300px}.ad-position-sidebar{max-width:300px}.ad-position-sidebar .ad-card img{aspect-ratio:300/250}.ad-position-top .ad-card img,.ad-position-middle .ad-card img,.ad-position-footer .ad-card img{aspect-ratio:320/50}.ad-position-hero .ad-card img{aspect-ratio:320/100}}

.footer-badges{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;margin-top:10px}.footer-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:82px;min-height:88px;padding:8px;border:1px solid rgba(255,255,255,.10);border-radius:12px;text-decoration:none;color:inherit;background:rgba(255,255,255,.035)}.footer-badge img{width:auto;max-width:72px;height:58px;object-fit:contain;background:#fff;border-radius:7px;padding:3px}.footer-badge span{font-size:8px;text-align:center}.footer-badge small{font-size:7px;opacity:.65;text-align:center;direction:ltr}
