/* ────────────────────────────────────────────────────────────────────────
   article‑styles.css
   ────────────────────────────────────────────────────────────────────────
   • فونت‌های قالب به‌صورت پیش‌فرض باقی می‌مانند – فقط سایز و ظاهر heading
     تغییر کرده است.
   • متن اصلی مشکی (#000) است؛ headings به رنگ آبی تیره (#485a85) و کادر
     «Ultra‑Luxury» می‌باشند.
   • سایزهای h2‑h6 به‌نصف اندازه فعلی کاهش یافته‌اند؛ padding
     هم به‌نصف کاهش یافته (0.5 rem به جای 1 rem عمودی).
   • تمامی heading‌ها همان گرادیان و حاشیه طلایی را دارند؛ تنها
     رنگ شفافیت آن تغییر کرده تا هر سطح به‌طور واضحی متمایز باشد.
   ──────────────────────────────────────────────────────────────────────── */

:root{
  /* رنگ‌های اصلی */
  --accent-1: #485a85;          /* آبی تیره */
  --accent-2: #d6a75e;          /* طلا */
  /* ظاهر کادر heading */
  --card-radius: 8px;
  --card-shadow: 0 2px 4px rgba(0,0,0,0.1);
  /* متن اصلی */
  --text-dark: #000;
  /* فونت پایه برای محتوا */
  --font-size-base: clamp(0.95rem, 0.9vw + 0.4rem, 1.25rem);
  --heading-weight: 600;
}

/* ── محتوا ────────────────────────────────────────────────────── */
.article-content{
  color: var(--text-dark);
  font-size: var(--font-size-base);
  line-height: 1.6;

}

/* ── heading 1 (به‌صورت همان‌استایل قبلی) ──────────────────────── */
.article-content h1{
  font-size: var(--font-size-base);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 1rem;
  background: linear-gradient(135deg,
    rgb(72 90 133 / 58%),
    rgba(214,167,94,0.08));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── heading 2 ──────────────────────────────────────────────────────── */
.article-content h2{
  font-size: clamp(0.9rem, 1.75vw, 1.25rem);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
    rgba(72,90,133,0.08),
    rgba(214,167,94,0.08));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── heading 3 ──────────────────────────────────────────────────────── */
.article-content h3{
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
    rgba(72,90,133,0.12),
    rgba(214,167,94,0.12));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── heading 4 ──────────────────────────────────────────────────────── */
.article-content h4{
  font-size: clamp(0.7rem, 1.3vw, 1rem);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
    rgba(72,90,133,0.16),
    rgba(214,167,94,0.16));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── heading 5 ──────────────────────────────────────────────────────── */
.article-content h5{
  font-size: clamp(0.6rem, 1.1vw, 0.9rem);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
    rgba(72,90,133,0.20),
    rgba(214,167,94,0.20));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── heading 6 ──────────────────────────────────────────────────────── */
.article-content h6{
  font-size: clamp(0.5rem, 0.8vw, 0.75rem);
  font-weight: var(--heading-weight);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
    rgba(72,90,133,0.24),
    rgba(214,167,94,0.24));
  border: 1px solid rgba(72,90,133,0.1);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  color: var(--accent-1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ── Hover effect for all headings ───────────────────────────────────── */
.article-content h1:hover,
.article-content h2:hover,
.article-content h3:hover,
.article-content h4:hover,
.article-content h5:hover,
.article-content h6:hover{
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* ── Underline (full width) ─────────────────────────────────────────── */
.article-content h1::after,
.article-content h2::after,
.article-content h3::after,
.article-content h4::after,
.article-content h5::after,
.article-content h6::after{
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  margin: .5rem 0 0 0;
  border-radius: 1px;
}

/* ── Textual elements (p, lists, code, etc.) ──────────────────────── */
.article-content p,
.article-content ul,
.article-content ol,
.article-content li,
.article-content blockquote,
.article-content pre,
.article-content code,
.article-content table,
.article-content th,
.article-content td{
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 1rem 0;
}
.article-content ul,
.article-content ol{
  margin-left: 1.5rem;
}
.article-content li{
  margin-bottom: .5rem;
}

/* ── Links ───────────────────────────────────────────────────────────── */
.article-content a{
  color: var(--accent-2);
  text-decoration: none;
}
.article-content a:hover{
  text-decoration: underline;
}
/* Ultra Luxury Article List Style */
.article-content ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    background: #fdfdfd;
    border-right: 4px solid #d4af37; /* طلایی لوکس */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-content ul li {
    position: relative;
    padding: 12px 35px 12px 15px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.article-content ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.article-content ul li::before {
    content: "✔"; /* یا ✓ */
    position: absolute;
    right: 0;
    top: 15px;
    color: #d4af37;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.article-content ul li:hover {
    background: rgba(212, 175, 55, 0.03);
    padding-right: 40px;
}

.article-content ul li:hover::before {
    transform: scale(1.2);
    color: #b8860b;
}

.article-content ul li strong {
    color: #1a1a1a;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
}