.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
}

.page-news__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 1.25em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-news__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
  overflow: hidden;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

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

.page-news__latest-articles, .page-news__featured-articles, .page-news__promotions-events, .page-news__faq-section, .page-news__cta-section {
  padding: 80px 0;
}

.page-news__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-news__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: inherit;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: inherit;
}

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

.page-news__article-card, .page-news__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-news__article-card:hover, .page-news__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__article-title, .page-news__promotion-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-news__article-title a, .page-news__promotion-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover, .page-news__promotion-title a:hover {
  color: #005f2f;
}

.page-news__article-excerpt, .page-news__promotion-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover {
  color: #005f2f;
}

.page-news__article-grid--featured {
  grid-template-columns: 2fr 1fr 1fr;
}

.page-news__article-card--large {
  grid-column: span 2;
}

.page-news__article-card--large .page-news__article-image {
  height: 400px;
}

.page-news__article-card--large .page-news__article-title {
  font-size: 1.8em;
}

.page-news__article-card--large .page-news__article-excerpt {
  font-size: 1.1em;
}

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

.page-news__btn-primary, .page-news__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: #C30808; /* Đăng Ký color */
  color: #FFFF00; /* Đăng Ký font color */
  border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Đăng Nhập font color */
  border: 2px solid #C30808; /* Đăng Nhập color */
}

.page-news__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

.page-news__cta-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-news__cta-content {
  max-width: 800px;
}

.page-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #ffffff;
}

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

.page-news__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #e8e8e8;
  border-bottom: 1px solid #dddddd;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #dcdcdc;
}

.page-news__faq-item.active .page-news__faq-question {
  background-color: #dcdcdc;
  border-bottom: none;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(0deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px;
}

.page-news__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }

  .page-news__section-title {
    font-size: 2.2em;
  }

  .page-news__article-grid--featured {
    grid-template-columns: 1fr 1fr;
  }

  .page-news__article-card--large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-news__hero-title {
    font-size: 2em;
  }

  .page-news__hero-description {
    font-size: 1em;
  }

  .page-news__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__btn-primary, .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-news__latest-articles, .page-news__featured-articles, .page-news__promotions-events, .page-news__faq-section, .page-news__cta-section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: 1.8em;
  }

  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-news__article-grid, .page-news__promotion-grid, .page-news__article-grid--featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-card--large {
    grid-column: span 1;
  }

  .page-news__article-image, .page-news__promotion-image {
    height: 200px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-news__article-card, .page-news__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__article-content, .page-news__promotion-content {
    padding: 15px;
  }

  .page-news__article-title, .page-news__promotion-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-news__article-excerpt, .page-news__promotion-excerpt {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .page-news__cta-title {
    font-size: 2em;
  }

  .page-news__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-news__faq-answer {
    padding: 0 20px;
  }

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers with images are responsive */
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__featured-articles,
  .page-news__promotions-events,
  .page-news__faq-section,
  .page-news__cta-section,
  .page-news__article-grid,
  .page-news__promotion-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-news__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news__cta-buttons .page-news__btn-primary,
  .page-news__cta-buttons .page-news__btn-secondary {
    width: 100%;
  }
}