/* style/resources.css */
.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f5f5f5; /* Light text for dark background */
  background-color: #0A2E50; /* Main dark blue background */
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #0A2E50, #1a4f8a); /* Gradient from main to slightly lighter blue */
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2E50; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold transparent background */
  transform: translateY(-2px);
}

.page-resources__articles-section,
.page-resources__deep-content {
  padding: 80px 0;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-resources__section-subtitle {
  font-size: 1.2em;
  color: #b0c4de; /* Lighter blue-grey for subtitle */
  text-align: center;
  margin-bottom: 60px;
}

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

.page-resources__article-card {
  background-color: #1a4f8a; /* Slightly lighter dark blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources__article-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-resources__article-title a {
  color: #FFD700; /* Gold for linked titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-resources__article-summary {
  color: #e0e0e0; /* Off-white for summary */
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__btn--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 0;
  border: none;
  background: none;
  text-align: left;
  transition: color 0.3s ease;
}

.page-resources__btn--link:hover {
  color: #fff;
  text-decoration: underline;
}

.page-resources__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

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

.page-resources__pagination-link:hover:not(.page-resources__pagination-link--disabled) {
  background-color: #FFD700;
  color: #0A2E50;
}

.page-resources__pagination-link--active {
  background-color: #FFD700;
  color: #0A2E50;
  border-color: #FFD700;
  cursor: default;
}

.page-resources__pagination-link--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #b0c4de;
  border-color: #b0c4de;
}

.page-resources__deep-content h2,
.page-resources__deep-content h3 {
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources__deep-content h2 {
  font-size: 2.5em;
  text-align: center;
}

.page-resources__deep-content h3 {
  font-size: 1.8em;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources__deep-content p {
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-resources__deep-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources__deep-content ul li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-resources__deep-content ul li strong {
  color: #FFD700;
}

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

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

  .page-resources__hero-description {
    font-size: 1.1em;
  }

  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-resources__section-title {
    font-size: 2em;
  }

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

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

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

  .page-resources__deep-content h2 {
    font-size: 2em;
  }

  .page-resources__deep-content h3 {
    font-size: 1.6em;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

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

  .page-resources__hero-description {
    font-size: 0.9em;
  }

  .page-resources__btn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__article-title {
    font-size: 1.2em;
  }

  .page-resources__deep-content h2 {
    font-size: 1.8em;
  }

  .page-resources__deep-content h3 {
    font-size: 1.4em;
  }
}