/* =========================================================
   Yooz — Home (Elementor) + shortcodes
   ---------------------------------------------------------
   صفحه‌ی اصلی با کانتینرهای المنتور ساخته می‌شود (فایل JSON)؛ هر کانتینر و
   ویجت یک کلاس yz-h-* دارد و ظاهرش از همین فایل می‌آید. انتخاب‌گرها عمداً
   با .elementor-widget / .e-con شروع می‌شوند تا بر استایل پیش‌فرض کیت
   المنتور (رنگ و فونت سراسری) غلبه کنند.
   ---------------------------------------------------------
   بخش‌ها: توکن‌ها · پایه · دکمه‌ها · هیرو
          · نوار آمار [yz_stat] · سربرگ بخش‌ها · چرا یوز · مشاوره
          · دسته‌ها [yz_post_categories] · مقالات [yz_latest_posts] · CTA
   ========================================================= */

/* ---------- توکن‌ها ---------- */
.yz-h,
.yz-h-stat,
.yz-h-posts,
.yz-h-cats {
  --yz-h-font: var(--yz-font, "Vazirmatn", Tahoma, sans-serif);
  --yz-h-primary: var(--yz-color-primary, #1a73e8);
  --yz-h-primary-dark: var(--yz-color-primary-dark, #0f4fa8);
  --yz-h-deep: #0b3d86;
  --yz-h-deep-2: #0a2f6b;
  --yz-h-on-deep: #bcd4f6;
  --yz-h-primary-soft: #e8f1fd;
  --yz-h-secondary: var(--yz-color-secondary, #ff8a00);
  --yz-h-secondary-soft: #fff3e5;
  --yz-h-secondary-strong: #e07600;
  --yz-h-success: var(--yz-color-success, #22a06b);
  --yz-h-success-soft: #e6f5ee;
  --yz-h-success-text: #157a50;
  --yz-h-gold-soft: #f6efe1;
  --yz-h-gold-text: #8a6a2e;
  --yz-h-danger-soft: #fdecec;
  --yz-h-danger-text: #b3261e;
  --yz-h-indigo-soft: #e9eefd;
  --yz-h-indigo-text: #1d4ed8;
  --yz-h-telegram: #1d8fcf;
  --yz-h-heading: var(--yz-color-heading, #101828);
  --yz-h-text: var(--yz-color-text, #1c1c1e);
  --yz-h-muted: var(--yz-color-text-muted, #6b7280);
  --yz-h-gray-600: var(--yz-color-gray-600, #4b5563);
  --yz-h-gray-700: var(--yz-color-gray-700, #374151);
  --yz-h-gray-300: var(--yz-color-gray-300, #d1d5db);
  --yz-h-bg: var(--yz-color-bg, #fff);
  --yz-h-bg-soft: var(--yz-color-bg-soft, #f5f6f8);
  --yz-h-border: var(--yz-color-border, #e5e7eb);
  --yz-h-border-soft: var(--yz-color-border-soft, #f3f4f6);
  --yz-h-r-sm: 12px;
  --yz-h-r: 18px;
  --yz-h-r-lg: 28px;
  --yz-h-r-xl: 32px;
  --yz-h-shadow: 0 28px 56px -34px rgba(11, 61, 134, .38);
  --yz-h-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- پایه ---------- */
.yz-h { font-family: var(--yz-h-font); color: var(--yz-h-text); }
.yz-h :focus-visible { outline: 3px solid var(--yz-h-primary); outline-offset: 3px; border-radius: 8px; }

/* فونت همه‌ی ویجت‌های پایه‌ی المنتور داخل صفحه */
.yz-h .elementor-widget .elementor-heading-title,
.yz-h .elementor-widget .elementor-button,
.yz-h .elementor-widget.elementor-widget-text-editor,
.yz-h .elementor-widget .elementor-icon-box-title,
.yz-h .elementor-widget .elementor-icon-box-description,
.yz-h .elementor-widget .elementor-icon-list-text { font-family: var(--yz-h-font); }

.yz-h .elementor-widget.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* عنوان و زیرعنوان بخش‌ها */
.yz-h .elementor-widget.yz-h-title .elementor-heading-title {
  font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; line-height: 1.45; color: var(--yz-h-heading);
}
.yz-h .elementor-widget.yz-h-sub { font-size: 16px; line-height: 1.9; color: var(--yz-h-muted); max-width: 56ch; }

/* سربرگ بخش: عنوان راست، لینک/دکمه چپ */
.yz-h .e-con.yz-h-head { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.yz-h .e-con.yz-h-head > .e-con { gap: 6px; width: auto; flex: 1 1 320px; }
.yz-h .e-con.yz-h-head > .elementor-widget { width: auto; flex: 0 0 auto; }

/* ---------- دکمه‌ها (ویجت دکمه‌ی المنتور + کلاس) ---------- */
.yz-h .elementor-widget.yz-h-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: var(--yz-h-r-sm);
  font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: 0;
  border: 1px solid transparent; box-shadow: none;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.yz-h .elementor-widget.yz-h-btn .elementor-button:active { transform: scale(.98); }
.yz-h .elementor-widget.yz-h-btn--sm .elementor-button { height: 44px; padding: 0 18px; font-size: 14px; }

.yz-h .elementor-widget.yz-h-btn--primary .elementor-button { background: var(--yz-h-primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(26, 115, 232, .6); }
.yz-h .elementor-widget.yz-h-btn--primary .elementor-button:hover { background: var(--yz-h-primary-dark); color: #fff; }

.yz-h .elementor-widget.yz-h-btn--ghost .elementor-button { background: var(--yz-h-bg); color: var(--yz-h-text); border-color: var(--yz-h-gray-300); }
.yz-h .elementor-widget.yz-h-btn--ghost .elementor-button:hover { border-color: var(--yz-h-primary); color: var(--yz-h-primary); }

.yz-h .elementor-widget.yz-h-btn--light .elementor-button { background: #fff; color: var(--yz-h-deep); }
.yz-h .elementor-widget.yz-h-btn--light .elementor-button:hover { background: var(--yz-h-on-deep); color: var(--yz-h-deep); }

.yz-h .elementor-widget.yz-h-btn--outline-light .elementor-button { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.yz-h .elementor-widget.yz-h-btn--outline-light .elementor-button:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.yz-h .elementor-widget.yz-h-btn--telegram .elementor-button { background: var(--yz-h-telegram); color: #fff; }
.yz-h .elementor-widget.yz-h-btn--telegram .elementor-button:hover { background: #1677b0; color: #fff; }

/* فلش انتهای دکمه (بدون نیاز به آیکون المنتور) */
.yz-h .elementor-widget.yz-h-btn--arrow .elementor-button-text::after {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-inline-start: 10px; vertical-align: -3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--yz-h-ease);
}
.yz-h .elementor-widget.yz-h-btn--arrow .elementor-button:hover .elementor-button-text::after { transform: translateX(-4px); }

/* لینک متنی «مشاهده همه» */
.yz-h .elementor-widget.yz-h-link .elementor-button {
  height: auto; padding: 6px 0; background: none; border: 0; box-shadow: none;
  color: var(--yz-h-primary); font-size: 15px; font-weight: 800;
}
.yz-h .elementor-widget.yz-h-link .elementor-button:hover { color: var(--yz-h-primary-dark); background: none; }

/* زیرسربرگ داخل یک بخش */
.yz-h .e-con.yz-h-subhead {
  flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; margin-top: 20px; padding-top: 28px !important;
  border-top: 1px solid var(--yz-h-border-soft);
}
.yz-h .e-con.yz-h-subhead > .elementor-widget { width: auto; }
.yz-h .elementor-widget.yz-h-subtitle .elementor-heading-title { font-size: 20px; font-weight: 900; line-height: 1.5; color: var(--yz-h-heading); }

/* =========================================================
   هیرو — پس‌زمینه تمام‌عرض، محتوا در عرض محدود کانتینر (Boxed)
   تصویر پیش‌فرض از خود قالب است (assets/images/hero-bg.jpg)؛ اگر در
   المنتور برای این کانتینر تصویر پس‌زمینه انتخاب شود، آن تصویر جایگزین
   می‌شود (استایل المنتور اولویت بالاتری دارد). لایه‌ی سفید سمت متن
   (Background Overlay) در خود المنتور تنظیم شده تا با هر عکسی خوانا بماند.
   ========================================================= */
.yz-h.e-con.yz-h-hero {
  background-color: #f3f7fe;
  background-image: url("../../images/hero-bg.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.yz-h .e-con.yz-h-hero__row { flex-direction: row; align-items: center; gap: 56px; }
.yz-h .e-con.yz-h-hero__text { flex: 1 1 0; min-width: 0; gap: 22px; }
.yz-h .e-con.yz-h-hero__visual { flex: 0 0 460px; width: 460px; position: relative; }

.yz-h .elementor-widget.yz-h-hero__pill { width: auto; align-self: flex-start; }
.yz-h .elementor-widget.yz-h-hero__pill p {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  height: 36px; padding: 0 16px; border-radius: 9999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--yz-h-border);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13.5px; font-weight: 700; color: var(--yz-h-gray-700);
}
.yz-h .elementor-widget.yz-h-hero__pill p::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yz-h-success); box-shadow: 0 0 0 4px rgba(34, 160, 107, .15);
}

.yz-h .elementor-widget.yz-h-hero__title .elementor-heading-title {
  font-size: clamp(32px, 4.2vw, 58px); font-weight: 900; line-height: 1.32; letter-spacing: -.5px;
  color: var(--yz-h-heading); max-width: 18ch;
}
.yz-h .elementor-widget.yz-h-hero__title .elementor-heading-title span { color: var(--yz-h-primary); }
.yz-h .elementor-widget.yz-h-hero__lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 2; color: var(--yz-h-gray-600); max-width: 54ch; }

.yz-h .e-con.yz-h-hero__actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.yz-h .e-con.yz-h-hero__actions > .elementor-widget { width: auto; }

/* نشان‌های اعتماد (Icon List) */
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-item::after { display: none !important; }
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-icon { width: auto; }
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-icon i,
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-icon svg { color: var(--yz-h-success); fill: var(--yz-h-success); font-size: 15px; width: 15px; }
.yz-h .elementor-widget.yz-h-trust .elementor-icon-list-text { font-size: 14px; color: var(--yz-h-gray-600); padding-inline-start: 8px; }

/* هاله‌ی پشت کارت هیرو */
.yz-h .e-con.yz-h-hero__visual::after {
  content: ""; position: absolute; z-index: -1; inset: -12% -14%;
  background: radial-gradient(closest-side, rgba(26, 115, 232, .18), transparent 72%);
  pointer-events: none;
}

/* =========================================================
   نوار آمار — روی لبه‌ی پایین هیرو شناور است
   ========================================================= */
.yz-h.e-con.yz-h-stats-wrap { margin-top: -72px !important; position: relative; z-index: 3; }
.yz-h .e-con.yz-h-stats {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important;
  padding: 10px !important; border-radius: var(--yz-h-r-lg);
  background: var(--yz-h-bg); border: 1px solid var(--yz-h-border); box-shadow: var(--yz-h-shadow);
}
.yz-h .e-con.yz-h-stats > .elementor-widget { width: auto; min-width: 0; }
.yz-h .e-con.yz-h-stats > .elementor-widget + .elementor-widget { border-inline-start: 1px solid var(--yz-h-border-soft); }

.yz-h-stat { display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--yz-h-font); }
.yz-h-stat__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--yz-h-primary-soft); color: var(--yz-h-primary); }
.yz-h-stat__icon svg { width: 24px; height: 24px; }
.yz-h-stat--orange .yz-h-stat__icon { background: var(--yz-h-secondary-soft); color: var(--yz-h-secondary-strong); }
.yz-h-stat--green .yz-h-stat__icon { background: var(--yz-h-success-soft); color: var(--yz-h-success-text); }
.yz-h-stat--gold .yz-h-stat__icon { background: var(--yz-h-gold-soft); color: var(--yz-h-gold-text); }
.yz-h-stat__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.yz-h-stat__num { font-size: clamp(22px, 2vw, 28px); font-weight: 900; color: var(--yz-h-heading); font-variant-numeric: tabular-nums; }
.yz-h-stat__label { font-size: 13.5px; color: var(--yz-h-muted); margin-top: 2px; }

/* =========================================================
   چرا یوز — پنل با معرفی و ۴ ویژگی (Icon Box)
   ========================================================= */
.yz-h .e-con.yz-h-why {
  flex-direction: row; align-items: flex-start; gap: 48px;
  padding: clamp(28px, 4vw, 56px) !important; border-radius: var(--yz-h-r-xl);
  background: var(--yz-h-bg-soft);
}
.yz-h .e-con.yz-h-why__intro { flex: 0 0 34%; gap: 16px; position: sticky; top: calc(var(--yz-header-height, 80px) + 24px); }
.yz-h .elementor-widget.yz-h-why__text { font-size: 16px; line-height: 2; color: var(--yz-h-gray-700); }
.yz-h .e-con.yz-h-why__grid { flex: 1 1 0; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px !important; }
.yz-h .e-con.yz-h-why__grid > .elementor-widget { width: auto; }

.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-wrapper {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: right;
  height: 100%; padding: 24px; border-radius: var(--yz-h-r-lg); background: var(--yz-h-bg);
  border: 1px solid transparent; transition: border-color .25s, box-shadow .25s, transform .25s var(--yz-h-ease);
}
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-wrapper:hover { border-color: var(--yz-h-border); box-shadow: var(--yz-h-shadow); transform: translateY(-3px); }
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-icon { margin: 0 !important; }
.yz-h .elementor-widget.yz-h-feature .elementor-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--yz-h-primary-soft); color: var(--yz-h-primary); fill: var(--yz-h-primary);
  font-size: 22px; padding: 0; border: 0;
}
.yz-h .elementor-widget.yz-h-feature .elementor-icon svg { width: 22px; height: 22px; }
.yz-h .elementor-widget.yz-h-feature--orange .elementor-icon { background: var(--yz-h-secondary-soft); color: var(--yz-h-secondary-strong); fill: var(--yz-h-secondary-strong); }
.yz-h .elementor-widget.yz-h-feature--gold .elementor-icon { background: var(--yz-h-gold-soft); color: var(--yz-h-gold-text); fill: var(--yz-h-gold-text); }
.yz-h .elementor-widget.yz-h-feature--green .elementor-icon { background: var(--yz-h-success-soft); color: var(--yz-h-success-text); fill: var(--yz-h-success-text); }
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-content { text-align: right; }
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-title { margin: 0 0 6px; font-size: 17px; font-weight: 800; line-height: 1.5; color: var(--yz-h-heading); }
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-title a { color: inherit; }
.yz-h .elementor-widget.yz-h-feature .elementor-icon-box-description { margin: 0; font-size: 14px; line-height: 1.9; color: var(--yz-h-muted); }

/* =========================================================
   مشاوره سرمایه‌گذاری — ۳ کارت
   ========================================================= */
.yz-h .e-con.yz-h-invest__grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px !important; }
.yz-h .e-con.yz-h-card {
  position: relative; overflow: hidden; isolation: isolate;
  gap: 14px; padding: 28px !important; border-radius: var(--yz-h-r-lg);
  background: var(--yz-h-bg); border: 1px solid var(--yz-h-border);
  transition: transform .25s var(--yz-h-ease), box-shadow .25s;
}
.yz-h .e-con.yz-h-card:hover { transform: translateY(-4px); box-shadow: var(--yz-h-shadow); }
.yz-h .e-con.yz-h-card > .elementor-widget { width: 100%; }
.yz-h .e-con.yz-h-card > .elementor-widget.yz-h-btn { width: auto; margin-top: auto; }

.yz-h .elementor-widget.yz-h-card__icon .elementor-icon-wrapper { text-align: right; line-height: 0; }
.yz-h .elementor-widget.yz-h-card__icon .elementor-icon {
  width: 56px; height: 56px; border-radius: 18px; display: inline-grid; place-items: center;
  background: var(--yz-h-primary-soft); color: var(--yz-h-primary); fill: var(--yz-h-primary); font-size: 24px;
}
.yz-h .elementor-widget.yz-h-card__icon .elementor-icon svg { width: 24px; height: 24px; }
.yz-h .e-con.yz-h-card--call .elementor-widget.yz-h-card__icon .elementor-icon { background: var(--yz-h-secondary-soft); color: var(--yz-h-secondary-strong); fill: var(--yz-h-secondary-strong); }

.yz-h .elementor-widget.yz-h-card__title .elementor-heading-title { font-size: 19px; font-weight: 800; line-height: 1.5; color: var(--yz-h-heading); }
.yz-h .elementor-widget.yz-h-card__text { font-size: 14.5px; line-height: 1.95; color: var(--yz-h-gray-600); }

/* کارت تلگرام: پنل آبی تیره با حلقه‌ها */
.yz-h .e-con.yz-h-card--telegram {
  border-color: transparent; color: #fff;
  background:
    radial-gradient(circle at 12% 0%, transparent 69px, rgba(255, 255, 255, .09) 70px, transparent 71.5px),
    radial-gradient(circle at 12% 0%, transparent 114px, rgba(255, 255, 255, .07) 115px, transparent 116.5px),
    radial-gradient(circle at 12% 0%, transparent 159px, rgba(255, 255, 255, .05) 160px, transparent 161.5px),
    linear-gradient(160deg, var(--yz-h-deep), var(--yz-h-deep-2));
}
.yz-h .e-con.yz-h-card--telegram .elementor-widget.yz-h-card__icon .elementor-icon { background: rgba(255, 255, 255, .12); color: #fff; fill: #fff; }
.yz-h .e-con.yz-h-card--telegram .elementor-widget.yz-h-card__title .elementor-heading-title { color: #fff; }
.yz-h .e-con.yz-h-card--telegram .elementor-widget.yz-h-card__text { color: var(--yz-h-on-deep); }

/* =========================================================
   دسته‌های مقالات [yz_post_categories]
   ========================================================= */
.yz-h-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; font-family: var(--yz-h-font); }
.yz-h-cat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 18px; border-radius: var(--yz-h-r);
  background: var(--yz-h-bg-soft); border: 1px solid transparent; text-decoration: none;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .25s var(--yz-h-ease);
}
.yz-h-cat:hover { background: var(--yz-h-bg); border-color: var(--yz-h-border); box-shadow: var(--yz-h-shadow); transform: translateY(-3px); }
.yz-h-cat__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--yz-h-primary-soft); color: var(--yz-h-primary); }
.yz-h-cat__icon svg { width: 21px; height: 21px; }
.yz-h-cat--orange .yz-h-cat__icon { background: var(--yz-h-secondary-soft); color: var(--yz-h-secondary-strong); }
.yz-h-cat--green .yz-h-cat__icon { background: var(--yz-h-success-soft); color: var(--yz-h-success-text); }
.yz-h-cat--gold .yz-h-cat__icon { background: var(--yz-h-gold-soft); color: var(--yz-h-gold-text); }
.yz-h-cat--red .yz-h-cat__icon { background: var(--yz-h-danger-soft); color: var(--yz-h-danger-text); }
.yz-h-cat--indigo .yz-h-cat__icon { background: var(--yz-h-indigo-soft); color: var(--yz-h-indigo-text); }
.yz-h-cat__title { font-size: 15px; font-weight: 800; color: var(--yz-h-heading); line-height: 1.5; }
.yz-h-cat__count { font-size: 12.5px; color: var(--yz-h-muted); margin-top: -8px; }

/* =========================================================
   آخرین مقالات [yz_latest_posts]
   ========================================================= */
.yz-h-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; font-family: var(--yz-h-font); }
.yz-h-post {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--yz-h-border); border-radius: var(--yz-h-r-lg); background: var(--yz-h-bg);
  transition: transform .25s var(--yz-h-ease), box-shadow .25s;
}
.yz-h-post:hover { transform: translateY(-4px); box-shadow: var(--yz-h-shadow); }
.yz-h-post__cover {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden;
  margin: 8px 8px 0; border-radius: 22px;
  background: var(--yz-h-primary-soft); color: var(--yz-h-primary);
}
.yz-h-post__cover--orange { background: var(--yz-h-secondary-soft); color: var(--yz-h-secondary-strong); }
.yz-h-post__cover--gold { background: var(--yz-h-gold-soft); color: var(--yz-h-gold-text); }
.yz-h-post__cover svg { width: 46px; height: 46px; }
.yz-h-post__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--yz-h-ease); }
.yz-h-post:hover .yz-h-post__cover img { transform: scale(1.04); }
.yz-h-post__body { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; }
.yz-h-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--yz-h-muted); }
.yz-h-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.yz-h-post__meta svg { width: 14px; height: 14px; }
.yz-h-post__title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.65; }
.yz-h-post__title a { color: var(--yz-h-heading); text-decoration: none; }
.yz-h-post__title a::after { content: ""; position: absolute; inset: 0; } /* کل کارت قابل کلیک */
.yz-h-post { position: relative; }
.yz-h-post__excerpt { margin: 0; font-size: 14px; line-height: 1.9; color: var(--yz-h-gray-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yz-h-post__more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--yz-h-primary); }
.yz-h-post__more svg { width: 15px; height: 15px; transition: transform .2s var(--yz-h-ease); }
.yz-h-post:hover .yz-h-post__more svg { transform: translateX(-4px); }

/* =========================================================
   CTA پایانی
   ========================================================= */
.yz-h .e-con.yz-h-cta {
  align-items: center; text-align: center; gap: 18px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px) !important;
  border-radius: var(--yz-h-r-xl); overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 50% 50%, transparent 199px, rgba(255, 255, 255, .08) 200px, transparent 201.5px),
    radial-gradient(circle at 50% 50%, transparent 299px, rgba(255, 255, 255, .06) 300px, transparent 301.5px),
    radial-gradient(circle at 50% 50%, transparent 399px, rgba(255, 255, 255, .04) 400px, transparent 401.5px),
    linear-gradient(160deg, var(--yz-h-deep), var(--yz-h-deep-2));
}
.yz-h .e-con.yz-h-cta > .elementor-widget { width: 100%; }
.yz-h .elementor-widget.yz-h-cta__title .elementor-heading-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.5; color: #fff; max-width: 24ch; margin-inline: auto; }
.yz-h .elementor-widget.yz-h-cta__text { font-size: 16.5px; line-height: 1.95; color: var(--yz-h-on-deep); max-width: 56ch; margin-inline: auto; }
.yz-h .e-con.yz-h-cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.yz-h .e-con.yz-h-cta__actions > .elementor-widget { width: auto; }

.yz-h-empty {
  padding: 24px; border-radius: var(--yz-h-r); text-align: center;
  background: var(--yz-h-bg-soft, #f5f6f8); color: var(--yz-h-muted, #6b7280);
  font-family: var(--yz-h-font, "Vazirmatn", Tahoma, sans-serif); font-size: 14px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .yz-h .e-con.yz-h-hero__visual { flex-basis: 400px; width: 400px; }
  .yz-h .e-con.yz-h-hero__row { gap: 40px; }
  .yz-h-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .yz-h .e-con.yz-h-hero__row { flex-direction: column; align-items: stretch; }
  .yz-h .e-con.yz-h-hero__visual { flex-basis: auto; width: 100%; max-width: 460px; margin-inline: auto; }
  .yz-h .e-con.yz-h-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yz-h .e-con.yz-h-stats > .elementor-widget:nth-child(3) { border-inline-start: 0; }
  .yz-h .e-con.yz-h-stats > .elementor-widget:nth-child(n+3) { border-top: 1px solid var(--yz-h-border-soft); }
  .yz-h .e-con.yz-h-why { flex-direction: column; gap: 28px; }
  .yz-h .e-con.yz-h-why__intro { flex-basis: auto; position: static; }
  .yz-h .e-con.yz-h-invest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yz-h-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .yz-h.e-con.yz-h-stats-wrap { margin-top: -48px !important; }
  .yz-h-stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .yz-h-stat__icon { width: 44px; height: 44px; border-radius: 14px; }
  .yz-h .e-con.yz-h-hero__actions > .elementor-widget { width: 100%; }
  .yz-h .e-con.yz-h-hero__actions .elementor-button { width: 100%; }
  .yz-h .e-con.yz-h-why__grid,
  .yz-h .e-con.yz-h-invest__grid,
  .yz-h-posts { grid-template-columns: minmax(0, 1fr); }
  .yz-h-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .yz-h *, .yz-h-cat, .yz-h-post { transition: none !important; animation: none !important; }
}
