/*
Theme Name: Khiếu Kiện Trực Tuyến — Phúc Khang Anh LegalMax
Theme URI: http://localhost/projects/khieukientructuyen
Author: Cloud360
Description: Theme cho Công ty Luật TNHH Phúc Khang Anh LegalMax, chuyển đổi từ bộ giao diện html-raw. Toàn bộ CSS thiết kế nằm trong thư mục css/, file này chỉ chứa phần bổ sung cho WordPress.
Version: 1.7.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: khieukientructuyen
*/

/* --------------------------------------------------------------------------
   WordPress-only additions (không có trong html-raw)
   -------------------------------------------------------------------------- */

/* Sticky header nằm dưới thanh admin khi đăng nhập */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* Tab danh mục & phân trang tin tức dùng thẻ <a> thay cho <button> */
a.news-cat-btn,
a.page-btn {
  text-decoration: none;
}
span.page-btn--dots {
  pointer-events: none;
  border-color: transparent;
  background: transparent;
}

/* Nội dung soạn trong trình soạn thảo WordPress */
.article-prose img { max-width: 100%; height: auto; }
.article-prose .wp-block-image,
.article-prose figure { margin: 24px 0; }
.article-prose figcaption { font-size: 0.875rem; color: var(--color-secondary-text); margin-top: 8px; }
.article-prose .alignleft { float: left; margin: 0 24px 16px 0; }
.article-prose .alignright { float: right; margin: 0 0 16px 24px; }
.article-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }

.news-empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--color-secondary-text);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
