.page-news {
  color: #333333; /* Dark text for light body background */
}

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly transparent to let text stand out */
  z-index: 1;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for highlight */
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-news__hero-button:hover {
  background-color: #e0a030;
}

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

.page-news__updates-section,
.page-news__benefits-section,
.page-news__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-news__updates-section {
  background-color: #FFFFFF;
}

.page-news__benefits-section {
  background-color: #f5f5f5;
}

.page-news__cta-section {
  background-color: #000000;
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-news__updates-section .page-news__section-title {
  color: #000000;
}

.page-news__benefits-section .page-news__section-title {
  color: #000000;
}

.page-news__cta-section .page-news__section-title {
  color: #FCBC45;
}

.page-news__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-news__cta-section .page-news__section-intro {
  color: #f0f0f0;
}

.page-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-news__article-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
}

.page-news__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  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: #FCBC45;
}

.page-news__article-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-news__read-more-button:hover {
  background-color: #333333;
}

.page-news__pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-news__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__pagination-link:hover,
.page-news__pagination-link--active {
  background-color: #FCBC45;
  color: #000000;
}

.page-news__pagination-link[href="javascript:void(0)"] {
  cursor: not-allowed;
  opacity: 0.7;
}

.page-news__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-news__benefit-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-news__benefit-card:hover {
  transform: translateY(-5px);
}

.page-news__benefit-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

.page-news__benefit-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-news__outro-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 50px auto 0;
  color: #555555;
}

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

.page-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-news__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-news__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news__cta-button:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }
  .page-news__section-title {
    font-size: 2.2em;
  }
  .page-news__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__updates-section,
  .page-news__benefits-section,
  .page-news__cta-section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-news__article-grid,
  .page-news__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
  .page-news__article-description {
    font-size: 0.9em;
  }
  .page-news__read-more-button {
    padding: 8px 18px;
    font-size: 0.85em;
  }
  .page-news__pagination {
    margin-top: 40px;
  }
  .page-news__pagination-link {
    width: 35px;
    height: 35px;
  }
  .page-news__benefit-title {
    font-size: 1.2em;
  }
  .page-news__benefit-description {
    font-size: 0.9em;
  }
  .page-news__outro-text {
    font-size: 1em;
    margin-top: 40px;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__cta-description {
    font-size: 1em;
  }
  .page-news__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure content images do not overflow */
  .page-news img {
    max-width: 100%;
    height: auto;
  }
  .page-news__container {
    padding: 0 15px;
  }
  .page-news {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}