/* =========================================================
   ایران دانش — Design Tokens
   پالت: تیره‌فام سبز-نفتی رسمی + طلایی کم‌رنگ به عنوان لهجه
   تایپوگرافی: وزیرمتن (یک خانواده، طیف وزن‌ها)
   ========================================================= */
:root{
  --c-primary:      #15324C;
  --c-primary-dark: #0A1B2B;
  --c-primary-light:#25537C;
  --c-accent:       #B98B3E;
  --c-accent-soft:  #E7D3A8;
  --c-bg:           #FFFFFF;
  --c-bg-soft:      #F4F7FA;
  --c-bg-soft-2:    #EBF0F5;
  --c-text:         #16212E;
  --c-text-muted:   #5B6B7C;
  --c-border:       #E1E7ED;
  --c-white:        #FFFFFF;

  --font-base: 'Vazirmatn', Tahoma, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;

  --container: 1180px;
  --shadow-1: 0 2px 10px rgba(14,59,54,.06);
  --shadow-2: 0 14px 34px rgba(14,59,54,.14);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-base);
  color:var(--c-text);
  background:var(--c-bg);
  direction:rtl;
  text-align:right;
  line-height:1.8;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ margin:0; font-weight:800; color:var(--c-primary-dark); line-height:1.35; }

.eyebrow-none{ } /* explicit: no all-caps eyebrow labels used anywhere in this theme */

:focus-visible{ outline:3px solid var(--c-accent); outline-offset:2px; }

.skip-link{
  position:absolute; right:-9999px; top:0; background:var(--c-primary);
  color:#fff; padding:12px 20px; z-index:999; border-radius:0 0 0 8px;
}
.skip-link:focus{ right:0; }

/* =========================================================
   Top utility strip
   ========================================================= */
.top-strip{
  background:var(--c-primary-dark);
  color:#D6E1EC;
  font-size:13.5px;
  border-bottom:1px solid rgba(233,196,122,.35);
}
.top-strip .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; gap:16px; flex-wrap:wrap;
}
.top-strip__contacts{ display:flex; gap:22px; flex-wrap:wrap; }
.top-strip__contacts span{ display:inline-flex; align-items:center; gap:6px; opacity:.92; }
.top-strip__clock{
  font-size:13px; font-weight:600; letter-spacing:.2px; color:var(--c-accent-soft);
  display:flex; align-items:center; gap:8px; white-space:nowrap;
}
.top-strip__social{ display:flex; gap:14px; }
.top-strip__social a{
  width:26px; height:26px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center; font-size:12px; opacity:.9;
  transition:background .2s, opacity .2s, border-color .2s;
}
.top-strip__social a:hover{ background:rgba(233,196,122,.16); border-color:var(--c-accent-soft); opacity:1; }

/* =========================================================
   Header + Mega Menu
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:200;
  background:var(--c-bg);
  border-bottom:1px solid var(--c-border);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px; gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand__logo-img{
  height:56px; width:auto;
  filter:drop-shadow(0 1px 4px rgba(185,139,62,.35));
}
.brand__logo-fallback{
  height:56px; width:56px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, var(--c-primary-light), var(--c-primary-dark));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:20px;
  box-shadow:0 0 0 2px var(--c-accent-soft);
}
.brand__name{ display:flex; flex-direction:column; }
.brand__name strong{
  font-size:19px; font-weight:800; color:var(--c-primary-dark);
  position:relative; padding-bottom:3px;
}
.brand__name strong::after{
  content:''; position:absolute; right:0; bottom:0; width:26px; height:2px;
  background:var(--c-accent); border-radius:2px;
}
.brand__name span{ font-size:12.5px; color:var(--c-text-muted); margin-top:4px; }

.main-nav{ display:flex; }
.main-nav > ul{ display:flex; align-items:center; gap:6px; }
.main-nav > ul > li{ position:relative; }
.main-nav > ul > li > a{
  position:relative;
  display:flex; align-items:center; gap:6px;
  padding:12px 16px; font-weight:600; font-size:15px;
  color:var(--c-primary-dark); border-radius:var(--radius-sm);
  transition:background .18s, color .18s;
}
.main-nav > ul > li > a::before{
  content:''; position:absolute; right:16px; left:16px; bottom:6px;
  height:2px; background:var(--c-accent); border-radius:2px;
  transform:scaleX(0); transform-origin:center; transition:transform .18s ease;
}
.main-nav > ul > li:hover > a::before,
.main-nav > ul > li.is-open > a::before{ transform:scaleX(1); }
.main-nav > ul > li > a::after{
  content:''; width:6px; height:6px; border-left:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg); margin-top:-3px; opacity:.55;
}
.main-nav > ul > li:hover > a,
.main-nav > ul > li.is-open > a{
  background:var(--c-bg-soft); color:var(--c-primary);
}

.mega-panel{
  position:absolute; top:calc(100% + 10px); right:0;
  min-width:280px; background:#fff; border:1px solid var(--c-border);
  border-radius:var(--radius-md); box-shadow:var(--shadow-2);
  padding:10px; opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.main-nav > ul > li:hover .mega-panel,
.main-nav > ul > li.is-open .mega-panel{
  opacity:1; visibility:visible; transform:translateY(0);
}
.mega-panel a{
  display:block; padding:10px 14px; border-radius:var(--radius-sm);
  font-size:14.5px; color:var(--c-text);
  border-right:2px solid transparent;
  transition:background .15s, color .15s, border-color .15s;
}
.mega-panel a:hover{ background:var(--c-bg-soft); color:var(--c-primary); border-right-color:var(--c-accent); }

.nav-toggle{
  display:none; width:44px; height:44px; border-radius:var(--radius-sm);
  border:1px solid var(--c-border); background:#fff; align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:20px; height:2px; background:var(--c-primary-dark);
  position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* دکمه فروشگاه در حاشیه هدر */
