/* Global Styles */
/* Body Styling */
body {

  color: #f5f5dc; /* Màu chữ sáng */
  font-family: "Arial", sans-serif; /* Font chữ */
  margin: 0;
  padding: 0;
  cursor: url("/image/244.png"), auto; /* Tùy chỉnh con trỏ */
}


/* Animation for Text */
h1,
h2 {
  animation: fadeIn 4s ease-in-out; /* Hiệu ứng mờ và di chuyển lên */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Kiểu link nổi bật */
a {
  display: inline-block; /* Hiển thị như một nút */
  padding: 10px 15px; /* Thêm khoảng cách bên trong */
  font-size: 16px; /* Kích thước chữ */
  font-weight: bold; /* Chữ đậm hơn */
  color: #fff; /* Màu chữ trắng */
  background-color: #0078d7; /* Nền xanh dương */
  text-decoration: none; /* Loại bỏ gạch chân */
  border-radius: 5px; /* Bo tròn các góc */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Thêm đổ bóng nhẹ */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Hiệu ứng hover */
}

/* Hiệu ứng hover */
a:hover {
  background-color: #ebd723; /* Đổi màu nền khi hover */
  transform: translateY(-2px); /* Nâng nút lên một chút */
}

/* Kiểu link khi nhấn */
a:active {
  background-color: #5e5719; /* Màu nền tối hơn khi nhấn */
  transform: translateY(2px); /* Hạ nút xuống */
}
/* CSS cho thẻ a chứa logo */
.navbar-brand {
  display: inline-flex; /* Đặt inline-flex để dễ căn chỉnh */
  align-items: center; /* Căn giữa theo chiều dọc */
  justify-content: center; /* Căn giữa theo chiều ngang */
  text-decoration: none; /* Loại bỏ gạch chân */
  padding: 5px; /* Khoảng cách bên trong */
}

/* CSS cho hình ảnh logo */
.navbar-brand img {
  display: block; /* Đảm bảo không có khoảng trắng xung quanh hình */
  max-width: 150px; /* Giới hạn chiều rộng tối đa của logo */
  height: auto; /* Tự động điều chỉnh chiều cao theo tỉ lệ */
  transition: transform 0.3s ease; /* Hiệu ứng phóng to khi hover */
}

/* Hiệu ứng hover cho logo */
.navbar-brand img:hover {
  transform: scale(1.1); /* Phóng to logo khi hover */
}
@media (max-width: 768px) {
  .navbar-brand img {
    max-width: 120px; /* Giảm kích thước logo trên màn hình nhỏ */
  }
}

@media (max-width: 480px) {
  .navbar-brand img {
    max-width: 100px; /* Giảm thêm kích thước logo trên màn hình rất nhỏ */
  }
}

/* Cursor Hover Effects */
button {
  cursor: url("/image/custom-cursor.png"), pointer; /* Con trỏ tùy chỉnh */
  transition: all 0.6s ease-in-out; /* Hiệu ứng mượt khi hover */
}

button:hover {
  color: #ffcc00; /* Đổi màu khi hover */
  transform: scale(1.2); /* Phóng to nhẹ */
}

@keyframes camera-pan {
  0%   { background-position: 5% 5%; }
  4%   { background-position: 15% 8%; }
  8%   { background-position: 30% 12%; }
  12%  { background-position: 50% 20%; }
  16%  { background-position: 70% 25%; }
  20%  { background-position: 85% 35%; }
  24%  { background-position: 92% 50%; }
  28%  { background-position: 88% 65%; }
  32%  { background-position: 75% 80%; }
  36%  { background-position: 60% 92%; }
  40%  { background-position: 40% 95%; }
  44%  { background-position: 25% 88%; }
  48%  { background-position: 12% 75%; }
  52%  { background-position: 8% 60%; }
  56%  { background-position: 15% 45%; }
  60%  { background-position: 30% 35%; }
  64%  { background-position: 45% 25%; }
  68%  { background-position: 65% 18%; }
  72%  { background-position: 80% 28%; }
  76%  { background-position: 90% 45%; }
  80%  { background-position: 82% 65%; }
  84%  { background-position: 65% 78%; }
  88%  { background-position: 45% 85%; }
  92%  { background-position: 25% 70%; }
  96%  { background-position: 12% 45%; }
  100% { background-position: 5% 5%; }
}

/* Desktop */
@media (min-width: 769px) {
  body {
    background: url("/image/bgmaptrandanh.png") no-repeat;
    background-size: 120% 120%; /* zoom nhẹ để không thấy viền trắng */
    animation: camera-pan 20s linear infinite;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    background: url("/image/bgmaptrandanh.png") no-repeat;
    background-size: cover; /* giữ vừa màn hình */
    animation: camera-pan 30s linear infinite; /* chậm hơn cho mobile */
  }
}


/* Navbar */
.navbar {
  background-color: #8b4513; /* Darker tan color */

  padding: 10px 20px;
}

/* .navbar-brand img {
  max-height: 50px;
} */

.nav-link {
  color: #f5f5dc; /* Light text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffa500; /* Brighter hover color */
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #8b4513;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
}

/* Custom Button */
.btn-custom {
  background-color: #8b4513;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #ffa500; /* Brighter hover color */
}

/* Video Container */
.video-container {
  display: flex;
  flex-wrap: wrap; /* Đảm bảo các video tự xuống dòng khi không đủ chỗ */
  gap: 20px; /* Khoảng cách giữa các video */
  justify-content: space-between; /* Khoảng cách đồng đều giữa các video */
  padding: 10px;
}

/* Mỗi ô video */
.video-item {
  flex: 1 1 calc(25% - 20px); /* Chiếm 25% chiều rộng trên desktop, trừ khoảng cách */
  box-sizing: border-box; /* Đảm bảo padding không ảnh hưởng kích thước */
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background-color: #133a40; /* Màu nền xanh đậm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: scale(1.05); /* Phóng to nhẹ khi hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Popup Modal */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #0b5394;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 500px;
}

.popup-content h4 {
  margin-top: 0;
  font-size: 1.5em;
  color: #fff;
}

.popup-content p {
  margin: 10px 0;
  font-size: 1em;
  color: #ddd;
}

.popup-content .btn {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-content .btn:hover {
  background: #0056b3;
}

/* Carousel */
.carousel-item {
  min-height: 400px;
  background-color: #4b0082;
  color: #f5f5dc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #8b4513;
  border-radius: 50%;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #ffa500;
}

/* Moving Text */
.moving-text {
  animation: moveText 5s linear infinite;
}

@keyframes moveText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  .video-item {
    max-width: 100%;
  }
}
/* Headings Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Arial", sans-serif;
  margin: 10px 0;
  line-height: 1.2;
  text-transform: uppercase; /* Định dạng chữ hoa */
  color: #ffa500; /* Màu nổi bật */
}

