.page-news {
  background-color: #F4F7FB;
  color: #1F2D3D;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-news__hero-section {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-news__hero-content {
  max-width: 800px;
  padding: 0 15px;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 15px;
}

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

.page-news__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

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

.page-news__article-content {
  padding: 20px;
  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.3;
}

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

.page-news__article-title a:hover {
  color: #2F6BFF;
}

.page-news__article-summary {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 0.85em;
  color: #1F2D3D;
  margin-bottom: 15px;
  opacity: 0.8;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  width: fit-content;
}

.page-news__read-more-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-news__view-all-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.page-news__view-all-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__cta-section {
  background-color: #2F6BFF;
  padding: 60px 0;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-news__cta-content {
  color: #FFFFFF;
}

.page-news__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__cta-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  transition: opacity 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFFFFF;
}

.page-news__cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__cta-btn--secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-news__cta-btn--secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-news__section-title {
    font-size: 1.8em;
  }

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

  .page-news__article-image {
    height: 200px; /* Ensure images are not too small on mobile */
  }

  .page-news__article-card {
    margin-bottom: 20px;
  }

  .page-news__cta-title {
    font-size: 2em;
  }

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

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

  .page-news__cta-btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-news__hero-image,
  .page-news__articles-section img,
  .page-news__article-card img,
  .page-news__cta-section img { /* Selectors covering all content images */
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

  .page-news__article-summary {
    font-size: 0.9em;
  }

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

/* Ensure content images are not smaller than 200px */
.page-news__articles-section img, .page-news__article-card img {
  min-width: 200px;
  min-height: 200px;
}