.header-shop{ position:relative; margin-inline-start:8px; }
.header-shop__btn{
  display:flex; align-items:center; gap:8px; padding:11px 20px; border-radius:999px;
  background:var(--c-accent); color:#fff; font-weight:700; font-size:14px;
  transition:background .2s, box-shadow .2s;
}
.header-shop__btn:hover{ background:#A67A34; box-shadow:0 6px 16px rgba(185,139,62,.35); }
.header-shop__panel{ right:auto; left:0; }
.header-shop:hover .header-shop__panel{ opacity:1; visibility:visible; transform:translateY(0); }

/* =========================================================
   Hero — Leadership introduction
   ========================================================= */
.hero{
  background:linear-gradient(180deg, var(--c-bg-soft) 0%, #fff 100%);
  padding:64px 0 76px;
  border-bottom:1px solid var(--c-border);
}
.hero .container{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center;
}
.hero__portrait{
  position:relative;
}
.hero__portrait-frame{
  position:relative; border-radius:18px; overflow:hidden;
  aspect-ratio:4/5; background:var(--c-bg-soft-2);
  border:1px solid var(--c-border);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-1);
}
.hero__portrait-frame img{ width:100%; height:100%; object-fit:cover; }
.hero__portrait-frame.is-empty{
  color:var(--c-text-muted); text-align:center; padding:24px; font-size:14px; gap:10px;
  flex-direction:column;
}
.hero__portrait-frame.is-empty svg{ width:64px; height:64px; opacity:.35; }
.hero__ribbon{
  position:absolute; bottom:-16px; right:22px; left:22px;
  background:linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color:#fff; border-radius:var(--radius-md);
  padding:14px 18px; box-shadow:var(--shadow-2);
  display:flex; align-items:center; gap:10px;
  border-right:3px solid var(--c-accent);
}
.hero__ribbon .dot{ width:8px; height:8px; border-radius:50%; background:var(--c-accent); flex-shrink:0; }
.hero__ribbon span{ font-size:13.5px; }

.hero__content{ max-width:560px; }
.hero__kicker{
  display:inline-flex; align-items:center; gap:8px; color:var(--c-accent);
  font-size:14px; font-weight:700; margin-bottom:16px;
}
.hero__kicker::before{ content:''; width:24px; height:2px; background:var(--c-accent); display:block; }
.hero h1{
  font-size:clamp(28px, 3.4vw, 40px); margin-bottom:10px;
}
.hero__role{
  font-size:18px; color:var(--c-primary); font-weight:600; margin-bottom:20px;
}
.hero__desc{ color:var(--c-text-muted); font-size:15.5px; margin-bottom:28px; }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 26px;
  border-radius:999px; font-weight:700; font-size:14.5px; transition:.2s;
  border:1px solid transparent;
}
.btn--primary{ background:var(--c-primary); color:#fff; }
.btn--primary:hover{ background:var(--c-primary-dark); box-shadow:0 6px 18px rgba(185,139,62,.35); }
.btn--ghost{ border-color:var(--c-primary); color:var(--c-primary); }
.btn--ghost:hover{ background:var(--c-bg-soft); border-color:var(--c-accent); color:var(--c-accent); }

/* =========================================================
   Section shell
   ========================================================= */
.section{ padding:74px 0; }
.section--soft{
  background:var(--c-bg-soft);
  border-top:1px solid rgba(185,139,62,.25);
}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:38px; flex-wrap:wrap;
}
.section__head h2{
  font-size:clamp(24px,2.6vw,32px);
  display:flex; align-items:center; gap:12px;
}
.section__head h2::before{
  content:''; width:26px; height:3px; border-radius:2px;
  background:linear-gradient(90deg, var(--c-accent), var(--c-accent-soft)); display:block; flex-shrink:0;
}
.section__head p{ color:var(--c-text-muted); font-size:15px; max-width:520px; margin-top:8px; }

/* =========================================================
   Services — 10 tiles with hover/tap reveal
   ========================================================= */
.services-grid{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:18px;
}
.service-tile{
  position:relative; border:1px solid var(--c-border); border-radius:var(--radius-md);
  background:#fff; aspect-ratio:1/1; overflow:hidden;
  box-shadow:var(--shadow-1);
  border-top:2px solid transparent;
  transition:border-color .2s, box-shadow .2s;
}
.service-tile:hover,
.service-tile.is-active{
  border-top-color:var(--c-accent);
  box-shadow:var(--shadow-2);
}
.service-tile__face{
  position:absolute; inset:0; padding:20px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; gap:12px;
  transition:opacity .22s ease, transform .22s ease;
}
.service-tile__icon{
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg, #FBF3E1, var(--c-accent-soft));
  box-shadow:0 0 0 1px rgba(185,139,62,.3) inset;
  color:var(--c-primary); display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.service-tile__icon svg{ width:23px; height:23px; }
.service-tile__face h3{ font-size:14.5px; font-weight:700; color:var(--c-primary-dark); line-height:1.5; }

.service-tile__back{
  position:absolute; inset:0; background:var(--c-primary);
  color:#fff; padding:18px; display:flex; flex-direction:column; justify-content:flex-start;
  opacity:0; transform:translateY(8px); pointer-events:none;
  overflow-y:auto;
  scrollbar-width:thin; scrollbar-color:rgba(233,196,122,.6) rgba(255,255,255,.08);
}
.service-tile__back::-webkit-scrollbar{ width:6px; }
.service-tile__back::-webkit-scrollbar-track{ background:rgba(255,255,255,.08); border-radius:6px; }
.service-tile__back::-webkit-scrollbar-thumb{ background:rgba(233,196,122,.6); border-radius:6px; }
.service-tile__back h4{ color:var(--c-accent-soft); font-size:13px; margin-bottom:10px; opacity:.95; font-weight:600; flex-shrink:0; }
.service-tile__back ul{ display:flex; flex-direction:column; gap:6px; }
.service-tile__back li{ font-size:12.8px; position:relative; padding-right:14px; line-height:1.6; }
.service-tile__back li::before{
  content:''; position:absolute; right:0; top:8px; width:5px; height:5px; border-radius:50%;
  background:var(--c-accent-soft);
}

.service-tile:hover .service-tile__face,
.service-tile.is-active .service-tile__face{ opacity:0; transform:translateY(-8px); pointer-events:none; }
.service-tile:hover .service-tile__back,
.service-tile.is-active .service-tile__back{ opacity:1; transform:translateY(0); pointer-events:auto; }

/* =========================================================
   Latest content
   ========================================================= */
.posts-grid{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:18px;
}
.post-card{
  border:1px solid var(--c-border); border-radius:var(--radius-md); overflow:hidden;
  background:#fff; display:flex; flex-direction:column;
  transition:box-shadow .2s, transform .2s, border-color .2s;
}
.post-card:hover{ box-shadow:var(--shadow-2); transform:translateY(-3px); border-color:var(--c-accent-soft); }
.post-card__thumb{ aspect-ratio:16/11; background:var(--c-bg-soft-2); overflow:hidden; }
.post-card__thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card__body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.post-card__date{ font-size:12.5px; color:var(--c-accent); font-weight:600; }
.post-card__body h3{ font-size:14.5px; line-height:1.55; font-weight:700; }
.post-card__body h3 a:hover{ color:var(--c-primary); }
.post-card__more{ margin-top:auto; font-size:13px; color:var(--c-primary); font-weight:600; }
.posts-empty{
  border:1px dashed var(--c-border); border-radius:var(--radius-md); padding:40px;
  text-align:center; color:var(--c-text-muted);
}

/* =========================================================
   صفحه اختصاصی محصول — چیدمان دو ستونه + مشخصات + گالری
   ========================================================= */
.product-breadcrumb{
  background:var(--c-bg-soft); border-bottom:1px solid var(--c-border);
  padding:12px 0; font-size:13px; color:var(--c-text-muted);
}
.product-breadcrumb .container{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.product-breadcrumb a{ color:var(--c-primary); }
.product-breadcrumb a:hover{ color:var(--c-accent); }
.product-breadcrumb span{ opacity:.5; }
.product-breadcrumb span:last-child{ opacity:1; color:var(--c-text); }

.product-section{ padding:40px 0 80px; }

.product-top-grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:40px; align-items:start;
  margin-bottom:36px;
}

/* ستون راست — رسانه */
.product-media__main{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  border:1px solid var(--c-border); box-shadow:var(--shadow-1);
}
.product-media__main img{ width:100%; display:block; }
.product-media__badge{
  position:absolute; top:12px; right:12px; background:var(--c-primary);
  color:#fff; font-size:12px; font-weight:700; padding:4px 12px; border-radius:999px;
}
.product-gallery{
  display:flex; gap:10px; margin-top:12px; overflow-x:auto;
  scrollbar-width:thin; scrollbar-color:var(--c-accent-soft) var(--c-bg-soft);
}
.product-gallery__thumb{
  flex:0 0 80px; height:80px; object-fit:cover; border-radius:6px;
  border:2px solid transparent; cursor:pointer; transition:border-color .2s;
}
.product-gallery__thumb:hover,
.product-gallery__thumb.is-active{ border-color:var(--c-accent); }

/* ستون چپ — اطلاعات */
.product-type-badge{
  display:inline-block; background:linear-gradient(135deg,#FBF3E1,var(--c-accent-soft));
  color:var(--c-accent); font-size:12px; font-weight:700; padding:4px 14px;
  border-radius:999px; border:1px solid rgba(185,139,62,.3); margin-bottom:14px;
}
.product-info h1{ font-size:clamp(20px,2.4vw,28px); margin-bottom:12px; line-height:1.4; }
.product-instructor{
  display:flex; align-items:center; gap:6px; color:var(--c-text-muted);
  font-size:14px; margin-bottom:14px;
}
.product-excerpt{ font-size:14.5px; line-height:1.9; color:var(--c-text); margin-bottom:24px; }

.product-info__price-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:var(--c-bg-soft); border-radius:var(--radius-md); padding:18px 22px;
  border:1px solid var(--c-border);
}
.product-info__price-label{ font-size:12px; color:var(--c-text-muted); display:block; margin-bottom:4px; }
.product-info__price{ font-size:22px; font-weight:800; color:var(--c-accent); }
.product-info__buy-btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 28px;
  border-radius:999px; font-weight:700; font-size:15px; background:var(--c-primary);
  color:#fff; border:none; cursor:pointer; transition:background .2s, box-shadow .2s;
  white-space:nowrap;
}
.product-info__buy-btn:hover{ background:var(--c-primary-dark); box-shadow:0 6px 18px rgba(185,139,62,.35); }

