.page-news__hero-section {
  background-color: var(--background-color, #F4F7FB);
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

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

.page-news__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-news__main-title {
  color: var(--text-main-color, #1F2D3D);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__intro-text {
  color: var(--text-main-color, #1F2D3D);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-news__latest-news-section,
.page-news__about-news-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.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.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: var(--card-bg-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;
}

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

.page-news__card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-news__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-news__card-date {
  font-size: 0.875rem;
  color: var(--border-color, #D6E2FF);
  margin-bottom: 10px;
}

.page-news__card-title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__card-title a {
  color: var(--text-main-color, #1F2D3D);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__card-title a:hover {
  color: var(--primary-color, #2F6BFF);
}

.page-news__card-description {
  font-size: 1rem;
  color: var(--custom-color-1776249996415, #000000);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__read-more {
  color: var(--primary-color, #2F6BFF);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-block;
  margin-top: auto; /* Pushes to bottom */
}

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

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

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

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

.page-news__text-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--custom-color-1776249996415, #000000);
  margin-bottom: 20px;
  text-align: justify;
}

.page-news__text-content:last-child {
  margin-bottom: 0;
}

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

  .page-news__main-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-news__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-news__cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: 180px;
  }

  .page-news__latest-news-section,
  .page-news__about-news-section {
    padding: 40px 0;
  }

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

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

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

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

  .page-news__card-description {
    font-size: 0.95rem;
  }

  .page-news__view-all-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

  /* Critical: Prevent content area images from overflowing on mobile */
  .page-news__news-grid img,
  .page-news__card-image {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

  .page-news__container {
    padding: 0 15px;
  }
}