.page-news {
  color: #f0f0f0; /* Sử dụng màu chữ sáng cho nền tối */
  background-color: #121212; /* Nền tối của body */
  padding-top: 120px; /* Khoảng cách cho header cố định */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

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

.page-news__cta-buttons--center {
  margin-top: 40px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffc107; /* Màu vàng nổi bật */
  color: #333333; /* Chữ đen trên nền vàng */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  background: #e0a800; /* Màu vàng đậm hơn khi hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news__cta-button--secondary {
  background: #007bff; /* Màu xanh chính */
  color: #ffffff; /* Chữ trắng trên nền xanh */
  border: 2px solid #ffc107;
}

.page-news__cta-button--secondary:hover {
  background: #0056b3; /* Màu xanh đậm hơn khi hover */
  border-color: #e0a800;
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #ffc107; /* Màu vàng cho tiêu đề phần */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-news__featured-articles-section,
.page-news__trends-section,
.page-news__promotions-section,
.page-news__tips-section,
.page-news__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-news__article-card {
  background: rgba(255, 255, 255, 0.08); /* Nền hơi trong suốt */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #ffc107; /* Màu vàng cho tiêu đề bài viết */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #ffffff;
}

.page-news__article-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #cccccc;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 0.85em;
  color: #999999;
  margin-bottom: 15px;
}

.page-news__read-more-link {
  display: inline-block;
  margin-top: auto;
  color: #007bff; /* Màu xanh cho link đọc thêm */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
  color: #ffc107;
}

.page-news__trends-content,
.page-news__promotions-content,
.page-news__tips-content {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: justify;
}

.page-news__trends-content p,
.page-news__promotions-content p,
.page-news__tips-content p {
  margin-bottom: 20px;
}

.page-news__trend-image,
.page-news__tip-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__promotion-list,
.page-news__tip-list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.page-news__promotion-item,
.page-news__tip-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #007bff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-news__promotion-item strong,
.page-news__tip-item strong {
  color: #ffc107;
}

/* FAQ styles */
.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #f0f0f0;
}

.page-news__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #007bff;
  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: 28px;
  height: 28px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Thêm hiệu ứng xoay cho dấu + */
}

.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 20px;
  opacity: 0;
  color: #cccccc;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3); /* Nền tối hơn cho câu trả lời */
  border-radius: 0 0 5px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news__faq-answer p {
  margin: 0;
  padding: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
  .page-news__hero-description,
  .page-news__trends-content,
  .page-news__promotions-content,
  .page-news__tips-content {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-news {
    padding-top: 100px !important; /* Điều chỉnh cho mobile header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news__container {
    padding: 0 15px;
  }
  .page-news__hero-section {
    padding: 60px 0;
  }
  .page-news__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  .page-news__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    box-sizing: border-box !important;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-news__featured-articles-section,
  .page-news__trends-section,
  .page-news__promotions-section,
  .page-news__tips-section,
  .page-news__faq-section {
    padding: 40px 0;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-card {
    margin-bottom: 20px;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__trend-image,
  .page-news__tip-image {
    margin: 20px auto;
  }
  .page-news__promotion-item,
  .page-news__tip-item {
    padding: 15px;
  }
  /* FAQ mobile styles */
  .page-news__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-news__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-news__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-news__faq-answer {
    padding: 0 15px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px !important;
  }
  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !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;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__article-title {
    font-size: 1.1em;
  }
  .page-news__article-excerpt {
    font-size: 0.85em;
  }
  .page-news__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}