.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.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;
  color: var(--white-color, #ffffff);
  max-width: 900px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white-color, #ffffff);
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: var(--primary-color, #017439);
  color: var(--white-color, #ffffff);
  border: 2px solid var(--primary-color, #017439);
  margin-right: 15px;
}

.page-news__btn-primary:hover {
  background-color: var(--white-color, #ffffff);
  color: var(--primary-color, #017439);
}

.page-news__btn-secondary {
  background-color: var(--white-color, #ffffff);
  color: var(--primary-color, #017439);
  border: 2px solid var(--primary-color, #017439);
}

.page-news__btn-secondary:hover {
  background-color: var(--primary-color, #017439);
  color: var(--white-color, #ffffff);
}

.page-news__latest-articles,
.page-news__categories-section,
.page-news__in-depth-article,
.page-news__faq-section {
  padding: 80px 0;
}

.page-news__dark-section {
  background-color: var(--primary-color, #017439);
  color: var(--white-color, #ffffff);
}

.page-news__light-bg {
  background-color: var(--white-color, #ffffff);
  color: var(--text-color, #333333);
}

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

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

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

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

.page-news__news-card,
.page-news__category-card {
  background-color: var(--white-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;
  color: var(--text-color, #333333);
  text-decoration: none;
}

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

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

.page-news__news-card-content,
.page-news__category-card-content {
  padding: 25px;
}

.page-news__news-card-title,
.page-news__category-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color, #017439);
  line-height: 1.4;
}

.page-news__news-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-news__news-card-title a:hover {
  text-decoration: underline;
}

.page-news__news-card-description,
.page-news__category-card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-color-light, #555555);
  margin-bottom: 20px;
}

.page-news__btn-read-more {
  color: var(--primary-color, #017439);
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-news__btn-read-more:hover {
  text-decoration: underline;
}

.page-news__in-depth-article .page-news__section-title {
  text-align: left;
}

.page-news__in-depth-article .page-news__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-news__article-subtitle {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color, #017439);
}

.page-news__in-depth-article p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color, #333333);
}

.page-news__article-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-color, #333333);
}

.page-news__article-list li {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 10px;
}

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

.page-news__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-news__faq-item {
  background-color: var(--white-color, #ffffff);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  color: var(--text-color, #333333);
}

.page-news__faq-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color, #017439);
  user-select: none;
  list-style: none; /* For details summary */
}

.page-news__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for details */
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-color-light, #555555);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .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__hero-title {
    font-size: 2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-description {
    font-size: 0.9em;
  }
  .page-news__latest-articles,
  .page-news__categories-section,
  .page-news__in-depth-article,
  .page-news__faq-section {
    padding: 40px 0;
  }
  .page-news__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__news-card-image,
  .page-news__category-card-image {
    height: 200px; /* Adjust height for mobile */
  }

  /* Buttons responsiveness */
  .page-news__btn-primary,
  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 0; /* Gap handled by margin-bottom */
  }
  .page-news__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }

  /* Ensure all content containers are constrained */
  .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__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__section-description {
    font-size: 0.85em;
  }
  .page-news__news-card-title,
  .page-news__category-card-title {
    font-size: 1.2em;
  }
  .page-news__in-depth-article p,
  .page-news__article-list li {
    font-size: 0.95em;
  }
}