/* style/resources.css */
.page-resources {
  font-family: Arial, sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A2B3C; /* Dark blue auxiliary color as main background */
}

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

.page-resources-flex-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 768px) {
  .page-resources-flex-center {
    flex-direction: column;
    text-align: center;
  }
}

.page-resources-hero-section {
  background: linear-gradient(135deg, #FFD700, #1A2B3C);
  padding: 100px 0;
  text-align: center;
  color: #1A2B3C; /* Dark text on bright gradient */
}

.page-resources-hero-title {
  font-size: 3.2em;
  color: #1A2B3C;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-resources-section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold main color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-resources-section-subtitle {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-intro-section {
  padding: 80px 0;
  background-color: #1A2B3C;
}

.page-resources-intro-content {
  flex: 1;
}

.page-resources-intro-content .page-resources-section-title {
  text-align: left;
}

.page-resources-intro-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-resources-intro-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-resources-feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-feature-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFD700; /* Gold for list items */
  display: flex;
  align-items: center;
}

.page-resources-icon-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #FFD700;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center center;
  -webkit-mask-size: cover;
  mask-size: cover;
  margin-right: 10px;
}

.page-resources-articles-section {
  padding: 80px 0;
  background-color: #1A2B3C;
}

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

.page-resources-article-card {
  background-color: #2A3C4E; /* Slightly lighter dark blue for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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.3);
}

.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;
}

.page-resources-article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 70px;
}

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

.page-resources-article-title a:hover {
  color: #F0C400; /* Slightly darker gold on hover */
}

.page-resources-article-category {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
}

.page-resources-article-summary {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  margin-top: auto; /* Push button to bottom of card */
}

.page-resources-btn-primary {
  background-color: #FFD700; /* Gold primary button */
  color: #1A2B3C;
}

.page-resources-btn-primary:hover {
  background-color: #F0C400;
}

.page-resources-btn-secondary {
  background-color: #2A3C4E; /* Dark blue secondary button */
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-resources-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

.page-resources-btn-readmore {
  background-color: #FFD700;
  color: #1A2B3C;
  padding: 8px 15px;
  font-size: 0.9em;
  align-self: flex-start; /* Align button to start within card */
}

.page-resources-btn-readmore:hover {
  background-color: #F0C400;
}

.page-resources-explore-more-section {
  padding: 80px 0;
  background-color: #1A2B3C;
  text-align: center;
}

.page-resources-explore-more-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-resources-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .page-resources-cta-group {
    flex-direction: column;
  }
}

.page-resources-faq-section {
  padding: 80px 0;
  background-color: #2A3C4E; /* Dark blue background for FAQ */
}

.page-resources-faq-question {
  font-size: 1.3em;
  color: #FFD700; /* Gold for FAQ questions */
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
}

.page-resources-faq-question.active::after {
  content: '-';
}

.page-resources-faq-answer {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.6;
  margin-bottom: 25px;
  display: none; /* Hidden by default, toggled by JS */
}

.page-resources-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.page-resources-faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .page-resources-hero-title {
    font-size: 2.8em;
  }
  .page-resources-section-title {
    font-size: 2em;
  }
  .page-resources-intro-section .page-resources-flex-center {
    flex-direction: column;
  }
  .page-resources-intro-content .page-resources-section-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-resources-hero-title {
    font-size: 2.2em;
  }
  .page-resources-hero-description,
  .page-resources-section-subtitle,
  .page-resources-intro-content p,
  .page-resources-feature-list li,
  .page-resources-article-summary,
  .page-resources-explore-more-section p,
  .page-resources-faq-answer {
    font-size: 0.95em;
  }
  .page-resources-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-article-title {
    font-size: 1.3em;
    min-height: unset;
  }
  .page-resources-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-resources-hero-section,
  .page-resources-intro-section,
  .page-resources-articles-section,
  .page-resources-explore-more-section,
  .page-resources-faq-section {
    padding: 60px 0;
  }
  .page-resources-hero-title {
    font-size: 1.8em;
  }
  .page-resources-section-title {
    font-size: 1.8em;
  }
  .page-resources-cta-group {
    flex-direction: column;
    gap: 15px;
  }
}