.page-news {
  background-color: #08160F; /* Background color for the entire main content */
  color: #F2FFF6; /* Main text color for the page */
  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;
  padding-bottom: 60px; /* Padding for content below image */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure no overflow from image */
}

.page-news__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__main-title {
  color: #F2FFF6;
  font-size: clamp(2em, 3.5vw, 3.2em); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.page-news__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Inverse gradient on hover */
}

.page-news__articles-grid-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

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

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

.page-news__article-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;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__article-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  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: #2AD16F;
}

.page-news__article-excerpt {
  color: #A7D9B8;
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow excerpt to take available space */
}

.page-news__article-date {
  color: #A7D9B8;
  font-size: 0.85em;
  margin-bottom: 15px;
  display: block; /* Ensure date is on its own line */
}

.page-news__read-more-button {
  display: inline-block;
  background: #1E3A2A; /* Divider color for button background */
  color: #F2FFF6;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: background 0.3s ease;
  align-self: flex-start; /* Align to the start of the flex container */
}

.page-news__read-more-button:hover {
  background: #2E7A4E; /* Border color for hover */
}

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news__view-all-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__view-all-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-news__about-section .page-news__section-title,
.page-news__about-section .page-news__section-description {
  color: #F2FFF6;
}

.page-news__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-news__benefit-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #A7D9B8;
  font-size: 1em;
}

.page-news__benefit-item strong {
  color: #F2FFF6;
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-news__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #F2FFF6;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  transition: background-color 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #1E3A2A; /* Slightly darker when open */
}

.page-news__faq-question:hover {
  background-color: #1E3A2A;
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

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

.page-news__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

.page-news__cta-bottom-section .page-news__container {
  background-color: #11271B; /* Card BG for this CTA block */
  border-radius: 15px;
  padding: 50px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent overflow from children */
  }

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

  .page-news__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-news__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-news__cta-button,
  .page-news__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  
  .page-news__cta-bottom-section .page-news__container {
    padding: 40px 20px;
  }

  .page-news__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news__article-image {
    height: 180px;
  }

  .page-news__article-title {
    font-size: 1.2em;
  }

  .page-news__read-more-button {
    padding: 8px 15px;
    font-size: 0.85em;
  }

  .page-news__about-section,
  .page-news__faq-section {
    padding: 50px 0;
  }

  .page-news__benefits-list {
    grid-template-columns: 1fr;
    margin: 30px 0;
  }

  .page-news__benefit-item {
    padding: 20px;
  }

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

  .page-news__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Force all images to be responsive and not overflow */
  .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-section,
  .page-news__about-section,
  .page-news__faq-section,
  .page-news__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent overflow from children */
  }
}