@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap");

/* Local Inter Font Faces */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter18pt-SemiBold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter18pt-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
::after,
::before {
  box-shadow: none !important;
}

:root {
  --primary-color: #0b3a78; /* V3 Primary */
  --primary-dark: #07254e; /* V3 Primary Dark */
  --accent-color: #f58220; /* V3 Secondary */
  --accent-hover: #e07216;
  --bg-light: #f7f9fc; /* V3 Background */
  --text-dark: #101828; /* V3 Text */
  --text-muted: #6c7a91; /* V3 Text phụ */
  --border-color: #e7ecf4; /* V3 Border */
  --radius-card: 8px; /* Crisp card borders for state style */
  --transition-speed: 0.18s;
}

body {
  font-family: "Roboto", "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light); /* V3 Background */
  font-size: 16px;
  line-height: 1.6;
}

.portal-card {
  background-color: #ffffff;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Home Sidebar Sticky & Anti-stretch styling */
.home-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  align-self: start;
}

.home-sidebar .portal-card {
  height: auto !important;
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-speed);
}

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

@media (min-width: 1400px) {
  .container {
    max-width: 1360px !important;
  }
}
@media (max-width: 1399.98px) {
  .container {
    max-width: 1200px !important;
  }
}

/* ==========================================================================
   1. TOPBAR
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #e5e7eb;
  font-size: 15px; /* V3 Topbar Font Size */
  font-weight: 500; /* V3 Topbar Font Weight */
  padding: 8px 0;
}

.topbar a {
  color: #e5e7eb;
}

.topbar a:hover {
  color: var(--accent-color);
}

.topbar-right-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.topbar-search-form {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 4px;
}

.topbar-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12.5px;
  padding: 3px 8px;
  width: 130px;
  font-family: "Roboto", "Inter", sans-serif;
}

.topbar-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.topbar-search-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

/* ==========================================================================
   2. HEADER (Logo + Brand Text Left | 4 Quick-links Right)
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  padding: 16px 0;
}

.header-new-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand block: logo + text */
.header-brand-block {
  flex-shrink: 0;
}

.header-logo {
  width: 250px;
}

.header-brand-text {
  line-height: 1.1;
}

.header-brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.header-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
}

.header-brand-tagline {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
  border-top: 1.5px solid var(--border-color);
  padding-top: 4px;
}

/* Quick-link cards on the right */
.header-quicklinks {
  display: flex;
  gap: 6px;
}

.header-quicklink-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-dark);
  transition:
    border-color var(--transition-speed),
    background-color var(--transition-speed);
  min-width: 0;
  white-space: nowrap;
}

.header-quicklink-item:hover {
  border-color: var(--primary-color);
  background-color: #f0f5ff;
  color: var(--primary-color);
}

.header-quicklink-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-color: rgba(11, 58, 120, 0.08);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 15px;
}

.header-quicklink-item:hover .header-quicklink-icon {
  background-color: var(--primary-color);
  color: #ffffff;
}

.header-quicklink-text {
  display: flex;
  flex-direction: column;
}

.header-quicklink-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

.header-quicklink-desc {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: 1px;
}

.header-quicklink-item:hover .header-quicklink-title {
  color: var(--primary-color);
}

.main-nav-bar {
  background-color: var(--primary-color);
  padding: 0;
  margin: 0;
}

.navbar-inner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-search-form {
  display: flex;
  align-items: center;
  border: none;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #ffffff;
}

.navbar-search-input {
  background: #ffffff;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-size: 12.5px;
  padding: 5px 10px;
  width: 160px;
  font-family: "Roboto", "Inter", sans-serif;
}

.navbar-search-input::placeholder {
  color: var(--text-dark);
}

.navbar-search-btn {
  background: var(--accent-color);
  border: none;
  color: #ffffff;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color var(--transition-speed);
}

.navbar-search-btn:hover {
  background: #d45f00;
}

.main-navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
}

