/* ============================================================
   Blog — index (/blog/) and article pages (/blog/<slug>.html)
   ============================================================ */
.blog-page { padding-top: 72px; }

/* ---------- Index ---------- */
.blog-hero {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
}
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.blog-hero .lede { color: var(--ink-soft); max-width: 62ch; font-size: 1.05rem; line-height: 1.75; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.2rem;
  padding-bottom: var(--space-6);
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.post-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.post-card-kicker { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.post-card-title { font-size: clamp(1.35rem, 2.4vw, 1.6rem); line-height: 1.25; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--gold-bright); }
.post-card-desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.post-card-meta { color: var(--ink-muted); font-size: 0.82rem; margin-top: 0.2rem; }

/* ---------- Article ---------- */
.post { max-width: 780px; padding-bottom: var(--space-6); }
.post-head { display: grid; gap: 0.9rem; padding-block: clamp(1rem, 3vw, 2rem) 1.5rem; border-bottom: 1px solid var(--border-soft); }
.post-title { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; }
.post-meta { color: var(--ink-muted); font-size: 0.9rem; }
.post-meta a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.post-lede { color: var(--ink-soft); font-size: 1.15rem; line-height: 1.75; font-style: italic; }

.post-body { padding-top: 1.2rem; font-size: 1.06rem; line-height: 1.85; color: var(--ink-soft); }
.post-body h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); color: var(--ink); margin: 2.2rem 0 0.8rem; line-height: 1.25; }
.post-body p { margin: 0 0 1.1rem; }
.post-body strong { color: var(--ink); font-weight: 500; }
.post-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.post-body ol, .post-body ul { margin: 0 0 1.2rem; padding-left: 1.4rem; display: grid; gap: 0.5rem; }
.post-body li::marker { color: var(--gold); }

.ayah {
  margin: 1.4rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ayah p { margin: 0 0 0.6rem; color: var(--ink); font-family: var(--font-display); font-size: 1.22rem; line-height: 1.6; }
.ayah p[lang="ar"] { font-family: "Amiri", "Traditional Arabic", "Scheherazade New", serif; font-size: 1.7rem; line-height: 2; text-align: right; color: var(--gold-bright); }
.ayah cite { display: block; font-style: normal; color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; }

.post-dl { margin: 0 0 1.2rem; display: grid; gap: 0.3rem; }
.post-dl dt { color: var(--ink); font-weight: 500; margin-top: 0.9rem; }
.post-dl dd { margin: 0; }

.post-source {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.4rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.post-source img { width: 100%; height: auto; border-radius: 4px 8px 8px 4px; box-shadow: var(--shadow); }
.post-source-label { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; }
.post-source-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin: 0.2rem 0 0.4rem; line-height: 1.2; }
.post-source-title a { color: var(--ink); }
.post-source-note { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.65; }
.post-source-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
@media (max-width: 560px) {
  .post-source { grid-template-columns: 1fr; }
  .post-source img { max-width: 130px; }
}

.post-more { margin-top: 2.5rem; }
.post-more h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.post-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.post-more a { color: var(--gold-bright); }
.post-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
