.page-resources-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--dark-bg-1); /* Inherited from shared, which is dark */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-resources-faq__hero-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF; /* White text for contrast */
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-resources-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-faq__btn-primary,
.page-resources-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  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.1);
}

.page-resources-faq__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-resources-faq__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

.page-resources-faq__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #26A9E0;
}

.page-resources-faq__btn-secondary:hover {
  background-color: #e0f7fa;
  color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-resources-faq__video-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.page-resources-faq__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-faq__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-faq__video-caption {
  font-size: 1.1em;
  color: #555;
  margin-top: 20px;
}

.page-resources-faq__content-area {
  background-color: #FFFFFF;
  padding: 60px 0;
  color: #333333; /* Dark text on white background */
}

.page-resources-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-faq__sub-title {
  font-size: 1.8em;
  color: #000000; /* Black for strong contrast */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-faq__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-faq__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #333333;
}

.page-resources-faq__list--ordered {
  list-style: decimal inside;
}

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

.page-resources-faq__image-block {
  text-align: center;
  margin: 40px 0;
}

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

.page-resources-faq__cta-buttons--bottom {
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-resources-faq__faq-section {
  background-color: #26A9E0; /* Primary brand color */
  padding: 60px 0;
  color: #FFFFFF; /* White text for contrast */
}

.page-resources-faq__faq-section .page-resources-faq__section-title {
  color: #FFFFFF;
}

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

.page-resources-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-faq__faq-item.active .page-resources-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-resources-faq__faq-item.active .page-resources-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-resources-faq__faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-faq__hero-title {
    font-size: 2.8em;
  }
  .page-resources-faq__section-title {
    font-size: 2.2em;
  }
  .page-resources-faq__sub-title {
    font-size: 1.6em;
  }
  .page-resources-faq__text-block,
  .page-resources-faq__list-item,
  .page-resources-faq__faq-question,
  .page-resources-faq__faq-answer p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-faq {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
  }
  .page-resources-faq__hero-section {
    padding: 80px 15px;
  }
  .page-resources-faq__hero-title {
    font-size: 2.2em;
  }
  .page-resources-faq__hero-description {
    font-size: 1em;
  }
  .page-resources-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-faq__btn-primary,
  .page-resources-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-faq__video-section,
  .page-resources-faq__content-area,
  .page-resources-faq__faq-section {
    padding: 40px 0;
  }
  .page-resources-faq__container {
    padding: 0 15px;
  }
  .page-resources-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-faq__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-resources-faq__image-block {
    margin: 30px 0;
  }
  .page-resources-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-faq__video-wrapper {
    margin: 20px auto;
  }
  .page-resources-faq video,
  .page-resources-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-faq__video-section,
  .page-resources-faq__video-container,
  .page-resources-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-resources-faq__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-faq__faq-answer {
    padding: 0 15px;
  }
  .page-resources-faq__faq-item.active .page-resources-faq__faq-answer {
    padding: 15px;
  }
}