/* style/resources-fun88-login-faq.css */

/* Base styles for the page content */
.page-resources-fun88-login-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default background */
}

.page-resources-fun88-login-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-fun88-login-faq__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources-fun88-login-faq__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 169, 224, 0.7); /* Overlay for readability */
  z-index: 1;
}

.page-resources-fun88-login-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-resources-fun88-login-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;
  color: #ffffff;
}

.page-resources-fun88-login-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  z-index: 2;
  position: relative;
  color: #ffffff;
}

.page-resources-fun88-login-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
}

/* General Content Area */
.page-resources-fun88-login-faq__content-area {
  padding: 60px 0;
}

.page-resources-fun88-login-faq__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-resources-fun88-login-faq__sub-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-fun88-login-faq__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-resources-fun88-login-faq__unordered-list,
.page-resources-fun88-login-faq__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-fun88-login-faq__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-fun88-login-faq__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-fun88-login-faq__text-link:hover {
  text-decoration: underline;
}

/* Buttons */
.page-resources-fun88-login-faq__btn-primary,
.page-resources-fun88-login-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-fun88-login-faq__btn-primary {
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-fun88-login-faq__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

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

.page-resources-fun88-login-faq__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-fun88-login-faq__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Image Styling */
.page-resources-fun88-login-faq__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-resources-fun88-login-faq__faq-list {
  margin-top: 40px;
}

.page-resources-fun88-login-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-fun88-login-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #26A9E0;
  font-weight: bold;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-fun88-login-faq__faq-question:hover {
  background-color: #f0f8ff;
}

.page-resources-fun88-login-faq__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

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

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

.page-resources-fun88-login-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: #f9f9f9;
  color: #333333;
}

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

/* Dark background sections */
.page-resources-fun88-login-faq__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-fun88-login-faq__dark-bg .page-resources-fun88-login-faq__hero-title,
.page-resources-fun88-login-faq__dark-bg .page-resources-fun88-login-faq__hero-description {
  color: #ffffff;
}

/* Light background sections */
.page-resources-fun88-login-faq__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-fun88-login-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-fun88-login-faq__container {
    padding: 0 15px;
  }

  .page-resources-fun88-login-faq__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    min-height: 400px;
  }

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

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

  .page-resources-fun88-login-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }

  .page-resources-fun88-login-faq__btn-primary,
  .page-resources-fun88-login-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: 10px 15px;
  }

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

  .page-resources-fun88-login-faq__sub-title {
    font-size: 1.3em;
  }

  .page-resources-fun88-login-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

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

  .page-resources-fun88-login-faq__faq-title {
    font-size: 1em;
  }

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

  .page-resources-fun88-login-faq__faq-item.active .page-resources-fun88-login-faq__faq-answer {
    padding: 10px 15px;
  }
}

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

  .page-resources-fun88-login-faq__hero-description {
    font-size: 0.9em;
  }

  .page-resources-fun88-login-faq__section-title {
    font-size: 1.5em;
  }

  .page-resources-fun88-login-faq__sub-title {
    font-size: 1.1em;
  }
}