/* Specific Heading Customizations */
h1 {
  font-size: 2.5em; /* Lớn nhất */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Hiệu ứng đổ bóng */
  border-bottom: 2px solid #f5f5dc; /* Đường gạch dưới */
  padding-bottom: 10px;
}

h2 {
  font-size: 2em;
  font-weight: bold;
  color: #10c906;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

h3 {
  font-size: 1.75em;
  color: #1e90ff; /* Màu xanh nổi bật */
}

h4 {
  font-size: 1.5em;
  color: #dd1c1a; /* Màu đỏ đậm */
}

h5 {
  font-size: 1.25em;
  color: #ffc107; /* Màu vàng */
  font-weight: 500;
}

h6 {
  font-size: 1em;
  color: #6c757d; /* Màu xám */
  font-style: italic; /* Chữ nghiêng */
}

/* Responsive Adjustments for Headings */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.75em;
  }
  h3 {
    font-size: 1.5em;
  }
  h4 {
    font-size: 1.25em;
  }
  h5,
  h6 {
    font-size: 1em;
  }
}
/* Đặt kiểu cho container */
.list-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  font-family: "Arial", sans-serif;
  color: #0b5394;
}

/* Định dạng cơ bản cho danh sách */
.modern-list {
  list-style-type: none; /* Loại bỏ dấu chấm mặc định */
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Đổ bóng nhẹ hơn */
  background: #0e3d26; /* Màu nền tối hơn để tăng độ tương phản */
  color: #e5e5e5; /* Màu chữ sáng hơn để dễ đọc */
}