.main-navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff !important;
  padding: 12px 10px !important;
  letter-spacing: 0.1px;
  position: relative;
  transition: color 0.15s;
  white-space: nowrap;
}

.main-navbar-nav .nav-item.active .nav-link,
.main-navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Home icon: distinct orange-bg box for active item */
.main-navbar-nav .nav-item.active .nav-link {
  background-color: var(--accent-color);
  color: #ffffff !important;
  padding: 12px 16px !important;
}

.main-navbar-nav .nav-item.active .nav-link:hover {
  background-color: #d45f00;
}

.main-navbar-nav .nav-item.active .nav-link::after {
  display: none; /* remove underline bar since bg does the job */
}

.nav-search-input-group {
  max-width: 320px;
}

.nav-search-input-group .form-control {
  font-size: 12px;
  height: 34px;
  border-radius: 4px 0 0 4px !important;
}

.nav-search-input-group .btn {
  height: 34px;
  font-size: 12px;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-left: none;
  border-radius: 0 4px 4px 0 !important;
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */
.hero-slider-section {
  background-image: url("hero_banner.png");
  background-size: cover;
  background-position: center;
  padding: 80px 0; /* Tall and spacious spacing layout */
  color: var(--primary-dark);
  min-height: 300px;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 36px; /* V3 H1 Hero Font Size */
  font-weight: 800; /* V3 H1 Hero Font Weight */
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.2; /* V3 line-height */
}

.hero-content p {
  font-size: 16px; /* V3 Hero Desc Size */
  max-width: 620px; /* V3 Hero Desc Max Width */
  margin-bottom: 30px;
  color: var(--text-dark);
}

.btn-orange-lg {
  background-color: var(--accent-color);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 4px !important;
  border: none;
  transition: all var(--transition-speed);
  display: inline-block;
}

.btn-orange-lg:hover {
  background-color: var(--accent-hover);
  color: #ffffff !important;
}

.main-content-section {
  padding: 30px 0;
}

.main-content-section > .container > .row,
.main-content-section > .container > .cta-handshake-banner {
  margin-bottom: 36px !important;
}

.main-content-section > .container > .row:last-of-type {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   SECTION STANDARD HEADERS
   ========================================================================== */
.section-block-header {
  border-bottom: 2px solid var(--primary-color); /* Strong solid primary border line */
  padding-bottom: 4px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.section-block-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  margin: 0;
  padding-left: 8px;
  border-left: 4px solid var(--accent-color); /* Vertically aligned left-accent orange indicator block */
  display: inline-block;
  letter-spacing: -0.2px;
}

.section-more-link {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 500;
}

/* Slider navigation arrows */
.slider-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  font-size: 10px;
  color: var(--text-muted);
  cursor: pointer;
  background-color: #ffffff;
  transition: all var(--transition-speed);
}

.slider-arrow-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: var(--bg-light);
}

/* ==========================================================================
   4. ROW 1 Content (Featured lists & Job search widgets)
   ========================================================================== */
.featured-article-card {
  border: none;
  background: none;
}

.featured-article-img {
  width: 100%;
  height: 290px; /* Symmetrical balance with right col */
  object-fit: cover;
  margin-bottom: 10px;
}

.featured-article-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 23px;
  margin-bottom: 6px;
}

.featured-article-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 20px;
  margin-bottom: 6px;
}

.featured-article-meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Subnews item with thumbnail on the right - as in mockup file */
.right-thumb-news-item {
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  height: 85px; /* Taller fixed height for balanced text layout */
  align-items: center;
}

.right-thumb-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.right-thumb-news-content {
  flex-grow: 1;
}

.right-thumb-tag {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 2px;
}

.right-thumb-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  margin-bottom: 2px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.right-thumb-img {
  width: 90px;
  height: 65px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Search widget on the right */
.search-widget-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 14px;
  margin-bottom: 14px;
}

