.page-news {
  padding-top: 10px; /* Small top padding to avoid direct header collision */
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-news__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-news__cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

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

.page-news__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  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;
}

.page-news__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-news__article-content {
  padding: 20px;
}

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

.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-date {
  font-size: 0.9em;
  color: #6FA3FF;
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-news__read-more-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
  color: #4A8BFF;
  text-decoration: underline;
}

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

.page-news__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: #D6E2FF;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-news__view-all-button:hover {
  background: #A5C4FF;
  color: #FFFFFF;
}

.page-news__cta-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 0;
}

.page-news__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-news__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-news__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__hero-section {
    flex-direction: column;
    padding: 15px;
  }

  .page-news__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-news__hero-content {
    padding: 0 10px;
  }

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

  .page-news__intro-text {
    font-size: 1em;
  }

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

  .page-news__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-news__article-image {
    height: 200px; /* Adjust height for smaller screens */
  }

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

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

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

  /* Ensure images in content area do not overflow */
  .page-news img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for article images if needed to ensure max-width */
  .page-news__article-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }

  .page-news__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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

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