/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
}

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

.page-news__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

/* Hero Section */
.page-news__hero-section {
  background: linear-gradient(135deg, #0A2463, #2A4D9B);
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-news__hero-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Categories Section */
.page-news__categories-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-news__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__category-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-news__category-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__category-description {
  font-size: 1em;
  color: #666666;
}

/* Featured News Section */
.page-news__featured-news-section {
  padding: 60px 0;
}

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

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

.page-news__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__card-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #E3B505;
}

.page-news__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-news__card-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news__card-button:hover {
  background-color: #f0c94b;
}

/* Guides Section */
.page-news__guides-section {
  padding: 60px 0;
  background-color: #f2f7fc;
}

.page-news__guides-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-news__guides-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__guides-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__guides-list li a {
  text-decoration: none;
  color: #0A2463;
  font-size: 1.2em;
  font-weight: 600;
  display: block;
  transition: color 0.3s ease;
}

.page-news__guides-list li a:hover {
  color: #E3B505;
}

.page-news__cta-minor {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #0A2463;
  color: #ffffff;
  border-radius: 10px;
}

.page-news__cta-minor p {
  font-size: 1.2em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-news__cta-minor-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news__cta-minor-button:hover {
  background-color: #f0c94b;
}

/* Announcements Section */
.page-news__announcements-section {
  padding: 60px 0;
}

.page-news__announcements-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-news__announcement-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-news__announcement-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-news__announcement-link {
  color: #E3B505;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__announcement-link:hover {
  color: #0A2463;
}

/* CTA Bottom Section */
.page-news__cta-bottom-section {
  background: linear-gradient(135deg, #E3B505, #f0c94b);
  padding: 80px 0;
  text-align: center;
  color: #0A2463;
}

.page-news__cta-bottom-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

.page-news__cta-bottom-button--primary {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-news__cta-bottom-button--secondary {
  background-color: #ffffff;
  color: #0A2463;
  border: 2px solid #0A2463;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__hero-description {
    font-size: 1.1em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__cta-bottom-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 20px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__categories-grid, .page-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-news__category-card, .page-news__news-card {
    margin-bottom: 20px;
  }
  .page-news__cta-bottom-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__cta-bottom-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-section {
    padding: 60px 15px;
  }
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__cta-bottom-title {
    font-size: 2em;
  }
  .page-news__cta-bottom-description {
    font-size: 1em;
  }
}