/* ==========================================================================
   magazine.css — مجله (ایندکس + مقاله)
   ========================================================================== */

/* ---------- کارت مقاله ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  padding: 13px 12px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--sadaf-line);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.article-card:hover {
  border-color: rgba(184, 137, 59, .5);
  transform: translateY(-1px);
}

.article-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  margin-bottom: 8px;
  border-radius: var(--r-pill);
  background: #f4ead7;
  color: #6b5730;
  font-size: 10.5px;
  font-weight: 800;
}

.article-card h3 {
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 6px;
  flex: none;
}

.article-card h3 a { color: var(--sadaf-text); }
.article-card h3 a:hover { color: var(--sadaf-gold); }

.article-card p {
  font-size: 12px;
  line-height: 2;
  margin-bottom: 9px;
  flex: 1;
}

.article-meta {
  font-size: 10.5px;
  color: var(--sadaf-muted);
}

.magazine-highlight { margin-bottom: 12px; }

/* ---------- صفحه مقاله ---------- */
.magazine-article-hero .article-lead {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--sadaf-text);
  margin-bottom: 10px;
  max-width: 68ch;
}

/* تصویر داخل مقاله */
.article-figure {
  margin: 12px 0 0;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.article-figure figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--sadaf-muted);
  text-align: center;
}

/* چک‌لیست بدون شماره‌ی ترتیبی (تیک‌دار) */
.checklist--plain { counter-reset: none; }

.checklist--plain li {
  counter-increment: none;
  padding-inline-start: 40px;
}

.checklist--plain li::before {
  content: "✓";
  font-size: 12px;
  background: var(--sadaf-gold-2);
  color: #5c4620;
}

/* ---------- واکنش‌گرایی ---------- */
@media (max-width: 380px) {
  .article-card h3 { font-size: 13px; }
  .magazine-article-hero .article-lead { font-size: 12.5px; }
}

@media (min-width: 700px) {
  .article-card { padding: 16px 15px; }
  .article-card h3 { font-size: 15px; }
}
