*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  margin: 0;

  /* FONT */
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;

  /* BACKGROUND */
  background: repeating-linear-gradient(45deg,
      #f5f5f5,
      #f5f5f5 10px,
      #f0f0f0 10px,
      #f0f0f0 20px);
}

body a {
  text-decoration: none;
}

/* Dùng Chung */
.news-item img,
.news-slider img,
.news-new-section img,
.intl-section img,
.popular-list img,
.portal img {
  transition: transform .25s ease;
}

.news-item img:hover,
.news-slider img:hover,
.news-new-section img:hover,
.intl-section img:hover,
.popular-list img:hover,
.portal img:hover {
  transform: scale(1.05);
}

.section-card {
  background: #fff;
  border-radius: 14px;
  /* padding: 18px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* =================================================
   GLOBAL POST TITLE HOVER
================================================= */

h3,
h4,
h5,
h6 {
  transition: color .25s ease;
  cursor: pointer;
}

h3:hover,
h4:hover,
h5:hover,
h6:hover {
  color: #e00000;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 100%, rgba(255, 255, 255, 1) 0%),
    url("/assets/images/bannertong1.png") no-repeat center;
  background-size: cover;
  padding: 25px 0;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  /* vì chỉ có logo */
}

.logo {
  width: 100%;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ===== MENU ===== */
.main-navbar {
  background: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

/* MENU LIST */
/* menu trải đều */
.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* chia đều khoảng cách */
  width: 100%;
}

/* mỗi item chia đều */
.navbar-nav .nav-item {
  flex: 0 1 auto;
  text-align: center;
}

/* link menu */
.navbar-nav .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #0b2a4a;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 6px;
}

/* MENU ITEM */
.navbar-nav .nav-item {
  position: relative;
}

/* LINK MENU */
.navbar-nav .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #0b2a4a;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 6px;
  /* tăng padding ngang */
  letter-spacing: 0.4px;
  transition: color .2s ease;
}

.navbar-nav .nav-link:hover {
  color: #1c5fa8;
}

/* HOME ICON */
.menu-home {
  margin-right: 24px;
}

/* DROPDOWN */
.dropdown-menu {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 6px 0;
  min-width: 200px;
}

.dropdown-item {
  font-size: 14px;
  padding: 8px 18px;
}

.dropdown-item:hover {
  background: #f2f2f2;
}

/* hover mở dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* RIGHT ICONS */
.menu-icons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 18px;
  color: #1a3a6b;
  cursor: pointer;
}

/* =============================================== */
/* banner section */

/* SECTION */
.highlight {
  margin-top: 15px;
}

/* BAR */
.highlight-bar {
  display: flex;
  align-items: center;
  background: #e9e1c7;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* TITLE */
.highlight-title {
  background: #e53935;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* NEWS */
.highlight-news {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #0b4a8b;
  overflow: hidden;
  flex: 1;
}

.highlight-news span {
  white-space: nowrap;
  cursor: pointer;
}

.highlight-news span:hover {
  text-decoration: underline;
}

/* BANNER */
.highlight-banner {
  margin-top: 10px;
}

.highlight-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ========== HOME NEW CONTENT ============== */

.home-news {
  padding: 30px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 20px;
}

/* LEFT */
.news-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}


.slides {
  display: flex;
  transition: transform .4s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* DOTS */

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
  background: #ff6b00;
}

/* CENTER */
.news-box {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
}

/* title */
.section-title {
  font-weight: bold;
  color: red;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* list có scroll */
.news-list {
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  max-height: 500px;
  /* giới hạn chiều cao */
  overflow-y: auto;
  /* scroll */
}

/* item */
.news-item {
  display: flex;
  /* gap: 10px;  */
  margin-bottom: 12px;
}

/* image */
.news-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.25s;
}

.news-item img:hover {
  transform: scale(1.05);
}

/* text */
.news-item p {
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}

.news-item span {
  font-size: 12px;
  color: gray;
}

/* scrollbar đẹp */
.news-list::-webkit-scrollbar {
  width: 6px;
}

.news-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.news-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* RIGHT */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quick-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 18px 18px;
  height: 80px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  justify-content: flex-start;
  /* sửa dòng này */
  padding-left: 70px;
  /* thêm dòng này để chừa chỗ icon */

  background:
    linear-gradient(90deg, rgba(18, 0, 156, 0.71) 100%, rgba(255, 255, 255, 1) 0%),
    url("/assets/images/bg_logo.png");

  background-size: cover, 380px;
  background-position: center, center;
  background-repeat: no-repeat;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* LOGO BÊN PHẢI */

.item-dang::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;

  width: 45%;
  height: 100%;

  background: url("/assets/images/logo-dang.png") no-repeat center;
  background-size: cover;

  border-radius: 0 10px 10px 0;

  z-index: 0;
}

