.page-news__hero-section {
  background-color: var(--background-color, #F4F7FB);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

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

.page-news__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  fetchpriority: high; /* For the main hero image */
}

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

.page-news__hero-title {
  color: var(--text-main-color, #1F2D3D);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.2rem); 
}

.page-news__hero-description {
  color: var(--text-main-color, #1F2D3D);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-news__articles-section {
  background-color: var(--background-color, #F4F7FB);
  padding: 60px 0;
}

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

.page-news__section-title {
  color: var(--text-main-color, #1F2D3D);
  font-size: 2.5rem;
  font-weight: 700;
  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: var(--card-bg-color, #FFFFFF);
  border-radius: 12px;
  box-shadow: 0 6px 20px 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(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-news__article-title {
  color: var(--text-main-color, #1F2D3D);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 70px; /* Ensure consistent height for titles */
}

.page-news__article-date {
  color: var(--custom-color-1776249996415, #000000);
  font-size: 0.9rem;
  margin-bottom: 15px;
  opacity: 0.7;
}

.page-news__article-summary {
  color: var(--custom-color-1776249996415, #000000);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 96px; /* Ensure consistent height for summaries */
}

.page-news__read-more {
  color: var(--custom-color-1776249996415, #000000); /* Adjusted for WCAG AA contrast on white background */
  font-weight: 600;
  display: inline-block;
  position: relative;
  padding-right: 15px;
}

.page-news__read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-news__article-link:hover .page-news__read-more {
  color: var(--secondary-color, #6FA3FF);
}

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

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

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

.page-news__cta-section {
  background-color: var(--primary-color, #2F6BFF);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF; /* White text on #2F6BFF has contrast ratio ~3.3:1, which is below WCAG AA (4.5:1). This is a conflict between explicit color usage and WCAG AA. Keeping white text as per design implied by color scheme for prominent sections. */
}

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

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__cta-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-news__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-news__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-news__articles-section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-card {
    margin: 0 15px;
  }
  .page-news__article-title {
    font-size: 1.3rem;
    min-height: auto;
  }
  .page-news__article-summary {
    font-size: 0.95rem;
    min-height: auto;
  }
  .page-news__article-image {
    height: 180px; /* Adjust height for smaller screens */
  }
  /* Mobile content area image constraint */
  .page-news__articles-grid img,
  .page-news__article-card img {
    max-width: 100%;
    height: auto;
  }
  .page-news__button-wrapper {
    margin-top: 30px;
  }
  .page-news__view-all-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  .page-news__cta-section {
    padding: 60px 0;
  }
  .page-news__cta-title {
    font-size: 1.8rem;
  }
  .page-news__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-news__cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-news__hero-section {
    padding-bottom: 30px;
  }
  .page-news__hero-content-wrapper {
    padding: 0 15px;
  }
  .page-news__hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-news__section-title {
    font-size: 1.6rem;
  }
  .page-news__cta-title {
    font-size: 1.6rem;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}