.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.page-news__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-description a {
  color: #ffd700;
  text-decoration: underline;
}

.page-news__hero-description a:hover {
  color: #fff;
}

.page-news__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__hero-cta-button:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__articles-section {
  padding: 60px 20px;
  background: #f1f3f5; /* light background for light-bg cards */
  color: #333333; /* default text color for light sections */
}

.page-news__articles-section.page-news__dark-bg {
  background: #0d0d0d; /* dark background for dark-bg sections */
  color: #ffffff; /* default text color for dark sections */
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-news__section-title--light {
  color: var(--secondary-color);
}

.page-news__section-intro {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-news__section-intro--light {
  color: #cccccc;
}

.page-news__section-intro a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-news__section-intro--light a {
  color: var(--secondary-color);
}

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

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

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

.page-news__article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__article-image {
  width: 100%;
  height: 220px;
  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: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--primary-color);
}

.page-news__article-title:hover {
  color: var(--secondary-color);
}

.page-news__article-summary {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  color: #555555;
}

.page-news__article-summary a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-news__article-summary a:hover {
  color: var(--secondary-color);
}

.page-news__article-date {
  font-size: 13px;
  color: #888888;
  margin-top: auto;
}

.page-news__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #003366);
  color: #ffffff;
}

.page-news__cta-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news__cta-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-news__cta-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news__cta-description a:hover {
  color: #fff;
}

.page-news__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-news__btn-primary:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 40px;
  }

  .page-news__section-title {
    font-size: 30px;
  }

  .page-news__article-title {
    font-size: 20px;
  }

  .page-news__cta-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }

  .page-news__hero-title {
    font-size: 32px;
  }

  .page-news__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-news__hero-cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-news__articles-section {
    padding: 40px 15px;
  }

  .page-news__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-news__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-image {
    height: 180px;
  }

  .page-news__article-card {
    margin: 0 auto;
  }

  .page-news__article-title {
    font-size: 18px;
  }

  .page-news__article-summary {
    font-size: 14px;
  }

  .page-news__cta-section {
    padding: 50px 15px;
  }

  .page-news__cta-title {
    font-size: 26px;
  }

  .page-news__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-news__btn-primary {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-news__container,
  .page-news__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 28px;
  }
  .page-news__section-title {
    font-size: 22px;
  }
  .page-news__cta-title {
    font-size: 24px;
  }
}