/* Định dạng các mục danh sách */
.modern-list li {
  padding: 12px 18px; /* Thu gọn khoảng cách bên trong */
  font-size: 1rem; /* Kích thước chữ nhỏ hơn để gọn gàng */
  border-bottom: 1px solid #3c6f5a; /* Màu viền tối hơn để hài hòa */
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease; /* Hiệu ứng mượt */
  background: #1e5e4a; /* Màu nền hài hòa hơn */
  color: #e5e5e5; /* Màu chữ đồng nhất */
}

/* Mục cuối cùng không cần đường viền */
.modern-list li:last-child {
  border-bottom: none;
}

/* Hiệu ứng hover */
.modern-list li:hover {
  background: linear-gradient(
    135deg,
    #ff9f43,
    #fc5c7d
  ); /* Gradient nổi bật hơn */
  color: #ffffff; /* Màu chữ sáng trên nền gradient */
  transform: translateX(10px); /* Tăng độ dịch chuyển để rõ ràng hơn */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Đổ bóng khi hover */
}

/* Định dạng khi được chọn (thêm class active vào li khi cần) */
.modern-list li.active {
  background: linear-gradient(
    135deg,
    #fc5c7d,
    #ff9f43
  ); /* Gradient ngược với hover */
  color: #fff; /* Màu chữ trắng để nổi bật */
  font-weight: bold;
  transform: scale(1.05); /* Phóng to nhẹ khi được chọn */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* Đổ bóng mạnh hơn */
}

.download-link {
  display: inline-block; /* Hiển thị như một nút */
  padding: 12px 20px; /* Khoảng cách bên trong */
  font-size: 16px; /* Kích thước chữ */
  font-weight: bold; /* Đậm chữ */
  text-decoration: none; /* Loại bỏ gạch chân */
  text-align: center; /* Canh giữa nội dung */
  color: #fff; /* Màu chữ */
  background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Nền gradient */
  border-radius: 8px; /* Làm bo góc */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Đổ bóng */
  transition: all 0.3s ease; /* Hiệu ứng mượt khi hover */
}

.download-link:hover {
  background: linear-gradient(
    135deg,
    #feb47b,
    #ff7e5f
  ); /* Đổi hướng gradient khi hover */
  transform: translateY(-3px); /* Nâng nút lên khi hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Tăng đổ bóng khi hover */
}

.download-link:active {
  transform: translateY(1px); /* Giảm nút xuống khi nhấn */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Giảm đổ bóng khi nhấn */
}

.neon-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1c1c1c;
  color: #ffffff;
  font-family: "Arial", sans-serif;
}

.neon-table th,
.neon-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #444;
}

.neon-table th {
  background-color: #282828;
  color: #0ff;
  text-transform: uppercase;
  font-weight: bold;
}

.neon-table tr:nth-child(even) td {
  background-color: #8a4f0c;
}

.neon-table tr:nth-child(odd) td {
  background-color: #004852;
}

.neon-table tr:hover {
  background-color: #3a3a3a;
  box-shadow: 0 0 10px #0ff, 0 0 40px #0ff;
}

.neon-table td {
  position: relative;
}

.neon-table td::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.neon-table td:hover::after {
  opacity: 1;
}
.table .bg-primary {
  background-color: #8a4f0c !important;
  color: #ffffff !important;
}

.table .bg-light {
  background-color: #004852 !important;
  color: #ffffff !important;
}

.table .text-dark {
  color: #ffffff !important;
}
p {
  font-family: "Arial", sans-serif; /* Font chữ hiện đại */
  font-size: 18px; /* Kích thước chữ dễ đọc */
  line-height: 1.8; /* Khoảng cách dòng thoải mái */
  color: #f5f5f5; /* Màu chữ sáng */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Hiệu ứng đổ bóng chữ */
  margin-bottom: 20px; /* Khoảng cách giữa các đoạn văn */
  transition: transform 0.3s ease, color 0.3s ease; /* Hiệu ứng chuyển đổi */
}

