/* style/blog-m88bet-official-website-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-m88bet-official-website-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Hero Section */
.page-blog-m88bet-official-website-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure sufficient height */
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a; /* Match body background */
}

.page-blog-m88bet-official-website-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog-m88bet-official-website-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-blog-m88bet-official-website-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-blog-m88bet-official-website-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-m88bet-official-website-guide__hero-description {
  font-size: 1.15rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-blog-m88bet-official-website-guide__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-m88bet-official-website-guide__btn-primary,
.page-blog-m88bet-official-website-guide__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-m88bet-official-website-guide__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-m88bet-official-website-guide__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-blog-m88bet-official-website-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-blog-m88bet-official-website-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Specific button for login/register if needed */
.page-blog-m88bet-official-website-guide__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-m88bet-official-website-guide__btn-login:hover {
  background-color: #c96806;
  border-color: #c96806;
}

/* General Section Styles */
.page-blog-m88bet-official-website-guide__section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-blog-m88bet-official-website-guide__section:nth-child(even) {
  background-color: #1a1a1a; /* Slightly lighter dark for alternating sections */
}

.page-blog-m88bet-official-website-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.page-blog-m88bet-official-website-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-blog-m88bet-official-website-guide__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-blog-m88bet-official-website-guide__paragraph {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-m88bet-official-website-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-m88bet-official-website-guide__ordered-list,
.page-blog-m88bet-official-website-guide__unordered-list {
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-m88bet-official-website-guide__ordered-list li,
.page-blog-m88bet-official-website-guide__unordered-list li {
  margin-bottom: 10px;
}

.page-blog-m88bet-official-website-guide__ordered-list strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-blog-m88bet-official-website-guide__faq-list {
  margin-top: 30px;
}

.page-blog-m88bet-official-website-guide__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-m88bet-official-website-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #26A9E0; /* Brand color for question */
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-m88bet-official-website-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-blog-m88bet-official-website-guide__faq-question:hover {
  background-color: #1e87b7;
}

.page-blog-m88bet-official-website-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-m88bet-official-website-guide__faq-item[open] .page-blog-m88bet-official-website-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-m88bet-official-website-guide__faq-answer {
  padding: 20px 25px;
  background-color: #0a0a0a;
  color: #f0f0f0;
  font-size: 1rem;
}

.page-blog-m88bet-official-website-guide__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-blog-m88bet-official-website-guide__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-m88bet-official-website-guide__hero-content {
    padding: 15px;
  }

  .page-blog-m88bet-official-website-guide__main-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }

  .page-blog-m88bet-official-website-guide__hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-blog-m88bet-official-website-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-m88bet-official-website-guide__hero-section {
    min-height: 450px;
    padding: 10px 15px 40px;
  }

  .page-blog-m88bet-official-website-guide__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Adjust H1 for smaller screens */
    margin-bottom: 15px;
  }

  .page-blog-m88bet-official-website-guide__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-blog-m88bet-official-website-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-m88bet-official-website-guide__btn-primary,
  .page-blog-m88bet-official-website-guide__btn-secondary,
  .page-blog-m88bet-official-website-guide__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-blog-m88bet-official-website-guide__section {
    padding: 40px 15px;
  }

  .page-blog-m88bet-official-website-guide__section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-blog-m88bet-official-website-guide__sub-title {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-m88bet-official-website-guide__image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all image containers are responsive */
  .page-blog-m88bet-official-website-guide__section,
  .page-blog-m88bet-official-website-guide__card,
  .page-blog-m88bet-official-website-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile styles */
  .page-blog-m88bet-official-website-guide__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-m88bet-official-website-guide__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-blog-m88bet-official-website-guide__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-blog-m88bet-official-website-guide__hero-section {
    min-height: 380px;
  }

  .page-blog-m88bet-official-website-guide__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-blog-m88bet-official-website-guide__hero-description {
    font-size: 0.9rem;
  }

  .page-blog-m88bet-official-website-guide__btn-primary,
  .page-blog-m88bet-official-website-guide__btn-secondary {
    padding: 10px 15px;
  }
}