.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-news__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  background-size: cover;
  cursor: pointer; /* Add cursor pointer for video click */
}

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

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

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

.page-news__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-news__btn-primary {
  display: inline-block;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-news__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  display: inline-block;
  background: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-news__btn-secondary:hover {
  background-color: #005f2e;
}

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

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

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

.page-news__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-news__section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-news__section-title--light {
  color: #FFFFFF;
}

.page-news__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  color: #333333;
}

.page-news__section-intro--light {
  color: #F0F0F0;
}

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

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

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

.page-news__article-card--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__article-card--dark .page-news__card-title a {
  color: #FFFFFF;
}

.page-news__article-card--dark .page-news__card-excerpt {
  color: #F0F0F0;
}

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

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

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

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

.page-news__card-title a:hover {
  color: #005f2e;
}

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

.page-news__cta-box {
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-news__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
}

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

.page-news__faq-question:hover {
  color: #005f2e;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  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 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3rem;
  }
  .page-news__hero-description {
    font-size: 1.1rem;
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__section-intro {
    font-size: 1rem;
  }
  .page-news__card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 70vh;
  }
  .page-news__hero-title {
    font-size: 2.2rem;
  }
  .page-news__hero-description {
    font-size: 1rem;
  }
  .page-news__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-news__latest-articles, .page-news__featured-articles, .page-news__promotions-cta, .page-news__faq-section {
    padding: 60px 0;
  }
  .page-news__section-title {
    font-size: 1.8rem;
  }
  .page-news__section-intro {
    margin-bottom: 40px;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__cta-title {
    font-size: 1.8rem;
  }
  .page-news__cta-description {
    font-size: 1rem;
  }
  .page-news__faq-question {
    font-size: 1.1rem;
  }
  
  /* Mobile image, video, button responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news video, .page-news__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__cta-box,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .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 !important;
    padding-right: 15px !important;
  }
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-news__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8rem;
  }
  .page-news__hero-description {
    font-size: 0.9rem;
  }
  .page-news__btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-news__section-title {
    font-size: 1.5rem;
  }
  .page-news__cta-title {
    font-size: 1.5rem;
  }
  .page-news__faq-question {
    font-size: 1rem;
  }
}