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

.page-news__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  background-color: #003366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff; /* White text for dark hero background */
  max-width: 800px;
}

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

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

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

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

.page-news__button--primary {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

.page-news__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-news__button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-news__articles-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

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

.page-news__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

.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.1);
  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: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

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

.page-news__article-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #003366;
  line-height: 1.3;
}

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

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

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

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

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

.page-news__read-more:hover {
  color: #003366;
}

.page-news__cta-section--bottom {
  padding: 80px 20px;
  background: linear-gradient(135deg, #003366, #1a4f80);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-section--bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 L 0 20" fill="none" stroke="%23ffffff" stroke-width="0.1"/></pattern><rect width="100%" height="100%" fill="url(%23grid)" opacity="0.05"/></svg>');
  z-index: 0;
}

.page-news__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-news__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-news__cta-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 30px 15px;
  }
  .page-news__hero-title {
    font-size: 2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__button {
    width: 100%;
  }
  .page-news__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-title {
    font-size: 1.4em;
  }
  .page-news__cta-section--bottom {
    padding: 50px 15px;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__cta-description {
    font-size: 1.1em;
  }
  .page-news__cta-image {
    max-width: 100%;
  }
  .page-news img {
    max-width: 100%;
    height: auto;
  }
  .page-news__article-excerpt {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__cta-title {
    font-size: 1.6em;
  }
  .page-news__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}