p:hover {
  transform: scale(1.05); /* Hiệu ứng phóng to nhẹ khi hover */
  color: #ffcc00; /* Thay đổi màu chữ khi hover */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Tăng cường đổ bóng */
}

.btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s, color 0.2s;
}

.btn:hover {
  transform: scale(1.2);
  color: #4caf50;
}

/* Cành mai góc trên bên trái */
.branch-top-left {
  position: fixed;
  top: -10px; /* Cách cạnh trên màn hình 10px */
  left: 10px; /* Cách cạnh trái màn hình 10px */
  z-index: 1000;
}

.branch-top-left img {
  width: 90px;
  height: auto;
}

/* Cành mai góc dưới bên phải */
.branch-bottom-right {
  position: fixed;
  bottom: -2px; /* Cách cạnh dưới màn hình 10px */
  right: -10px; /* Cách cạnh phải màn hình 10px */
  z-index: 1000;
}

.branch-bottom-right img {
  width: 125px;
  height: auto;
}

.branch-bottom-right img {
  animation: sway 6s ease-in-out infinite;
  transform-origin: right center; /* Đặt điểm xoay ở phải (trung tâm theo chiều ngang) */
}
.branch-top-left img {
  animation: sway2 6s ease-in-out infinite;
  transform-origin: top center; /* Đặt điểm xoay ở trên cùng (trung tâm theo chiều ngang) */
}

@keyframes sway2 {
  0% {
    transform: rotate(0deg) translateX(0); /* Vị trí ban đầu */
  }
  10% {
    transform: rotate(10deg) translateX(-5px); /* Lắc nhẹ sang trái */
  }
  25% {
    transform: rotate(-8deg) translateX(8px); /* Lắc nhẹ sang phải */
  }
  40% {
    transform: rotate(15deg) translateX(-10px); /* Lắc mạnh sang trái */
  }
  55% {
    transform: rotate(-12deg) translateX(12px); /* Lắc mạnh sang phải */
  }
  70% {
    transform: rotate(10deg) translateX(-8px); /* Lắc nhẹ sang trái */
  }
  85% {
    transform: rotate(-5deg) translateX(5px); /* Lắc nhẹ sang phải */
  }
  100% {
    transform: rotate(0deg) translateX(0); /* Trở về ban đầu */
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(15deg);
  }
}