.search-widget-box h4 {
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.search-widget-box .form-control,
.search-widget-box .form-select {
  font-size: 12.5px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 4px !important;
}

.btn-search-widget {
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 500;
  width: 100%;
  font-size: 12px;
  text-transform: uppercase;
  height: 36px;
  border: none;
  border-radius: 4px !important;
}

.btn-search-widget:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

.featured-jobs-list {
  display: flex;
  flex-direction: column;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Slim Custom Scrollbar */
.featured-jobs-list::-webkit-scrollbar {
  width: 4px;
}
.featured-jobs-list::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 2px;
}
.featured-jobs-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 2px;
}
.featured-jobs-list::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.featured-job-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.featured-job-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.job-info-block {
  display: flex;
  flex-direction: column;
}

.job-name-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.job-company-name {
  font-size: 13.5px;
  color: var(--text-dark);
}

.job-location-tag {
  font-size: 13px;
  color: var(--text-dark);
}

.job-salary-tag {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-color);
  white-space: nowrap;
}

/* Combined job search and featured job card */
.job-search-blue-card {
  background-color: var(--primary-color);
  padding: 16px;
}

.btn-job-search-orange {
  width: 100%;
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 0;
  text-transform: uppercase;
  transition: all var(--transition-speed);
}

.btn-job-search-orange:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

.featured-jobs-box {
  border-radius: 4px;
  padding: 0;
  overflow-y: auto;
  max-height: 425px;
}

/* Hide scrollbar but keep scroll functionality */
.featured-jobs-box {
  -ms-overflow-style: none; /* IE, Edge */
  scrollbar-width: none; /* Firefox */
}
.featured-jobs-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.featured-job-item-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0px;
  border-bottom: 1.5px solid var(--border-color);
  background-color: #ffffff;
  transition: background-color var(--transition-speed);
}

.featured-job-item-new:hover {
  background-color: #fafbfc;
}

.featured-job-item-new:last-child {
  border-bottom: none;
}

.job-meta-left {
  display: flex;
  flex-direction: column;
  flex: 2.2;
}

.job-title-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}

.job-title-text:hover {
  color: var(--primary-color);
}

.job-company-text {
  font-size: 13px;
  color: var(--text-muted);
}

.job-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.job-salary-tag-new {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.job-location-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   5. ROW 2 (Hoạt động tiêu biểu slider & Market Stats grid)
   ========================================================================== */

/* Fix Swiper infinite-width stretch bug */
.activity-swiper {
  width: 100%;
  overflow: hidden;
  min-width: 0;
}

.activity-swiper .swiper-slide {
  min-width: 0;
  /* Must be auto so Swiper calculates the correct slide width */
  width: auto;
  flex-shrink: 0;
}

.activity-card {
  background-color: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.activity-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 ratio */
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.activity-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-date-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 16px;
  text-align: center;
  border-radius: 0 4px 0 0 !important;
  line-height: normal;
}

.activity-date-badge-day {
  font-size: 18px;
  font-weight: 500;
  line-height: 14px;
}

.activity-date-badge-month {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-top: 1px;
}

.activity-body {
  padding: 12px 0 0 0; /* Align with the image borders */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.activity-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.activity-card-desc {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 18px;
  margin: 6px 0 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 2x2 Stats grid - Box eliminated for clean airy mockup look */
.market-stats-card {
  border: none;
  background: transparent;
  padding: 8px 0;
  flex-grow: 1;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  column-gap: 12px;
  width: 100%;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50% !important;
  background-color: rgba(11, 58, 120, 0.08); /* V3 primary light blue tint */
}

.stat-icon i {
  color: var(--primary-color) !important;
  font-size: 15px;
}

.stat-img-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: normal;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 16px;
  margin-top: 1px;
}

/* ==========================================================================
   6. ROW 3 CONTENT (Categories with tabs, Upcoming events, policies)
   ========================================================================== */
.cat-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 2px 2px 0 0 !important;
}

.cat-tab-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.cat-left-thumb-list {
  display: flex;
  flex-direction: column;
}

.cat-left-thumb-item {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.cat-left-thumb-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-news-mini-thumb {
  width: 100px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  flex-shrink: 0;
}

.cat-news-mini-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
}

.upcoming-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.upcoming-event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event-date-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  text-align: center;
  border-radius: 4px;
  width: 50px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Clips children background to respect parent border-radius */
}

