:root {
   /* --- BẢNG MÀU CHỦ ĐẠO (KHAI BÁO TẠI ĐÂY) --- */

   /* 1. Nhóm màu Xanh (Blue) */
   --blue-primary: #B10800;
   /* Xanh đậm: Dùng cho Menu chính, Nút active, Header tab */
   --blue-hover: #D63031;
   /* Xanh đậm hơn: Dùng cho hiệu ứng Hover */
   --blue-secondary: #D63031;
   /* Xanh tươi: Dùng cho Icon, Tiêu đề phụ, Sidebar widget */
   --blue-footer: #D63031;
   /* Xanh nhạt: Dùng cho nền Footer */
   --blue-pale: #e6f2ff;
   /* Xanh rất nhạt: Dùng cho nền nút phụ, hover nhẹ */

   /* 2. Nhóm màu Đỏ (Red) */
   --red-primary: #d92525;
   /* Đỏ chính: Dùng cho đường kẻ, Icon nổi bật */
   --red-dark: #bf2a2a;
   /* Đỏ trầm: Dùng cho nền Card lãnh đạo */
   --red-alert: #ff3b30;
   /* Đỏ tươi: Dùng cho badge NEW */

   /* 3. Màu Gradient (Banner) */
   --gradient-banner: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, var(--red-primary) 100%);

   /* 4. Màu nền & Chữ (Neutral) */
   --bg-body: #fff;
   --bg-white: #ffffff;
   --text-main: #333333;
   --text-light: #888888;
   --border-color: #e1e1e1;
}

body {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
   background-color: var(--bg-body);
   color: var(--text-main);
   font-size: 16px;
}

/* Đổi màu viền và bóng khi click vào ô tìm kiếm */
.form-control:focus {
   border-color: var(--blue-primary);
   /* Viền chuyển sang đỏ */
   box-shadow: 0 0 0 0.2rem rgba(177, 8, 0, 0.25);
   /* Bóng phát sáng màu đỏ nhạt */
   outline: none;
}

/* HEADER & BANNER */


.main-navbar {
   background-color: var(--blue-primary);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   padding: 0;
}

.main-navbar .nav-link {
   color: white !important;
   padding: 12px 18px;
   font-weight: 500;
   text-transform: uppercase;
   font-size: 15px;
}

.main-navbar .nav-link:hover {
   background-color: var(--blue-hover);
}

/* --- FIX DESKTOP MENU --- */
/* --- FIX DESKTOP MENU (CẬP NHẬT) --- */
@media (min-width: 992px) {

   /* 1. Hiển thị menu cấp 2 khi hover */
   .navbar-nav .dropdown:hover>.dropdown-menu {
      display: block;
      margin-top: 0;
   }

   /* 2. Cấu hình vị trí cho menu cấp 3 */
   .dropdown-submenu {
      position: relative;
   }

   .dropdown-submenu>.submenu {
      display: none;
      position: absolute;
      top: 0;
      left: 100%;
      margin-top: -5px;
      background: white;

      /* QUAN TRỌNG: Auto width theo content */
      min-width: 200px;
      /* Độ rộng tối thiểu */
      width: max-content;
      /* Tự động giãn theo nội dung dài nhất */

      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      list-style: none;
      padding: 5px 0;
      border-radius: 4px;
      z-index: 1000;
      /* Đảm bảo nổi lên trên */
   }

   /* Hiển thị menu cấp 3 khi hover */
   .dropdown-submenu:hover>.submenu {
      display: block;
   }

   /* QUAN TRỌNG: Fix icon nhảy dòng bằng Flexbox */
   .dropdown-submenu>a {
      display: flex !important;
      /* Dùng Flex để dàn trang ngang */
      align-items: center;
      /* Căn giữa dọc */
      justify-content: space-between;
      /* Đẩy icon sang sát lề phải */
      white-space: nowrap;
      /* Cấm xuống dòng */
      padding-right: 15px;
      /* Khoảng cách an toàn bên phải */
   }

   /* Style lại mũi tên (Bỏ float) */
   .dropdown-submenu>a::after {
      content: "\F285";
      font-family: "bootstrap-icons";
      float: none;
      /* Bỏ float gây lỗi */
      font-size: 12px;
      margin-top: 0;
      /* Reset margin */
      margin-left: 10px;
      /* Khoảng cách giữa chữ và icon */
      font-weight: bold;
   }
}

