.page-resources {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles on dark background */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-resources__section-subtitle {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-resources__intro-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: #0A2463; /* Primary color background */
  color: #ffffff;
}

.page-resources__intro-section .page-resources__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-resources__intro-content {
  flex: 1;
  max-width: 60%;
}

.page-resources__intro-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources__intro-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.page-resources__intro-description strong {
  color: #FFD700;
}

.page-resources__intro-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__intro-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Guides Section */
.page-resources__guides-section {
  padding: 80px 0;
  background-color: #0A2463; /* Dark background */
  color: #ffffff;
}

.page-resources__guides-section .page-resources__section-title,
.page-resources__guides-section .page-resources__section-subtitle {
  color: #FFD700;
}

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

.page-resources__guide-card,
.page-resources__promo-card,
.page-resources__news-item {
  background: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for light background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__guide-card:hover,
.page-resources__promo-card:hover,
.page-resources__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__guide-card-image,
.page-resources__promo-card-image,
.page-resources__news-item-image {
  width: 100%;
  height: 220px; /* Fixed height for visual consistency */
  object-fit: cover;
  display: block;
}

.page-resources__guide-card-title,
.page-resources__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #0A2463;
  padding: 20px 20px 10px;
}

.page-resources__guide-card-description,
.page-resources__promo-card-description {
  font-size: 15px;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__guide-card-description a,
.page-resources__promo-card-description a {
  color: #0A2463;
  font-weight: bold;
  text-decoration: none;
}

.page-resources__guide-card-description a:hover,
.page-resources__promo-card-description a:hover {
  text-decoration: underline;
}

.page-resources__guide-card-button,
.page-resources__promo-card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: #FFD700;
  color: #000000;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources__guide-card-button:hover,
.page-resources__promo-card-button:hover {
  background-color: #FFA500;
}

/* Platform Guide Section */
.page-resources__platform-guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources__platform-guide-section .page-resources__section-title {
  color: #FFD700;
}

.page-resources__content-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  margin-top: 40px;
}

.page-resources__content-text {
  flex: 2;
}

.page-resources__content-text h3 {
  font-size: 24px;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-resources__content-text h3 a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__content-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-resources__content-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Promotions Section */
.page-resources__promotions-section {
  padding: 80px 0;
  background-color: #0A2463; /* Dark background */
  color: #ffffff;
}

.page-resources__promotions-section .page-resources__section-title,
.page-resources__promotions-section .page-resources__section-subtitle {
  color: #FFD700;
}

/* News Section */
.page-resources__news-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources__news-section .page-resources__section-title {
  color: #FFD700;
}

.page-resources__news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-resources__news-item {
  flex-direction: row;
  align-items: center;
  padding: 20px;
}

.page-resources__news-item-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-resources__news-item-content {
  flex-grow: 1;
}

.page-resources__news-item-title {
  font-size: 22px;
  font-weight: bold;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-resources__news-item-title a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__news-item-summary {
  font-size: 15px;
  color: #555555;
  margin-bottom: 10px;
}

.page-resources__news-item-date {
  font-size: 14px;
  color: #888888;
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 80px 0;
  background-color: #0A2463; /* Dark background */
  color: #ffffff;
}

.page-resources__faq-section .page-resources__section-title,
.page-resources__faq-section .page-resources__section-subtitle {
  color: #FFD700;
}

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

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for light FAQ answer background */
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources__faq-question:active {
  background: #eeeeee;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #0A2463; /* Dark text for FAQ question */
}

.page-resources__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__intro-section .page-resources__container {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__intro-content {
    max-width: 100%;
  }
  .page-resources__intro-image-wrapper {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-resources__content-block {
    flex-direction: column;
    padding: 30px;
  }
  .page-resources__content-image-wrapper {
    margin-top: 30px;
  }
  .page-resources__news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-resources__news-item-image {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-resources__intro-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__intro-title {
    font-size: 36px;
  }
  .page-resources__intro-description {
    font-size: 16px;
  }
  .page-resources__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-resources__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-resources__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-resources__grid-container {
    grid-template-columns: 1fr;
  }
  .page-resources__guide-card-image,
  .page-resources__promo-card-image {
    height: 180px;
  }
  .page-resources__guide-card-title,
  .page-resources__promo-card-title,
  .page-resources__news-item-title {
    font-size: 20px;
  }
  .page-resources__guide-card-description,
  .page-resources__promo-card-description,
  .page-resources__news-item-summary {
    font-size: 14px;
  }
  .page-resources__content-block {
    padding: 20px;
  }
  .page-resources__content-text h3 {
    font-size: 20px;
  }
  .page-resources__content-text p {
    font-size: 15px;
  }
  .page-resources__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources__faq-question h3 {
    font-size: 15px;
    width: calc(100% - 40px);
  }
  .page-resources__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources__faq-answer {
    padding: 0 15px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px !important;
  }

  /* Mobile responsive image handling */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__intro-section,
  .page-resources__guides-section,
  .page-resources__platform-guide-section,
  .page-resources__promotions-section,
  .page-resources__news-section,
  .page-resources__faq-section,
  .page-resources__guide-card,
  .page-resources__promo-card,
  .page-resources__news-item,
  .page-resources__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* General card/section contrast */
.page-resources__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources__dark-bg {
  background: #0A2463;
  color: #ffffff;
}