.event-date-day {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--text-dark);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-date-month {
  order: -1; /* Pushes month header to the top of the box */
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 0;
  line-height: normal;
  display: block;
}

.event-title-details {
  flex-grow: 1;
}

.event-title-main {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  margin-bottom: 2px;
}

.event-title-loc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-event-join {
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 500;
  font-size: 12px; /* Slightly smaller for tighter layout */
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px !important;
  border: none;
  white-space: nowrap; /* Prevents text line wrapping */
  flex-shrink: 0; /* Prevents button from squeezing/shrinking */
}

.btn-event-join:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

/* ==========================================================================
   7. ROW 4 CONTENT (Regions map, Hirers grid, Video gallery)
   ========================================================================== */
.local-jobs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.local-job-loc-row {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 15px;
  padding: 7px 12px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
}

.local-job-loc-row:hover,
.local-job-loc-row.active {
  background-color: var(--primary-color);
  color: #ffffff;
}

.local-job-loc-row .count {
  color: var(--accent-color);
  font-weight: 500;
}

.local-job-loc-row:hover .count,
.local-job-loc-row.active .count {
  color: #ffffff;
}

.hirer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.hirer-brand-row:last-child {
  border-bottom: none;
}

.hirer-info-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hirer-logo-circle {
  width: 24px;
  height: 24px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.hirer-name {
  font-weight: 500;
  font-size: 15px;
}

.hirer-jobs-limit {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-color);
}

.video-widget-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-widget-play-btn {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
}

.video-widget-title-under {
  font-size: 16px;
  font-weight: 500;
  line-height: 17px;
  margin-top: 8px;
}

/* ==========================================================================
   8. CTA BANNER (Handshake)
   ========================================================================== */
.cta-banner-new-container {
  width: 100%;
  aspect-ratio: 1366 / 200; /* Set exact 1366:200 ratio dynamically */
  background-image: url("banner_cooperation.png");
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   9. QUICK DIRECTORY ROWS (4 columns before footer)
   ========================================================================== */
.dir-column-title {
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.dir-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.dir-links-list li::before {
  content: "\f002"; /* fa-search symbol */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-color);
  font-size: 9px;
  margin-right: 6px;
  opacity: 0.75;
}

/* ==========================================================================
   10. PARTNERS LOGO SLIDER
   ========================================================================== */
/* Partners logo section */

.partners-swiper {
  width: 100%;
  margin: 0 auto;
}

.partner-logo-box {
  height: 45px;
  width: 100%;
  max-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  background-color: transparent;
  border: none;
  margin: 0 auto;
}

.partner-logo-img {
  width: 110px;
  height: 35px;
  object-fit: contain;
  transition: transform var(--transition-speed) ease;
}

/* Tăng kích thước các logo có viền trắng/khoảng trống trong ảnh gốc để nhìn đồng đều */
.partner-logo-img[src*="viettel"],
.partner-logo-img[src*="vingroup"],
.partner-logo-img[src*="vinamilk"] {
  transform: scale(1.35);
}

.partners-swiper-prev,
.partners-swiper-next {
  color: var(--primary-color) !important;
  width: 32px !important;
  height: 32px !important;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed);
}

.partners-swiper-prev:hover,
.partners-swiper-next:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
}

.partners-swiper-prev::after,
.partners-swiper-next::after {
  font-size: 13px !important;
  font-weight: bold;
}

/* ==========================================================================
   11. CONTRAST DARK BLUE FOOTER
   ========================================================================== */
.deep-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px 0;
  font-size: 13.5px;
  border-top: 4px solid var(--accent-color);
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-intro-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Small Social Icons */
.footer-social-icons-small {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social-icons-small .social-icon-btn {
  width: 28px;
  height: 28px;
  font-size: 12px;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
  text-decoration: none;
}

.footer-social-icons-small .social-icon-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Footer Section Columns */
.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

/* links list */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
}

