/* style/blog-how-to-play-qibet.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-blog-how-to-play-qibet {
  background-color: #08160F; /* Màu nền chính từ custom palette */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-how-to-play-qibet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-how-to-play-qibet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Nhỏ gọn, không sử dụng var(--header-offset) */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #08160F; /* Đảm bảo nền tối cho hero */
}

.page-blog-how-to-play-qibet__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Giới hạn chiều cao của ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-how-to-play-qibet__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-how-to-play-qibet__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  box-sizing: border-box;
}

.page-blog-how-to-play-qibet__main-title {
  font-weight: bold;
  color: #F2FFF6;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  /* Không đặt font-size cố định quá lớn, dùng responsive clamp nếu cần */
}

.page-blog-how-to-play-qibet__intro-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog-how-to-play-qibet__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-how-to-play-qibet__sub-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-how-to-play-qibet__text-block p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-blog-how-to-play-qibet__list {
  list-style: disc inside;
  color: #A7D9B8;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-how-to-play-qibet__ordered-list {
  list-style: decimal inside;
  color: #A7D9B8;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-how-to-play-qibet__list-highlight {
  color: #F2FFF6;
}

.page-blog-how-to-play-qibet__content-area {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
  color: #F2FFF6;
}

.page-blog-how-to-play-qibet__section {
  background-color: #08160F; /* Background */
  padding: 60px 0;
  color: #F2FFF6;
}

.page-blog-how-to-play-qibet__section-spacing {
  margin-top: 40px;
}

.page-blog-how-to-play-qibet__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-blog-how-to-play-qibet__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-how-to-play-qibet__image-full-width {
  width: 100%;
  margin-bottom: 40px;
}

.page-blog-how-to-play-qibet__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-blog-how-to-play-qibet__btn-primary,
.page-blog-how-to-play-qibet__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-play-qibet__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-blog-how-to-play-qibet__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-how-to-play-qibet__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog-how-to-play-qibet__btn-secondary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-blog-how-to-play-qibet__button-spacing {
  margin-top: 20px;
  margin-right: 15px;
}

/* FAQ Section */
.page-blog-how-to-play-qibet__faq-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
}

.page-blog-how-to-play-qibet__faq-list {
  margin-top: 30px;
}

.page-blog-how-to-play-qibet__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-blog-how-to-play-qibet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-blog-how-to-play-qibet__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-play-qibet__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-blog-how-to-play-qibet__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.0em;
  color: #A7D9B8;
}

.page-blog-how-to-play-qibet__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-blog-how-to-play-qibet__cta-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
  text-align: center;
}

.page-blog-how-to-play-qibet__cta-container {
  max-width: 900px;
}

.page-blog-how-to-play-qibet__cta-title {
  font-size: 2.8em;
  color: #F2FFF6;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-blog-how-to-play-qibet__cta-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-play-qibet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-how-to-play-qibet__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-blog-how-to-play-qibet__image-wrapper {
    order: -1; /* Đẩy ảnh lên trên trong bố cục lưới */
  }
  .page-blog-how-to-play-qibet__main-title {
    font-size: clamp(2em, 5vw, 3em); /* Sử dụng clamp cho tiêu đề chính */
  }
  .page-blog-how-to-play-qibet__section-title {
    font-size: 2em;
  }
  .page-blog-how-to-play-qibet__sub-title {
    font-size: 1.5em;
  }
  .page-blog-how-to-play-qibet__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-play-qibet__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-how-to-play-qibet__hero-content {
    padding: 20px;
  }
  .page-blog-how-to-play-qibet__main-title {
    font-size: 1.8em !important; /* Đảm bảo không quá lớn trên di động */
  }
  .page-blog-how-to-play-qibet__intro-text,
  .page-blog-how-to-play-qibet__cta-description {
    font-size: 1em;
  }
  .page-blog-how-to-play-qibet__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-how-to-play-qibet__sub-title {
    font-size: 1.3em;
  }
  .page-blog-how-to-play-qibet__content-area,
  .page-blog-how-to-play-qibet__section,
  .page-blog-how-to-play-qibet__faq-section,
  .page-blog-how-to-play-qibet__cta-section {
    padding: 30px 0;
  }
  .page-blog-how-to-play-qibet__container {
    padding: 0 15px;
  }

  /* Responsive images */
  .page-blog-how-to-play-qibet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-how-to-play-qibet__image-wrapper,
  .page-blog-how-to-play-qibet__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Responsive buttons */
  .page-blog-how-to-play-qibet__btn-primary,
  .page-blog-how-to-play-qibet__btn-secondary,
  .page-blog-how-to-play-qibet a[class*="button"],
  .page-blog-how-to-play-qibet a[class*="btn"] {
    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;
    text-align: center;
  }
  .page-blog-how-to-play-qibet__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-how-to-play-qibet__button-spacing {
    margin-right: 0;
  }

  .page-blog-how-to-play-qibet__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-blog-how-to-play-qibet__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-how-to-play-qibet__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-blog-how-to-play-qibet__hero-content {
    padding: 15px;
  }
  .page-blog-how-to-play-qibet__main-title {
    font-size: 1.6em !important;
  }
  .page-blog-how-to-play-qibet__section-title {
    font-size: 1.6em;
  }
  .page-blog-how-to-play-qibet__sub-title {
    font-size: 1.2em;
  }
  .page-blog-how-to-play-qibet__cta-title {
    font-size: 1.6em;
  }
}