/*
Theme Name: زی‌چی (Zichi App Theme)
Theme URI: https://zichi.ir
Author: Maron Agency
Version: 1.3.0
Description: پوسته اختصاصی، مینیمال و فوق‌سریع دایرکتوری مشاغل و اپلیکیشن زی‌چی؛ طراحی مدرن با فونت ساحل، آیکون‌های وکتور خالص SVG، هدر هوشمند، سینگل مقاله استاندارد و آرشیو فیلتردار.
*/

@charset "UTF-8";

/* ==========================================================================
   ۱. بارگذاری فونت ساحل (Sahel Typography)
   ========================================================================== */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/sahel-font@v3.4.0/dist/font-face.css');

/* ==========================================================================
   ۲. متغیرهای طراحی (CSS Custom Properties)
   ========================================================================== */
:root {
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-hover: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --accent-orange: #ff6422;
  --accent-orange-hover: #e85515;
  --accent-orange-soft: #fff1eb;
  
  --border-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  
  --btn-dark: #0f172a;
  --btn-dark-hover: #1e293b;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   ۳. ریست و استایل‌های عمومی (Reset & Base)
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Sahel', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.drawer-opened {
  overflow: hidden;
}

button, input, textarea, select {
  font-family: 'Sahel', sans-serif !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.monai-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   ۴. هدر اصلی سایت (Header)
   ========================================================================== */
.monai-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  height: 76px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-start-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff7a3d, #ff5722);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(255, 100, 34, 0.28);
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hamburger-btn {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger-btn:hover {
  background: var(--bg-hover);
  border-color: #cbd5e1;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu-desktop a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-menu-desktop a:hover {
  color: var(--accent-orange);
}

.btn-header-cta {
  background: var(--btn-dark);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-cta:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   ۵. منوی کشویی موبایل (Off-canvas Drawer)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
  display: flex;
  flex-direction: column;
}

.offcanvas-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.09);
}

.drawer-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: var(--bg-soft);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
}

.drawer-nav-list a:hover {
  background: var(--bg-soft);
  color: var(--accent-orange);
}

.drawer-icon-wrap {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.drawer-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background: #fafbfc;
}

/* ==========================================================================
   ۶. بخش هیرو (Hero Section)
   ========================================================================== */
.hero-section {
  padding: 50px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-badge-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-main-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.26;
  letter-spacing: -1px;
}

.hero-main-title .highlight-accent {
  color: var(--accent-orange);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 530px;
}

.hero-search-pill-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  max-width: 480px;
  margin-top: 4px;
  transition: var(--transition);
}

.hero-search-pill-box:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 12px 28px rgba(255, 100, 34, 0.12);
}

.hero-search-input {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--text-dark);
  width: 100%;
}

.hero-search-btn {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-search-btn:hover {
  background: var(--accent-orange-hover);
}

.app-badges-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.store-badge-btn {
  background: #000000;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.store-badge-btn:hover {
  background: #242424;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-badge-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
}

.store-badge-sub {
  font-size: 0.65rem;
  opacity: 0.8;
}

.store-badge-title {
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-mockup-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.08));
}

/* ==========================================================================
   ۷. بخش ۳ ستونه مزایا (Pillars Section)
   ========================================================================== */
.pillars-section {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.pillar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.pillar-visual-card {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pill-tag-mockup {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  font-weight: 700;
  font-size: 0.92rem;
}

.pill-tag-gem {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff1eb;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-tag-gem svg {
  width: 16px;
  height: 16px;
}

.pill-tag-status {
  color: #10b981;
  font-size: 0.8rem;
  font-weight: bold;
}

.habit-grid-mockup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.habit-dot {
  padding: 6px 10px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}

.habit-dot.active {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}

.bars-chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  height: 90px;
}

.bar-capsule {
  width: 42px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px;
  font-size: 0.65rem;
  font-weight: bold;
  border: 1px solid var(--border-subtle);
}

.bar-svg-wrap {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.bar-svg-wrap svg {
  width: 14px;
  height: 14px;
}

.pillar-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pillar-col p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 310px;
}

/* ==========================================================================
   ۸. کارت بزرگ امکانات (Feature Showcase)
   ========================================================================== */
.features-section {
  padding: 80px 0 100px;
}

.section-pill-badge {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.features-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.features-header h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.features-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.feature-showcase-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
}

.feature-card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.35;
}

.feature-card-title .orange-word {
  color: var(--accent-orange);
  display: block;
}

.feature-card-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.feature-card-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-card-media img {
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

/* ==========================================================================
   ۹. گرید مقالات و وبلاگ (Blog Card System)
   ========================================================================== */
.home-blog-section {
  padding: 60px 0 90px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.blog-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.blog-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.blog-thumb-wrap {
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card-modern:hover .blog-thumb-wrap img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-post-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.blog-post-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.5;
}

.blog-post-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   ۱۰. فوتر سایت (Footer)
   ========================================================================== */
.monai-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-brand-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.8;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--accent-orange);
}

.footer-download-icons {
  display: flex;
  gap: 10px;
}

.footer-icon-pill {
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.footer-icon-pill:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

.footer-bottom-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-light);
}

