/* ============================================================
   بنیاد یاسمن — اصلاحات مخصوص وردپرس
   ============================================================ */

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  html { scroll-padding-top: 116px; }
}

/* محتوای ویرایشگر در '.prose' */
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin: 28px 0 12px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-inline-start: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; line-height: 1.9; }
.prose a { color: var(--mauve); text-decoration: underline; }
.prose img { height: auto; border-radius: 18px; margin: 20px 0; }
.prose blockquote {
  margin: 26px 0; padding: 22px 26px; border-right: 3px solid var(--gold);
  background: var(--lavender-soft); border-radius: 14px; color: var(--ink); font-weight: 600;
}
.prose .quote-card { margin: 26px 0; }
.prose .wp-block-image figcaption { font-size: .78rem; color: var(--muted); text-align: center; }
.prose .wp-block-columns { gap: 24px; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }

/* صفحه تک خبر */
.single-news-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.single-news-head .news-tag { background: var(--lavender-soft); color: var(--ink); }
.single-news-head span:last-child { font-size: .78rem; color: var(--muted); }
.single-layout { max-width: 860px; margin-inline: auto; }
.single-cover { width: 100%; height: auto; border-radius: 24px; margin-bottom: 34px; box-shadow: var(--shadow); }
.single-article { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 44px 48px; }
.single-article .prose p { font-size: 1rem; line-height: 2.05; }
.single-footer-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }

/* صفحهبندی */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 38px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font-size: .85rem; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .page-numbers:hover { border-color: var(--mauve); }

/* خالی بودن آرشیو */
.no-news { text-align: center; padding: 50px 30px; border: 1px dashed var(--line); border-radius: 20px; background: var(--white); }
.no-news p { color: var(--muted); margin-bottom: 16px; }

@media (max-width: 560px) {
  .single-article { padding: 28px 22px; border-radius: 20px; }
  .single-cover { border-radius: 18px; }
}
