/* style/resources-latest-news.css */
.page-resources-latest-news {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-resources-latest-news__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for contrast */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column; /* Default for mobile */
  align-items: center;
  text-align: center;
  gap: 40px;
}

.page-resources-latest-news__hero-content {
  max-width: 800px;
}

.page-resources-latest-news__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #ffc107; /* Accent for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-latest-news__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-latest-news__hero-cta {
  display: inline-block;
  background-color: #ffc107; /* Accent color */
  color: #0056b3; /* Darker blue for text contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-news__hero-cta:hover {
  background-color: #e0a800;
  color: #003f8e;
}

.page-resources-latest-news__hero-image-wrapper {
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-resources-latest-news__articles {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-resources-latest-news__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-latest-news__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-news__article-item {
  display: flex;
  flex-direction: column; /* Default for mobile */
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-resources-latest-news__article-item:hover {
  transform: translateY(-5px);
}

.page-resources-latest-news__article-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-resources-latest-news__article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-latest-news__article-content {
  padding: 30px;
}

.page-resources-latest-news__article-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-resources-latest-news__article-text {
  font-size: 1em;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-resources-latest-news__read-more:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-resources-latest-news__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 10px;
}

.page-resources-latest-news__pagination-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-latest-news__pagination-link:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-resources-latest-news__pagination-link--active {
  background-color: #007bff;
  color: #ffffff;
}

.page-resources-latest-news__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-resources-latest-news__cta-content {
  max-width: 900px;
}

.page-resources-latest-news__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffc107;
  font-weight: bold;
}

.page-resources-latest-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-resources-latest-news__cta-buttons {
  display: flex;
  flex-direction: column; /* Default for mobile */
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.page-resources-latest-news__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 250px;
}

.page-resources-latest-news__btn--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for contrast */
  border: 2px solid #ffc107;
}

.page-resources-latest-news__btn--primary:hover {
  background-color: #e0a800;
  color: #003f8e;
  border-color: #e0a800;
}

.page-resources-latest-news__btn--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-resources-latest-news__btn--secondary:hover {
  background-color: #ffc107;
  color: #0056b3;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-resources-latest-news__hero {
    flex-direction: row;
    text-align: left;
    padding: 100px 40px;
  }

  .page-resources-latest-news__hero-content {
    flex: 1;
    margin-right: 40px;
  }

  .page-resources-latest-news__hero-image-wrapper {
    flex: 1;
    max-width: 50%;
  }

  .page-resources-latest-news__hero-title {
    font-size: 3.5em;
  }

  .page-resources-latest-news__hero-subtitle {
    font-size: 1.4em;
  }

  .page-resources-latest-news__article-item {
    flex-direction: row;
    text-align: left;
  }

  .page-resources-latest-news__article-image-wrapper {
    width: 40%;
    height: auto;
  }

  .page-resources-latest-news__article-content {
    width: 60%;
  }

  .page-resources-latest-news__cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .page-resources-latest-news__hero-title {
    font-size: 4em;
  }

  .page-resources-latest-news__section-title {
    font-size: 2.8em;
  }

  .page-resources-latest-news__article-title {
    font-size: 2em;
  }

  .page-resources-latest-news__cta-title {
    font-size: 3em;
  }
}