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

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, main offset from body */
  padding-bottom: 40px;
  background-color: #2F6BFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-news__hero-content {
  position: relative; /* Ensure content is above any background effects, but not overlapping image */
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  color: #FFFFFF;
}

.page-news__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-news__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-news__news-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px 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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency, will be responsive */
  object-fit: cover;
  display: block;
}

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

.page-news__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
  line-height: 1.4;
  transition: color 0.3s ease;
}

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

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

.page-news__card-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-news__read-more {
  color: #2F6BFF;
  font-weight: bold;
  font-size: 0.95em;
  display: inline-block;
  margin-top: 10px;
}

.page-news__view-all {
  text-align: center;
}

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

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

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

.page-news__subscription-section .page-news__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-news__subscription-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

.page-news__subscription-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.page-news__email-input {
  padding: 12px 20px;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  font-size: 1em;
  flex-grow: 1;
  max-width: 300px;
  background-color: #FFFFFF;
  color: #1F2D3D;
}

.page-news__email-input::placeholder {
  color: #6FA3FF;
}

.page-news__subscribe-button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

  .page-news__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-news__card-title {
    font-size: 1.15em;
  }

  .page-news__subscription-form {
    flex-direction: column;
    align-items: center;
  }

  .page-news__email-input {
    max-width: 100%;
    width: calc(100% - 40px); /* Adjust for padding */
  }

  .page-news__subscribe-button {
    width: calc(100% - 40px); /* Adjust for padding */
  }

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

@media (max-width: 480px) {
  .page-news__hero-content {
    padding: 0 15px;
  }

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

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

  .page-news__news-card {
    margin-left: 10px;
    margin-right: 10px;
  }
}