/* ردیف مشخصات */
.product-specs{
  display:flex; gap:12px; flex-wrap:wrap; margin-bottom:36px;
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-md);
  padding:20px 24px; box-shadow:var(--shadow-1); border-top:3px solid var(--c-accent);
}
.product-spec-item{
  flex:1; min-width:120px; display:flex; flex-direction:column; align-items:center;
  gap:8px; text-align:center; padding:12px; border-left:1px solid var(--c-border);
}
.product-spec-item:last-child{ border-left:none; }
.product-spec-item__icon{ color:var(--c-primary); }
.product-spec-item__value{ font-size:14.5px; font-weight:700; color:var(--c-primary-dark); }
.product-spec-item__label{ font-size:12px; color:var(--c-text-muted); }
.product-spec-item__sub{ font-size:10.5px; color:var(--c-text-muted); opacity:.85; margin-top:-2px; line-height:1.5; }

/* محتوای کامل */
.product-full-description{
  font-size:15px; line-height:2; color:var(--c-text); margin-bottom:40px;
}
.product-full-description h2,
.product-full-description h3{ margin:28px 0 12px; color:var(--c-primary-dark); }
.product-full-description ul{ padding-right:20px; margin:12px 0; }
.product-full-description li{ margin-bottom:8px; }
.product-full-description img{ max-width:100%; border-radius:var(--radius-md); margin:16px 0; }

