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

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

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

.page-news__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-news__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-news__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
  min-width: 200px; /* Ensure button is not too small */
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(47, 107, 255, 0.4);
}

.page-news__latest-news-section {
  max-width: 1390px;
  margin: 0 auto 60px auto;
  padding: 20px;
}

.page-news__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.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;
  border: 1px solid #D6E2FF;
}

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

.page-news__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

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

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

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

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

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

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

.page-news__read-more-button:hover {
  color: #6FA3FF;
}

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

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

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

.page-news__cta-section {
  max-width: 1390px;
  margin: 0 auto 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

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

.page-news__cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-news__cta-main-button {
  display: inline-block;
  padding: 16px 35px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.35);
  min-width: 200px; /* Ensure button is not too small */
}

.page-news__cta-main-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(47, 107, 255, 0.45);
}

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

.page-news__cta-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-news__cta-section {
    flex-direction: row; /* Desktop layout for CTA */
    text-align: left;
  }
  .page-news__cta-content {
    text-align: left;
  }
  .page-news__cta-image-wrapper {
    order: 2; /* Image on right */
  }
  .page-news__cta-content {
    order: 1; /* Content on left */
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 15px;
  }

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

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

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

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

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

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

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

  .page-news__hero-image,
  .page-news__card-image,
  .page-news__cta-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images do not cause overflow */
  .page-news img {
    max-width: 100%;
    height: auto;
  }
}