/* style/resources-loto188-faq.css */
.page-resources-loto188-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d0d0d; /* Inherited from body */
}

.page-resources-loto188-faq__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

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

.page-resources-loto188-faq__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-loto188-faq__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.page-resources-loto188-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-loto188-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-loto188-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0d0d0d; /* Dark background for content area */
  color: #ffffff;
}

.page-resources-loto188-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-resources-loto188-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-resources-loto188-faq__faq-item {
  background-color: #1a1a1a; /* Slightly lighter dark for card background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-loto188-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000080; /* Dark blue for question header */
  color: #ffffff;
  font-size: 1.15em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-loto188-faq__faq-question:hover {
  background-color: #0000a0; /* Slightly lighter blue on hover */
}

.page-resources-loto188-faq__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1em;
}

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

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

.page-resources-loto188-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-loto188-faq__faq-item.active .page-resources-loto188-faq__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 25px !important;
}

.page-resources-loto188-faq__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-loto188-faq__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 15px;
  display: block;
}

.page-resources-loto188-faq__cta-section {
  background-color: #000080; /* Dark blue background for CTA */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources-loto188-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-loto188-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-loto188-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-resources-loto188-faq__btn-primary,
.page-resources-loto188-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-loto188-faq__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Ensure contrast with gold background */
  border: 2px solid #FFD700;
}

.page-resources-loto188-faq__btn-primary:hover {
  background-color: #e6c200;
  color: #000060;
}

.page-resources-loto188-faq__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-loto188-faq__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Ensure contrast */
}

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

@media (max-width: 768px) {
  .page-resources-loto188-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-loto188-faq__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-loto188-faq__hero-title {
    font-size: 2.2em;
  }
  .page-resources-loto188-faq__hero-description {
    font-size: 1em;
  }
  .page-resources-loto188-faq__content-area {
    padding: 40px 15px;
  }
  .page-resources-loto188-faq__section-title {
    font-size: 2em;
  }
  .page-resources-loto188-faq__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }
  .page-resources-loto188-faq__faq-answer {
    padding: 20px !important;
  }
  .page-resources-loto188-faq__faq-answer p {
    font-size: 0.95em;
  }
  .page-resources-loto188-faq__cta-section {
    padding: 60px 15px;
  }
  .page-resources-loto188-faq__cta-title {
    font-size: 2em;
  }
  .page-resources-loto188-faq__cta-description {
    font-size: 1em;
  }
  .page-resources-loto188-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-loto188-faq__btn-primary,
  .page-resources-loto188-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Image and Video responsiveness */
  .page-resources-loto188-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-loto188-faq__section,
  .page-resources-loto188-faq__card,
  .page-resources-loto188-faq__container,
  .page-resources-loto188-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-loto188-faq video,
  .page-resources-loto188-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-loto188-faq__video-section,
  .page-resources-loto188-faq__video-container,
  .page-resources-loto188-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-loto188-faq__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section also respects header offset */
  }
}