/* ==============================================================
   HỘI NHẬP THỜI ĐẠI - GIAO DIỆN TRANG CHỦ MẪU
   Bố cục, layout, màu sắc, font chữ chuẩn theo bản gốc
   ============================================================== */

:root {
  --primary-color: #184ba0;
  --primary-hover: #0f3675;
  --accent-red: #c9252c;
  --accent-red-hover: #b01b21;
  --accent-blue: #0080ce;
  --bg-page: #edf0f5;
  --bg-card: #ffffff;
  --text-dark: #1b1d25;
  --text-body: #4a5568;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --site-width: 1180px;
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset & General */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==============================================================
   HEADER STYLES
   ============================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.header-top {
  padding: 18px 0;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo {
  max-height: 75px;
  width: auto;
  object-fit: contain;
}

.header-aside-ad {
  flex-grow: 1;
  max-width: 728px;
  height: 90px;
  display: flex;
  justify-content: flex-end;
}

.header-aside-ad img,
.header-aside-ad svg {
  width: 100%;
  max-width: 728px;
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
}

/* Mobile Header Bar */
.mobile-header-bar {
  display: none;
  background: #ffffff;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  justify-content: space-between;
}

.mobile-logo img {
  max-height: 48px;
}

.mobile-menu-toggle {
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ==============================================================
   MAIN NAVIGATION
   ============================================================== */
.main-navigation-bar {
  background-color: var(--primary-color);
  position: relative;
  z-index: 100;
}

.main-navigation-bar .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 15px;
}

.nav-wrapper-left {
  display: flex;
  align-items: stretch;
  flex: 1;
}

/* Home Icon Button */
.nav-home-btn {
  background-color: var(--accent-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.nav-home-btn:hover {
  background-color: var(--accent-red-hover);
  color: #ffffff;
}

/* Nav Menu List */
.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-menu li {
  position: relative;
}

.main-menu li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 13px 13px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-menu li:hover > a {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.main-menu li.active > a {
  background-color: var(--primary-hover);
}

/* Search Handler */
.nav-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0 16px;
  height: 100%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.nav-search-btn:hover {
  background-color: var(--primary-hover);
}

/* Search Dropdown / Popup */
.search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border-radius: 0 0 6px 6px;
  display: none;
  z-index: 999;
}

.search-dropdown.open {
  display: block;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-dropdown form {
  display: flex;
  gap: 6px;
}

.search-dropdown input[type="search"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  outline: none;
}

.search-dropdown input[type="search"]:focus {
  border-color: var(--primary-color);
}

.search-dropdown button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

/* ==============================================================
   MAIN CONTENT WRAPPER
   ============================================================== */
.main-content-wrapper {
  padding-top: 15px;
  padding-bottom: 30px;
}

.content-inner-card {
  background: var(--bg-card);
  padding: 18px 20px 25px 20px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Section Headings */
.section-heading {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-radius: 2px;
}

.section-heading i {
  font-size: 15px;
}

.section-heading h2,
.section-heading .h-text {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

/* ==============================================================
   ROW 1: MODERN GRID 5 (HERO SECTION)
   ============================================================== */
.hero-modern-grid {
  display: grid;
  grid-template-columns: 24% 52% 24%;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Small hero card */
.hero-card-small {
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.hero-card-small .img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
}

.hero-card-small .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-card-small:hover .img-wrapper img {
  transform: scale(1.04);
}

.hero-card-small .card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a202c;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.hero-card-small:hover .card-title {
  color: var(--primary-color);
}

/* Big center hero card */
.hero-card-big {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1e293b;
}

.hero-card-big .big-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-card-big .big-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card-big:hover .big-img-wrapper img {
  transform: scale(1.03);
}

.hero-card-big .big-title-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  margin: 16px;
  padding: 16px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
}

.hero-card-big .big-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  transition: color 0.2s ease;
}

.hero-card-big:hover .big-title {
  color: var(--primary-color);
}

/* ==============================================================
   GRID LAYOUT UTILITIES
   ============================================================== */
.row-layout {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf2f7;
}

.row-layout:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.grid-8-4 {
  grid-template-columns: calc(66.66% - 11px) calc(33.33% - 11px);
}

.grid-6-6 {
  grid-template-columns: repeat(2, calc(50% - 11px));
}

.col-main {
  min-width: 0;
}

/* ==============================================================
   ARTICLE CARDS & LISTING STYLES
   ============================================================== */
/* Blog list layout (horizontal cards) */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
}

.blog-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-item .thumb-box {
  flex-shrink: 0;
  width: 215px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
}

.blog-item .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-item:hover .thumb-box img {
  transform: scale(1.05);
}

.blog-item .info-box {
  flex: 1;
  min-width: 0;
}

.blog-item .post-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a202c;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.blog-item:hover .post-title {
  color: var(--primary-color);
}

.blog-item .post-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category Column With 1 Big Post + Compact Posts */
.category-block {
  display: flex;
  flex-direction: column;
}

.category-featured-card {
  margin-bottom: 14px;
}

.category-featured-card .thumb-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
  margin-bottom: 10px;
}

.category-featured-card .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-featured-card:hover .thumb-box img {
  transform: scale(1.04);
}

.category-featured-card .post-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a202c;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.category-featured-card:hover .post-title {
  color: var(--primary-color);
}

.category-featured-card .post-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Compact Articles List */
.compact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed #edf2f7;
}

.compact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compact-item .thumb-box {
  flex-shrink: 0;
  width: 78px;
  height: 56px;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
}

.compact-item .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.compact-item:hover .thumb-box img {
  transform: scale(1.06);
}

.compact-item .post-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #2d3748;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.compact-item:hover .post-title {
  color: var(--primary-color);
}

/* ==============================================================
   ADVERTISING BANNER BOXES
   ============================================================== */
.ad-banner-container {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

.ad-banner-container img,
.ad-banner-container svg {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* In-feed category banners (dưới khối Doanh nghiệp và Kinh tế) */
.inline-ad-wrapper {
  margin-top: 24px;
  margin-bottom: 6px;
  width: 100%;
  text-align: center;
}

.inline-ad-wrapper a {
  display: block;
}

.inline-ad-wrapper img,
.inline-ad-wrapper svg {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sidebar-ad-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-ad-box {
  width: 100%;
}

.sidebar-ad-box img,
.sidebar-ad-box svg {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ==============================================================
   FOOTER STYLES
   ============================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 3px solid var(--accent-red);
  margin-top: 30px;
}

.footer-widgets {
  background-color: #f8fafc;
  padding: 35px 0 35px 0;
}

.footer-widgets .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col {
  font-size: 14px;
  line-height: 1.7;
}

/* Column 1: Logo identical to original */
.footer-col-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-col-1 .footer-logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 12px;
}

/* Column 2 & 3: Headings and Info */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-content-block {
  color: #334155;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-content-block p {
  margin-bottom: 8px;
}

.footer-content-block strong {
  color: #0f172a;
}

.footer-content-block i {
  color: var(--primary-color);
  width: 18px;
  text-align: center;
  margin-right: 6px;
}

/* Footer Bottom Copyright Bar */
.footer-bottom-copy {
  background-color: #ffffff;
  padding: 14px 0;
  font-size: 12.5px;
  color: #64748b;
}

.footer-bottom-copy .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==============================================================
   CATEGORY ARCHIVE & SIDEBAR STYLES
   ============================================================== */
/* Breadcrumb */
.breadcrumb-nav {
  padding: 4px 0 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--primary-color);
}

.breadcrumb-nav .separator {
  margin: 0 6px;
  color: #94a3b8;
}

.breadcrumb-nav .current {
  color: #1e293b;
  font-weight: 600;
}

/* Category Grid (2 columns in Col 8) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 18px;
}

.category-card {
  display: flex;
  flex-direction: column;
}

.category-card .thumb-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
  margin-bottom: 10px;
}

.category-card .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .thumb-box img {
  transform: scale(1.04);
}

.category-card .post-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a202c;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.category-card:hover .post-title {
  color: var(--primary-color);
}

.category-card .post-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  transition: all 0.2s ease;
}

.pagination-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination-item.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* Sidebar Specific Widgets */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: transparent;
}

.compact-text-list {
  display: flex;
  flex-direction: column;
}

.compact-text-item {
  padding: 11px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.compact-text-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compact-text-item .post-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #2d3748;
  margin: 0;
  transition: color 0.2s ease;
}

.compact-text-item:hover .post-title {
  color: var(--primary-color);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(24, 75, 160, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==============================================================
   SINGLE ARTICLE (TRANG BÀI VIẾT CHI TIẾT)
   ============================================================== */
.article-detail-wrapper {
  margin-bottom: 24px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a202c;
  margin-bottom: 12px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #64748b;
}

.article-meta-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #cbd5e1;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 3px;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.share-btn.btn-share-count {
  background: #f1f5f9;
  color: #475569;
  cursor: default;
}

.share-btn.btn-facebook {
  background: #1877f2;
}

.share-btn.btn-twitter {
  background: #1da1f2;
}

.share-btn.btn-messenger {
  background: #0084ff;
}

.share-btn.btn-more {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 10px;
}

/* Sapo / Excerpt */
.article-sapo {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
}

/* Article Body */
.article-content {
  font-size: 15px;
  line-height: 1.75;
  color: #2d3748;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content .article-image-box {
  margin: 22px 0;
  text-align: center;
}

.article-content .article-image-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-content .image-caption {
  font-size: 13px;
  font-style: italic;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
}

/* Author Signature & Source */
.article-signature {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-source-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f8fafc;
  border-left: 3px solid var(--primary-color);
  font-size: 13.5px;
  color: #475569;
  border-radius: 0 4px 4px 0;
}

.article-source-box .source-name {
  font-weight: 600;
  color: #1e293b;
}

.article-source-box .source-link {
  color: var(--primary-color);
  word-break: break-all;
  margin-top: 4px;
  display: block;
}

/* Tags Box */
.article-tags-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.article-tags-box i {
  color: var(--primary-color);
  margin-right: 2px;
}

.article-tag-item {
  display: inline-block;
  padding: 4px 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.article-tag-item:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* Related Posts (Có thể bạn quan tâm: 3 cột x 2 hàng = 6 bài) */
.related-posts-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 14px;
}

.related-post-card {
  display: flex;
  flex-direction: column;
}

.related-post-card .thumb-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e8f0;
  margin-bottom: 8px;
}

.related-post-card .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .thumb-box img {
  transform: scale(1.05);
}

.related-post-card .post-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.related-post-card:hover .post-title {
  color: var(--primary-color);
}

/* ==============================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================== */
@media (max-width: 1024px) {
  .hero-modern-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-card-big {
    min-height: 320px;
  }
  
  .grid-8-4,
  .grid-6-6 {
    grid-template-columns: 1fr;
  }
  
  .footer-widgets .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-col-title {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-header .header-top {
    display: none;
  }
  
  .mobile-header-bar {
    display: flex;
  }
  
  .main-navigation-bar {
    display: none;
  }
  
  .main-navigation-bar.mobile-open {
    display: block;
  }
  
  .main-navigation-bar .container {
    flex-direction: column;
    padding: 0;
  }
  
  .nav-wrapper-left {
    flex-direction: column;
  }
  
  .nav-home-btn {
    padding: 12px;
  }
  
  .main-menu {
    flex-direction: column;
  }
  
  .main-menu li a {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .nav-search-wrapper {
    padding: 10px 16px;
  }
  
  .search-dropdown {
    position: static;
    width: 100%;
    display: block;
    box-shadow: none;
    border-radius: 0;
  }
  
  .hero-col {
    grid-template-columns: 1fr;
  }
  
  .blog-item {
    flex-direction: column;
  }
  
  .blog-item .thumb-box {
    width: 100%;
    aspect-ratio: 16/10;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-title {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

