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

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

.page-resources__hero-section {
  position: relative;
  padding: 100px 20px 60px; /* Adjusted padding for hero section */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources__intro-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-resources__video-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-resources__video-caption {
  font-size: 1.1em;
  color: #ccc;
}

.page-resources__content-area {
  background-color: #0a0a0a; /* Dark background for content */
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-resources__article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources__section-title,
.page-resources__article-heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources__sub-heading {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources__article p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-resources__article strong {
  color: #26A9E0;
}

.page-resources__article em {
  font-style: italic;
  color: #a0dfff;
}

.page-resources__article-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources__faq-qtext {
  color: #ffffff;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-resources__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__cta-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__main-title {
    font-size: 2.8em;
  }
  .page-resources__section-title,
  .page-resources__article-heading {
    font-size: 2em;
  }
  .page-resources__sub-heading {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources__container,
  .page-resources__article,
  .page-resources__faq-list,
  .page-resources__cta-buttons {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources__hero-section {
    padding: 80px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-resources__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources__intro-description,
  .page-resources__cta-text,
  .page-resources__article p,
  .page-resources__list-item,
  .page-resources__faq-answer {
    font-size: 1em;
  }

  .page-resources__section-title,
  .page-resources__article-heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources__sub-heading {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-resources img,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources__video-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .page-resources__content-area,
  .page-resources__cta-section {
    padding: 40px 0;
  }

  .page-resources__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__main-title {
    font-size: 1.8em;
  }
  .page-resources__section-title,
  .page-resources__article-heading {
    font-size: 1.6em;
  }
  .page-resources__sub-heading {
    font-size: 1.2em;
  }
}