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

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

/* Hero Section */
.page-resources__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #2b4f97 100%); /* Adjusted gradient for better contrast */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #E3B505; /* Highlight title with auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources__hero-image-wrapper {
    margin-top: 40px;
}

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

/* Buttons */
.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
}

.page-resources__btn--primary {
  background-color: #E3B505;
  color: #0A2463;
  box-shadow: 0 4px 15px rgba(227, 181, 5, 0.4);
}

.page-resources__btn--primary:hover {
  background-color: #f0c822;
  transform: translateY(-3px);
}

.page-resources__btn--secondary {
  background-color: #0A2463;
  color: #ffffff;
  border: 1px solid #E3B505;
}

.page-resources__btn--secondary:hover {
  background-color: #1a3c7a;
  border-color: #f0c822;
  transform: translateY(-2px);
}

.page-resources__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Section common styles */
.page-resources__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: 20px;
}

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

.page-resources__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.7;
}

/* Intro Section */
.page-resources__intro-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Articles Section */
.page-resources__articles-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.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 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  min-height: 70px; /* Ensure consistent card height */
}

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

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

.page-resources__article-category {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

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

/* Trust Section */
.page-resources__trust-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-resources__trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources__trust-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__trust-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.page-resources__trust-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-resources__trust-text {
  font-size: 1em;
  color: #666;
  line-height: 1.7;
}

/* CTA Section */
.page-resources__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #E3B505;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources__cta-small-text {
    margin-top: 20px;
    font-size: 0.95em;
    color: #cccccc;
}

.page-resources__cta-small-text .page-resources__link {
    color: #E3B505;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__cta-small-text .page-resources__link:hover {
    text-decoration: underline;
}

/* Additional Info / FAQ Section */
.page-resources__additional-info-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-resources__faq-list {
    margin-top: 50px;
}

.page-resources__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources__faq-question {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #E3B505;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-resources__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources__trust-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__btn--primary, .page-resources__btn--secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-description {
    font-size: 0.95em;
  }
  .page-resources__cta-title {
      font-size: 2.2em;
  }
  .page-resources__cta-description {
      font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__btn--large {
      padding: 15px 30px;
      font-size: 1.1em;
  }
  .page-resources__article-content {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__trust-title {
    font-size: 1.4em;
  }
  .page-resources__faq-question {
      font-size: 1.2em;
  }
  .page-resources__faq-answer {
      font-size: 0.9em;
  }
}