.footer-link::before {
  content: "\f105"; /* FontAwesome fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
  font-size: 12px;
  color: var(--accent-color);
  opacity: 0.8;
  transition: transform var(--transition-speed) ease;
}

.footer-link:hover {
  color: var(--accent-color) !important;
  padding-left: 4px;
}

.footer-link:hover::before {
  transform: translateX(2px);
}

/* Contact information list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li {
  display: flex;
  align-items: start;
  gap: 8px;
}

.footer-contact-list i {
  font-size: 13px;
  color: var(--accent-color) !important;
  margin-top: 4px;
}

/* Fanpage Facebook Container inside Footer */
.footer-fb-page {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  height: 130px;
}
.footer-fb-page iframe {
  border: 0;
  display: block;
}

/* Copyright footer bottom */
.footer-copyright-row {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright-links {
  font-size: 12px;
}

.footer-copyright-links a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-copyright-links a:hover {
  color: var(--accent-color) !important;
}

.footer-copyright-divider {
  color: rgba(255, 255, 255, 0.2) !important;
  margin: 0 10px;
}

/* Set font-weight 600 for text-truncate link item titles in home list */
a.text-truncate {
  font-weight: 600 !important;
}

/* Mobile responsive fixes */
@media (max-width: 991.98px) {
  .header-brand-group {
    margin-bottom: 12px;
  }
  .navbar-collapse {
    background-color: #ffffff;
    padding: 10px 0;
  }
  .nav-search-input-group {
    max-width: 100%;
    margin-top: 10px;
  }
  .cta-handshake-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ==========================================================================
   NEWS TICKER MARQUEE
   ========================================================================== */
.news-ticker-container {
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ticker-title {
  background-color: var(
    --primary-color
  ); /* Blue instead of orange - avoid merging with hero button */
  color: #ffffff;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 15px;
  letter-spacing: 0.2px;
  z-index: 5;
  position: relative;
}

.ticker-content-wrap {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 100s linear infinite;
  padding-left: 0;
}

.ticker-content:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.ticker-content a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color var(--transition-speed);
}

.ticker-content a:hover {
  color: var(--accent-color);
}

.ticker-separator {
  color: var(--accent-color);
  margin: 0 0 30px 10px;
  font-weight: bold;
}

@keyframes ticker-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Custom styles for Vietnam map and local jobs block */
.vietnam-map-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.local-job-custom-list {
  display: flex;
  flex-direction: column;
}

.local-job-custom-item {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  border-bottom: 1.5px solid var(--border-color);
}

.local-job-custom-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.local-job-custom-item:first-child {
  padding-top: 0;
}

.local-job-custom-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1px;
}

.local-job-custom-count {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   12. CONTACT SECTION STYLING
   ========================================================================== */
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background-color: rgba(245, 130, 32, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-info-text {
  font-size: 12.5px;
  line-height: 1.4;
}

.custom-form-group {
  display: flex;
  flex-direction: column;
}

.custom-form-group .form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.portal-form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px !important;
  padding: 8px 12px;
  font-size: 13px;
  background-color: #ffffff;
  transition: all var(--transition-speed);
}

.portal-form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
  outline: none;
}

/* ==========================================================================
   13. NEWS GRID SECTION (3 Columns)
   ========================================================================== */
.grid-news-main-card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.grid-news-main-card:hover .grid-news-main-title {
  color: var(--primary-color);
}

.grid-news-main-card:hover .grid-news-main-img {
  transform: scale(1.03);
}

.grid-news-main-img-wrap {
  width: 100%;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #f1f5f9;
}

.grid-news-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.grid-news-main-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px; /* height restriction to align meta */
}

.grid-news-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.grid-news-smaller-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
}

.grid-news-smaller-item:hover .grid-news-smaller-title {
  color: var(--primary-color);
}