/* CTA تکراری پایین صفحه */
.product-bottom-cta{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  background:linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius:var(--radius-md); padding:24px 32px;
  box-shadow:var(--shadow-2); margin-top:40px;
}
.product-bottom-cta .product-info__price{ color:var(--c-accent-soft); }
.product-bottom-cta .product-info__buy-btn{
  background:var(--c-accent); color:#fff; box-shadow:0 4px 14px rgba(185,139,62,.5);
}
.product-bottom-cta .product-info__buy-btn:hover{ background:#A67A34; }

/* =========================================================
   تب‌های ناوبری محتوای محصول
   ========================================================= */
.product-tabs{ margin:36px 0; }
.product-tabs__nav{
  display:flex; gap:6px; flex-wrap:wrap; border-bottom:2px solid var(--c-border);
  padding-bottom:0; margin-bottom:24px; overflow-x:auto;
  scrollbar-width:none;
}
.product-tabs__nav::-webkit-scrollbar{ display:none; }
.product-tab-btn{
  padding:11px 20px; border-radius:var(--radius-sm) var(--radius-sm) 0 0;
  border:1px solid transparent; border-bottom:none; background:transparent;
  font-family:var(--font-base); font-size:14.5px; font-weight:600;
  color:var(--c-text-muted); cursor:pointer; white-space:nowrap;
  transition:color .18s, background .18s, border-color .18s;
  margin-bottom:-2px;
}
.product-tab-btn:hover{ color:var(--c-primary); background:var(--c-bg-soft); }
.product-tab-btn.is-active{
  color:var(--c-primary-dark); background:#fff;
  border-color:var(--c-border); border-bottom-color:#fff;
}

.product-tab-panel{ display:none; }
.product-tab-panel.is-active{ display:block; }
.product-tab-text{ font-size:15px; line-height:2; color:var(--c-text); }
.product-tab-consult{ text-align:center; padding:32px 0; }
.product-tab-consult p{ color:var(--c-text-muted); margin-bottom:20px; }

.product-full-description{ font-size:15px; line-height:2; color:var(--c-text); }
.product-full-description h2,
.product-full-description h3{ margin:28px 0 12px; color:var(--c-primary-dark); }
.product-full-description ul{ padding-right:20px; margin:12px 0; }
.product-full-description li{ margin-bottom:8px; }
.product-full-description img{ max-width:100%; border-radius:var(--radius-md); margin:16px 0; }

/* =========================================================
   قاب ویدیوی نمونه دوره
   ========================================================= */
.product-video-block{ margin:40px 0; }
.product-video-block__title{
  font-size:20px; margin-bottom:16px; color:var(--c-primary-dark);
  display:flex; align-items:center; gap:10px;
}
.product-video-block__title::before{
  content:''; width:4px; height:24px; background:var(--c-accent);
  border-radius:2px; display:block;
}
.product-video-frame{
  position:relative; width:100%; max-width:780px; margin:0 auto;
  background:var(--c-primary-dark); border-radius:var(--radius-md);
  overflow:hidden; box-shadow:var(--shadow-2);
  border:3px solid var(--c-accent);
  aspect-ratio:16/9;
}
.product-video-frame iframe,
.product-video-frame video{
  position:absolute; inset:0; width:100%; height:100%; border:none;
}

@media (max-width: 900px){
  .product-top-grid{ grid-template-columns:1fr; }
  .product-info__price-row{ flex-direction:column; align-items:stretch; }
  .product-info__buy-btn{ justify-content:center; }
  .product-spec-item{ border-left:none; border-bottom:1px solid var(--c-border); }
  .product-spec-item:last-child{ border-bottom:none; }
  .product-specs{ flex-direction:column; padding:16px; }
  .product-bottom-cta{ flex-direction:column; align-items:stretch; text-align:center; }
  .product-tab-btn{ padding:9px 14px; font-size:13.5px; }
}

@media (max-width: 900px){
  .product-top-grid{ grid-template-columns:1fr; }
  .product-info__price-row{ flex-direction:column; align-items:stretch; }
  .product-info__buy-btn{ justify-content:center; }
  .product-spec-item{ border-left:none; border-bottom:1px solid var(--c-border); }
  .product-spec-item:last-child{ border-bottom:none; }
  .product-specs{ flex-direction:column; padding:16px; }
  .product-bottom-cta{ flex-direction:column; align-items:stretch; text-align:center; }
}

/* =========================================================
   صفحه فروشگاه — سایدبار فیلتر + شبکه محصولات
   ========================================================= */
.shop-layout{ display:grid; grid-template-columns:260px 1fr; gap:28px; align-items:start; }
.shop-filters{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-md);
  padding:22px; box-shadow:var(--shadow-1); position:sticky; top:90px;
}
.shop-filter-block{ margin-bottom:22px; }
.shop-filter-block h3{ font-size:14px; color:var(--c-primary-dark); margin-bottom:10px; }
.shop-filter-price{ display:flex; align-items:center; gap:8px; }
.shop-filter-price input{
  width:100%; border:1px solid var(--c-border); border-radius:var(--radius-sm);
  padding:9px 10px; font-family:var(--font-base); font-size:13.5px;
}
.shop-filter-price span{ color:var(--c-text-muted); font-size:12.5px; flex-shrink:0; }
.shop-filter-block select{
  width:100%; border:1px solid var(--c-border); border-radius:var(--radius-sm);
  padding:9px 10px; font-family:var(--font-base); font-size:13.5px; background:#fff;
}
.shop-filter-check{ display:flex; align-items:center; gap:8px; font-size:13.5px; margin-bottom:8px; }
.shop-filter-reset{ display:block; text-align:center; margin-top:12px; font-size:12.5px; color:var(--c-text-muted); }
.shop-filter-reset:hover{ color:var(--c-accent); }

.shop-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.shop-card{ position:relative; }
.shop-card__badge{
  position:absolute; top:10px; right:10px; background:var(--c-primary);
  color:#fff; font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px;
}
.course-card__poster{ position:relative; }

