/* style/blog-how-to-choose-best-hi99-games.css */
/* 
  Body background color: #1a1a2e (dark)
  Text color for main content areas should be light (#ffffff) to ensure contrast.
*/

.page-blog-how-to-choose-best-hi99-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body handles background, this page content floats on it */
}

.page-blog-how-to-choose-best-hi99-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-to-choose-best-hi99-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #1a1a2e; /* Ensure dark background for hero section */
}

.page-blog-how-to-choose-best-hi99-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-how-to-choose-best-hi99-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: #ffffff;
}

.page-blog-how-to-choose-best-hi99-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-how-to-choose-best-hi99-games__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Sections */
.page-blog-how-to-choose-best-hi99-games__content-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff; /* Light text for contrast */
}

.page-blog-how-to-choose-best-hi99-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0; /* Brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-how-to-choose-best-hi99-games__section-title--light {
  color: #ffffff; /* For titles on dark backgrounds, ensure light text */
}

.page-blog-how-to-choose-best-hi99-games__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #ffffff; /* Light text for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-how-to-choose-best-hi99-games p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Slightly off-white for paragraphs */
}

.page-blog-how-to-choose-best-hi99-games__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-how-to-choose-best-hi99-games__list li {
  margin-bottom: 10px;
}

.page-blog-how-to-choose-best-hi99-games__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.page-blog-how-to-choose-best-hi99-games__btn-primary,
.page-blog-how-to-choose-best-hi99-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-how-to-choose-best-hi99-games__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-how-to-choose-best-hi99-games__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-blog-how-to-choose-best-hi99-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-how-to-choose-best-hi99-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-how-to-choose-best-hi99-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-how-to-choose-best-hi99-games__faq-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

.page-blog-how-to-choose-best-hi99-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-how-to-choose-best-hi99-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-how-to-choose-best-hi99-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-choose-best-hi99-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-choose-best-hi99-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle */
}

.page-blog-how-to-choose-best-hi99-games__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #f0f0f0;
}

.page-blog-how-to-choose-best-hi99-games__faq-item[open] .page-blog-how-to-choose-best-hi99-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 25px;
}

.page-blog-how-to-choose-best-hi99-games__faq-item[open] .page-blog-how-to-choose-best-hi99-games__faq-question {
  border-bottom: none;
}

/* For details/summary elements to remove default marker */
.page-blog-how-to-choose-best-hi99-games__faq-item summary {
  list-style: none;
}
.page-blog-how-to-choose-best-hi99-games__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-how-to-choose-best-hi99-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-how-to-choose-best-hi99-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
  }

  .page-blog-how-to-choose-best-hi99-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-best-hi99-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-how-to-choose-best-hi99-games__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-best-hi99-games__content-section,
  .page-blog-how-to-choose-best-hi99-games__faq-section {
    padding: 40px 0;
  }

  .page-blog-how-to-choose-best-hi99-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-how-to-choose-best-hi99-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-how-to-choose-best-hi99-games__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-how-to-choose-best-hi99-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important; /* Ensure padding/border don't cause overflow */
  }

  .page-blog-how-to-choose-best-hi99-games__cta-button,
  .page-blog-how-to-choose-best-hi99-games__btn-primary,
  .page-blog-how-to-choose-best-hi99-games__btn-secondary,
  .page-blog-how-to-choose-best-hi99-games a[class*="button"],
  .page-blog-how-to-choose-best-hi99-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Full width for buttons on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-how-to-choose-best-hi99-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-how-to-choose-best-hi99-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-how-to-choose-best-hi99-games__faq-answer {
    padding: 0 20px;
  }

  .page-blog-how-to-choose-best-hi99-games__faq-item[open] .page-blog-how-to-choose-best-hi99-games__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Specific mobile video/image container adjustments */
  .page-blog-how-to-choose-best-hi99-games__video-section,
  .page-blog-how-to-choose-best-hi99-games__video-container,
  .page-blog-how-to-choose-best-hi99-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-how-to-choose-best-hi99-games__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
}