
/* Dedicated professional category navigation and detail pages */
.news-category-directory .news-category-card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.news-category-directory .news-category-card::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  right: -52px;
  bottom: -52px;
  border: 1px solid rgba(223,201,143,.30);
  border-radius: 50%;
}
.news-category-directory .news-card-number {
  width: 36px;
  height: 36px;
  margin-bottom: 27px;
  display: grid;
  place-items: center;
  color: #102541;
  background: #dfc98f;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
}
.news-category-directory .eyebrow { margin: 0 0 10px; }
.news-category-directory h2 { margin: 0; color: #fff; font: 700 28px/1.12 "Playfair Display", Georgia, serif; }
.news-category-directory p { margin: 14px 0 24px; color: #c7d3df; font-size: 13px; line-height: 1.65; }
.news-category-directory strong { margin-top: auto; color: #dfc98f; font-size: 12px; }
.news-category-directory .news-category-card:hover strong { color: #fff; }

.page-news-category { color: #17233b; background: #f6f2e9; }
.page-news-category .site-header { background: rgba(255,253,249,.96); }
.news-category-detail-page { min-height: 100vh; }
.category-detail-hero { padding: 154px 0 70px; color: #fff; background: radial-gradient(circle at 82% 8%, rgba(80,128,148,.28), transparent 28%), linear-gradient(135deg, #07192b, #0d2940 58%, #0b2237); }
.category-back { display: inline-flex; margin-bottom: 34px; color: #dfc98f; font-size: 13px; font-weight: 800; }
.category-back:hover { color: #fff; }
.category-detail-hero .eyebrow { margin-bottom: 13px; color: #dfc98f; }
.category-detail-hero h1 { max-width: 780px; margin: 0 0 16px; color: #fff; font: 700 clamp(42px, 5vw, 64px)/1.08 "Playfair Display", Georgia, serif; }
.category-detail-hero p:last-child { max-width: 760px; margin: 0; color: #cfdae5; font-size: 17px; }
.category-detail-content { padding: 58px 0 100px; background: linear-gradient(180deg, #f2ecdf, #fbfaf7); }
.category-detail-toolbar { margin-bottom: 26px; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; background: #fff; border: 1px solid #e0d7c6; box-shadow: 0 12px 30px rgba(12,25,48,.06); }
.category-detail-toolbar input { min-height: 48px; padding: 10px 14px; color: #17233b; background: #fffefa; border: 1px solid #ded8ca; font: inherit; }
.category-detail-toolbar span { color: #6d7684; font-size: 13px; white-space: nowrap; }
.category-news-list { display: grid; gap: 14px; }
.category-news-item { padding: 26px; display: grid; grid-template-columns: 155px 1fr auto; gap: 26px; align-items: start; background: #fff; border: 1px solid #e0d9cd; border-left: 4px solid #c3a35e; box-shadow: 0 8px 24px rgba(12,25,48,.045); }
.category-news-meta span, .category-news-meta b { display: block; }
.category-news-meta span { color: #788496; font-size: 12px; }
.category-news-meta b { margin-top: 5px; color: #917136; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.category-news-item h2 { margin: 0; color: #142945; font: 700 19px/1.4 "Be Vietnam Pro", Arial, sans-serif; }
.category-news-item p { margin: 9px 0; color: #647082; font-size: 13px; line-height: 1.65; }
.category-news-item small { color: #8a7544; font-size: 11px; font-weight: 700; }
.category-news-item > a { min-width: 112px; padding: 11px 13px; color: #fff; background: #183e55; text-align: center; font-size: 11px; font-weight: 800; }
.category-news-item > a:hover { background: #28576c; }
.category-news-empty { padding: 40px; color: #687386; background: #fff; border: 1px solid #e0d9cd; text-align: center; }

@media (max-width: 980px) {
  .news-category-directory .news-category-card { min-height: 285px; }
  .category-news-item { grid-template-columns: 130px 1fr; }
  .category-news-item > a { grid-column: 2; width: max-content; }
}
@media (max-width: 680px) {
  .news-category-directory .news-category-card { min-height: 250px; }
  .category-detail-hero { padding: 126px 0 52px; }
  .category-detail-toolbar, .category-news-item { grid-template-columns: 1fr; }
  .category-detail-toolbar span { white-space: normal; }
  .category-news-item > a { grid-column: auto; width: max-content; }
}
