/* Phần riêng của bản WordPress (site.css là CSS biên dịch từ bản Next.js, không sửa tay). */

/* Bộ lọc trang Dự án: thẻ bị lọc ẩn hẳn */
.pgrid > li[hidden] {
  display: none !important;
}
a.pf-btn {
  text-decoration: none;
}

/* Blog: chuyên mục + phân trang */
.bp-cats {
  margin-bottom: 28px;
}
.bp-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.bp-pager .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
}
.bp-pager .page-numbers.current {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.bc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-thumb {
  margin: 0 0 32px;
}
.bp-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

/* Nội dung soạn bằng trình soạn thảo WordPress trong khung đọc */
.bp-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-media);
}
.bp-prose figure {
  margin: 28px 0;
}
.bp-prose figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--steel-500);
  text-align: center;
}
.bp-prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--orange-500);
  font-size: 19px;
  font-style: italic;
  color: var(--navy-900);
}
.bp-prose a:not(.bp-inline-cta a) {
  color: var(--orange-700);
  text-underline-offset: 3px;
}
.bp-prose h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  color: var(--navy-900);
}
.bp-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.bp-prose th,
.bp-prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--steel-100);
  text-align: left;
}
.bp-prose .wp-block-button__link {
  display: inline-flex;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--orange-500);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}
.alignwide,
.alignfull {
  max-width: 100%;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Mẫu trang "Toàn chiều rộng (Elementor / tự dựng trang)": dải navy dưới đầu trang cố định,
   nội dung tự dựng bắt đầu ngay bên dưới, không bị đầu trang che. */
.ss-full-width {
  border-top: 80px solid var(--navy-900);
  min-height: 50vh;
}
