.page-news {
  background-color: #121212; /* Thống nhất với body background từ shared.css */
  color: #f0f0f0; /* Chữ màu sáng trên nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Đảm bảo nội dung không bị header cố định che khuất */
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Phần tiêu đề chính và CTA */
.page-news__title-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #003366, #001a33); /* BK8 blue gradient */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Vàng quý tộc cho tiêu đề chính */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news__title-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: #FFD700; /* Vàng quý tộc */
  color: #003366; /* Chữ BK8 blue */
}

.page-news__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary {
  background: #003366; /* BK8 blue */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-news__btn-secondary:hover {
  background: #001a33;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Phần FAQ */
.page-news__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Nền sáng cho FAQ */
  color: #333333;
}

.page-news__faq-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
}

.page-news__faq-intro {
  font-size: 16px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #003366;
  pointer-events: none;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #003366;
  transform: rotate(45deg); /* Đổi dấu '+' thành 'x' hoặc '-' */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f0f0f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-news__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* Phần giới thiệu thương hiệu */
.page-news__brand-section {
  padding: 80px 0;
  background-color: #003366; /* Nền BK8 blue */
  color: #ffffff;
  text-align: center;
}

.page-news__brand-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #FFD700;
}

.page-news__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-news__brand-item {
  background: rgba(255, 255, 255, 0.1); /* Nền bán trong suốt */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: #f0f0f0;
}

.page-news__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-news__brand-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Phần danh sách blog */
.page-news__blog-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Nền tối nhẹ */
  color: #f0f0f0;
}

.page-news__blog-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-news__blog-intro {
  font-size: 16px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #b0b0b0;
}

.page-news__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__blog-item {
  background: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-news__blog-item-content {
  padding: 20px;
}

.page-news__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-news__blog-item-excerpt {
  font-size: 15px;
  color: #b0b0b0;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-news__blog-item-date {
  font-size: 13px;
  color: #888888;
  display: block;
}

.page-news__load-more {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 42px;
  }
  .page-news__faq-title,
  .page-news__brand-title,
  .page-news__blog-title {
    font-size: 32px;
  }
  .page-news__brand-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-news__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news {
    padding-top: 100px !important;
  }
  .page-news__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-news__title-section,
  .page-news__faq-section,
  .page-news__brand-section,
  .page-news__blog-section {
    padding: 40px 0;
  }
  .page-news__main-title {
    font-size: 32px;
  }
  .page-news__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__cta-button {
    width: 100% !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }
  .page-news__faq-title,
  .page-news__brand-title,
  .page-news__blog-title {
    font-size: 28px;
  }
  .page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-question h3 {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }
  .page-news__brand-item {
    padding: 25px;
  }
  .page-news__brand-item-title {
    font-size: 20px;
  }
  .page-news__blog-list {
    grid-template-columns: 1fr;
  }
  .page-news__blog-item-image {
    height: 180px;
  }
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-news__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Màu sắc và độ tương phản thông minh */
.page-news__dark-section {
  background-color: #003366;
  color: #ffffff;
}

.page-news__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

/* Đảm bảo độ tương phản cho tất cả các phần tử văn bản */
.page-news h1, .page-news h2, .page-news h3, .page-news h4, .page-news h5, .page-news h6 {
  color: inherit; /* Kế thừa từ phần tử cha hoặc đặt cụ thể */
}

.page-news p,
.page-news li,
.page-news a {
  color: inherit;
}

/* Điều chỉnh màu sắc cụ thể để đảm bảo tương phản WCAG AA */
.page-news__main-title { color: #FFD700; }
.page-news__title-description { color: #f0f0f0; }

.page-news__faq-title { color: #003366; }
.page-news__faq-intro { color: #555555; }
.page-news__faq-question h3 { color: #003366; }
.page-news__faq-answer p { color: #555555; }

.page-news__brand-title { color: #FFD700; }
.page-news__brand-item-title { color: #FFD700; }
.page-news__brand-item p { color: #e0e0e0; }

.page-news__blog-title { color: #FFD700; }
.page-news__blog-intro { color: #b0b0b0; }
.page-news__blog-item-title { color: #FFD700; }
.page-news__blog-item-excerpt { color: #b0b0b0; }
.page-news__blog-item-date { color: #888888; }