.page-resources {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-resources .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources .hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-resources .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources .hero-description a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources .hero-description a:hover {
  color: #e6c200;
}

.page-resources .hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources .cta-button.primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources .cta-button.primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .cta-button.secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources .cta-button.secondary:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-resources section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-resources .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-resources .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-resources .section-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-resources .section-intro a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-resources .section-intro a:hover {
  color: var(--primary-color);
}

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

.page-resources .card, .page-resources .strategy-item, .page-resources .info-card, .page-resources .news-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px 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 .card:hover, .page-resources .strategy-item:hover, .page-resources .info-card:hover, .page-resources .news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources .card-image, .page-resources .strategy-image, .page-resources .info-image, .page-resources .news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources .card-content, .page-resources .strategy-content, .page-resources .info-content, .page-resources .news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .card-title, .page-resources .strategy-title, .page-resources .info-title, .page-resources .news-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--secondary-color);
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-resources .card-title a, .page-resources .strategy-title a, .page-resources .info-title a, .page-resources .news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .card-title a:hover, .page-resources .strategy-title a:hover, .page-resources .info-title a:hover, .page-resources .news-title a:hover {
  color: var(--primary-color);
}

.page-resources .card-description, .page-resources .strategy-description, .page-resources .info-description, .page-resources .news-summary {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources .card-description a, .page-resources .strategy-description a, .page-resources .info-description a, .page-resources .news-summary a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-resources .card-description a:hover, .page-resources .strategy-description a:hover, .page-resources .info-description a:hover, .page-resources .news-summary a:hover {
  color: var(--primary-color);
}

.page-resources .read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources .read-more:hover {
  color: var(--secondary-color);
}

.page-resources .news-date {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 10px;
}

/* FAQ Section Specific Styles */
.page-resources .faq-section {
  background-color: var(--bg-light);
}

.page-resources .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.faq-answer p {
  margin-top: 0;
  margin-bottom: 20px;
  padding-top: 10px;
}

.faq-answer p a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.faq-answer p a:hover {
  color: var(--primary-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed to fit content */
  padding: 15px 25px 25px;
  border-top: 1px solid #eee;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources .hero-title {
    font-size: 2.8em;
  }
  .page-resources .hero-description {
    font-size: 1.2em;
  }
  .page-resources .section-title {
    font-size: 2.2em;
  }
  .page-resources .card-title, .page-resources .strategy-title, .page-resources .info-title, .page-resources .news-title {
    font-size: 1.3em;
  }
  .page-resources .card-image, .page-resources .strategy-image, .page-resources .info-image, .page-resources .news-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 60px 0;
  }
  .page-resources .hero-title {
    font-size: 2.2em;
  }
  .page-resources .hero-description {
    font-size: 1em;
  }
  .page-resources .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources .cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .section-intro {
    font-size: 0.95em;
  }
  .page-resources .guide-cards, .page-resources .strategy-grid, .page-resources .info-grid, .page-resources .news-grid {
    grid-template-columns: 1fr;
  }
  .page-resources .card-content, .page-resources .strategy-content, .page-resources .info-content, .page-resources .news-content {
    padding: 20px;
  }
  .page-resources .card-title, .page-resources .strategy-title, .page-resources .info-title, .page-resources .news-title {
    font-size: 1.2em;
    min-height: auto;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-title {
    font-size: 1.8em;
  }
  .page-resources .hero-description {
    font-size: 0.9em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .section-title {
    font-size: 1.6em;
  }
  .page-resources .section-intro {
    font-size: 0.9em;
  }
  .page-resources .card-image, .page-resources .strategy-image, .page-resources .info-image, .page-resources .news-image {
    height: 150px;
  }
  .page-resources .card-content, .page-resources .strategy-content, .page-resources .info-content, .page-resources .news-content {
    padding: 15px;
  }
  .page-resources .card-title, .page-resources .strategy-title, .page-resources .info-title, .page-resources .news-title {
    font-size: 1.1em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}