/* --- END FIX DESKTOP MENU --- */

/* --- HERO NEWS SWIPER --- */
.heroSwiper {
   width: 100%;
   border-radius: 6px;
   overflow: hidden;
}

.hero-nav-btn {
   width: 44px;
   height: 44px;
   background-color: rgba(255, 255, 255, 0.7);
   border-radius: 50%;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   transition: all 0.3s ease;
   backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   color: white;
}

.hero-nav-btn::after {
   font-size: 20px;
   font-weight: bold;
}

.hero-pagination .swiper-pagination-bullet {
   width: 10px;
   height: 10px;
   background: #ccc;
   opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
   background: var(--blue-secondary);
   /* Đã đổi sang biến */
   width: 25px;
   border-radius: 5px;
}

/* CUSTOM TABS STYLE */
.custom-tabs {
   border-bottom: 2px solid var(--blue-primary);
   /* Đã đổi sang biến */
   margin-bottom: 20px;
}

.custom-tabs .nav-item {
   margin-bottom: -2px;
}

.custom-tabs .nav-link {
   border: none;
   border-radius: 5px 5px 0 0;
   background-color: #e9ecef;
   color: #555;
   font-weight: 600;
   padding: 10px 25px;
   margin-right: 5px;
   text-transform: uppercase;
   font-size: 14px;
}

.custom-tabs .nav-link.active {
   background-color: var(--blue-primary);
   /* Đã đổi sang biến */
   color: white;
   position: relative;
}

.custom-tabs .nav-link.active::after {
   content: "";
   position: absolute;
   bottom: -6px;
   left: 50%;
   transform: translateX(-50%);
   border-width: 6px 6px 0;
   border-style: solid;
   border-color: var(--blue-primary) transparent transparent transparent;
   /* Đã đổi sang biến */
}

/* NEWS LIST IN TABS */
.news-list-item {
   display: flex;
   gap: 15px;
   margin-bottom: 15px;
   padding-bottom: 15px;
   border-bottom: 1px dashed #ddd;
}

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

.news-list-item img {
   width: 140px;
   height: 90px;
   object-fit: cover;
   border-radius: 4px;
}

.news-list-item h3 {
   font-size: 16px;
   margin: 0 0 5px;
   line-height: 1.4;
}

.news-list-item h3 a {
   text-decoration: none;
   color: var(--text-main);
   font-weight: 600;
}

.news-list-item h3 a:hover {
   color: var(--blue-primary);
   /* Đã đổi sang biến */
}

.news-meta {
   font-size: 12px;
   color: var(--text-light);
}

h1.title-content {
   font-size: 22px;
   font-weight: bold;
   color: var(--blue-primary);
   margin-bottom: 15px;
   line-height: 1.3;
}

/* OTHER COMPONENTS */
.section-header {
   background: var(--blue-primary);
   /* Đã đổi sang biến */
   color: white;
   padding: 8px 15px;
   font-weight: bold;
   text-transform: uppercase;
   font-size: 15px;
   margin-bottom: 15px;
   border-left: 5px solid var(--red-primary);
   /* Đã đổi sang biến */
}

.profile-card {
   background: var(--red-primary);
   /* Đã đổi sang biến */
   color: white;
   display: flex;
   align-items: center;
   border-radius: 4px;
   overflow: hidden;
   margin-bottom: 20px;
}

.profile-img {
   width: 110px;
   height: 130px;
   object-fit: cover;
}

