/* Base styles for dark background */
.page-blog-cac-cau-hoi-thuong-gap-7ball {
  background-color: #0A0A0A; /* Background color from custom scheme */
  color: #FFF6D6; /* Text Main color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-blog-cac-cau-hoi-thuong-gap-7ball__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow color for title */
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-primary,
.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

/* FAQ Section */
.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-section {
  background-color: #ffffff; /* Light background for FAQ content */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #0A0A0A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__section-description {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.15em;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  user-select: none;
  list-style: none;
  position: relative;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-item[open] .page-blog-cac-cau-hoi-thuong-gap-7ball__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #f9f9f9;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-answer p {
  margin-bottom: 10px;
  color: #555555;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__faq-answer .page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary {
  margin-top: 15px;
  padding: 8px 15px;
  font-size: 0.9em;
  display: inline-block;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons--inline {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-start;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons--inline .page-blog-cac-cau-hoi-thuong-gap-7ball__btn-primary,
.page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons--inline .page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary {
  max-width: none;
  flex-grow: 1;
  text-align: center;
}

/* Contact CTA Section */
.page-blog-cac-cau-hoi-thuong-gap-7ball__contact-cta {
  background-color: #111111; /* Card BG color */
  padding: 60px 0;
  text-align: center;
  color: #FFF6D6;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__contact-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-cac-cau-hoi-thuong-gap-7ball__contact-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

/* General image responsiveness */
.page-blog-cac-cau-hoi-thuong-gap-7ball img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-cac-cau-hoi-thuong-gap-7ball {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-blog-cac-cau-hoi-thuong-gap-7ball__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__btn-primary,
  .page-blog-cac-cau-hoi-thuong-gap-7ball__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Section */
  .page-blog-cac-cau-hoi-thuong-gap-7ball__faq-section {
    padding: 40px 0;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 15px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons--inline {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  /* Contact CTA Section */
  .page-blog-cac-cau-hoi-thuong-gap-7ball__contact-cta {
    padding: 40px 0;
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__contact-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-blog-cac-cau-hoi-thuong-gap-7ball__contact-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General image and container responsiveness */
  .page-blog-cac-cau-hoi-thuong-gap-7ball img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-cac-cau-hoi-thuong-gap-7ball__section,
  .page-blog-cac-cau-hoi-thuong-gap-7ball__card,
  .page-blog-cac-cau-hoi-thuong-gap-7ball__container,
  .page-blog-cac-cau-hoi-thuong-gap-7ball__hero-image-wrapper,
  .page-blog-cac-cau-hoi-thuong-gap-7ball__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}