.shop-pagination{ display:flex; gap:8px; justify-content:center; margin-top:30px; }
.shop-pagination a{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--c-border); border-radius:var(--radius-sm); font-size:13.5px;
  color:var(--c-primary-dark); transition:background .2s, color .2s;
}
.shop-pagination a:hover, .shop-pagination a.is-active{ background:var(--c-primary); color:#fff; border-color:var(--c-primary); }

@media (max-width: 900px){
  .shop-layout{ grid-template-columns:1fr; }
  .shop-filters{ position:static; }
  .shop-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 520px){
  .shop-grid{ grid-template-columns:1fr; }
}
.courses-grid{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:18px;
}
.course-card{
  display:flex; flex-direction:column; border:1px solid var(--c-border);
  border-radius:var(--radius-md); overflow:hidden; background:#fff;
  box-shadow:var(--shadow-1); transition:box-shadow .2s, transform .2s, border-color .2s;
}
.course-card:hover{ box-shadow:var(--shadow-2); transform:translateY(-3px); border-color:var(--c-accent-soft); }
.course-card__poster{ aspect-ratio:3/4; background:var(--c-bg-soft-2); overflow:hidden; }
.course-card__poster img{ width:100%; height:100%; object-fit:cover; }
.course-card__body{ padding:14px; display:flex; flex-direction:column; gap:8px; }
.course-card__body h3{ font-size:13.8px; line-height:1.55; font-weight:700; color:var(--c-primary-dark); }
.course-card__price{ font-size:13px; font-weight:700; color:var(--c-accent); }

.course-card--more{
  align-items:center; justify-content:center; text-align:center; gap:10px; padding:20px;
  background:linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-color:var(--c-primary-dark);
}
.course-card--more .course-card__more-icon{
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg, #FBF3E1, var(--c-accent-soft));
  color:var(--c-primary); display:flex; align-items:center; justify-content:center;
}
.course-card--more h3{ color:#fff; font-size:14.5px; font-weight:700; }
.course-card--more .course-card__more-link{ font-size:12.5px; color:var(--c-accent-soft); font-weight:600; }

/* =========================================================
   Partners — logo cloud
   ========================================================= */
.partners-grid{
  display:grid; grid-template-columns:repeat(6, 1fr); gap:16px;
}
.partner-tile{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--c-border); border-radius:var(--radius-md); background:#fff;
  padding:22px 12px; aspect-ratio:4/3; transition:box-shadow .2s, border-color .2s;
}
.partner-tile:hover{ box-shadow:var(--shadow-1); border-color:var(--c-accent-soft); }
.partner-tile img{ max-height:38px; width:auto; filter:grayscale(1); opacity:.75; transition:filter .2s, opacity .2s; }
.partner-tile:hover img{ filter:grayscale(0); opacity:1; }
.partner-tile__placeholder{
  width:44px; height:44px; border-radius:50%;
  background:var(--c-bg-soft-2); color:var(--c-text-muted);
  display:flex; align-items:center; justify-content:center;
}
.partner-tile__name{ font-size:11.5px; color:var(--c-text-muted); text-align:center; }

/* =========================================================
   Partners slider — single row with prev/next arrows
   ========================================================= */
.partners-slider{ display:flex; align-items:center; gap:14px; }
.partners-slider__track{
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; padding:4px 2px; flex:1;
  -ms-overflow-style:none; scrollbar-width:none;
}
.partners-slider__track::-webkit-scrollbar{ display:none; }
.partners-slider__track .partner-tile{
  flex:0 0 auto; width:150px; aspect-ratio:4/3; scroll-snap-align:start;
}
.partners-slider__arrow{
  flex-shrink:0; width:42px; height:42px; border-radius:50%;
  background:#fff; border:1px solid var(--c-border); color:var(--c-primary);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:var(--shadow-1); transition:background .2s, color .2s, border-color .2s;
}
.partners-slider__arrow:hover{ background:var(--c-primary); color:#fff; border-color:var(--c-primary); }

.partner-tile--more{
  background:linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-color:var(--c-primary-dark);
}
.partner-tile--more .partner-tile__more-icon{
  width:38px; height:38px; border-radius:50%;
  background:linear-gradient(135deg, #FBF3E1, var(--c-accent-soft));
  color:var(--c-primary); display:flex; align-items:center; justify-content:center;
}
.partner-tile--more .partner-tile__name{ color:#fff; font-weight:600; }
.partner-tile--more:hover{ box-shadow:var(--shadow-2); }

.partners-grid--full .partner-tile{ aspect-ratio:4/3; }

/* =========================================================
   اسلایدرهای خودکار (همکاران + اعضای تعاونی) — بدون اسکرول دستی،
   فقط با جاوااسکریپت حرکت می‌کنند تا حلقه‌ی بی‌پایان یکنواخت بماند.
   ========================================================= */
#partners-track,
#hub-members-track{
  overflow-x:hidden; scroll-snap-type:none; scroll-behavior:auto;
}

/* =========================================================
   اعضای تعاونی دانش‌بنیان — نسخه بزرگ‌تر همان کارت همکاران
   ========================================================= */
.hub-members-slider__track .partner-tile--lg{
  width:210px; aspect-ratio:4/3; gap:10px; padding:28px 16px;
}
.partner-tile--lg .partner-tile__name{ font-size:13.5px; font-weight:600; color:var(--c-text); }

/* اعضای هاب: کارت افراد — عکس دایره‌ای و رنگی (نه لوگوی خاکستری) + نام + نقش */
.partner-tile--person img{
  width:72px; height:72px; max-height:none; border-radius:50%;
  object-fit:cover; filter:none; opacity:1; border:2px solid var(--c-accent-soft);
}
.partner-tile--person:hover img{ filter:none; opacity:1; border-color:var(--c-accent); }
.partner-tile--person .partner-tile__placeholder{
  width:72px; height:72px; border-radius:50%; background:var(--c-bg-soft-2); color:var(--c-text-muted);
}
.partner-tile--person .partner-tile__name{ font-weight:700; }
.partner-tile__role{ font-size:11.5px; color:var(--c-text-muted); text-align:center; }

@media (max-width: 780px){
  .partners-slider__arrow{ width:36px; height:36px; }
  .partners-slider__track .partner-tile{ width:130px; }
  .hub-members-slider__track .partner-tile--lg{ width:170px; padding:22px 14px; }
  .partner-tile--person img,
  .partner-tile--person .partner-tile__placeholder{ width:60px; height:60px; }
}

/* =========================================================
   بنر بالای صفحات داخلی (مثل صفحه همکاران و شرکای تجاری)
   ========================================================= */
.page-banner{
  background:linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color:#fff; padding:56px 0; border-bottom:3px solid var(--c-accent);
}
.page-banner .hero__kicker{ color:var(--c-accent-soft); }
.page-banner .hero__kicker::before{ background:var(--c-accent-soft); }
.page-banner h1{ color:#fff; font-size:clamp(24px, 3vw, 34px); margin-bottom:10px; }
.page-banner p{ color:#CBD8E5; font-size:15px; max-width:640px; }

/* =========================================================
   تب اطلاعات مدیرعامل — با نگه‌داشتن موس روی لوگوی همکار
   ========================================================= */
.partner-tile.has-tooltip{ position:relative; cursor:pointer; }
.partner-tile__tooltip{
  position:absolute; top:calc(100% + 14px); right:50%; transform:translateX(50%) translateY(6px);
  width:240px; max-width:80vw; background:#fff; border-radius:var(--radius-md);
  box-shadow:var(--shadow-2); border:1px solid var(--c-border); padding:18px 16px;
  text-align:center; z-index:20;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.partner-tile__tooltip::before{
  content:''; position:absolute; top:-7px; right:50%; transform:translateX(50%) rotate(45deg);
  width:13px; height:13px; background:#fff; border-right:1px solid var(--c-border); border-top:1px solid var(--c-border);
}
.partner-tile.has-tooltip:hover .partner-tile__tooltip,
.partner-tile.has-tooltip:focus .partner-tile__tooltip,
.partner-tile.has-tooltip:focus-within .partner-tile__tooltip,
.partner-tile.has-tooltip.is-active .partner-tile__tooltip{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateX(50%) translateY(0);
}
.partner-tile__tooltip-photo{
  width:64px; height:64px; border-radius:50%; object-fit:cover; margin:0 auto 10px;
  border:2px solid var(--c-accent-soft); display:block;
}
.partner-tile__tooltip-photo--placeholder{
  width:64px; height:64px; border-radius:50%; margin:0 auto 10px;
  background:var(--c-bg-soft-2); color:var(--c-text-muted);
  display:flex; align-items:center; justify-content:center;
}
.partner-tile__tooltip-name{ display:block; font-size:13.5px; font-weight:700; color:var(--c-primary-dark); margin-bottom:4px; }
.partner-tile__tooltip-bio{ display:block; font-size:12px; color:var(--c-text-muted); line-height:1.7; }

@media (max-width: 480px){
  .partner-tile__tooltip{ width:210px; }
}


.site-footer{ background:var(--c-primary-dark); color:#CBD8E5; border-top:2px solid var(--c-accent); }
.footer-top{ padding:64px 0 40px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px;
}
.footer-brand__logo{ height:44px; margin-bottom:16px; }
.footer-brand p{ font-size:14px; color:#9FB2C6; line-height:1.9; }
.footer-col h4{ color:#fff; font-size:15px; margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:13.8px; color:#B0C2D6; transition:color .15s; }
.footer-col a:hover{ color:#fff; }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; font-size:13.8px; color:#B0C2D6; margin-bottom:12px; }
.footer-contact li span{ line-height:1.7; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:18px 0;
  font-size:13px; color:#7E93AC; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

.footer-hub{ margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); }
.footer-hub h4{ color:#fff; font-size:14px; margin-bottom:12px; }
.footer-hub__social{ display:flex; gap:10px; }
.footer-hub__social a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(233,196,122,.4);
  display:flex; align-items:center; justify-content:center; color:#CBD8E5;
  transition:background .2s, color .2s, border-color .2s;
}
.footer-hub__social a:hover{ background:var(--c-accent); color:#fff; border-color:var(--c-accent); }
.footer-hub__social--contact{ margin-top:16px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px){
  .hero .container{ grid-template-columns:1fr; }
  .hero__portrait{ max-width:340px; margin:0 auto; }
  .services-grid{ grid-template-columns:repeat(3, 1fr); }
  .posts-grid{ grid-template-columns:repeat(3, 1fr); }
  .courses-grid{ grid-template-columns:repeat(3, 1fr); }
  .partners-grid{ grid-template-columns:repeat(4, 1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 780px){
  .top-strip{ display:none; }
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:88%; max-width:340px; height:100vh;
    background:#fff; transform:translateX(102%); transition:transform .25s ease;
    box-shadow:-10px 0 30px rgba(0,0,0,.15); padding:20px; overflow-y:auto;
  }
  .main-nav.is-open{ transform:translateX(0); }
  .main-nav > ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .main-nav > ul > li > a{ padding:14px 10px; justify-content:space-between; }
  .mega-panel{ position:static; box-shadow:none; border:none; display:none; opacity:1; visibility:visible; transform:none; padding-right:14px; }
  .main-nav > ul > li.is-open .mega-panel{ display:block; }
  .nav-toggle{ display:flex; }
  .header-shop__btn span{ display:none; }
  .header-shop__btn{ padding:11px; }
  .header-shop__panel{ left:auto; right:0; }
  .services-grid{ grid-template-columns:repeat(2, 1fr); }
  .posts-grid{ grid-template-columns:repeat(2, 1fr); }
  .courses-grid{ grid-template-columns:repeat(2, 1fr); }
  .partners-grid{ grid-template-columns:repeat(3, 1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .section{ padding:52px 0; }
}
@media (max-width: 480px){
  .services-grid{ grid-template-columns:1fr 1fr; }
  .service-tile{ aspect-ratio:auto; min-height:150px; }
  .posts-grid{ grid-template-columns:1fr; }
  .courses-grid{ grid-template-columns:1fr 1fr; }
  .partners-grid{ grid-template-columns:1fr 1fr; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; scroll-behavior:auto !important; }
}

/* =========================================================
   صفحه خبر (single.php) — طراحی کامل برای مقاله + ویدیو + اشتراک‌گذاری
   ========================================================= */
.news-section__grid{
  display:grid; grid-template-columns:1fr 320px; gap:40px; align-items:start;
}
.news-article{ min-width:0; }

.news-cats{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.news-cats__item{
  font-size:12.5px; font-weight:700; color:var(--c-accent);
  background:var(--c-accent-soft); padding:5px 12px; border-radius:99px;
}
.news-cats__item:hover{ background:var(--c-accent); color:#fff; }

.news-title{ font-size:clamp(22px,3vw,32px); line-height:1.5; margin:0 0 16px; color:var(--c-primary-dark); }

.news-meta{
  display:flex; flex-wrap:wrap; gap:18px; padding-bottom:18px; margin-bottom:24px;
  border-bottom:1px solid var(--c-border); color:var(--c-text-muted); font-size:13.5px;
}
.news-meta__item{ display:flex; align-items:center; gap:6px; }
.news-meta__item img{ border-radius:50%; }
.news-meta__item svg{ color:var(--c-accent); flex-shrink:0; }

.news-thumb{ border-radius:var(--radius-md); overflow:hidden; margin-bottom:28px; box-shadow:var(--shadow-1); }
.news-thumb img{ width:100%; height:auto; display:block; }

.news-content{
  font-size:15.5px; line-height:2; color:var(--c-text); margin-bottom:32px; word-wrap:break-word;
}
.news-content p{ margin:0 0 18px; }
.news-content h2, .news-content h3, .news-content h4{ color:var(--c-primary-dark); margin:32px 0 14px; line-height:1.6; }
.news-content ul, .news-content ol{ margin:0 0 18px; padding-inline-start:24px; }
.news-content li{ margin-bottom:8px; }
.news-content a{ color:var(--c-primary); text-decoration:underline; text-underline-offset:3px; }
.news-content a:hover{ color:var(--c-accent); }
.news-content img{ max-width:100%; height:auto; border-radius:var(--radius-md); margin:12px 0; }
.news-content blockquote{
  margin:20px 0; padding:16px 20px; border-right:4px solid var(--c-accent);
  background:var(--c-bg-soft); border-radius:var(--radius-sm); color:var(--c-text-muted);
}
.news-content table{ width:100%; border-collapse:collapse; margin-bottom:18px; }
.news-content table th, .news-content table td{ border:1px solid var(--c-border); padding:8px 12px; text-align:right; }
.news-content iframe, .news-content video{ max-width:100%; border-radius:var(--radius-md); }

.news-video-block{ margin:8px 0 36px; }

.news-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.news-tags__item{
  font-size:12.5px; color:var(--c-text-muted); background:var(--c-bg-soft-2);
  border:1px solid var(--c-border); padding:5px 12px; border-radius:99px;
}
.news-tags__item:hover{ color:var(--c-primary); border-color:var(--c-primary-light); }

.news-share{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:36px;
  padding:16px; background:var(--c-bg-soft); border-radius:var(--radius-md);
}
.news-share__label{ font-size:13.5px; font-weight:700; color:var(--c-text-muted); }
.news-share__btn{
  display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600;
  background:#fff; border:1px solid var(--c-border); color:var(--c-text);
  padding:7px 14px; border-radius:99px; cursor:pointer; font-family:inherit;
  transition:border-color .2s, color .2s;
}
.news-share__btn:hover{ border-color:var(--c-accent); color:var(--c-accent); }
.news-share__btn.is-copied{ border-color:var(--c-primary); color:var(--c-primary); }
.news-share__btn.is-copied::after{ content:"کپی شد!"; margin-inline-start:4px; }

.news-comments{ margin-bottom:28px; }
.news-back{ text-align:center; }

/* سایدبار «اخبار دیگر» */
.news-sidebar{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-md);
  padding:20px; box-shadow:var(--shadow-1); position:sticky; top:20px;
}
.news-sidebar__title{ font-size:16px; margin:0 0 16px; color:var(--c-primary-dark); }
.news-sidebar__list{ display:flex; flex-direction:column; gap:14px; }
.news-sidebar__card{ display:flex; gap:10px; align-items:center; }
.news-sidebar__thumb{ width:64px; height:52px; flex-shrink:0; border-radius:8px; overflow:hidden; background:var(--c-bg-soft-2); }
.news-sidebar__thumb img{ width:100%; height:100%; object-fit:cover; }
.news-sidebar__body{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.news-sidebar__date{ font-size:11.5px; color:var(--c-accent); font-weight:600; }
.news-sidebar__name{ font-size:13px; font-weight:700; color:var(--c-text); line-height:1.5; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.news-sidebar__card:hover .news-sidebar__name{ color:var(--c-primary); }

@media (max-width: 900px){
  .news-section__grid{ grid-template-columns:1fr; }
  .news-sidebar{ position:static; }
}

/* =========================================================
   نوار ویژگی‌های فروشگاه (template-shop.php) — همراه ثبت‌نام دوره
   ========================================================= */
.shop-highlights{
  display:flex; flex-wrap:wrap; gap:0; margin-bottom:32px;
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-1); border-top:3px solid var(--c-accent); overflow:hidden;
}
.shop-highlights__item{
  flex:1; min-width:130px; display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:8px; padding:20px 12px; border-left:1px solid var(--c-border);
}
.shop-highlights__item:last-child{ border-left:none; }
.shop-highlights__icon{ color:var(--c-accent); }
.shop-highlights__label{ font-size:13.5px; font-weight:700; color:var(--c-primary-dark); line-height:1.5; }
.shop-highlights__sub{ font-size:11px; color:var(--c-text-muted); line-height:1.6; }

@media (max-width: 860px){
  .shop-highlights{ flex-direction:column; }
  .shop-highlights__item{ border-left:none; border-bottom:1px solid var(--c-border); flex-direction:row; text-align:right; justify-content:flex-start; }
  .shop-highlights__item:last-child{ border-bottom:none; }
}

/* =========================================================
   پلن‌های قیمت (صفحه محصول) — چند قیمت با توضیح، کنار قیمت پایه
   ========================================================= */
.product-price-tiers{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;
}
.product-price-tier{
  flex:1; min-width:150px; display:flex; flex-direction:column; gap:4px;
  background:var(--c-bg-soft); border:1px solid var(--c-border); border-radius:var(--radius-sm);
  padding:12px 14px; transition:border-color .2s, box-shadow .2s;
}
.product-price-tier:hover{ border-color:var(--c-accent); box-shadow:var(--shadow-1); }
.product-price-tier__label{ font-size:12.5px; font-weight:700; color:var(--c-primary-dark); }
.product-price-tier__price{ font-size:14px; font-weight:800; color:var(--c-accent); }
.product-price-tier__desc{ font-size:11px; color:var(--c-text-muted); line-height:1.6; }

@media (max-width: 640px){
  .product-price-tiers{ flex-direction:column; }
}

/* =========================================================
   لیست «از ایده تا بازار» (زیرمجموعه بخش خبر)
   ========================================================= */
.irandanesh-idea-list{ list-style:none; margin:28px 0 0; padding:0; display:flex; flex-direction:column; gap:18px; }
.irandanesh-idea-item{
  display:flex; gap:18px; border:1px solid var(--c-border); border-radius:var(--radius-md);
  padding:14px; background:#fff; transition:border-color .2s, box-shadow .2s;
}
.irandanesh-idea-item:hover{ border-color:var(--c-accent-soft); box-shadow:var(--shadow-1); }
.irandanesh-idea-item__thumb{
  flex:0 0 160px; width:160px; height:110px; border-radius:var(--radius-sm); overflow:hidden;
  background:var(--c-bg-soft-2); display:flex; align-items:center; justify-content:center; color:var(--c-primary);
}
.irandanesh-idea-item__thumb img{ width:100%; height:100%; object-fit:cover; }
.irandanesh-idea-item__body{ flex:1; display:flex; flex-direction:column; gap:6px; min-width:0; }
.irandanesh-idea-item__date{ font-size:12px; color:var(--c-accent); font-weight:600; }
.irandanesh-idea-item__body h3{ font-size:16px; line-height:1.5; }
.irandanesh-idea-item__body h3 a:hover{ color:var(--c-primary); }
.irandanesh-idea-item__excerpt{ font-size:13.5px; color:var(--c-text-muted); line-height:1.8; margin:0; }
.irandanesh-idea-item__more{ margin-top:auto; font-size:12.5px; font-weight:700; color:var(--c-primary); align-self:flex-start; }
.irandanesh-idea-pagination{ display:flex; gap:6px; justify-content:center; margin-top:28px; flex-wrap:wrap; }
.irandanesh-idea-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px;
  border:1px solid var(--c-border); border-radius:var(--radius-sm); font-size:13px; color:var(--c-primary-dark);
}
.irandanesh-idea-pagination .page-numbers.current{ background:var(--c-primary); color:#fff; border-color:var(--c-primary); }
@media (max-width: 560px){
  .irandanesh-idea-item{ flex-direction:column; }
  .irandanesh-idea-item__thumb{ width:100%; flex-basis:auto; height:160px; }
}

/* =========================================================
   گروه چک‌باکس چندگزینه‌ای (مثلاً موارد همکاری تجاری در فرم ثبت‌نام)
   ========================================================= */
.irandanesh-checkbox-group{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:8px 16px; margin-top:4px;
}
.irandanesh-checkbox-group .irandanesh-radio{ align-items:flex-start; }
@media (max-width: 560px){
  .irandanesh-checkbox-group{ grid-template-columns:1fr; }
}


/* =========================================================
   نشست‌ها — گالری تصویری با توضیحات
   ========================================================= */

/* ---------- لیست نشست‌ها: پنجره‌های کارتی ---------- */
.sg-intro{ max-width:820px; margin:0 auto 36px; line-height:2; color:var(--c-text); }
.sg-tiles{
  --sg-cover-w:336px; /* عرض قاب کاور — در لیست و در توضیحات نشست یکسان است */
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
.sg-tile{
  display:flex; flex-direction:column; background:#fff;
  border:1px solid var(--c-border); border-radius:14px; overflow:hidden;
  transition:box-shadow .25s, transform .25s, border-color .25s;
}
.sg-tile:hover, .sg-tile:focus-visible{
  box-shadow:var(--shadow-2); transform:translateY(-4px); border-color:var(--c-accent-soft);
}
/* دیوار گالری: زمینه‌ی ملایم پشت قاب */
.sg-tile__frame{
  display:flex; justify-content:center; padding:14px;
  background:linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg-soft-2) 100%);
  border-bottom:1px solid var(--c-border);
}

/* ---------- قاب کاور (مشترک بین لیست و توضیحات) ---------- */
:root{ --sg-cover-w:336px; }
.sg-frame{
  display:block; width:100%; max-width:var(--sg-cover-w);
  padding:6px; background:#fff; border-radius:3px;
  border:1px solid var(--c-accent-soft);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 8px 18px rgba(10,27,43,.16), 0 2px 4px rgba(10,27,43,.08);
}
.sg-frame__img{
  position:relative; display:block; aspect-ratio:4/3; overflow:hidden;
  background:var(--c-bg-soft-2); outline:1px solid rgba(21,50,76,.14); outline-offset:-1px;
}
.sg-frame__img img{
  display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s ease;
}
.sg-tile:hover .sg-frame__img img{ transform:scale(1.06); }
.sg-tile__count{
  position:absolute; bottom:8px; left:8px;
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(10,27,43,.78); color:#fff; font-size:11.5px; font-weight:600;
  padding:3px 10px; border-radius:999px; backdrop-filter:blur(4px);
}
.sg-tile__count svg{ width:13px; height:13px; }
.sg-tile__body{ display:flex; flex-direction:column; gap:6px; padding:14px 16px 16px; flex:1; }
.sg-tile__date{ font-size:12px; color:var(--c-accent); font-weight:600; }
.sg-tile__title{ font-size:15.5px; font-weight:800; line-height:1.7; color:var(--c-primary-dark); }
.sg-tile__excerpt{ font-size:13px; line-height:1.8; color:var(--c-text-muted); }
.sg-tile__more{ margin-top:auto; padding-top:4px; font-size:12.5px; font-weight:700; color:var(--c-primary); }
.sg-tile:hover .sg-tile__more{ color:var(--c-accent); }

/* ---------- صفحه‌ی یک نشست ---------- */
.sg-head{ max-width:820px; margin:0 auto 40px; text-align:center; }
.sg-title{ font-size:clamp(25px, 3.2vw, 38px); margin-top:8px; line-height:1.6; }
.sg-meta{
  display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center;
  margin-top:14px; color:var(--c-text-muted); font-size:14px;
}
.sg-meta__item{ display:inline-flex; align-items:center; gap:7px; }
.sg-meta__item svg{ width:17px; height:17px; color:var(--c-accent); }

.sg-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.sg-item{
  margin:0; display:flex; flex-direction:column; background:#fff;
  padding:10px; border:1px solid var(--c-border); border-radius:14px; box-shadow:var(--shadow-1);
  transition:box-shadow .25s, transform .25s, border-color .25s;
}
.sg-item:hover{ box-shadow:var(--shadow-2); transform:translateY(-3px); border-color:var(--c-accent-soft); }
.sg-item__link{
  position:relative; display:block; aspect-ratio:4/3; overflow:hidden;
  border-radius:8px; background:var(--c-bg-soft-2); cursor:zoom-in;
}
.sg-item__link img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.sg-item:hover .sg-item__link img{ transform:scale(1.05); }
.sg-item__zoom{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; background:rgba(10,27,43,.0); opacity:0; transition:opacity .25s, background .25s;
}
.sg-item__link:hover .sg-item__zoom, .sg-item__link:focus-visible .sg-item__zoom{
  opacity:1; background:rgba(10,27,43,.38);
}
.sg-item__caption{
  padding:12px 6px 4px; font-size:14px; line-height:1.9; color:var(--c-text);
  border-top:1px solid var(--c-border); margin-top:10px; text-align:center;
}

.sg-description{
  max-width:960px; margin:52px auto 0; background:#fff;
  border:1px solid var(--c-border); border-top:3px solid var(--c-accent); border-radius:12px;
  padding:30px 34px; font-size:16px; line-height:2.1; box-shadow:var(--shadow-1);
}
/* کاور داخل توضیحات: همان قاب و همان مقیاس لیست، کنار متن */
.sg-description__cover{ float:right; width:var(--sg-cover-w); max-width:100%; margin:4px 0 14px 28px; }
.sg-clear{ clear:both; }
.sg-description > :first-child{ margin-top:0; }
.sg-description > :last-child{ margin-bottom:0; }
.sg-description > :nth-last-child(2){ margin-bottom:0; }
.sg-description p{ margin:0 0 1.1em; }
.sg-description h2, .sg-description h3{ margin:1.4em 0 .6em; }
.sg-description img{ border-radius:8px; height:auto; }
.sg-description .sg-frame__img img{ height:100%; border-radius:0; }
.sg-description a{ color:var(--c-primary-light); text-decoration:underline; }

.sg-back{ text-align:center; margin-top:40px; }
.sg-others{ margin-top:70px; padding-top:48px; border-top:1px solid var(--c-border); }
.sg-others__title{ font-size:22px; margin-bottom:26px; display:flex; align-items:center; gap:12px; }
.sg-others__title::before{
  content:''; width:26px; height:3px; border-radius:2px; flex-shrink:0;
  background:linear-gradient(90deg, var(--c-accent), var(--c-accent-soft));
}

/* ---------- لایت‌باکس ---------- */
html.sg-lb-open{ overflow:hidden; }
.sg-lb{
  position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;
  background:rgba(8,18,28,.98); padding:56px 70px;
}
.sg-lb[hidden]{ display:none; }
.sg-lb__stage{
  margin:0; display:flex; flex-direction:column; align-items:center; gap:14px;
  max-width:100%; max-height:100%;
}
.sg-lb__img{
  max-width:100%; max-height:calc(100vh - 190px); object-fit:contain;
  border-radius:6px; background:#0e1e2d; box-shadow:0 20px 60px rgba(0,0,0,.5);
  opacity:0; transition:opacity .25s;
}
.sg-lb__img.is-ready{ opacity:1; }
.sg-lb__caption{
  color:#EAF0F6; font-size:15px; line-height:1.9; text-align:center; max-width:760px;
}
.sg-lb__caption[hidden]{ display:none; }
.sg-lb__counter{
  position:absolute; top:18px; left:50%; transform:translateX(-50%);
  color:#CBD8E5; font-size:14px; letter-spacing:.5px;
}
.sg-lb__btn{
  position:absolute; display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08); color:#fff; transition:background .2s, border-color .2s;
}
.sg-lb__btn:hover{ background:rgba(185,139,62,.85); border-color:var(--c-accent); }
.sg-lb__btn[hidden]{ display:none; }
.sg-lb__close{ top:14px; right:16px; }
.sg-lb__prev{ right:16px; top:50%; transform:translateY(-50%); }
.sg-lb__next{ left:16px;  top:50%; transform:translateY(-50%); }

/* ---------- برچسب «نشست» روی کارت صفحه اول ---------- */
.post-card__thumb{ position:relative; display:block; }
.post-card__badge{
  position:absolute; top:10px; right:10px; z-index:1;
  background:var(--c-accent); color:#fff; font-size:11.5px; font-weight:700;
  padding:2px 10px; border-radius:999px; box-shadow:0 2px 8px rgba(0,0,0,.18);
}

@media (max-width: 1024px){
  .sg-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 860px){
  .sg-tiles{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .sg-grid{ grid-template-columns:1fr; gap:18px; }
  .sg-tiles{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .sg-tile__frame{ padding:12px 8px 10px; }
  .sg-frame{ padding:5px; }
  .sg-tile__excerpt{ display:none; }
  .sg-description{ padding:22px 18px; }
  .sg-description__cover{ float:none; margin:0 auto 20px; }
  .sg-lb{ padding:60px 12px 90px; }
  .sg-lb__img{ max-height:calc(100vh - 230px); }
  .sg-lb__prev, .sg-lb__next{ top:auto; bottom:18px; transform:none; }
  .sg-lb__prev{ right:calc(50% + 12px); }
  .sg-lb__next{ left:calc(50% + 12px); }
}
@media (max-width: 460px){
  .sg-tiles{ grid-template-columns:1fr; }
  .sg-tile__excerpt{ display:block; }
  .sg-tile__frame{ padding:16px 14px; }
  .sg-frame{ padding:7px; }
}
