/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light gray for general text */
  background-color: #0f1c2b; /* Darker background to contrast with main theme */
}

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

.page-news__hero-section {
  background: linear-gradient(135deg, #1A2E44 0%, #0f1c2b 100%);
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-news__hero-subtitle {
  font-size: 1.5em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-news__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary color for buttons */
  color: #1A2E44; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-news__articles-grid {
  padding: 60px 0;
  background-color: #1A2E44; /* Primary background for article section */
}

.page-news__section-title {
  font-size: 2.5em;
  color: #FFC107; /* Auxiliary color for section titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

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

.page-news__article-card {
  background-color: #2a3e50; /* Slightly lighter than primary for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover {
  transform: translateY(-10px);
}

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

.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;
  line-height: 1.4;
}

.page-news__article-title a {
  color: #ffffff; /* White for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #FFC107; /* Auxiliary color on hover */
}

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

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

.page-news__read-more {
  display: inline-block;
  color: #FFC107; /* Auxiliary color for read more links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-news__pagination {
  margin-top: 50px;
  text-align: center;
}

.page-news__pagination-link {
  display: inline-block;
  color: #FFC107;
  text-decoration: none;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #FFC107;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__pagination-link:hover,
.page-news__pagination-link--active {
  background-color: #FFC107;
  color: #1A2E44;
}

.page-news__cta-banner {
  background-color: #0f1c2b; /* Darker background for CTA banner */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-news__cta-description {
  font-size: 1.3em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-news__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-news__hero-title {
    font-size: 2.5em;
  }

  .page-news__hero-subtitle {
    font-size: 1.2em;
  }

  .page-news__section-title,
  .page-news__cta-title {
    font-size: 2em;
  }

  .page-news__grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-title {
    font-size: 1.4em;
  }

  .page-news__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 2em;
  }

  .page-news__hero-subtitle {
    font-size: 1em;
  }

  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-news__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-news__section-title,
  .page-news__cta-title {
    font-size: 1.8em;
  }
}