.page-news {
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #0A1931; /* Dark background for hero content */
}

.page-news__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

.page-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-news__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-news__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-news__articles-section,
.page-news__cta-section,
.page-news__faq-section,
.page-news__more-resources {
  padding: 60px 20px;
  background-color: #f8f8f8; /* Light background for sections */
  margin-bottom: 20px;
}

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

.page-news__articles-container,
.page-news__cta-container,
.page-news__faq-container,
.page-news__resources-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__section-title {
  font-size: 2.2em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.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: 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;
  min-height: 200px; /* Ensure card content has space */
}

.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 consistent card appearance */
  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.5em;
  color: #0A1931;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

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

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

.page-news__article-link {
  display: inline-block;
  color: #E02B2B; /* Accent color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-news__article-link:hover {
  color: #a01f1f;
}

.page-news__cta-section {
  background-color: #0A1931; /* Dark background for CTA */
  color: #ffffff;
  text-align: center;
}

.page-news__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-news__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news__cta-button--primary {
  background-color: #FFD700;
  color: #0A1931;
}

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

.page-news__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-news__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-news__faq-section {
  background-color: #f0f0f0;
}

.page-news__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
  font-size: 1.3em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-news__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-news__faq-answer a {
  color: #E02B2B;
  text-decoration: none;
  font-weight: bold;
}

.page-news__faq-answer a:hover {
  text-decoration: underline;
}

.page-news__more-resources {
  background-color: #ffffff;
}

.page-news__resource-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.page-news__resource-list li {
  margin-bottom: 10px;
}

.page-news__resource-list li a {
  font-size: 1.1em;
  color: #0A1931;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__resource-list li a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-content {
    width: 90%;
    padding: 15px;
  }
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__articles-section,
  .page-news__cta-section,
  .page-news__faq-section,
  .page-news__more-resources {
    padding: 40px 15px;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-card {
    min-height: 200px; /* Ensure card content has space */
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-news__faq-question {
    font-size: 1.2em;
  }
  .page-news__faq-answer {
    font-size: 0.95em;
  }
  /* Mobile content area images must not overflow */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-news__articles-container,
  .page-news__cta-container,
  .page-news__faq-container,
  .page-news__resources-container {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.5em;
  }
  .page-news__hero-description {
    font-size: 0.85em;
  }
  .page-news__section-title {
    font-size: 1.6em;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__cta-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}