.page-news {
  background-color: #08160F;
  color: #F2FFF6;
  padding-top: 10px; /* Small top padding, main padding-top handled by body in shared.css */
}

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
}

.page-news__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.page-news__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.page-news__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-news__hero-title {
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Using clamp for H1 */
}

.page-news__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news__hero-button {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-news__hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-news__latest-news-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

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

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

.page-news__news-card {
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__news-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #1E3A2A;
  filter: none; /* Ensure no filter is applied */
}

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

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

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

.page-news__card-excerpt {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__read-more-button {
  display: inline-block;
  color: #57E38D;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__read-more-button:hover {
  color: #2AD16F;
}

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

.page-news__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: #0A4B2C;
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  border: 1px solid #2E7A4E;
}

.page-news__view-all-button:hover {
  background-color: #11A84E;
}

.page-news__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 15px;
  background-color: #11271B;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.page-news__cta-content {
  max-width: 700px;
}

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

.page-news__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news__cta-button {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 20px rgba(34, 199, 104, 0.5);
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 199, 104, 0.7);
}

.page-news__cta-image-wrapper {
  width: 100%;
  max-width: 500px;
}

.page-news__cta-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-news__hero-section {
    flex-direction: row;
    text-align: left;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 60px;
  }

  .page-news__hero-image-wrapper {
    width: 55%;
    margin-bottom: 0;
  }

  .page-news__hero-content {
    width: 45%;
    text-align: left;
  }

  .page-news__cta-section {
    flex-direction: row;
    text-align: left;
    gap: 40px;
    justify-content: space-between;
    padding: 60px;
  }

  .page-news__cta-content {
    text-align: left;
    flex: 1;
  }

  .page-news__cta-image-wrapper {
    flex-shrink: 0;
    width: 40%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .page-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news__news-card img {
    max-width: 100%;
    height: auto; /* Allow height to adjust */
  }

  .page-news__cta-section {
    padding: 30px 15px;
  }

  .page-news__cta-image-wrapper {
    margin-top: 30px;
  }

  /* Ensure all images in content area are responsive */
  .page-news img {
    max-width: 100%;
    height: auto;
  }

  .page-news__news-card img {
    min-width: 200px; /* Ensure minimum width for card images */
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-news__hero-title {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .page-news__hero-description {
    font-size: 0.9rem;
  }

  .page-news__hero-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .page-news__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

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

  .page-news__card-date, .page-news__card-excerpt {
    font-size: 0.85rem;
  }

  .page-news__view-all-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-news__cta-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

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

  .page-news__cta-button {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}