.page-news {
  padding-bottom: 40px;
}

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

.page-news__hero-section {
  position: relative;
  background-color: #F4F7FB;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
}

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

.page-news__hero-content {
  padding: 20px 0 40px;
  text-align: center;
  background-color: #F4F7FB;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

.page-news__description {
  font-size: 1.1em;
  color: #1F2D3D;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.page-news__news-list-section {
  padding: 40px 0;
  background-color: #FFFFFF;
}

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

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

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

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

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

.page-news__card-date {
  font-size: 0.9em;
  color: #6FA3FF;
  margin-bottom: 10px;
  display: block;
}

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

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

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

.page-news__card-excerpt {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-news__read-more {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #4A8BFF;
}

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

.page-news__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

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

.page-news__cta-section {
  background-color: #F4F7FB;
  padding: 60px 0;
  text-align: center;
}

.page-news__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.page-news__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #1F2D3D;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-news__hero-content {
    padding: 15px 0 25px;
  }

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

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

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

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

  .page-news__card-image {
    height: 200px;
  }

  /* Ensure content area images do not overflow */
  .page-news__hero-section img,
  .page-news__news-card img,
  .page-news__cta-section img {
    max-width: 100%;
    height: auto;
  }

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

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

  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

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

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