.grid-news-smaller-thumb {
  width: 120px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.grid-news-smaller-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-news-smaller-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.right-thumb-img {
  width: 90px;
  aspect-ratio: 4 / 3; /* ~90x67px - replaces fixed height: 65px */
  object-fit: cover;
  flex-shrink: 0;
}

.style-news-bullet {
  font-size: 6px;
  color: var(--accent-color); /* orange dot matching branding */
  display: inline-block;
  margin-top: 8px;
  flex-shrink: 0;
  transition:
    transform var(--transition-speed),
    color var(--transition-speed);
}

a:hover .style-news-bullet {
  transform: scale(1.3);
}

.news-title-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  font-size: 15px;
  color: inherit;
  font-weight: 500 !important;
  line-height: 1.4;
  transition: color var(--transition-speed);
}

.news-title-clamp-2:hover {
  color: var(--primary-color) !important;
}

/* Adjust padding-left on date lines to align with text when icon fits */
.news-date-line {
  font-size: 12px;
  margin-top: 4px;
  padding-left: 20px;
}

/* Separation borders for news items */
.news-bullet-list {
  gap: 0 !important; /* reset gap to use padding & border layout */
}

.news-bullet-list li {
  padding: 10px 0;
  border-bottom: 1.5px dashed var(--border-color);
}

.news-bullet-list li:first-child {
  padding-top: 0;
}

.news-bullet-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ==========================================================================
   14. ADDITIONAL HOMEPAGE SECTIONS STYLING
   ========================================================================== */

/* Publications - Library (Ấn phẩm - Thư viện) */
.publication-cover-card {
  background-image:
    linear-gradient(rgba(7, 37, 78, 0.25), rgba(7, 37, 78, 0.25)),
    url("pub-cover-bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  height: 100%;
  min-height: 220px;
  box-shadow: 0 4px 10px rgba(11, 58, 120, 0.15);
  transition: color var(--transition-speed) ease;
  text-decoration: none;
}

.publication-cover-card:hover {
  color: #ffffff !important;
}

.pub-cover-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pub-cover-subtitle {
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 0;
  width: 100%;
  line-height: 1.45;
}

.pub-cover-quarter {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

.pub-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-speed) ease;
  text-decoration: none;
}

.pub-title:hover {
  color: var(--primary-color) !important;
}

/* Video Widget (Truyền hình - Video) */
.video-main-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.video-main-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.video-main-card:hover .video-main-play-overlay {
  background-color: rgba(0, 0, 0, 0.45);
}

.video-main-play-btn {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform var(--transition-speed) ease;
}

.video-main-card:hover .video-main-play-btn {
  transform: scale(1.1);
}

.video-main-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.video-sub-item img {
  width: 70px;
  aspect-ratio: 4/3;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0 !important;
}

.video-sub-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-speed) ease;
  text-decoration: none;
}

.video-sub-title:hover {
  color: var(--primary-color) !important;
}

/* Social Buttons */
.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 13px;
  transition:
    background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.social-icon-btn.facebook {
  background-color: #1877f2;
}
.social-icon-btn.youtube {
  background-color: #ff0000;
}
.social-icon-btn.linkedin {
  background-color: #0a66c2;
}
.social-icon-btn.tiktok {
  background-color: #000000;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.9);
}

/* Branding Banner */
.bottom-branding-banner {
  box-shadow: 0 4px 12px rgba(11, 58, 120, 0.1);
}

