.page-news {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-news__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.page-news__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px 40px;
  color: #FFFFFF;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  text-align: center;
  font-size: 1.05em;
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #2F6BFF;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-news__article-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: 220px;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

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

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

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

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

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

.page-news__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-news__newsletter-section {
  background-color: #D6E2FF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.page-news__newsletter-section .page-news__section-title {
  color: #1F2D3D;
}

.page-news__newsletter-section .page-news__description {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #1F2D3D;
}

.page-news__newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-news__newsletter-input {
  flex-grow: 1;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 50px;
  outline: none;
  background-color: transparent;
  color: #000000;
}

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

.page-news__newsletter-submit-button {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-news__newsletter-submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .page-news__hero-image {
    height: 500px;
  }
  .page-news__main-title {
    font-size: 2.5em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-image {
    height: 400px;
  }
  .page-news__main-title {
    font-size: 2em;
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__articles-section {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__newsletter-form {
    flex-direction: column;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .page-news__newsletter-input {
    margin-bottom: 15px;
    border: 1px solid #D6E2FF;
    border-radius: 50px;
    background-color: #FFFFFF;
  }
  .page-news__newsletter-submit-button {
    width: 100%;
    padding: 12px 25px;
  }
  /* Ensure content images do not overflow */
  .page-news img {
    max-width: 100%;
    height: auto;
  }
  .page-news__article-card img {
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }
  .page-news__article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-image {
    height: 250px;
  }
  .page-news__main-title {
    font-size: 1.6em;
  }
  .page-news__cta-button {
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 1.1em;
  }
  .page-news__article-summary {
    font-size: 0.9em;
  }
  .page-news__newsletter-section {
    padding: 40px 15px;
  }
  .page-news__newsletter-input {
    padding: 10px 15px;
  }
  .page-news__newsletter-submit-button {
    padding: 10px 15px;
  }
}