/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A1931; /* Main dark blue background */
  line-height: 1.6;
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a3a66 100%); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-resources__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

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

.page-resources__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

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

.page-resources__section:nth-of-type(even) {
  background-color: #1A2B47; /* Slightly lighter dark blue for alternating sections */
}

.page-resources__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-resources__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-resources__grid--2-cols {
  grid-template-columns: 1fr 1fr;
}

.page-resources__content-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #E0E0E0;
}

.page-resources__image-wrapper {
  text-align: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources__category-card {
  background-color: #0A1931; /* Dark blue for cards */
  border: 1px solid #FFD700;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__category-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.page-resources__category-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for category titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__category-text {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 25px;
}

.page-resources__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources__latest-articles {
  background-color: #0A1931;
}

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

.page-resources__article-card {
  background-color: #1A2B47; /* Slightly lighter dark blue for article cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__article-title a {
  color: #FFD700; /* Gold for article titles */
  text-decoration: none;
  font-weight: bold;
}

.page-resources__article-title a:hover {
  text-decoration: underline;
}

.page-resources__article-description {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-resources__btn--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.page-resources__btn--link span {
  transition: transform 0.2s ease;
}

.page-resources__btn--link:hover span {
  transform: translateX(5px);
}

.page-resources__commitment .page-resources__content-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  color: #E0E0E0;
}

.page-resources__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.keyword-highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__grid--2-cols {
    grid-template-columns: 1fr;
  }

  .page-resources__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-resources__category-grid,
  .page-resources__article-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 60px 0;
  }

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

  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }

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

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

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

  .page-resources__category-card,
  .page-resources__article-card {
    padding: 20px;
  }
}

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

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

  .page-resources__btn {
    width: 90%;
    padding: 12px 25px;
    font-size: 1em;
  }

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

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