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

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  max-width: 1390px;
  margin: 0 auto;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.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-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 20px;
}

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

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

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

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

.page-news__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-news__article-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency, min 200px */
  object-fit: cover;
  display: block;
}

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

.page-news__article-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__article-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news__article-meta {
  font-size: 0.9em;
  color: #6FA3FF;
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-news__read-more:hover {
  color: #4A8BFF;
}

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

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

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

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

.page-news__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-news__floating-btn {
  display: block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 120px;
}

.page-news__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

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

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

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

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

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

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

  .page-news__article-image {
    height: 200px; /* Ensure min 200px on mobile */
  }

  .page-news__article-title {
    font-size: 1.2em;
  }

  .page-news__article-excerpt {
    font-size: 0.95em;
  }

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

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

  .page-news__floating-buttons {
    flex-direction: row;
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: center;
  }

  .page-news__floating-btn {
    flex: 1;
    padding: 10px 15px;
  }

  /* Mobile content area image overflow fix */
  .page-news img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are not too small via CSS */
  .page-news__article-image {
    min-width: 200px;
    min-height: 200px;
  }
}