/* ============================================================================
   CONTENT PLATFORM v2 — Thư viện (/thu-vien) + Bản tin (/ban-tin) + Chủ đề (/chu-de)
   Blueprint: compact utility header · search-first · sidebar faceted (Thư viện)
   · list-first · editorial (Bản tin) · section hub (Chủ đề).
   Brand: trắng/kem + vàng gold + navy/đen than. Prefix class: ct-
   ========================================================================== */

.ct-page {
  background: var(--cream, #faf8f4);
  color: var(--dark, #1a1d24);
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
}

.ct-page .container.is-narrow {
  max-width: 860px;
}

/* ---------------------------------------------------------------------------
   Breadcrumbs
--------------------------------------------------------------------------- */
.ct-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.ct-breadcrumbs a {
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ct-breadcrumbs a:hover { opacity: 1; }
.ct-breadcrumbs i { font-size: 10px; opacity: 0.5; }
.ct-breadcrumbs span { opacity: 0.95; font-weight: 600; }

/* ---------------------------------------------------------------------------
   Compact utility header — thay hero marketing lớn, đưa nội dung lên sớm
--------------------------------------------------------------------------- */
.ct-util-head {
  padding: 102px 0 26px;
}

/* Thư viện + Chủ đề: navy gọn — kho tra cứu nghiêm túc, tin cậy */
.ct-util-head.is-library {
  background:
    radial-gradient(700px 300px at 90% -30%, rgba(212, 175, 55, 0.14), transparent 60%),
    linear-gradient(150deg, #141b2c 0%, #1a2338 60%, #141a28 100%);
  color: #f7f4ec;
}

.ct-util-head.is-library .ct-breadcrumbs { color: #ddd6c4; }

/* styles.css có rule global `h1..h6 { color: var(--dark) }` nên mọi heading
   trên nền navy PHẢI set màu tường minh (không dựa vào inherit). */
.ct-util-head.is-library h1 { color: #f7f4ec; }
.ct-util-head.is-library .ct-util-head-text p { color: rgba(240, 234, 216, 0.85); }

.ct-breadcrumbs a:focus-visible {
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
  border-radius: 4px;
  opacity: 1;
}

/* Bản tin: cream sáng — editorial nhẹ nhàng, gọn hơn Thư viện */
.ct-util-head.is-news {
  padding: 94px 0 18px;
  background:
    radial-gradient(620px 280px at 92% -40%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(165deg, #fdf9ee 0%, #faf8f4 70%);
  border-bottom: 1px solid var(--card-border, #efece6);
}

.ct-util-head.is-news .ct-breadcrumbs { margin-bottom: 8px; }
.ct-util-head.is-news .ct-util-head-text h1 { margin-bottom: 4px; }

.ct-section.is-editorial { padding-top: 18px; }

.ct-util-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ct-util-head-text h1 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 6px;
}

.ct-util-head-text p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.82;
  max-width: 640px;
}

/* Search chính (Thư viện: to, nổi bật · Bản tin: gọn) */
.ct-util-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 100px;
  padding: 6px 6px 6px 18px;
  margin-top: 16px;
  max-width: 640px;
  box-shadow: 0 10px 30px rgba(10, 14, 24, 0.18);
}

.ct-util-head.is-news .ct-util-search {
  box-shadow: 0 8px 24px rgba(26, 29, 36, 0.07);
  border-color: var(--card-border, #efece6);
}

.ct-util-search i { color: var(--gold-dark, #b68d40); font-size: 14px; }

.ct-util-search input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 14.5px;
  font-family: inherit;
  background: transparent;
  color: var(--dark, #1a1d24);
  min-width: 0;
  height: 38px;
}

.ct-util-search button {
  border: 0;
  border-radius: 100px;
  padding: 10px 22px;
  background: var(--gold, #d4af37);
  color: #1a1d24;
  font-weight: 700;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.ct-util-search button:hover { background: var(--gold-dark, #b68d40); color: #fff; }

.ct-util-search.is-compact {
  margin-top: 0;
  max-width: 320px;
  flex-shrink: 0;
}

.ct-util-search.is-compact button { padding: 10px 14px; }

/* Quick links: tối đa 4, không phải tag wall */
.ct-util-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ct-util-quick button,
.ct-util-quick a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(247, 244, 236, 0.25);
  background: rgba(247, 244, 236, 0.05);
  color: #f0ead8;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ct-util-quick button i,
.ct-util-quick a i { color: var(--gold, #d4af37); font-size: 12px; }

.ct-util-quick button:hover,
.ct-util-quick a:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.12);
}

.ct-util-quick button.is-active {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  color: #1a1d24;
}

.ct-util-quick button.is-active i { color: #1a1d24; }

/* ---------------------------------------------------------------------------
   Workspace: sidebar facets + results (Thư viện)
--------------------------------------------------------------------------- */
.ct-workspace { padding: 28px 0 90px; }

.ct-workspace-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

/* Sidebar faceted navigation.
   Desktop: cuộn theo trang (KHÔNG nested scroll); JS thêm .is-sticky khi
   sidebar thấp hơn viewport để dính nhẹ, còn cao hơn thì để trôi tự nhiên. */
.ct-facets {
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 901px) {
  .ct-facets.is-sticky {
    position: sticky;
    top: 96px;
  }
}

.ct-facets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f1ede2;
  font-size: 14px;
}

.ct-facets-head strong { font-weight: 800; }
.ct-facets-head i { color: var(--gold-dark, #b68d40); margin-right: 6px; }

.ct-facets-close {
  display: none;
  border: 0;
  background: #f1f0ec;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: #55544e;
}

.ct-facets-body {
  padding: 6px 10px 10px;
  flex: 1;
}

.ct-facet-group {
  border-bottom: 1px solid #f1ede2;
  padding: 4px 0 10px;
}

.ct-facet-group:last-child { border-bottom: 0; }

.ct-facet-group summary {
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #75736b;
  padding: 10px 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.ct-facet-group summary::-webkit-details-marker { display: none; }

.ct-facet-group summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.ct-facet-group[open] summary::after { transform: rotate(180deg); }

.ct-facet-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 0;
}

.ct-facet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13.5px;
  color: #44433d;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.ct-facet-option:hover { background: var(--gold-soft, #fdf9ee); }

.ct-facet-option.is-active {
  background: var(--dark, #1a1d24);
  color: #f2e7c8;
  font-weight: 600;
}

.ct-facet-option.is-active .ct-facet-count { background: rgba(242, 231, 200, 0.2); color: #f2e7c8; }
.ct-facet-option.is-active i { color: var(--gold, #d4af37); font-size: 11px; }

.ct-facet-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-facet-count {
  font-size: 11px;
  font-weight: 700;
  background: #f1f0ec;
  color: #75736b;
  border-radius: 100px;
  padding: 2px 8px;
  flex-shrink: 0;
}

.ct-facet-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px 4px;
  font-size: 13px;
  color: #55544e;
  cursor: pointer;
}

.ct-facet-check input { width: 15px; height: 15px; accent-color: var(--gold, #d4af37); flex-shrink: 0; }

.ct-facet-more {
  border: 0;
  background: transparent;
  color: var(--gold-dark, #b68d40);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px 2px;
  text-align: left;
}

.ct-facet-more:hover { text-decoration: underline; }

.ct-facet-empty {
  font-size: 13px;
  color: #8b897f;
  padding: 14px 10px;
  margin: 0;
}

.ct-facets-foot {
  display: none;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #f1ede2;
  background: #fff;
}

.ct-facets-foot .ct-btn-secondary,
.ct-facets-foot .ct-btn-primary {
  flex: 1;
  height: 42px;
  font-size: 13.5px;
}

/* Drawer backdrop (mobile) */
.ct-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 19, 26, 0.5);
  z-index: 980;
}

body.ct-drawer-lock { overflow: hidden; }

/* Results column */
.ct-results { min-width: 0; }

.ct-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ct-results-count {
  font-size: 14px;
  font-weight: 700;
  color: #55544e;
}

.ct-results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-sort-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 100px;
  padding: 0 14px;
  height: 40px;
}

.ct-sort-field i { color: var(--gold-dark, #b68d40); font-size: 12px; }

.ct-sort-field select {
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: var(--dark, #1a1d24);
  cursor: pointer;
  height: 38px;
}

.ct-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  border-radius: 100px;
  padding: 0 16px;
  height: 40px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark, #1a1d24);
  cursor: pointer;
}

.ct-filter-toggle i { color: var(--gold-dark, #b68d40); }

.ct-filter-toggle span {
  background: var(--gold, #d4af37);
  color: #1a1d24;
  font-size: 11px;
  font-weight: 800;
  border-radius: 100px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Category intro (khi chọn danh mục) — gọn, không phải card lớn */
.ct-cat-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-left: 3px solid var(--gold, #d4af37);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.ct-cat-intro-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: var(--dark, #1a1d24);
  color: var(--gold, #d4af37);
}

.ct-cat-intro-body { flex: 1; min-width: 0; }

.ct-cat-intro-body h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 2px;
}

.ct-cat-intro-body p {
  font-size: 13px;
  line-height: 1.55;
  color: #75736b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-cat-intro-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  color: #75736b;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.ct-cat-intro-clear:hover { border-color: var(--gold, #d4af37); color: var(--gold-dark, #b68d40); }

/* ---------------------------------------------------------------------------
   Chips (chủ đề trong danh mục / tags detail) + pills + suggest
--------------------------------------------------------------------------- */
.ct-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.ct-tag-row:empty { margin: 0; }

.ct-tag-row-label,
.ct-pills-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #75736b;
}

.ct-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  color: #55544e;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ct-tag-chip:hover { border-color: var(--gold, #d4af37); color: var(--gold-dark, #b68d40); }

.ct-tag-chip.is-active {
  background: var(--dark, #1a1d24);
  border-color: var(--dark, #1a1d24);
  color: #f2e7c8;
}

.ct-tag-chip.is-topic i { color: var(--gold-dark, #b68d40); font-size: 10px; margin-right: 5px; }
.ct-tag-chip.is-active.is-topic i { color: #f2e7c8; }

.ct-tag-chip.is-more {
  border-style: dashed;
  color: var(--gold-dark, #b68d40);
  font-weight: 700;
}

.ct-chip-count {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 100px;
  background: #f1f0ec;
  font-size: 10.5px;
  font-weight: 800;
  color: #75736b;
}

.ct-tag-chip.is-active .ct-chip-count { background: rgba(242, 231, 200, 0.24); color: #f2e7c8; }

.ct-active-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.ct-active-pills:empty { margin: 0; }

.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--dark, #1a1d24);
  color: #f2e7c8;
  border-radius: 100px;
  padding: 6px 7px 6px 13px;
  font-size: 12px;
  font-weight: 600;
}

.ct-pill button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(242, 231, 200, 0.18);
  color: #f2e7c8;
  font-size: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-pill button:hover { background: rgba(242, 231, 200, 0.34); }

.ct-pill-clear-all {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark, #b68d40);
  cursor: pointer;
  text-decoration: underline;
  padding: 3px 5px;
}

.ct-suggest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  background: var(--gold-soft, #fdf9ee);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 10px 15px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #55544e;
}

.ct-suggest i { color: var(--gold-dark, #b68d40); }
.ct-suggest a { color: var(--gold-dark, #b68d40); font-weight: 800; text-decoration: none; }
.ct-suggest a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   List-first rows (Thư viện)
--------------------------------------------------------------------------- */
.ct-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 15px;
  padding: 18px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-row:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 10px 26px rgba(26, 29, 36, 0.07);
}

.ct-row.is-featured { background: linear-gradient(170deg, #fffdf6 0%, #fff 40%); }

.ct-row.is-skeleton {
  min-height: 112px;
  background: linear-gradient(100deg, #fff 40%, #f6f3ec 50%, #fff 60%);
  background-size: 200% 100%;
  animation: ctShimmer 1.4s infinite linear;
}

@keyframes ctShimmer { to { background-position: -200% 0; } }

.ct-row-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--gold-soft, #fdf9ee);
  color: var(--gold-dark, #b68d40);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.ct-row-icon.is-excel { background: #eef7f0; color: #1f7a45; border-color: rgba(31, 122, 69, 0.22); }
.ct-row-icon.is-legal { background: #eef2fa; color: #2c4a8a; border-color: rgba(44, 74, 138, 0.22); }
.ct-row-icon.is-tool { background: #f4eefa; color: #6d4a9c; border-color: rgba(109, 74, 156, 0.2); }
.ct-row-icon.is-software { background: #edf6f9; color: #21708a; border-color: rgba(33, 112, 138, 0.22); }
.ct-row-icon.is-checklist { background: #fdf2ec; color: #b05a2a; border-color: rgba(176, 90, 42, 0.22); }
.ct-row-icon.is-guide { background: #f0f4f0; color: #3f6b4f; border-color: rgba(63, 107, 79, 0.2); }

.ct-row-body { flex: 1; min-width: 0; }

.ct-row-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
}

.ct-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 100px;
  background: var(--gold-soft, #fdf9ee);
  border: 1px solid rgba(182, 141, 64, 0.3);
  color: var(--gold-dark, #b68d40);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ct-type-badge.is-large { font-size: 13px; padding: 7px 15px; }

.ct-effective {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 100px;
  white-space: nowrap;
}

.ct-effective i { font-size: 6px; }
.ct-effective.is-active { background: #eaf6ee; color: #1f7a45; }
.ct-effective.is-expired { background: #faeeee; color: #a2453e; }
.ct-effective.is-upcoming { background: #fdf6e4; color: #9c7615; }
.ct-effective.is-unknown { background: #f1f0ec; color: #75736b; }

.ct-featured-dot { color: var(--gold, #d4af37); font-size: 11px; }

.ct-row-docnumber {
  font-size: 12.5px;
  color: #2c4a8a;
  margin: 0 0 4px;
}

.ct-row-docnumber strong { font-weight: 800; }

.ct-row-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 16px;
  line-height: 1.42;
  font-weight: 700;
  margin: 0 0 5px;
}

.ct-row-title a { color: var(--dark, #1a1d24); text-decoration: none; }
.ct-row-title a:hover { color: var(--gold-dark, #b68d40); }

.ct-row-meta {
  font-size: 12.5px;
  color: #8b897f;
  margin: 0 0 6px;
}

.ct-row-summary {
  font-size: 13.5px;
  line-height: 1.6;
  color: #66645c;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-row-filemeta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #55544e;
  background: #f6f4ee;
  border-radius: 8px;
  padding: 4px 10px;
}

.ct-row-filemeta i { color: var(--gold-dark, #b68d40); }

.ct-row-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--dark, #1a1d24);
  color: var(--dark, #1a1d24);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ct-row-cta:hover { background: var(--dark, #1a1d24); color: #f2e7c8; }

/* ---------------------------------------------------------------------------
   Empty / error / pagination / buttons
--------------------------------------------------------------------------- */
.ct-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed var(--card-border, #efece6);
  border-radius: 18px;
  padding: 52px 24px;
}

.ct-empty i { font-size: 30px; color: var(--gold, #d4af37); margin-bottom: 12px; }
.ct-empty.is-error i { color: #a2453e; }

.ct-empty h3,
.ct-empty h1 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 19px;
  margin: 0 0 7px;
}

.ct-empty p { color: #75736b; font-size: 14px; margin: 0 0 16px; }

.ct-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ct-empty.is-page { margin: 140px auto 100px; max-width: 560px; }

.ct-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.ct-pagination:empty { margin: 0; }

.ct-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--dark, #1a1d24);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ct-page-btn:hover:not(:disabled) { border-color: var(--gold, #d4af37); color: var(--gold-dark, #b68d40); }
.ct-page-btn:disabled { opacity: 0.4; cursor: default; }

.ct-page-info { font-size: 13.5px; font-weight: 700; color: #75736b; }

.ct-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 26px;
  border-radius: 100px;
  background: var(--gold, #d4af37);
  color: #1a1d24;
  border: 0;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.ct-btn-primary:hover { background: var(--gold-dark, #b68d40); color: #fff; }

.ct-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 100px;
  border: 1.5px solid var(--dark, #1a1d24);
  color: var(--dark, #1a1d24);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.ct-btn-secondary:hover { background: var(--dark, #1a1d24); color: #f2e7c8; }

.ct-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark, #b68d40);
  text-decoration: none;
  padding: 10px 6px;
}

.ct-btn-ghost:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   BẢN TIN — editorial
--------------------------------------------------------------------------- */
.ct-section { padding: 26px 0 90px; }

/* Category tabs: desktop wrap sạch, mobile scroll mềm */
.ct-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ct-news-tab {
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  border-radius: 100px;
  padding: 8px 17px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  color: #55544e;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ct-news-tab:hover { border-color: var(--gold, #d4af37); color: var(--gold-dark, #b68d40); }

.ct-news-tab.is-active {
  background: var(--dark, #1a1d24);
  border-color: var(--dark, #1a1d24);
  color: #f2e7c8;
}

.ct-active-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #75736b;
  margin: 0 0 12px;
}

.ct-active-tag button {
  border: 0;
  background: #f1f0ec;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: #55544e;
}

.ct-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 16px;
}

.ct-toolbar h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.ct-toolbar span { color: #8b897f; font-size: 13.5px; font-weight: 600; }

/* Grid editorial: tự cân theo số bài đang render (JS gán data-count 1..4).
   Không dồn trái khi ít bài, không kéo card quá rộng khi chỉ có một bài. */
.ct-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.ct-news-grid[data-count="1"] {
  grid-template-columns: minmax(0, 520px);
}

.ct-news-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 940px;
}

.ct-news-grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-news-card {
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ct-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26, 29, 36, 0.09);
  border-color: rgba(212, 175, 55, 0.5);
}

.ct-news-card.is-skeleton {
  min-height: 300px;
  background: linear-gradient(100deg, #fff 40%, #f6f3ec 50%, #fff 60%);
  background-size: 200% 100%;
  animation: ctShimmer 1.4s infinite linear;
}

.ct-news-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ct-news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ct-news-card:hover .ct-news-cover img { transform: scale(1.04); }

/* Fallback cover: gradient + pattern chấm + icon chuyên mục, 4 biến thể */
.ct-news-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  background-image:
    radial-gradient(rgba(212, 175, 55, 0.13) 1px, transparent 1.5px),
    linear-gradient(150deg, #1a2338 0%, #232f4c 100%);
  background-size: 22px 22px, cover;
}

.ct-news-cover-fallback::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.65), transparent);
  border-radius: 2px;
}

.ct-news-cover-fallback.is-v2 {
  background-image:
    radial-gradient(rgba(212, 175, 55, 0.13) 1px, transparent 1.5px),
    linear-gradient(200deg, #17202f 0%, #2a3040 90%);
}

.ct-news-cover-fallback.is-v3 {
  background-image:
    radial-gradient(rgba(247, 244, 236, 0.09) 1px, transparent 1.5px),
    linear-gradient(135deg, #1c2740 0%, #141b2c 100%);
}

.ct-news-cover-fallback.is-v4 {
  background-image:
    radial-gradient(rgba(212, 175, 55, 0.11) 1px, transparent 1.5px),
    linear-gradient(160deg, #212b42 0%, #10151f 100%);
}

.ct-news-cover-fallback i {
  font-size: 30px;
  color: rgba(212, 175, 55, 0.75);
}

.ct-news-cover-fallback em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.55);
}

.ct-news-cover-fallback.is-large i { font-size: 46px; }
.ct-news-cover-fallback.is-large em { font-size: 13px; }

.ct-news-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ct-news-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold-soft, #fdf9ee);
  border: 1px solid rgba(182, 141, 64, 0.3);
  color: var(--gold-dark, #b68d40);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ct-news-category.is-large { font-size: 13px; padding: 6px 15px; margin-bottom: 12px; }

.ct-news-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 16.5px;
  line-height: 1.42;
  font-weight: 700;
  margin: 0 0 9px;
}

.ct-news-title a {
  color: var(--dark, #1a1d24);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-news-title a:hover { color: var(--gold-dark, #b68d40); }

.ct-news-summary {
  font-size: 13.5px;
  line-height: 1.6;
  color: #66645c;
  margin: 0 0 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-news-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 12px;
  color: #8b897f;
}

.ct-news-meta i { margin-right: 5px; color: var(--gold-dark, #b68d40); }

/* Featured story */
.ct-news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 14px 36px rgba(26, 29, 36, 0.08);
}

.ct-news-featured-cover { display: block; min-height: 280px; }

.ct-news-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-news-featured-cover .ct-news-cover-fallback { height: 100%; }

.ct-news-featured-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.ct-featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark, #b68d40);
  margin-bottom: 7px;
}

.ct-news-featured-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.32;
  font-weight: 800;
  margin: 0 0 10px;
}

.ct-news-featured-title a { color: var(--dark, #1a1d24); text-decoration: none; }
.ct-news-featured-title a:hover { color: var(--gold-dark, #b68d40); }

.ct-news-featured .ct-news-meta { margin: 8px 0 14px; }

.ct-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-dark, #b68d40);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.ct-card-cta:hover { gap: 11px; }

/* Khám phá theo chủ đề (khi ít bài) */
.ct-news-explore {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px dashed var(--card-border, #efece6);
}

.ct-news-explore .ct-section-title { margin-bottom: 14px; }

/* ---------------------------------------------------------------------------
   Trang chi tiết — compact detail hero (navy gọn)
--------------------------------------------------------------------------- */
.ct-detail-shell { min-height: 60vh; }

.ct-detail-loading {
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-skeleton-line {
  display: block;
  height: 15px;
  border-radius: 8px;
  background: linear-gradient(100deg, #efece2 40%, #f8f5ec 50%, #efece2 60%);
  background-size: 200% 100%;
  animation: ctShimmer 1.4s infinite linear;
  max-width: 720px;
}

.ct-skeleton-line.is-badge { width: 140px; height: 26px; border-radius: 100px; }
.ct-skeleton-line.is-title { height: 30px; max-width: 540px; }
.ct-skeleton-line.is-short { max-width: 360px; }

.ct-detail-hero {
  padding: 102px 0 28px;
  background:
    radial-gradient(620px 280px at 92% -40%, rgba(212, 175, 55, 0.13), transparent 60%),
    linear-gradient(150deg, #141b2c 0%, #1a2338 60%, #141a28 100%);
  color: #f7f4ec;
}

.ct-detail-hero .ct-breadcrumbs { color: #ddd6c4; }

.ct-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
}

.ct-detail-hero .ct-type-badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.5);
  color: #e9c968;
}

.ct-detail-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(21px, 2.8vw, 30px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 10px;
  max-width: 880px;
}

.ct-detail-lead {
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 760px;
  margin: 0 0 14px;
}

.ct-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  opacity: 0.8;
}

.ct-detail-meta i { color: var(--gold, #d4af37); margin-right: 6px; }

.ct-detail-body { padding: 34px 0 60px; }

.ct-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  align-items: start;
}

.ct-detail-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}

/* Legal info box */
.ct-legal-info {
  background: #fff;
  border: 1px solid rgba(44, 74, 138, 0.18);
  border-left: 4px solid #2c4a8a;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 22px;
}

.ct-legal-info h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #2c4a8a;
}

.ct-legal-info h2 i { margin-right: 8px; }

.ct-legal-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 0;
}

.ct-legal-info dl > div { display: flex; flex-direction: column; gap: 3px; }

.ct-legal-info dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8b897f;
}

.ct-legal-info dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark, #1a1d24);
}

/* Download card */
.ct-download-card {
  background: linear-gradient(170deg, #fffdf6 0%, #fff 50%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.1);
}

.ct-download-card h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 14px;
}

.ct-download-card h2 i { color: var(--gold-dark, #b68d40); margin-right: 8px; }

.ct-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ct-file-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 12px;
  padding: 11px 13px;
  transition: border-color 0.2s ease;
}

.ct-file-list li:hover { border-color: rgba(212, 175, 55, 0.55); }

.ct-file-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft, #fdf9ee);
  color: var(--gold-dark, #b68d40);
  font-size: 16px;
  flex-shrink: 0;
}

.ct-file-icon .fa-file-pdf { color: #c0392b; }
.ct-file-icon .fa-file-excel { color: #1f7a45; }
.ct-file-icon .fa-file-word { color: #2c4a8a; }
.ct-file-icon .fa-file-powerpoint { color: #c05621; }

.ct-file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-file-info strong { font-size: 13.5px; line-height: 1.35; }

.ct-file-info small {
  font-size: 11.5px;
  color: #8b897f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-file-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--dark, #1a1d24);
  color: #f2e7c8;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.ct-file-download:hover { background: var(--gold-dark, #b68d40); color: #fff; }

.ct-file-download.is-ghost {
  background: transparent;
  border: 1px solid var(--card-border, #efece6);
  color: var(--gold-dark, #b68d40);
}

.ct-download-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8b897f;
  text-align: center;
}

.ct-download-card.is-external { text-align: center; }
.ct-download-card.is-external .ct-btn-primary { width: 100%; }

/* Support card */
.ct-support-card {
  background: var(--dark, #1a1d24);
  color: #f2ecd9;
  border-radius: 16px;
  padding: 22px 24px;
}

.ct-support-card h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 15.5px;
  margin: 0 0 8px;
  color: var(--gold, #d4af37);
}

.ct-support-card p {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.82;
  margin: 0 0 16px;
}

.ct-support-card .ct-btn-secondary {
  border-color: var(--gold, #d4af37);
  color: var(--gold, #d4af37);
  width: 100%;
}

.ct-support-card .ct-btn-secondary:hover { background: var(--gold, #d4af37); color: #1a1d24; }

/* Prose */
.ct-prose {
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 16px;
  padding: 28px 30px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #33322c;
}

.ct-prose.is-article {
  background: transparent;
  border: 0;
  padding: 6px 0 0;
  font-size: 16.5px;
  line-height: 1.85;
}

.ct-prose h2 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 21px;
  margin: 28px 0 11px;
  line-height: 1.35;
}

.ct-prose h3 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 17.5px;
  margin: 22px 0 9px;
}

.ct-prose h4 { font-size: 16px; margin: 18px 0 8px; }

.ct-prose h2:first-child,
.ct-prose h3:first-child,
.ct-prose p:first-child { margin-top: 0; }

.ct-prose p { margin: 0 0 15px; }
.ct-prose ul, .ct-prose ol { margin: 0 0 15px; padding-left: 25px; }
.ct-prose li { margin-bottom: 6px; }
.ct-prose a { color: var(--gold-dark, #b68d40); font-weight: 600; }

.ct-prose blockquote {
  border-left: 4px solid var(--gold, #d4af37);
  background: var(--gold-soft, #fdf9ee);
  border-radius: 0 12px 12px 0;
  margin: 0 0 15px;
  padding: 13px 19px;
}

.ct-prose blockquote p { margin: 0; }

.ct-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 17px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.ct-prose th, .ct-prose td {
  border: 1px solid var(--card-border, #efece6);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  min-width: 110px;
}

.ct-prose th { background: var(--gold-soft, #fdf9ee); font-weight: 700; }
.ct-prose img { max-width: 100%; border-radius: 12px; }

.ct-prose pre {
  background: #14181f;
  color: #e8e6df;
  border-radius: 12px;
  padding: 15px 17px;
  overflow: auto;
  font-size: 13px;
}

.ct-prose code {
  background: #f1f0ec;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
}

.ct-prose pre code { background: transparent; padding: 0; }

.ct-prose hr {
  border: 0;
  border-top: 1px dashed var(--card-border, #efece6);
  margin: 24px 0;
}

.ct-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* Related */
.ct-related-section {
  padding: 34px 0 70px;
  background: #f5f2ea;
  border-top: 1px solid var(--card-border, #efece6);
}

.ct-related-section.is-downloads {
  background: transparent;
  border-top: 0;
  padding: 6px 0 26px;
}

.ct-related-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ct-section-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 15px;
}

.ct-section-title i { color: var(--gold-dark, #b68d40); margin-right: 8px; }

.ct-related-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ct-related-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 13px;
  padding: 12px 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.ct-related-item:hover {
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateX(3px);
}

.ct-related-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft, #fdf9ee);
  color: var(--gold-dark, #b68d40);
  font-size: 15px;
  flex-shrink: 0;
}

.ct-related-icon.is-news { background: #eef2fa; color: #2c4a8a; }

.ct-related-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-related-body strong {
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-related-body small { font-size: 12px; color: #8b897f; }
.ct-related-cta { color: var(--gold-dark, #b68d40); flex-shrink: 0; }

/* Article detail (Bản tin) */
.ct-article-hero {
  padding: 104px 0 20px;
  background:
    radial-gradient(600px 280px at 92% -40%, rgba(212, 175, 55, 0.14), transparent 60%),
    linear-gradient(165deg, #fdf9ee 0%, #faf8f4 70%);
  border-bottom: 1px solid var(--card-border, #efece6);
}

.ct-article-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(23px, 3.1vw, 32px);
  line-height: 1.28;
  font-weight: 800;
  margin: 0 0 11px;
}

.ct-article-lead {
  font-size: 16px;
  line-height: 1.68;
  color: #55544e;
  margin: 0 0 15px;
}

.ct-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #75736b;
  padding-bottom: 22px;
}

.ct-article-meta i { color: var(--gold-dark, #b68d40); margin-right: 6px; }

.ct-article-cover { margin: 26px 0 4px; }

.ct-article-cover img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(26, 29, 36, 0.11);
}

.ct-article-updating { color: #75736b; font-style: italic; padding: 26px 0; }

.ct-article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 40px;
  padding-top: 20px;
  border-top: 1px dashed var(--card-border, #efece6);
  font-size: 13.5px;
  font-weight: 600;
  color: #75736b;
}

.ct-article-share a,
.ct-article-share button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border, #efece6);
  background: #fff;
  color: var(--dark, #1a1d24);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ct-article-share a:hover,
.ct-article-share button:hover {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  color: #1a1d24;
}

.ct-news-grid.is-related { margin-top: 4px; }

/* ---------------------------------------------------------------------------
   CHỦ ĐỀ — landing + hub
--------------------------------------------------------------------------- */
.ct-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ct-topic-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 16px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ct-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 12px 30px rgba(26, 29, 36, 0.09);
}

.ct-topic-card.is-skeleton {
  min-height: 110px;
  background: linear-gradient(100deg, #fff 40%, #f6f3ec 50%, #fff 60%);
  background-size: 200% 100%;
  animation: ctShimmer 1.4s infinite linear;
}

.ct-topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--gold-soft, #fdf9ee);
  color: var(--gold-dark, #b68d40);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.ct-topic-body { flex: 1; min-width: 0; }

.ct-topic-body strong {
  display: block;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px;
}

.ct-topic-body p {
  font-size: 13px;
  line-height: 1.58;
  color: #66645c;
  margin: 0 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-topic-body small {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark, #b68d40);
}

.ct-topic-arrow {
  align-self: center;
  color: var(--gold-dark, #b68d40);
  transition: transform 0.2s ease;
}

.ct-topic-card:hover .ct-topic-arrow { transform: translateX(4px); }

/* Hub */
.ct-hub-body { padding: 32px 0 70px; }

.ct-hub-section { margin-bottom: 36px; }
.ct-hub-section:last-of-type { margin-bottom: 0; }

.ct-hub-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ct-hub-section-head .ct-section-title { margin: 0; }

.ct-hub-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark, #b68d40);
  text-decoration: none;
  white-space: nowrap;
}

.ct-hub-more:hover { text-decoration: underline; }

.ct-hub-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.ct-hub-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--card-border, #efece6);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}

.ct-hub-row:hover { border-color: rgba(212, 175, 55, 0.55); }

.ct-hub-row-body {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-hub-row-body strong {
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-hub-row-body:hover strong { color: var(--gold-dark, #b68d40); }
.ct-hub-row-body small { font-size: 12px; color: #8b897f; }

.ct-hub-row .ct-file-download { padding: 7px 13px; font-size: 12px; }

.ct-hub-related {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px dashed var(--card-border, #efece6);
}

.ct-hub-related-label { font-size: 13px; font-weight: 700; color: #75736b; }

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .ct-workspace-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
  .ct-news-grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-detail-layout { grid-template-columns: 1fr; }
  .ct-detail-side { position: static; }
  .ct-related-layout { grid-template-columns: 1fr; }
  .ct-topic-grid { grid-template-columns: 1fr; }
  .ct-hub-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Thư viện: sidebar -> filter drawer (bottom sheet) */
  .ct-workspace-layout { grid-template-columns: 1fr; }

  .ct-facets {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 82vh;
    z-index: 990;
    border-radius: 20px 20px 0 0;
    border: 0;
    box-shadow: 0 -14px 44px rgba(16, 19, 26, 0.24);
    transform: translateY(105%);
    transition: transform 0.28s ease;
  }

  .ct-facets.is-open { transform: translateY(0); }
  .ct-facets-close { display: inline-flex; align-items: center; justify-content: center; }
  .ct-facets-foot { display: flex; }
  .ct-filter-toggle { display: inline-flex; }

  /* Drawer là dialog/bottom sheet nên GIỮ scroll nội bộ (khác desktop). */
  .ct-facets-body {
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media (min-width: 901px) {
  .ct-drawer-backdrop { display: none !important; }
}

@media (max-width: 767px) {
  .ct-util-head { padding: 92px 0 20px; }
  .ct-util-head-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .ct-util-search.is-compact { max-width: none; }
  .ct-util-search { margin-top: 12px; }
  .ct-util-search input { font-size: 14px; }
  .ct-util-quick { gap: 7px; }
  .ct-util-quick button, .ct-util-quick a { padding: 7px 13px; font-size: 12.5px; }

  .ct-workspace { padding: 20px 0 70px; }
  .ct-section { padding: 20px 0 70px; }

  /* Bản tin tabs: scroll ngang mềm, ẩn scrollbar, mask gợi ý còn nội dung */
  .ct-news-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    padding-bottom: 4px;
  }

  .ct-news-tabs::-webkit-scrollbar { display: none; }
  .ct-news-tab { flex-shrink: 0; }

  .ct-news-grid,
  .ct-news-grid[data-count="1"],
  .ct-news-grid[data-count="2"],
  .ct-news-grid[data-count="3"] {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 15px;
  }

  .ct-news-featured { grid-template-columns: 1fr; }
  .ct-news-featured-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .ct-news-featured-body { padding: 20px 20px 24px; }

  .ct-row { flex-wrap: wrap; padding: 15px 16px; gap: 12px; }
  .ct-row-icon { width: 40px; height: 40px; font-size: 15px; }
  .ct-row-body { flex-basis: calc(100% - 52px); }
  .ct-row-cta { width: 100%; justify-content: center; }

  .ct-results-toolbar { align-items: center; }
  .ct-results-actions { width: auto; }

  .ct-cat-intro { flex-wrap: wrap; padding: 13px 15px; }
  .ct-cat-intro-clear span { display: none; }
  .ct-cat-intro-clear { padding: 7px 10px; }

  .ct-legal-info dl { grid-template-columns: 1fr; }
  .ct-prose { padding: 20px 18px; font-size: 15px; }
  .ct-prose.is-article { padding: 4px 0 0; font-size: 16px; }

  .ct-detail-hero { padding: 92px 0 22px; }
  .ct-article-hero { padding: 94px 0 16px; }

  .ct-file-list li { flex-wrap: wrap; }
  .ct-file-download { width: 100%; justify-content: center; }

  .ct-toolbar { flex-direction: column; align-items: flex-start; gap: 3px; }
}