/* Premium Newsletter Subscription Box */
.newsletter-subscription-card {
  background-image:
    linear-gradient(135deg, rgba(7, 37, 78, 0.4) 0%, rgba(7, 37, 78, 0.4) 100%),
    url("newsletter-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 15px rgba(11, 58, 120, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-subscription-card .input-group-text {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.newsletter-subscription-card .form-control {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.newsletter-subscription-card .btn-orange-lg {
  background-color: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(245, 130, 32, 0.2);
  transition:
    background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.newsletter-subscription-card .btn-orange-lg:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 15px rgba(245, 130, 32, 0.35);
  transform: translateY(-1px);
}

.footer-link {
  transition:
    color var(--transition-speed) ease,
    padding-left var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-link::before {
  content: "\f105"; /* FontAwesome fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
  font-size: 12px;
  color: var(--accent-color);
  opacity: 0.8;
  transition:
    transform var(--transition-speed) ease,
    color var(--transition-speed) ease;
}

.footer-link:hover {
  color: var(--accent-color) !important;
  padding-left: 4px;
}

.footer-link:hover::before {
  color: var(--accent-color);
  transform: translateX(2px);
}

/* Hiệu ứng trượt tuyến tính liên tục (smooth linear ticker loop) cho Swiper */
.partners-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Sidebar Promo Widget */
.promo-widget-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.promo-widget-body {
  padding: 14px 16px;
}

.promo-widget-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.promo-widget-text {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.promo-widget-btn {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px !important;
  text-decoration: none;
}

.promo-widget-btn:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* ==========================================================================
   12. NEWS LISTING & SIDEBAR LAYOUT STYLES
   ========================================================================== */
.page-breadcrumb {
  background-color: #f0f4f8;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 13px;
}
.page-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}
.page-breadcrumb a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}
.page-breadcrumb .separator {
  margin: 0 8px;
  color: #7f8c8d;
}
.page-breadcrumb .current {
  color: #7f8c8d;
}

.page-title-bar {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  padding: 24px 0;
  color: #ffffff;
}
.page-title-bar h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
}
.page-title-bar p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 4px 0 0 0;
}

/* Category tabs */
.news-cat-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.news-cat-tab {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-dark);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.news-cat-tab:hover,
.news-cat-tab.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* News list item */
.news-list-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}
.news-list-item:last-child {
  border-bottom: none;
}
.news-list-thumb {
  width: 180px;
  aspect-ratio: 180/96;
  flex-shrink: 0;
  overflow: hidden;
  background: #eef2f7;
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-list-item:hover .news-list-thumb img {
  transform: scale(1.05);
}
.news-list-body {
  flex: 1;
  min-width: 0;
}
.news-list-cat {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}
.news-list-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 6px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-title:hover {
  color: var(--primary-color);
}
.news-list-desc {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-list-meta {
  font-size: 12px;
  color: var(--text-dark);
  display: flex;
  gap: 14px;
  align-items: center;
}
.news-list-meta i {
  margin-right: 4px;
  color: var(--primary-color);
}

/* Featured top card */
.news-featured-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.news-featured-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.news-featured-body {
  padding: 16px;
}
.news-featured-cat {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent-color);
  padding: 2px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}
.news-featured-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}
.news-featured-title:hover {
  color: var(--primary-color);
}
.news-featured-desc {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  border-left: 3px solid var(--accent-color);
  padding-left: 10px;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.sidebar-news-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  text-decoration: none;
  color: var(--text-dark);
}
.sidebar-news-item:last-child {
  border-bottom: none;
}
.sidebar-news-thumb {
  height: 64px;
  aspect-ratio: 4/3;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dark);
}
.sidebar-news-item:hover .sidebar-news-title {
  color: var(--primary-color);
}
.sidebar-news-date {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Category list */
.cat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.15s;
}
.cat-list-item:last-child {
  border-bottom: none;
}
.cat-list-item:hover {
  color: var(--primary-color);
}
.cat-list-item:hover i {
  color: var(--accent-color);
}
.cat-list-item i {
  font-size: 10px;
  color: var(--primary-color);
  margin-right: 6px;
}
.cat-count {
  font-size: 11.5px;
  font-weight: 500;
  background: #eef2f7;
  color: var(--primary-color);
  padding: 1px 7px;
  border-radius: 10px;
}

/* News List Pagination */
.news-pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 24px;
}
.news-pagination a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.15s;
}
.news-pagination a:hover,
.news-pagination a.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* ==========================================================================
   13. WORDPRESS / DYNAMIC EDITOR ARTICLE CONTENT STYLES
   ========================================================================== */
