:root {
  --primary: #0f172a;
  --primary-dark: #090d16;
  --accent: #c59d5f;
  --accent-dark: #a98044;
  --accent-light: #fbf5ea;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --light: #faf8f5;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 6px;
  --radius-btn: 4px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-main);
  background-color: var(--white);
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(197, 157, 95, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto;
}

.section-header-wrap {
  text-align: center;
  margin-bottom: 50px;
}


/* ==========================================================================
   PAGE BANNER COMPONENT (Rule 6 Standard)
   ========================================================================== */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%),
              url('_assets/hero.jpg') center/cover no-repeat;
  padding: 100px 20px 80px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 2px solid var(--accent);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(9, 13, 22, 0.6) 100%);
  pointer-events: none;
}

.banner-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 157, 95, 0.15);
  border: 1px solid rgba(197, 157, 95, 0.4);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.banner-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.banner-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.banner-breadcrumb a:hover {
  color: var(--accent);
}

.banner-breadcrumb .separator {
  color: #64748b;
  font-size: 0.8rem;
}

.banner-breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .page-banner {
    padding: 80px 20px 60px;
  }
  .page-title {
    font-size: 2.4rem;
  }
  .page-subtitle {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 16px 50px;
  }
  .page-title {
    font-size: 2rem;
  }
  .page-subtitle {
    font-size: 0.95rem;
  }
  .banner-breadcrumb {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
}


/* Featured News Section */
.news-featured-section {
  padding: 80px 0 40px;
  background-color: var(--white);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.featured-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.featured-img-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
  transform: scale(1.05);
}

.article-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.featured-content {
  padding: 40px 40px 40px 0;
}

/* Article Meta Bar */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

.post-date, .post-author, .post-category, .post-readtime {
  color: #475569;
  font-weight: 600;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.featured-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.featured-title a:hover {
  color: var(--accent);
}

.featured-excerpt {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.featured-btn {
  padding: 12px 24px;
}

/* News Grid Section */
.news-grid-section {
  padding: 50px 0 80px;
  background-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.news-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img {
  transform: scale(1.06);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(197, 157, 95, 0.4);
}

.news-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta-bar {
  margin-bottom: 10px;
  gap: 12px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.news-title a:hover {
  color: var(--accent);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.news-read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}

.news-read-more:hover {
  color: var(--accent);
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.page-link:hover, .page-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* News Detail Section */
.news-detail-section {
  padding: 80px 0;
  background-color: var(--white);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

.article-main-wrap {
  display: flex;
  flex-direction: column;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-main-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 18px;
}

/* Article Body Typography */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.lead-paragraph {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 16px;
  line-height: 1.35;
}

.article-body p {
  margin-bottom: 20px;
}

.article-img-wrap {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.img-caption {
  display: block;
  background: var(--light);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Blockquote */
.article-quote {
  position: relative;
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 30px 32px 30px 44px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-icon {
  position: absolute;
  top: 18px;
  left: 14px;
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.5;
}

.quote-content {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.quote-author {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

/* Highlight Box */
.article-highlight-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  border-radius: var(--radius);
  margin: 30px 0;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #854d0e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-text {
  font-size: 0.95rem;
  color: #713f12;
  margin: 0;
  line-height: 1.6;
}

/* Tags List */
.article-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tags-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  background: var(--light);
  border: 1px solid var(--border);
  color: #475569;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.tag-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Share Bar */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.share-btns {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.share-btn:hover {
  opacity: 0.85;
}

.btn-fb {
  background: #1877f2;
}

.btn-zalo {
  background: #0068ff;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-copy {
  background: #475569;
}

/* Author Card */
.author-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 40px;
}

.author-avatar-wrap {
  min-width: 90px;
}

.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.author-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Related Posts Section */
.related-posts-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-posts-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-post-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.related-post-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.related-post-content {
  padding: 14px 16px;
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.4;
}

.related-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.related-title a:hover {
  color: var(--accent);
}

/* Sidebar Column */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

/* Search Widget */
.search-widget {
  display: flex;
  flex-direction: column;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.25s ease;
}

.search-btn:hover {
  background: var(--accent);
}

/* Categories Widget */
.categories-widget {
  display: flex;
  flex-direction: column;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-item {
  display: block;
}

.cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #334155;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.cat-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.cat-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-name i {
  font-size: 0.75rem;
  color: var(--accent);
}

.cat-count {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Recent Posts Widget */
.recent-posts-widget {
  display: flex;
  flex-direction: column;
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.recent-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-btn);
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recent-date {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.recent-date i {
  color: var(--accent);
}

.recent-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.recent-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.recent-title a:hover {
  color: var(--accent);
}

/* Promo Card */
.sidebar-promo-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border: none;
  text-align: center;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 157, 95, 0.2);
  border: 1px solid rgba(197, 157, 95, 0.4);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.promo-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .featured-content {
    padding: 30px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-detail-layout {
    grid-template-columns: 1fr;
  }
  .article-img {
    height: 320px;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .featured-img-wrap {
    height: 260px;
  }
  .featured-title {
    font-size: 1.5rem;
  }
  .article-main-title {
    font-size: 1.7rem;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}


.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.next-page {
  font-weight: 700;
}