/* LOGO BÊN TRÁI */

.item-nghiquyet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 40%;
  height: 100%;

  background: url("/assets/images/codang.png") no-repeat center;
  background-size: cover;

  border-radius: 10px 0 0 10px;

  z-index: 0;
}

.quick-item span {
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quick-item img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform .2s ease;
  position: absolute;
  left: 18px;
  /* icon luôn thẳng cột */
}

.quick-item:hover img {
  transform: scale(1.08);
}

.icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}



/* SECTION TIN MỚI */

/* ===== section ===== */
.news-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.news-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.news-card h4 {
  font-size: 15px;
  margin-top: 8px;

  display: -webkit-box;
  /* -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; */
  overflow: hidden;
}

.news-card span {
  font-size: 12px;
  color: #777;
}

.news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.news-thumb {
  position: relative;
}

.news-thumb img {
  width: 150px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.badge-moi {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #e60000;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 20px;
  animation: blinkMoi 1s infinite;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.7);
}

/* hiệu ứng nhấp nháy */

@keyframes blinkMoi {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.news-content h6 {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

.news-date {
  font-size: 13px;
  color: #7a8ca3;
}

/* SECTION TIN bài viết theo category */

/* =================================================
   PORTAL SECTION
================================================= */

.portal {
  padding: 30px 0;
}


/* =================================================
   GRID LAYOUT
================================================= */

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* FIX: cân 2 cột */
  gap: 20px;
}


/* =================================================
   CARD
================================================= */

.section-card,
.portal-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


/* =================================================
   SECTION TITLE
================================================= */

.portal-title,
.conference-title {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 700;
  color: #e00000;
}

.portal-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.conference-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.portal-title::after,
.conference-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}


/* =================================================
   LEFT COLUMN
================================================= */

.portal-left .portal-item {
  display: flex;
  gap: 16px;
  align-items: center;

  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.portal-left .portal-item:first-child {
  padding-top: 0;
}

.portal-left .portal-item:last-child {
  border-bottom: none;
}


/* IMAGE */

.portal-left .portal-item img {
  width: 240px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}


/* CONTENT */

.portal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-content h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.portal-content p {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}

.portal-date {
  font-size: 12px;
  color: #999;
}


/* =================================================
   RIGHT COLUMN
================================================= */

.portal-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* =================================================
   CONFERENCE GRID
================================================= */

.conference-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  /* FIX: chia cột chuẩn */
  gap: 20px;
  align-items: start;
}


/* LEFT */

.conference-left {
  width: 100%;
}

.conference-left img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
  display: block;
}

.conference-left h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.conference-left p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.conference-left .date {
  font-size: 13px;
  color: #999;
}


/* RIGHT */

.conference-right {
  border-left: 1px solid #e5e5e5;
  padding-left: 18px;
}


/* =================================================
   NEWS ITEM
================================================= */

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

  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
}

.news-text {
  flex: 1;
}

.news-text h4 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.date {
  font-size: 13px;
  color: #999;
}

/* Hợp tác quốc tế */


/* ==============================
   INTERNATIONAL SECTION
============================== */

.intl-section {
  border-radius: 8px;
  padding: 20px;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
}

/* title */

.intl-title {
  font-size: 20px;
  font-weight: 700;
  color: #e00000;
  border-bottom: 2px solid #e00000;
  padding-bottom: 6px;
  margin-bottom: 18px;
  display: inline-block;
}

/* GRID */

.intl-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr;
  gap: 16px;
  align-items: stretch;
  /* thêm dòng này */
}

/* cho các column cao bằng nhau */

.intl-main,
.intl-list,
.intl-grid>div {
  height: 100%;
}

/* ===== LINE CỘT ===== */

.intl-grid>div:nth-child(2) {
  border-left: 1px solid #eee;
  padding-left: 20px;
}

.intl-grid>div:nth-child(3) {
  border-left: 1px solid #eee;
  padding-left: 20px;
}


