/* Start custom CSS for html, class: .elementor-element-030110c *//* استایل کلی بنر هیرو */
.hero-post-wrapper {
  width: 100%;
  max-width: 1050px;
  margin: 40px auto;
  padding: 50px 20px;
  background-color: #ffffff;
  /* الگوی خطوط هندسی کم‌رنگ پس‌زمینه */
  background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  border-radius: 32px;
  direction: rtl;
}

.hero-post-wrapper.dir-ltr {
  direction: ltr;
}

.hero-post-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ۱. بخش تصویر مرکزی و کارت‌های شناور */
.hero-visual-area {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-bottom: 35px;
}

.main-hero-image {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.main-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* دکمه دایره‌ای شناور روی لبه پایین تصویر */
.center-arrow-btn {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  z-index: 5;
}

.center-arrow-btn:hover {
  transform: translateX(-50%) scale(1.1);
  color: #ffffff;
}

/* ۲. المان‌های شناور اطراف تصویر */
.floating-badge, .floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  z-index: 3;
}

/* کارت آمار سمت راست/چپ */
.stat-badge {
  top: 40%;
  right: -100px;
  padding: 14px 18px;
  text-align: center;
}

.hero-post-wrapper.dir-ltr .stat-badge {
  right: auto;
  left: -100px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: #000000;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px auto;
  font-size: 14px;
}

.stat-num {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  color: #64748b;
}

/* پیش‌نمایش تصویر شناور بالایی */
.mini-thumb-card {
  top: 15%;
  right: -40px;
  width: 75px;
  height: 60px;
  padding: 4px;
  border-radius: 12px;
}

.hero-post-wrapper.dir-ltr .mini-thumb-card {
  right: auto;
  left: -40px;
}

.mini-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* کارت متنی شناور سمت دیگر */
.text-float-card {
  bottom: 25%;
  left: -110px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 190px;
}

.hero-post-wrapper.dir-ltr .text-float-card {
  left: auto;
  right: -110px;
}

.float-card-img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}

.text-float-card p {
  font-size: 11px;
  color: #334155;
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
}

/* آیکون مشکی بالا */
.icon-badge-dark {
  top: 10%;
  left: -30px;
  width: 44px;
  height: 44px;
  background: #000000;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-post-wrapper.dir-ltr .icon-badge-dark {
  left: auto;
  right: -30px;
}

/* ۳. متن و دکمه پایینی */
.hero-content-area {
  text-align: center;
  max-width: 550px;
  margin-top: 15px;
}

.hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.5;
}

.hero-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  color: #0f172a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hero-cta-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* واکنش‌گرایی موبایل */
@media (max-width: 768px) {
  .stat-badge, .mini-thumb-card, .text-float-card, .icon-badge-dark {
    display: none; /* مخفی کردن کارت‌های شناور در موبایل برای تمیزی صفحه */
  }
  .main-hero-image {
    height: 280px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-c3176a6 */.compact-archive-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  direction: rtl;
}

/* نوار دسته‌بندی‌های مینیاتوری */
.top-categories-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 8px 2px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.top-categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 5px 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* گرید فشرده کارت‌ها (ابعاد نصف) */
.compact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

/* کارت کوچک */
.compact-card-item {
  position: relative;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.compact-card-item:hover {
  transform: translateY(-3px);
}

.card-image-wrap {
  width: 100%;
  height: 100%;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* باکس سفید کوچک پایین کارت */
.card-info-box {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: #ffffff;
  border-top-left-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-text-content {
  flex-grow: 1;
  overflow: hidden;
}

.card-text-content h3 {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-text-content p {
  font-size: 10px;
  color: #64748b;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* دکمه فلش کوچک */
.card-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  text-decoration: none;
  font-size: 10px;
  flex-shrink: 0;
}

.compact-card-item:hover .card-circle-btn {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.no-posts-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 12px;
}/* End custom CSS */