/* Button Stack Sidebar */
.btn-stack .btn {
   text-align: left;
   background: #fff;
   color: var(--blue-primary);
   /* Đã đổi sang biến */
   border: 1px solid #cce5ff;
   margin-bottom: 8px;
   font-weight: 500;
   display: flex;
   align-items: center;
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-stack .btn:hover {
   background: var(--blue-pale);
   /* Đã đổi sang biến */
   border-color: #b8daff;
}

.btn-stack .btn i {
   font-size: 18px;
   margin-right: 10px;
   width: 25px;
   text-align: center;
   color: var(--red-primary);
   /* Đã đổi sang biến */
}

/* OFFCANVAS MOBILE MENU STYLE */
.offcanvas-header {
   background: var(--blue-primary);
   /* Đã đổi sang biến */
   color: white;
}

.mobile-menu-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.mobile-menu-list li {
   border-bottom: 1px solid #eee;
}

.mobile-menu-list a {
   display: block;
   padding: 12px 15px;
   color: var(--text-main);
   text-decoration: none;
   font-weight: 500;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.mobile-menu-list .submenu {
   display: none;
   background-color: #f8f9fa;
   padding-left: 0;
}

.mobile-menu-list .submenu a {
   padding-left: 30px;
   font-size: 14px;
   color: #555;
}

.mobile-menu-list .submenu .submenu a {
   padding-left: 50px;
}

.mobile-menu-list a.has-child::after {
   content: "\F282";
   font-family: "bootstrap-icons";
   font-size: 12px;
   transition: transform 0.2s;
}

.mobile-menu-list a.active {
   color: var(--blue-primary);
   /* Đã đổi sang biến */
   background: #e9ecef;
}

.mobile-menu-list a.active::after {
   transform: rotate(90deg);
}

/* CSS chung cho dropdown */
.dropdown-menu {
   margin-top: 0;
   border-radius: 0;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   border: none;
}

.dropdown-item {
   padding: 8px 20px;
}

.dropdown-item:hover {
   background-color: var(--blue-primary);
   /* Đã đổi sang biến */
   color: white;
}

/* --- SIDEBAR STYLES --- */

/* 1. Card Chủ tịch UBND Tỉnh */
.sidebar-profile {
   background-color: var(--red-dark);
   /* Đã đổi sang biến */
   color: white;
   padding: 10px;
   border-radius: 6px;
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 20px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sidebar-profile img {
   width: 110px;
   height: 140px;
   object-fit: cover;
   border-radius: 4px;
   flex-shrink: 0;
}

.profile-info {
   flex-grow: 1;
}

.profile-title {
   font-size: 14px;
   font-weight: 700;
   text-transform: uppercase;
   margin-bottom: 15px;
   line-height: 1.4;
   opacity: 0.95;
}

.profile-name {
   font-size: 19px;
   font-weight: 800;
   text-transform: uppercase;
   line-height: 1.2;
}

/* 2. Danh sách nút chức năng */
.sidebar-menu-btn {
   display: flex;
   align-items: center;
   width: 100%;
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến (Tối ưu từ màu #5b9bd5 cũ) */
   color: white;
   text-decoration: none;
   padding: 12px 15px;
   margin-bottom: 8px;
   border-radius: 6px;
   font-weight: 600;
   font-size: 14px;
   text-transform: uppercase;
   transition: all 0.2s ease;
   border: none;
   text-align: left;
   line-height: 1.3;
}

.sidebar-menu-btn:hover {
   background-color: var(--blue-primary);
   /* Hover đổi sang màu chính */
   color: white;
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-menu-btn i {
   font-size: 20px;
   margin-right: 15px;
   width: 24px;
   text-align: center;
   display: inline-block;
}

.icon-box {
   display: flex;
   justify-content: center;
   align-items: center;
}

/* --- LEFT COLUMN STYLES --- */

.ticker-bar {
   background-color: #f4f8fb;
   border-bottom: 1px solid var(--border-color);
   font-size: 15px;
   font-weight: 500;
   color: var(--text-main);
   padding: 12px 0;
   margin-bottom: 20px;
   display: flex;
   align-items: center;
}

.ticker-date {
   white-space: nowrap;
   padding-right: 20px;
   border-right: 2px solid #ccc;
   margin-right: 15px;
   font-weight: 600;
}

.marquee-content {
   display: flex;
   align-items: center;
   width: 100%;
}

.icon-star {
   color: #f4d03f;
   margin: 0 10px;
   font-size: 14px;
}

.badge-new {
   background-color: var(--red-alert);
   /* Đã đổi sang biến */
   color: white;
   font-size: 10px;
   padding: 2px 6px;
   border-radius: 4px;
   font-weight: bold;
   margin-left: 5px;
   vertical-align: middle;
   animation: blink 1s infinite;
}

@keyframes blink {
   50% {
      opacity: 0.7;
   }
}

.hero-news {
   margin-bottom: 30px;
}

.hero-news img {
   width: 100%;
   height: auto;
   border-radius: 4px;
   margin-bottom: 10px;
}

.hero-meta {
   color: var(--text-light);
   font-size: 14px;
   margin-bottom: 5px;
}

.hero-title {
   font-size: 26px;
   font-weight: 700;
   color: var(--text-main);
   line-height: 1.3;
}

.section-header-blue {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   color: white;
   padding: 10px 15px;
   border-radius: 6px;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 15px;
   display: flex;
   align-items: center;
   margin-bottom: 20px;
}

.section-header-blue i {
   margin-right: 10px;
   font-size: 18px;
}

.sub-news-item {
   display: flex;
   gap: 15px;
   margin-bottom: 20px;
}

.sub-news-item img {
   width: 130px;
   height: 90px;
   object-fit: cover;
   border-radius: 4px;
   flex-shrink: 0;
}

.sub-news-title {
   font-size: 15px;
   font-weight: 600;
   line-height: 1.4;
   color: var(--text-main);
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.sub-news-title:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

/* --- NEWS SECTION WITH TABS --- */
.news-tab-header {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến (đồng bộ màu) */
   padding: 5px 5px 0 5px;
   border-radius: 4px 4px 0 0;
}

.news-nav-tabs {
   border-bottom: none;
}

.news-nav-tabs .nav-link {
   border-radius: 4px 4px 0 0;
   color: white;
   font-weight: 600;
   text-transform: uppercase;
   font-size: 13px;
   padding: 10px 15px;
   border: none;
   background: transparent;
   opacity: 0.8;
}

.news-nav-tabs .nav-link:hover {
   border-color: transparent;
   opacity: 1;
}

.news-nav-tabs .nav-link.active {
   background-color: white;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   opacity: 1;
   font-weight: 700;
}

.news-tab-content {
   background: white;
   border: 1px solid var(--border-color);
   border-top: none;
   padding: 15px;
   border-bottom-left-radius: 6px;
   border-bottom-right-radius: 6px;
}

.news-list-styled {
   list-style: none;
   padding: 0;
   margin: 0;
}

.news-list-styled li {
   border-bottom: 1px solid #eee;
   padding: 10px 0;
   position: relative;
   padding-left: 20px;
}

.news-list-styled li:last-child {
   border-bottom: none;
}

.news-list-styled li::before {
   content: "\F285";
   font-family: "bootstrap-icons";
   color: var(--red-primary);
   /* Đã đổi sang biến */
   position: absolute;
   left: 0;
   top: 12px;
   font-size: 12px;
}

.news-list-styled a {
   text-decoration: none;
   color: var(--text-main);
   font-weight: 600;
   font-size: 14px;
   line-height: 1.4;
   transition: color 0.2s;
}

.news-list-styled a:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

.hero-date {
   color: var(--text-light);
   font-size: 13px;
   margin-top: 10px;
   margin-bottom: 5px;
}

.hero-title-lg {
   font-size: 22px;
   font-weight: bold;
   color: var(--text-main);
   line-height: 1.3;
}

/* --- LEADER ACTIVITIES SLIDER --- */
.leader-section {
   position: relative;
}

.leader-header-bar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
   border-bottom: 2px solid var(--blue-secondary);
   /* Đã đổi sang biến */
   padding-bottom: 10px;
}

.leader-title {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   color: white;
   padding: 8px 25px;
   border-radius: 20px;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 14px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.swiper-nav-btn {
   width: 30px;
   height: 30px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: #f8f9fa;
   border: 1px solid #ddd;
   border-radius: 4px;
   color: #666;
   cursor: pointer;
   transition: all 0.2s;
}

.swiper-nav-btn:hover {
   background: var(--blue-secondary);
   /* Đã đổi sang biến */
   color: white;
   border-color: var(--blue-secondary);
}

.nav-buttons-group {
   display: flex;
   gap: 5px;
}

.leader-news-item img {
   width: 100%;
   height: 160px;
   object-fit: cover;
   border-radius: 6px;
   margin-bottom: 10px;
}

.leader-news-title {
   font-size: 14px;
   font-weight: 500;
   line-height: 1.4;
   color: var(--text-main);
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-align: justify;
}

.leader-news-item a {
   text-decoration: none;
   color: inherit;
}

.leader-news-item:hover .leader-news-title {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

/* --- CATEGORY NEWS SECTION --- */
.cat-header {
   background-color: #0083EB;
   /* Đã đổi sang biến */
   color: #fff;
   padding: 8px 20px;
   border-radius: 10px;
   border: 1px solid #EDEDED;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 16px;
   display: inline-block;
   margin-bottom: 15px;
   width: 100%;
}

.cat-header i {
   margin-right: 8px;
}

.cat-featured-item {
   display: flex;
   gap: 15px;
   margin-bottom: 15px;
}

.cat-featured-item h3 {
   line-height: 16px;
}

.cat-featured-item img {
   width: 140px;
   height: 100px;
   object-fit: cover;
   border-radius: 4px;
   flex-shrink: 0;
}

.cat-date {
   font-size: 12px;
   color: var(--text-light);
   margin-bottom: 5px;
}

.cat-title {
   font-size: 15px;
   font-weight: 700;
   line-height: 1.3;
   color: var(--text-main);
}

.cat-title:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

.cat-news-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.cat-news-list li {
   padding: 10px 0;
   border-bottom: 1px dotted #ccc;
   position: relative;
   padding-left: 15px;
}

.cat-news-list li:last-child {
   border-bottom: none;
}

.cat-news-list li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 18px;
   width: 5px;
   height: 5px;
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

.cat-news-list a {
   text-decoration: none;
   color: var(--text-main);
   font-size: 14px;
   line-height: 1.4;
   display: block;
}

.cat-news-list a:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

/* --- 3-COLUMN NEWS SECTION --- */
.cat-featured-vertical {
   margin-bottom: 15px;
}

.cat-featured-vertical img {
   width: 100%;
   height: 160px;
   object-fit: cover;
   border-radius: 4px;
   margin-bottom: 10px;
}

.cat-featured-vertical .cat-title {
   font-size: 16px;
   font-weight: 700;
   line-height: 1.3;
}

.cat-header-sm {
   font-size: 13px;
   padding: 8px 15px;
   min-width: auto;
   width: 100%;
   text-align: center;
   margin-bottom: 15px;
}

/* --- PHOTO LIBRARY SECTION --- */
.lib-header-bar {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   display: flex;
   align-items: center;
   padding-right: 15px;
   margin-bottom: 15px;
   border-radius: 4px 4px 0 0;
}

.lib-tab-link {
   display: inline-block;
   padding: 10px 20px;
   color: white;
   text-decoration: none;
   font-weight: 600;
   text-transform: uppercase;
   font-size: 14px;
   opacity: 0.8;
   border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lib-tab-link i {
   margin-right: 8px;
}

.lib-tab-link:hover {
   color: white;
   opacity: 1;
}

.lib-tab-link.active {
   background-color: white;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   opacity: 1;
   font-weight: 700;
}

.photo-swiper {
   width: 100%;
   height: 100%;
   border-radius: 4px;
   overflow: hidden;
}

.photo-slide-item {
   position: relative;
   width: 100%;
   height: 0;
   padding-bottom: 65%;
}

.photo-slide-item img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.photo-caption {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   padding: 40px 15px 15px 15px;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
   color: white;
   font-weight: 700;
   font-size: 16px;
   z-index: 10;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.photo-nav-btn {
   width: 32px;
   height: 32px;
   background-color: white;
   border-radius: 50%;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.photo-nav-btn::after {
   font-size: 14px;
   font-weight: bold;
}

.right-thumbs-col {
   display: flex;
   flex-direction: column;
   gap: 10px;
   height: 100%;
}

.thumb-img {
   width: 100%;
   height: 90px;
   object-fit: cover;
   border-radius: 4px;
   transition: transform 0.2s;
   cursor: pointer;
}

.thumb-img:hover {
   transform: scale(1.02);
}

/* --- SIDEBAR WIDGETS --- */
.sidebar-widget {
   background-color: #fff;
   border: 1px solid var(--border-color);
   border-radius: 6px;
   overflow: hidden;
   margin-bottom: 20px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.widget-header {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   color: white;
   padding: 12px 15px;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 15px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.widget-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.widget-list li {
   border-bottom: 1px solid #f0f0f0;
}

.widget-list li:last-child {
   border-bottom: none;
}

.widget-list a {
   display: flex;
   align-items: center;
   padding: 12px 15px;
   text-decoration: none;
   color: var(--text-main);
   font-weight: 500;
   font-size: 14px;
   transition: all 0.2s;
}

.widget-list a:hover {
   background-color: var(--blue-pale);
   /* Đã đổi sang biến */
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   padding-left: 20px;
}

.widget-list i {
   font-size: 22px;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   margin-right: 15px;
   width: 25px;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
}

/* FEATURED WIDGET */
.featured-widget-list {
   display: flex;
   flex-direction: column;
}

.featured-widget-item {
   display: flex;
   gap: 12px;
   padding: 12px 15px;
   border-bottom: 1px solid #f0f0f0;
   text-decoration: none;
   color: var(--text-main);
   transition: background-color 0.2s;
}

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

.featured-widget-item:hover {
   background-color: #f9f9f9;
}

.featured-widget-thumb {
   width: 90px;
   height: 60px;
   object-fit: cover;
   border-radius: 4px;
   flex-shrink: 0;
   border: 1px solid #eee;
}

.featured-widget-title {
   font-size: 14px;
   font-weight: 700;
   line-height: 1.35;
   margin: 0;
   color: var(--text-main);
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.featured-widget-item:hover .featured-widget-title {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

/* --- FOOTER --- */
.main-footer {
   background-color: var(--blue-footer);
   background: url(../images/bg-footer.jpg) no-repeat center top snow;
   padding: 30px 0;
   font-size: 14px;
}

.footer-nav {
   margin-bottom: 20px;
}

.footer-nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

.footer-nav a {
   color: var(--text-main);
   text-decoration: none;
   font-weight: 500;
   margin: 0 10px;
   display: inline-block;
}

.footer-nav a:hover {
   text-decoration: underline;
}

.footer-nav span {
   opacity: 0.6;
}

.footer-info h2 {
   font-size: 20px;
   font-weight: 700;
   text-transform: uppercase;
   margin-bottom: 15px;
   letter-spacing: 0.5px;
   color: var(--blue-primary);
}

.footer-info p {
   margin-bottom: 6px;
   line-height: 1.5;
   opacity: 0.95;
}

.footer-copyright {
   margin-top: 15px;
   font-size: 13px;
   opacity: 0.8;
}

/* --- RELATED NEWS --- */
.related-news-section {
   margin-top: 30px;
   margin-bottom: 30px;
}

.related-title {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
   font-size: 18px;
   font-weight: 700;
   text-transform: uppercase;
   margin-bottom: 15px;
   padding-bottom: 10px;
   border-bottom: 2px solid #eee;
}

.related-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.related-list li {
   padding: 8px 0;
   border-bottom: 1px dotted #ddd;
   display: flex;
   align-items: flex-start;
}

.related-list li:last-child {
   border-bottom: none;
}

.related-list a {
   text-decoration: none;
   color: #2c3e50;
   font-size: 15px;
   line-height: 1.5;
   transition: color 0.2s;
}

.related-list a:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

.related-icon {
   color: var(--red-primary);
   /* Đã đổi sang biến */
   font-size: 12px;
   margin-right: 10px;
   margin-top: 4px;
   flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb-wrap {
   background-color: transparent;
   padding: 10px 0;
   margin-bottom: 20px;
   font-size: 14px;
   color: #555;
   border-bottom: 1px solid #ddd;
}

.breadcrumb-item a {
   text-decoration: none;
   color: var(--text-main);
}

.breadcrumb-item.active {
   color: #666;
}

/* Blog Item */
.blog-item {
   display: flex;
   gap: 20px;
   padding-bottom: 20px;
   margin-bottom: 20px;
   border-bottom: 1px solid #e0e0e0;
}

.blog-thumb {
   width: 260px;
   flex-shrink: 0;
}

.blog-thumb img {
   width: 100%;
   height: 170px;
   object-fit: cover;
   border-radius: 4px;
   border: 1px solid #eee;
}

.blog-content {
   flex-grow: 1;
}

.blog-title {
   font-size: 18px;
   font-weight: 700;
   color: var(--text-main);
   margin-bottom: 8px;
   line-height: 1.4;
}

.blog-title a {
   text-decoration: none;
   color: #222;
}

.blog-title a:hover {
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

.blog-meta {
   font-size: 13px;
   color: var(--text-light);
   margin-bottom: 10px;
}

.blog-excerpt {
   font-size: 15px;
   color: var(--text-main);
   line-height: 1.5;
   text-align: justify;
}

/* Pagination */
.pagination .page-link {
   color: var(--text-main);
   border-radius: 4px;
   margin: 0 3px;
   border: 1px solid #ddd;
}

.pagination .page-item.active .page-link {
   background-color: var(--blue-secondary);
   /* Đã đổi sang biến */
   border-color: var(--blue-secondary);
   color: white;
}

.pagination .page-link:hover {
   background-color: #e9ecef;
   color: var(--blue-secondary);
   /* Đã đổi sang biến */
}

@media (max-width: 768px) {
   .blog-item {
      flex-direction: column;
   }

   .blog-thumb {
      width: 100%;
   }

   .blog-thumb img {
      height: auto;
      aspect-ratio: 16/9;
   }
}

.limit-text-2 {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   /* Số dòng muốn hiển thị */
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
   line-height: 1.4;
   /* Khoảng cách dòng, tùy chỉnh cho đẹp */
}

/* --- SECTION STYLE --- */


/* --- SWIPER / ẢNH HOẠT ĐỘNG --- */
.activitySwiper {
   padding-bottom: 10px;
}

/* Chỉnh hiệu ứng chạy mượt (Linear easing) */
.activitySwiper .swiper-wrapper {
   transition-timing-function: linear;
}

.activity-item {
   position: relative;
   overflow: hidden;
   border-radius: 4px;
   border: 1px solid #eee;
}

.activity-item img {
   width: 100%;
   height: 180px;
   /* Chiều cao cố định để ảnh đều nhau */
   object-fit: cover;
   transition: transform 0.5s ease;
}

/* Hiệu ứng zoom khi hover */
.activity-item:hover img {
   transform: scale(1.1);
}

/* Lớp phủ icon kính lúp khi hover */
.activity-item .overlay-icon {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.3);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: all 0.3s;
}

.activity-item .overlay-icon i {
   color: #fff;
   font-size: 2rem;
}

.activity-item:hover .overlay-icon {
   opacity: 1;
}

/* --- VIDEO SECTION --- */
.video-block {
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumb {
   height: 200px;
   /* Chiều cao video khớp với khối ảnh */
   object-fit: cover;
   filter: brightness(0.8);
   /* Làm tối ảnh nền chút để nút play nổi */
   transition: 0.3s;
}

.video-link:hover .video-thumb {
   filter: brightness(0.6);
}

/* Nút Play Button Đẹp */
.play-btn-overlay {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 2;
   pointer-events: none;
   /* Để click xuyên qua thẻ A */
}

.play-icon-circle {
   width: 60px;
   height: 60px;
   background: rgba(177, 8, 0, 0.8);
   /* Màu đỏ trong suốt */
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 24px;
   box-shadow: 0 0 0 0 rgba(177, 8, 0, 0.7);
   animation: pulse-red 2s infinite;
}

.play-icon-circle i {
   margin-left: 4px;
   /* Căn chỉnh tam giác play cho giữa */
}

/* Hiệu ứng sóng tỏa ra từ nút play */
@keyframes pulse-red {
   0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(177, 8, 0, 0.7);
   }

   70% {
      transform: scale(1);
      box-shadow: 0 0 0 15px rgba(177, 8, 0, 0);
   }

   100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(177, 8, 0, 0);
   }
}

.banner-logo img {
   max-width: 200px;
}

.site-title {
   font-weight: 700;
   font-size: 1.8rem;
   color: #feec00;
   text-shadow: 2px 2px 2px #000;
   text-transform: uppercase;
   margin: 0;
   padding-bottom: 15px;
}

.org-name {
   font-weight: 700;
   font-size: 2.2rem;
   color: #d32f2f;
   text-transform: uppercase;
   margin-bottom: 5px;
   text-shadow: 1px 1px 0 #fff;
}

@media (max-width: 768px) {
   .site-title {
      font-size: 1rem;
   }

   .org-name {
      font-size: 1.2rem;
   }

   .banner-logo img {
      max-width: 100px;
      padding-left: 15px;
   }
}