/* ==========================================================================
   ۱۱. استایل‌های صفحه سینگل (Single Post Layout)
   ========================================================================== */
.single-page-container {
  max-width: 860px;
  padding-top: 30px;
  padding-bottom: 80px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.article-breadcrumb a:hover {
  color: var(--accent-orange);
}

.article-breadcrumb .sep {
  color: var(--border-light);
}

.article-breadcrumb .current-cat {
  color: var(--accent-orange);
  font-weight: 700;
}

.single-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 45px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 40px;
}

.article-cat-badge {
  display: inline-block;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.single-main-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.38;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

.single-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.single-meta-bar .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-meta-bar .meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
}

.single-featured-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 35px;
  background: var(--bg-soft);
}

.single-featured-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.single-article-content {
  font-size: 1.08rem;
  line-height: 2.15;
  color: #334155;
  letter-spacing: -0.2px;
}

.single-article-content p {
  margin-bottom: 24px;
}

.single-article-content h2, 
.single-article-content h3 {
  font-weight: 900;
  color: var(--text-dark);
  margin: 40px 0 18px;
  line-height: 1.4;
  position: relative;
  padding-right: 14px;
  border-right: 4px solid var(--accent-orange);
}

.single-article-content h2 { font-size: 1.45rem; }
.single-article-content h3 { font-size: 1.25rem; }

.single-article-content img {
  border-radius: var(--radius-md);
  margin: 25px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.single-article-content blockquote {
  background: var(--bg-soft);
  border-right: 4px solid var(--accent-orange);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 25px 0;
  color: var(--text-dark);
  font-style: italic;
  font-weight: 600;
}

.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-return-archive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
}

.btn-return-archive:hover {
  background: var(--bg-hover);
  color: var(--accent-orange);
}

.btn-return-archive svg { width: 16px; height: 16px; }

.share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

.share-btn svg { width: 18px; height: 18px; }

.comments-section-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 45px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 15px;
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-count-pill {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 9999px;
  font-weight: 700;
}

.comment-item-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a3d, #ff5722);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.comment-author-name {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.comment-body-text {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.85;
}

.no-comments-box {
  text-align: center;
  padding: 35px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.comment-form-box {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px dashed var(--border-light);
}

.form-box-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.form-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-field {
  margin-bottom: 16px;
}

.form-group-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-text-input,
.form-textarea-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.94rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-text-input:focus,
.form-textarea-input:focus {
  background: #fff;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(255, 100, 34, 0.1);
}

.logged-in-notice {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-submit-comment {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-submit-comment:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 100, 34, 0.28);
}

.btn-submit-comment svg { width: 16px; height: 16px; }

/* ==========================================================================
   ۱۲. استایل‌های صفحه آرشیو (Archive Layout)
   ========================================================================== */
.archive-page-container {
  padding-top: 40px;
  padding-bottom: 90px;
}

.archive-hero-clean {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 35px;
}

.archive-main-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 10px 0 12px;
  letter-spacing: -0.5px;
}

.archive-sub-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
}

.archive-search-bar {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 5px 6px 5px 18px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  max-width: 460px;
  margin: 0 auto;
  transition: var(--transition);
}

.archive-search-bar:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(255, 100, 34, 0.12);
}

.archive-search-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.archive-search-bar button {
  background: var(--btn-dark);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.archive-search-bar button:hover {
  background: var(--accent-orange);
}

.categories-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.cat-pill-link {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.cat-pill-link:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.cat-pill-link.is-active {
  background: var(--accent-orange);
  color: #ffffff !important;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 14px rgba(255, 100, 34, 0.25);
}

.card-float-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}

.card-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.card-meta-top .dot-sep {
  color: var(--border-light);
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: var(--bg-soft);
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: auto;
}

.blog-card-modern:hover .card-action-link svg {
  transform: translateX(-4px);
}

.card-action-link svg {
  transition: transform 0.2s ease;
}

.archive-empty-state {
  text-align: center;
  padding: 70px 24px;
  background: #ffffff;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 540px;
  margin: 20px auto;
}

.empty-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.empty-icon-wrap svg { width: 30px; height: 30px; }

.archive-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.archive-empty-state p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-reset-filter {
  display: inline-flex;
  background: var(--btn-dark);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
}

.btn-reset-filter:hover {
  background: var(--accent-orange);
}

/* ==========================================================================
   ۱۳. واکنش‌گرایی در صفحات و دستگاه‌های مختلف (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 992px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-menu-desktop {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text-block {
    align-items: center;
  }

  .hero-search-pill-box {
    width: 100%;
  }

  .app-badges-row {
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-showcase-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }

  .blog-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.3rem;
  }

  .features-header h2 {
    font-size: 1.85rem;
  }

  .feature-card-title {
    font-size: 1.55rem;
  }

  .blog-grid-modern {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .single-article-card {
    padding: 26px 20px;
  }

  .single-main-title {
    font-size: 1.65rem;
  }

  .comments-section-wrap {
    padding: 26px 20px;
  }

  .form-inputs-row {
    grid-template-columns: 1fr;
  }

  .archive-main-title {
    font-size: 1.85rem;
  }
}