.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-news__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-news__main-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news__intro-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Đăng ký color */
  color: #FFFF00; /* Đăng ký và Đăng nhập font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
}

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

.page-news__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #333333;
  background-color: #ffffff;
}

.page-news__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
}

.page-news__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-news__section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: inherit;
}

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

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

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

.page-news__dark-section .page-news__article-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-news__article-card .page-news__article-image {
  min-width: 200px;
  min-height: 200px;
}

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

.page-news__article-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news__dark-section .page-news__article-title a:hover {
  color: #f0f0f0;
}

.page-news__article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-news__dark-section .page-news__read-more {
  color: #ffffff;
}

.page-news__dark-section .page-news__read-more:hover {
  color: #f0f0f0;
}

.page-news__promotions-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

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

.page-news__promotion-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__promotion-card:hover {
  transform: translateY(-5px);
}

.page-news__promotion-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-news__promotion-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #017439;
}

.page-news__promotion-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-news__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 12px 25px;
  border: 2px solid #017439;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-news__faq-section {
  background-color: #121212;
  color: #ffffff;
  padding: 60px 20px;
}

.page-news__faq-container {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

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

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

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-news__cta-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__cta-content {
  flex: 1 1 500px;
  text-align: left;
}

.page-news__cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #017439;
}

.page-news__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-news__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__cta-image {
  flex: 1 1 300px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 3rem;
  }
  .page-news__intro-description {
    font-size: 1.1rem;
  }
  .page-news__hero-section {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__main-title {
    font-size: 2.2rem;
  }
  .page-news__intro-description {
    font-size: 1rem;
  }
  .page-news__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__section-description {
    font-size: 0.95rem;
  }
  .page-news__article-title {
    font-size: 1.3rem;
  }
  .page-news__article-excerpt {
    font-size: 0.9rem;
  }
  .page-news__promotion-title {
    font-size: 1.5rem;
  }
  .page-news__promotion-text {
    font-size: 0.9rem;
  }
  .page-news__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-news__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-news__cta-title {
    font-size: 2rem;
  }
  .page-news__cta-description {
    font-size: 1rem;
  }
  .page-news__cta-content, .page-news__cta-image {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-news__cta-buttons {
    justify-content: center;
  }
  .page-news__articles-grid, .page-news__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-news__content-area, .page-news__dark-section, .page-news__promotions-section, .page-news__faq-section, .page-news__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__articles-grid,
  .page-news__promotions-grid,
  .page-news__faq-container,
  .page-news__cta-section,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  /* Button responsiveness */
  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
}