/* ==============================
LEFT
============================== */

.intl-main img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.intl-main h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.intl-main p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.intl-date {
  font-size: 13px;
  color: #999;
}


/* ===== SUB LIST ===== */

.intl-sub {
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.intl-sub li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
  color: #c40000;
  font-size: 14px;
}

.intl-sub li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #c40000;
  position: absolute;
  left: 0;
  top: 7px;
}

.intl-sub span {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}


/* ==============================
MIDDLE
============================== */

.intl-card {
  margin-bottom: 18px;
}

.intl-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.intl-card h4 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.intl-card p {
  font-size: 13px;
  color: #666;
}

.intl-card .intl-date {
  margin-top: 4px;
}


/* ==============================
RIGHT
============================== */

.intl-list .item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.intl-list .item:last-child {
  border: none;
}

.intl-list h5 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.intl-list span {
  font-size: 12px;
  color: #999;
}

/* tạp chí - ấn phẩm */

.section-label {
  color: #e60000;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #e60000;
  display: inline-block;
  padding-bottom: 4px;
}

/* ===== JOURNAL ===== */
.journal-block {
  margin-bottom: 30px;
}

.journal-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
}

.journal-title i {
  margin-right: 8px;
  color: #0d3b66;
}

/* GRID */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ITEM */

.journal-grid li {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.journal-grid li:nth-child(4n) {
  border-right: none;
}

.journal-grid a {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* icon */

.journal-grid a i {
  font-size: 14px;
  color: #c00;
}

/* hover */

.journal-grid a:hover {
  background: #f7f7f7;
  color: #c00;
}

/* ===== PUBLICATION ===== */
.publication-section {
  padding: 12px;
}

.pub-carousel {
  position: relative;
  overflow: hidden;
}

.pub-track {
  display: flex;
  transition: transform .4s ease;
}

.pub-item {
  min-width: 20%;
  padding: 10px;
}

.pub-item img {
  width: 100%;
  height: 250px;
  border-radius: 6px;
}

.pub-item h4 {
  font-size: 14px;
  margin-top: 10px;
}

.pub-item span {
  font-size: 12px;
  color: #777;
}

/* arrows */

.pub-prev,
.pub-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  z-index: 10;
}

.pub-prev {
  left: -10px;
}

.pub-next {
  right: -10px;
}

/* ========== Hoạt động của Đảng - Đoàn thể =========== */

.party-section {
  margin: 40px 0;
}

.section-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #e60000;
  margin-bottom: 20px;
  border-bottom: 2px solid #e60000;
  display: inline-block;
  padding-bottom: 4px;
}

.party-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  /* giảm left */
  gap: 24px;
}