.article-container {
  padding: 24px;
}
.article-cat-badge {
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent-color);
  padding: 3px 12px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.article-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .article-title {
    font-size: 20px;
  }
}
.article-meta {
  font-size: 12px;
  color: var(--text-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.article-meta i {
  margin-right: 4px;
  color: var(--text-dark);
}

/* Main Post Content Wrapper (WordPress default classes: .entry-content or custom .article-body-text) */
.entry-content,
.article-body-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
}

/* Excerpt / Sapo (either .sapo class or first p tag inside container) */
.entry-content .sapo,
.entry-content p.sapo,
.article-body-text .sapo,
.article-body-text p.sapo,
.article-sapo,
.entry-content > p:first-of-type,
.article-body-text > p:first-of-type {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3.5px solid var(--primary-color) !important;
}

/* Paragraph styling inside content */
.entry-content p,
.article-body-text p {
  margin-bottom: 18px;
  text-align: justify;
  color: var(--text-dark);
}

/* Headings generated by WordPress Editor */
.entry-content h2,
.article-body-text h2,
.article-subsection-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--primary-color);
  margin: 26px 0 14px 0;
}

.entry-content h3,
.article-body-text h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 22px 0 12px 0;
}

/* Blockquotes from editor */
.entry-content blockquote,
.article-body-text blockquote,
.article-blockquote {
  background-color: #f8fafc;
  border-left: 4px solid var(--accent-color);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

.entry-content blockquote cite,
.article-body-text blockquote cite,
.article-blockquote-author {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
}

/* Images & Captions from Gutenberg / WordPress editor */
.entry-content figure,
.article-body-text figure,
.entry-content .wp-block-image,
.article-body-text .wp-block-image,
.article-image-box {
  margin: 24px 0;
  text-align: center;
}

.entry-content figure img,
.article-body-text figure img,
.entry-content img,
.article-body-text img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.entry-content figcaption,
.article-body-text figcaption,
.entry-content .wp-element-caption,
.article-body-text .wp-element-caption,
.article-image-caption {
  font-size: 12.5px;
  color: var(--text-dark);
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}

/* Bullets & Lists inside block content */
.entry-content ul,
.article-body-text ul,
.entry-content ol,
.article-body-text ol {
  margin-bottom: 18px;
  padding-left: 20px;
}

.entry-content li,
.article-body-text li {
  margin-bottom: 6px;
}

/* Share action bar */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.share-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 12.5px;
  text-decoration: none;
  transition: transform 0.15s;
}
.share-btn.facebook {
  background-color: #1877f2;
}
.share-btn.zalo {
  background-color: #0068ff;
  font-weight: 500;
  font-size: 12px;
}
.share-btn.linkedin {
  background-color: #0a66c2;
}
.share-btn.copylink {
  background-color: #7f8c8d;
}
.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* Tags labels */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.tags-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-right: 4px;
}
.tag-link {
  font-size: 12.5px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid var(--border-color);
}
.tag-link:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Related articles grid */
.related-news-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid var(--border-color);
}
.related-card {
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.related-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.related-body {
  padding: 14px;
}
.related-cat {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 6px;
  display: block;
}
.related-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-title {
  color: var(--primary-color);
}
.related-date {
  font-size: 11.5px;
  color: var(--text-dark);
}

/* ==========================================================================
   14. CONTACT PAGE STYLES
   ========================================================================== */
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  background-color: rgba(11, 58, 120, 0.08); /* 8% primary color opacity */
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition-speed) ease;
}
.contact-info-item:hover .contact-info-icon {
  background-color: var(--primary-color);
  color: #ffffff;
}
.contact-info-text {
  flex: 1;
}
.contact-info-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.contact-info-value a {
  color: inherit;
  text-decoration: none;
}
.contact-info-value a:hover {
  color: var(--primary-color);
}

.map-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  margin-top: 24px;
}
.map-iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* Form styling updates */
.contact-form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}
