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

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

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

.page-resources__hero-cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-resources__articles-section {
  padding: 60px 0;
  background-color: #fff;
}

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

.page-resources__section-subtitle {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__article-card {
  background-color: #fefefe;
  border-radius: 8px;
  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-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__article-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-resources__article-category {
  display: inline-block;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 0.85em;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__article-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #0056b3;
}

.page-resources__article-summary {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__read-more-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more-button:hover {
  background-color: #0056b3;
}

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

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

.page-resources__pagination-link:hover {
  background-color: #e9ecef;
}

.page-resources__pagination-link--active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.page-resources__pagination-link--active:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-resources__cta-section {
  background-color: #007bff;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

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

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

.page-resources__cta-button--primary {
  background-color: #ffc107;
  color: #000;
}

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

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

.page-resources__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description,
  .page-resources__section-subtitle {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-resources__cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-resources__article-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-button {
    font-size: 1em;
  }
}