/* style/resources-fb88-faq.css */
.page-resources-fb88-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF;
}

.page-resources-fb88-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-resources-fb88-faq__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

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

.page-resources-fb88-faq__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources-fb88-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-resources-fb88-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-fb88-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-fb88-faq__btn-primary,
.page-resources-fb88-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-fb88-faq__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-fb88-faq__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-fb88-faq__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-fb88-faq__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
}

.page-resources-fb88-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-fb88-faq__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-fb88-faq__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__section-title,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__paragraph,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-question h3,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer p,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer ul,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer ol,
.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer li {
  color: #ffffff;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-toggle {
  color: #ffffff;
}

.page-resources-fb88-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__section-title {
  color: #ffffff;
}

.page-resources-fb88-faq__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-fb88-faq__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__paragraph a {
  color: #ffffff;
}

.page-resources-fb88-faq__faq-list {
  margin-top: 30px;
}

.page-resources-fb88-faq__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-item {
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-fb88-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-fb88-faq__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-fb88-faq__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
}

.page-resources-fb88-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

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

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-resources-fb88-faq__faq-answer p,
.page-resources-fb88-faq__faq-answer ul,
.page-resources-fb88-faq__faq-answer ol {
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-fb88-faq__faq-answer li {
  margin-bottom: 5px;
  list-style-type: disc;
  margin-left: 20px;
  color: #333333;
}

.page-resources-fb88-faq__faq-answer ol li {
  list-style-type: decimal;
}

.page-resources-fb88-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-fb88-faq__dark-bg .page-resources-fb88-faq__faq-answer a {
  color: #ffffff;
}

.page-resources-fb88-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-fb88-faq__conclusion {
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-fb88-faq__conclusion-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-resources-fb88-faq__conclusion-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
  text-align: left;
}

.page-resources-fb88-faq__conclusion-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-fb88-faq__conclusion-list li a {
  color: #ffffff;
  text-decoration: underline;
}

.page-resources-fb88-faq__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-fb88-faq__btn-large:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-fb88-faq__hero-title {
    font-size: 2.8em;
  }

  .page-resources-fb88-faq__hero-description {
    font-size: 1.2em;
  }

  .page-resources-fb88-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-fb88-faq__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-fb88-faq__hero-title {
    font-size: 2.2em;
  }

  .page-resources-fb88-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-fb88-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-fb88-faq__btn-primary,
  .page-resources-fb88-faq__btn-secondary,
  .page-resources-fb88-faq a[class*="button"],
  .page-resources-fb88-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-fb88-faq__content-area {
    padding: 30px 15px;
  }

  .page-resources-fb88-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-fb88-faq p,
  .page-resources-fb88-faq li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-fb88-faq__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-fb88-faq__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-fb88-faq__conclusion {
    padding: 40px 15px;
  }

  .page-resources-fb88-faq__btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-resources-fb88-faq__hero-title {
    font-size: 1.8em;
  }

  .page-resources-fb88-faq__hero-description {
    font-size: 0.95em;
  }

  .page-resources-fb88-faq__section-title {
    font-size: 1.6em;
  }

  .page-resources-fb88-faq__faq-question {
    padding: 12px 15px;
  }

  .page-resources-fb88-faq__faq-answer {
    padding: 0 15px;
  }

  .page-resources-fb88-faq__faq-item.active .page-resources-fb88-faq__faq-answer {
    padding: 12px 15px;
  }
}