/* Modal Container */
.modal.lunar-modal .modal-content {
  background-color: #2c1952; /* Nền vàng nhạt */
  border: 2px solid #e63946; /* Viền đỏ đậm */
  border-radius: 15px; /* Bo góc */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
.modal.lunar-modal .modal-header {
  background: linear-gradient(to right, #e63946, #d92d30); /* Gradient đỏ */
  color: white;
  border-bottom: 2px solid #a6261c; /* Viền dưới đỏ sẫm */
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  padding: 15px;
}

/* Body */
.modal.lunar-modal .modal-body {
  color: #333;
  text-align: center;
  font-family: "Georgia", serif;
  font-size: 18px;
  padding: 20px;
  line-height: 1.8;
}

/* QR Code Image */
.lunar-modal-img {
  border: 3px solid #e63946; /* Viền đỏ quanh ảnh */
  border-radius: 10px; /* Bo góc ảnh */
  margin-top: 10px;
}

/* Footer */
.modal.lunar-modal .modal-footer {
  background-color: #fdf3e3; /* Nền vàng nhạt hơn */
  border-top: 2px solid #e63946; /* Viền đỏ trên */
  padding: 10px;
  text-align: center;
}

/* Close Button */
.modal.lunar-modal .close {
  color: white;
  font-size: 1.5rem;
  border: none;
  background: none;
}

/* Button */
.modal.lunar-modal .btn-danger {
  background-color: #e63946;
  border-color: #a6261c;
  font-weight: bold;
  border-radius: 5px;
}

.modal.lunar-modal .btn-danger:hover {
  background-color: #d92d30;
  border-color: #801f1b;
}

/* Tùy chỉnh nền modal */
.modal-content {
  background-color: #fef2dc; /* Nền vàng nhạt */
  border: 2px solid #e63946; /* Viền đỏ đậm */
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
.modal-header {
  background: linear-gradient(to right, #e63946, #d92d30); /* Gradient đỏ */
  color: white;
  font-size: 20px;
  font-weight: bold;
}

/* Body */
.modal-body {
  color: #333;
  font-family: "Georgia", serif;
  font-size: 18px;
  padding: 20px;
}

/* Countdown số giây */
#countdown {
  color: #e63946;
  font-size: 24px;
}

/* Footer */
.modal-footer {
  background-color: #fdf3e3; /* Màu nền vàng nhạt hơn */
  border-top: 2px solid #e63946;
}
#flower-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Để không cản trở các thao tác chuột */
}

.flower {
  position: absolute;
  top: -50px; /* Bắt đầu từ trên màn hình */
  font-size: 20px; /* Kích thước mặc định */
  color: pink; /* Màu hoa */
  animation: fall linear infinite; /* Hiệu ứng rơi */
}

@keyframes fall {
  0% {
    transform: translate(0, 0) rotate(0deg); /* Vị trí bắt đầu */
    opacity: 1; /* Rõ nét */
  }
  25% {
    transform: translate(-10px, 25vh) rotate(-15deg); /* Lắc nhẹ sang trái */
  }
  50% {
    transform: translate(15px, 50vh) rotate(10deg); /* Lắc nhẹ sang phải */
    opacity: 0.8; /* Mờ dần */
  }
  75% {
    transform: translate(-20px, 75vh) rotate(-10deg); /* Lắc về trái */
  }
  100% {
    transform: translate(0, 100vh) rotate(20deg); /* Rơi xuống */
    opacity: 0; /* Biến mất */
  }
}

/* Container chứa thumbnail */
.video-thumbnail-container {
  display: inline-block;
  text-align: center;
  margin: 20px;
}

/* Thumbnail link */
.video-thumbnail {
  position: relative;
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hình ảnh thumbnail */
.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Icon play trên thumbnail */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-icon img {
  width: 20px;
  height: 20px;
  filter: invert(1); /* Đổi màu icon thành trắng */
}

/* Trình phát video */
video {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  border-bottom: 2px solid #ccc;
  border-radius: 10px 10px 0 0;
  background-color: #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

video:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Tiêu đề video */
.video-item h2 {
  margin: 10px 0;
  font-size: 16px;
  color: #10c906;
  font-weight: bold;
}

/* Mô tả */
.video-item p {
  margin: 5px;
  font-size: 14px;
  color: #42b52d;
}

/* Danh sách chức năng */
.video-item ul {
  margin: 10px 0 0;
  padding: 0 10px;
  list-style: none;
  text-align: left;
}

.video-item ul li {
  margin-bottom: 5px;
  font-size: 13px;
  color: #c9e5df;
}

.video-item ul li::before {
  content: "•";
  color: #10c906;
  font-size: 14px;
  margin-right: 8px;
}

/* Responsive Video */
@media (max-width: 768px) {
  video {
    max-height: 200px;
  }

  .video-item h2 {
    font-size: 14px;
  }

  .video-item p {
    font-size: 12px;
  }

  .video-item ul li {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  video {
    max-height: 150px;
  }
}
/* CSS chỉ áp dụng trong video-item */
.video-item .modern-list {
  max-height: 120px; /* Giới hạn chiều cao danh sách */
  overflow: hidden; /* Ẩn các mục vượt quá chiều cao */
  transition: max-height 0.3s ease; /* Hiệu ứng mở rộng */
}

/* Khi danh sách được mở rộng */
.video-item .modern-list.expanded {
  max-height: none; /* Mở rộng danh sách */
}

/* Nút "Xem thêm" */
.video-item .toggle-list {
  margin-top: 10px;
  background-color: #10c906; /* Màu nền nút */
  color: white; /* Màu chữ */
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.video-item .toggle-list:hover {
  background-color: #0a8b04; /* Màu nền khi hover */
}

.video-item .toggle-list:focus {
  outline: none;
}
