.page-news {
  background-color: #08160F;
  color: #F2FFF6; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset */
  background-color: #08160F;
  color: #F2FFF6;
  overflow: hidden;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2FFF6;
  line-height: 1.2;
}

.page-news__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-news__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.page-news__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-news__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #A7D9B8;
}

.page-news__featured-news, .page-news__latest-articles, .page-news__faq-section {
  padding: 60px 0;
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-news__news-card, .page-news__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-news__news-card:hover, .page-news__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news__card-content {
  padding: 25px;
}

.page-news__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-news__card-title a:hover {
  color: #22C768; /* Auxiliary color */
}

.page-news__card-meta {
  font-size: 0.9rem;
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
}

.page-news__btn-primary, .page-news__btn-secondary, .page-news__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.6);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-news__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
}

.page-news__btn-text {
  color: #2AD16F;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-news__btn-text:hover {
  color: #57E38D;
}

.page-news__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
  color: #F2FFF6;
}

.page-news__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.page-news__category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-news__category-item:hover {
  transform: translateY(-5px);
  background-color: #0A4B2C; /* Deep Green */
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-news__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-news__category-count {
  font-size: 0.9rem;
  color: #A7D9B8;
}

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

.page-news__article-item {
  display: flex;
  flex-direction: column;
}

.page-news__article-image {
  width: 100%;
  height: 169px; /* Aspect ratio 16:9 for 300px width */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-news__article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

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

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

.page-news__article-meta {
  font-size: 0.85rem;
  color: #A7D9B8;
  margin-bottom: 12px;
}

.page-news__article-excerpt {
  font-size: 0.95rem;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-news__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 10px;
}

.page-news__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #F2FFF6;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  transition: all 0.3s ease;
}

.page-news__pagination-link:hover, .page-news__pagination-link--active {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-color: transparent;
}

.page-news__view-all-button {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

.page-news__cta-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  overflow: hidden;
}

.page-news__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-news__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #A7D9B8;
}

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

.page-news__cta-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-news__faq-item {
  margin-bottom: 15px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  list-style: none; /* For details/summary */
  transition: background-color 0.3s ease;
}

.page-news__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F;
  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;
  font-size: 1rem;
  color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-image, .page-news__cta-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__hero-section, .page-news__featured-news, .page-news__categories, .page-news__latest-articles, .page-news__cta-section, .page-news__faq-section {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px !important; /* Mobile padding */
  }

  .page-news__main-title {
    font-size: 2.2rem;
  }

  .page-news__description {
    font-size: 1rem;
  }

  .page-news__section-title {
    font-size: 2rem;
  }

  .page-news__section-description {
    font-size: 0.95rem;
  }

  .page-news__news-grid, .page-news__category-grid, .page-news__articles-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__card-image {
    height: auto; /* Allow image to scale */
  }

  .page-news__card-title {
    font-size: 1.2rem;
  }

  .page-news__cta-title {
    font-size: 2.2rem;
  }

  .page-news__cta-description {
    font-size: 1rem;
  }

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

  .page-news__btn-primary, .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important; /* Adjust padding for mobile */
  }

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

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

  /* Mobile image and video responsive rules */
  .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__hero-section,
  .page-news__featured-news,
  .page-news__categories,
  .page-news__latest-articles,
  .page-news__cta-section,
  .page-news__faq-section,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Already handled by .page-news__container */
    /* padding-right: 15px; */ /* Already handled by .page-news__container */
    overflow: hidden !important;
  }

  .page-news__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}