/* ===================================================================
   Hợp Long theme — bổ sung style cho markup do WordPress sinh ra
   (bài viết đơn, nội dung trang, phân trang gốc của WP)
=================================================================== */

/* ---- Trang nội dung (page.php) ---- */
.page-content { max-width: 880px; margin: 0 auto; }
.page-title { font-size: 30px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.page-content p { margin-bottom: 14px; line-height: 1.75; color: var(--ink); }
.page-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---- Bài viết đơn (single.php) ---- */
.post-detail { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.post-detail__title { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 10px; }
.post-detail__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.post-detail__thumb { margin: 0 0 22px; }
.post-detail__thumb img { width: 100%; height: auto; border-radius: 12px; }
.post-detail__content { line-height: 1.8; color: var(--ink); }
.post-detail__content p { margin-bottom: 16px; }
.post-detail__content h2,
.post-detail__content h3 { margin: 26px 0 12px; color: var(--ink); font-weight: 700; }
.post-detail__content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-detail__content ul,
.post-detail__content ol { margin: 0 0 16px 22px; }
.post-detail__content li { margin-bottom: 6px; }

/* Recent posts trong sidebar single */
.swid__recent a { display: flex; flex-direction: column; gap: 2px; }
.swid__recent-title { font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.4; }
.swid__recent-title:hover { color: var(--blue); }
.swid__recent-date { font-size: 12px; color: var(--muted); }

/* ---- Phân trang gốc của WordPress (the_posts_pagination) ---- */
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: .15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.pagination a.page-numbers:hover { border-color: var(--blue-light); color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
