.page-blog-online-betting-faq {
  color: #ffffff; /* Body background is dark, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Ensure main content area respects body background */
}

/* Hero Section */
.page-blog-online-betting-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-online-betting-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-blog-online-betting-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.4); /* Darken image for text readability, not changing color hue */
}

.page-blog-online-betting-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-online-betting-faq__main-title {
  color: #FFFF00; /* Use custom color for title, good contrast on dark bg */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 100%; /* Ensure H1 doesn't overflow */
  font-size: clamp(1.8em, 4vw + 1rem, 3em); /* Using clamp for responsive font size */
}

.page-blog-online-betting-faq__description {
  color: #ffffff;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-blog-online-betting-faq__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-blog-online-betting-faq__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-online-betting-faq__btn-primary:hover {
  background-color: #9e0606;
  transform: translateY(-2px);
}

.page-blog-online-betting-faq__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color for text */
  border: 2px solid #017439;
}

.page-blog-online-betting-faq__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Content Area */
.page-blog-online-betting-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content area */
  color: #ffffff; /* Light text for dark background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-blog-online-betting-faq__section-title {
  color: #FFFF00; /* Title color */
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #017439;
  padding-bottom: 15px;
}

.page-blog-online-betting-faq__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* FAQ List */
.page-blog-online-betting-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog-online-betting-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff; /* Light text */
}

.page-blog-online-betting-faq__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #017439; /* Brand primary color for summary background */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-blog-online-betting-faq__faq-item summary:hover {
  background-color: #005f2f;
}

.page-blog-online-betting-faq__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-online-betting-faq__faq-qtext {
  flex-grow: 1;
}

.page-blog-online-betting-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-online-betting-faq__faq-item[open] .page-blog-online-betting-faq__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-blog-online-betting-faq__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter semi-transparent for answer */
  font-size: 1em;
  color: #e0e0e0;
}

.page-blog-online-betting-faq__faq-answer p {
  margin-bottom: 1em;
}

.page-blog-online-betting-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-blog-online-betting-faq__faq-answer li {
  margin-bottom: 0.5em;
}

.page-blog-online-betting-faq__text-link {
  color: #FFFF00; /* Custom link color for contrast */
  text-decoration: underline;
}

.page-blog-online-betting-faq__text-link:hover {
  color: #017439; /* Hover to brand green */
}

.page-blog-online-betting-faq__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* CTA Section at bottom */
.page-blog-online-betting-faq__cta-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-online-betting-faq__cta-title {
  color: #FFFF00; /* Custom title color */
  font-size: 2em;
  margin-bottom: 20px;
}

.page-blog-online-betting-faq__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-online-betting-faq__cta-buttons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-online-betting-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-online-betting-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-online-betting-faq__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-online-betting-faq__hero-content {
    padding: 15px;
  }

  .page-blog-online-betting-faq__main-title {
    /* clamp handles responsiveness */
    margin-bottom: 15px;
  }

  .page-blog-online-betting-faq__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-online-betting-faq__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin: 5px 0;
  }

  .page-blog-online-betting-faq__cta-buttons-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-online-betting-faq__content-area,
  .page-blog-online-betting-faq__cta-section {
    padding: 30px 15px;
  }

  .page-blog-online-betting-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-blog-online-betting-faq__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog-online-betting-faq__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-online-betting-faq__faq-answer {
    padding: 15px 20px;
  }

  .page-blog-online-betting-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-online-betting-faq__section,
  .page-blog-online-betting-faq__card,
  .page-blog-online-betting-faq__container,
  .page-blog-online-betting-faq__hero-section,
  .page-blog-online-betting-faq__content-area,
  .page-blog-online-betting-faq__cta-section,
  .page-blog-online-betting-faq__faq-list,
  .page-blog-online-betting-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-online-betting-faq__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-blog-online-betting-faq__section-title {
    font-size: 1.6em;
  }
  .page-blog-online-betting-faq__faq-item summary {
    font-size: 0.95em;
  }
}