.page-news {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
}

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

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

.page-news__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 15px;
  /* Using clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-news__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1F2D3D;
  opacity: 0.9;
}

.page-news__introduction-section {
  padding: 40px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #D6E2FF;
}

.page-news__section-title {
  font-size: 2.2rem;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-news__paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
  text-align: justify;
}

.page-news__news-list-section {
  padding: 50px 0;
}

.page-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 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure cards have minimum height */
}

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

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

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

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

.page-news__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  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: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  opacity: 0.85;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  align-self: flex-start;
  min-width: 120px; /* Ensure button minimum width */
}

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

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

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

.page-news__view-all-btn:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-news__cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-news__cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Primary button gradient */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-news__cta-btn--secondary {
  background: #6FA3FF; /* Secondary button solid color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-news__cta-btn--secondary:hover {
  background: #A5C4FF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__container {
    padding: 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-news__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-news__paragraph {
    font-size: 0.95rem;
  }

  .page-news__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news__news-card {
    min-height: auto;
  }

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

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

  .page-news__card-excerpt {
    font-size: 0.9rem;
  }

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

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

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__cta-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Ensure content area images are responsive */
  .page-news__hero-image, 
  .page-news__card-image,
  .page-news__introduction-section img,
  .page-news__news-list-section img,
  .page-news__cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

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

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

  .page-news__hero-section {
    padding-top: 0;
  }

  .page-news__hero-content {
    padding: 20px 15px;
  }

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