/* ================================================================
   NEWS PAGE — /news, /qna, /disc, etc.
   Extends public/style.css, không override base classes.
================================================================ */

/* ── Category filter bar ──────────────────────────────────────── */
.news-filter-bar {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
}

.news-filter-pill {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid #ccc;
  background: #fff;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.news-filter-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.news-filter-pill.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── Ad banner between sections ───────────────────────────────── */
.news-hrec {
  background: #f5f5f5;
  text-align: center;
  padding: 16px 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero (featured) article ──────────────────────────────────── */
/* Overrides .article-featured from style.css for the hero size */
.article-featured .article-featured-title {
  font-size: 28px;
}

/* ── articles-list-holder overrides ─────────────────────────────
   style.css đã định nghĩa .articles-list-holder và li.
   Chỉ thêm những gì chưa có.
────────────────────────────────────────────────────────────────── */

/* .articles-list .card-header — reset Bootstrap card-header style */
.articles-list .card-header {
  padding: 0;
  background: none;
  border: 0;
  margin-bottom: 4px;
}

/* ── Section 2: articles-card (2-col grid) ───────────────────── */
/* .articles-card đã có trong style.css.
   .articles-title, .articles-excerpt, .articles-meta cũng đã có. */

/* ── Popular box sidebar ──────────────────────────────────────── */
/* .popular-box, .title-sidebar, .hero-sidebar-holder, .hero-sidebar
   đã định nghĩa trong style.css. */

/* Padding bên trong popular-box hero-sidebar-holder */
.popular-box .hero-sidebar-holder {
  padding: 16px;
}

/* ── Reviews search bar ───────────────────────────────────────── */
.reviews-search-input {
  max-width: 340px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .news-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap !important;
  }

  .news-filter-pill {
    flex-shrink: 0;
  }

  /* Section 2: stack to 1 col on mobile */
  .col-6 {
    width: 100%;
  }
}
