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

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

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

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

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-resources__section {
  padding: 60px 0;
}

.page-resources__section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.2em;
  color: #0056b3;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  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 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources__article-card h3 {
  font-size: 1.5em;
  color: #007bff;
  margin: 20px 20px 10px 20px;
}

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

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

.page-resources__article-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__text-link {
  color: #ffc107;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources__text-link:hover {
  color: #e0a800;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 10px 20px 20px;
}

.page-resources__btn--primary {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-resources__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

.page-resources__btn--secondary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
  margin: 0 20px 20px 20px;
}

.page-resources__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

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

.page-resources__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-resources__cta-buttons .page-resources__btn {
  margin: 0 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__section-intro {
    font-size: 0.95em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__btn {
    font-size: 1em;
    padding: 10px 20px;
    margin: 0 5px 15px 5px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero {
    padding: 40px 0;
  }
  .page-resources__hero-title {
    font-size: 1.5em;
  }
  .page-resources__section-title {
    font-size: 1.4em;
  }
  .page-resources__cta-title {
    font-size: 1.5em;
  }
  .page-resources__btn {
    display: block;
    width: fit-content;
    margin: 10px auto;
  }
  .page-resources__cta-buttons .page-resources__btn {
    width: 80%;
    max-width: 250px;
  }
}