/* LEFT */
.party-main img {
  width: 100%;
  height: 420px;
  /* fix chiều cao */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.party-main h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.party-main .meta {
  font-size: 14px;
  color: #555;
}

.party-main .date {
  font-size: 12px;
  color: #999;
}


/* RIGHT GRID */
.party-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.party-item img {
  width: 100%;
  height: 140px;
  /* tăng size ảnh */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.party-item h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.party-item span {
  font-size: 12px;
  color: #888;
}


/* hover */
.party-item:hover h4,
.party-main:hover h3 {
  color: #e60000;
}


/* ========== Văn Bản Chỉ Đạo =========== */
.vass-section {
  padding: 30px 0;
}

.vass-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* LEFT RIGHT */

.vass-left {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vass-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD */

.section-card {
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* TITLE */

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #e11b22;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* DOCUMENT */
.doc-table {
  border: 1px solid #e5e5e5;
  border-top: none;
}

.doc-row {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.doc-head {
  background: #f3f3f3;
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.doc-head div {
  padding: 10px 12px;
}

.doc-scroll {
  max-height: 260px;
  overflow-y: auto;
}

.doc-scroll .doc-row {
  border-bottom: 1px solid #eee;
}

.doc-scroll .doc-row:last-child {
  border-bottom: none;
}

.doc-code {
  padding: 12px;
  border-right: 1px solid #eee;
}

.doc-code a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}

.doc-code span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.doc-desc {
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.doc-desc a {
  color: #333;
  text-decoration: none;
}

.doc-desc a:hover {
  color: #fd0d0d;
}

/* SCROLLBAR */

.doc-scroll::-webkit-scrollbar {
  width: 6px;
}

.doc-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.doc-scroll::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* UNIT */

/* =========================
   CARD
========================= */
.unit-section {
  background: #f3f3f3;
  padding: 25px 30px;
  border-radius: 6px;
}

/* =========================
   TITLE
========================= */
.section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #e11b22;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e11b22;
}

/* =========================
   TABS
========================= */
/* TABS */
.unit-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  flex-wrap: nowrap;
}

.unit-tabs button {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: all .25s ease;
}

/* hover */
.unit-tabs button:hover {
  background: #ef2b1f;
  color: #fff;
}

/* ACTIVE TAB */
.unit-tabs button.active {
  background: #ef2b1f;
  color: #fff;
}

/* tam giác dưới tab */
.unit-tabs button.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ef2b1f;
}

/* =========================
   GRID
========================= */
.unit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.unit-col {
  display: flex;
  flex-direction: column;
}

/* =========================
   ITEM (LINK)
========================= */
.unit-item {
  display: block;
  padding: 14px 0 14px 26px;
  border-bottom: 1px dashed #ddd;
  font-size: 15px;
  color: #1c2b39;
  text-decoration: none;
  position: relative;
  transition: all 0.25s ease;
}

/* icon > */
.unit-item::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #c0c0c0;
}

/* hover */
.unit-item:hover {
  color: #e11b22;
  padding-left: 32px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .unit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .unit-tabs {
    gap: 10px;
  }

  .unit-tabs button {
    font-size: 14px;
    padding: 10px 16px;
  }

}


/* RIGHT QUICK LINKS */

/* FEEDBACK */

.feedback input,
.feedback textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.feedback textarea {
  height: 80px;
  resize: none;
}

.btn-group {
  display: flex;
  gap: 10px;
}

.btn-send {
  background: #e11b22;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
}

.btn-reset {
  background: #ddd;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
}

/* Multimedia */

.multimedia-section {
  padding: 60px 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 100%, rgba(255, 255, 255, 1) 0%),
    url("/assets/images/bannertong1.png") no-repeat center;
  background-size: cover;
  color: white;
}

.multimedia-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.multimedia-item img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.multimedia-item span {
  font-size: 14px;
  line-height: 1.4;
}

.multimedia-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* HEADER */

.multimedia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.multimedia-header h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.media-filter button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  margin-left: 8px;
}

.media-filter .active {
  background: white;
  color: #0b4c8c;
}


/* GRID */

.multimedia-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}


/* SLIDER */

.media-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
}

.slides {
  display: flex;
  transition: transform .5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

/* video fit container */

.slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

video:fullscreen {
  object-fit: contain;
}

video:-webkit-full-screen {
  object-fit: contain;
}

/* caption */

.media-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  font-size: 22px;
  font-weight: 600;
}

/* NAV */

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}


/* RIGHT LIST */

.media-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.media-item img {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
}

.media-item p {
  font-size: 14px;
  line-height: 1.4;
}

/* LIÊN KẾT */
.link-section {
  background: #ffffff;
  padding: 30px 0;
  text-align: center;
}

.link-title {
  color: red;
  margin-bottom: 20px;
  font-weight: 600;
}

.link-slider {
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}

.link-track {
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform .4s ease;
}

.link-item {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* arrows */

.link-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #ddd;
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-nav.prev {
  left: -10px;
}

.link-nav.next {
  right: -10px;
}

/* Footer */
.site-footer {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 100%, rgba(255, 255, 255, 1) 0%),
    url("/assets/images/bannertong1.png") no-repeat center;
    background-size: cover;
  color: #fff;
  padding: 40px 0;
  position: relative;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 25px 0;
}

/* title */

.footer-title {
  font-weight: 700;
  margin-bottom: 15px;
}

/* top links */

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

.footer-links ul {
  list-style: square;
  padding-left: 20px;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* info */

.footer-info {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-info h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-info p {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-cert {
  margin-top: 15px;
}

.footer-cert img {
  max-width: 140px;
  height: auto;
}

/* copyright */

.footer-copy {
  text-align: center;
  font-size: 13px;
  opacity: 0.9;
}

/* buttons */

.footer-buttons {
  text-align: center;
  margin-top: 20px;
}

.footer-buttons a {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 18px;
  margin: 5px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-left h4 {
  white-space: nowrap;
}

/* .footer-buttons a:hover {
  background: #fff;
  color: #144a8b;
} */