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

.page-news__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-align: center;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Adjust based on desired hero image width */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-news__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  /* clamp() if needed, but font-weight/line-height preferred for H1 */
}

.page-news__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

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

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

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

.page-news__card-excerpt {
  font-size: 1rem;
  color: #1F2D3D;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  font-size: 1rem;
  font-weight: 600;
  color: #2F6BFF;
  display: inline-block;
  margin-top: auto;
}

.page-news__read-more:hover {
  text-decoration: underline;
}

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

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

.page-news__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-news__about-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-news__text-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

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

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

  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

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

  .page-news__card-image {
    height: 200px; /* Ensure images are not too small */
    max-width: 100%; /* Important for mobile overflow */
  }

  .page-news__news-card img {
    max-width: 100%;
    height: auto;
  }

  .page-news__text-content {
    font-size: 1rem;
  }
}

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

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

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