.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  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); /* 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.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-news__section-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-news__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-news__article-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__article-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #017439;
  line-height: 1.4;
}

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

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

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

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

.page-news__feature-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-news__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-news__feature-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 10px;
}

.page-news__feature-title a {
  color: #017439;
  text-decoration: none;
}

.page-news__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666666;
}

.page-news__app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  background: #f0f8f0; /* Light green background */
  padding: 40px;
  border-radius: 10px;
}

.page-news__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-news__app-info {
  flex: 1;
  max-width: 600px;
}

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

.page-news__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-news__app-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333333;
}

.page-news__app-features li p {
  margin: 0;
}

.page-news__app-features li::before {
  content: '✔';
  color: #017439;
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}

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

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

.page-news__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-news__btn-secondary:hover {
  background: #e6f7e6;
  border-color: #005f2e;
  transform: translateY(-2px);
}

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

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 50px auto;
  max-width: 900px;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-news__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Make sure it's above the video controls */
  cursor: pointer;
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #017439;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-news__faq-heading {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-news__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  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-out, padding 0.3s ease-out;
  color: #333333;
  background: #ffffff;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8rem;
  }
  .page-news__hero-description {
    font-size: 1.1rem;
  }
  .page-news__section-title {
    font-size: 2.2rem;
  }
  .page-news__article-title {
    font-size: 1.4rem;
  }
  .page-news__feature-title {
    font-size: 1.2rem;
  }
  .page-news__app-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 500px;
  }
  .page-news__hero-title {
    font-size: 2.2rem;
  }
  .page-news__hero-description {
    font-size: 1rem;
  }
  .page-news__content-area {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__paragraph {
    font-size: 1rem;
  }
  .page-news__article-grid,
  .page-news__feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__app-download {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }
  .page-news__app-image {
    max-width: 100%;
  }
  .page-news__app-info {
    max-width: 100%;
  }
  .page-news__app-title {
    font-size: 1.6rem;
    text-align: center;
  }
  .page-news__app-features li {
    font-size: 0.95rem;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-news__video-wrapper {
    max-width: 100%;
    border-radius: 0;
    margin: 30px auto;
  }
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__app-download,
  .page-news__video-wrapper,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-news__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px;
  }
  .page-news p,
  .page-news li {
    font-size: 15px;
    line-height: 1.6;
  }
}