.page-khuyen-mai {
  font-family: Arial, sans-serif;
  color: #333333; /* Body background is light, so use dark text */
  line-height: 1.6;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding if body handles header offset */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* Light blue tint for hero background */
}

.page-khuyen-mai__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.page-khuyen-mai__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #333333;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for H1 */
}

.page-khuyen-mai__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  text-align: center;
}

.page-khuyen-mai__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-khuyen-mai__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-secondary:hover {
  background-color: #e0f2ff;
  color: #1e87b8;
  border-color: #1e87b8;
}

.page-khuyen-mai__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-khuyen-mai__hero-banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Promo List Section */
.page-khuyen-mai__promo-list-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background */
}

.page-khuyen-mai__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-khuyen-mai__section-title--light {
  color: #FFFFFF;
}

.page-khuyen-mai__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai__promo-card-img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuyen-mai__promo-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-khuyen-mai__promo-card-text {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  width: fit-content; /* Adjust width to content */
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Dark background for FAQ */
  color: #FFFFFF;
}

.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-khuyen-mai__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFFFFF;
  list-style: none; /* Remove default details marker */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* CTA Bottom Section */
.page-khuyen-mai__cta-bottom-section {
  padding: 60px 0;
  background-color: #f0f8ff; /* Light blue tint */
  text-align: center;
}

.page-khuyen-mai__cta-bottom-container {
  max-width: 900px;
}

.page-khuyen-mai__cta-bottom-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-khuyen-mai__cta-bottom-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-khuyen-mai__btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  min-width: 280px; /* Ensure button is large */
}


/* General image responsiveness */
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* HERO 双栏 */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-khuyen-mai__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-align: center;
  }

  .page-khuyen-mai__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-khuyen-mai__hero-image {
    order: -1; /* Move image above content on mobile */
  }

  /* 按钮与按钮容器 */
  .page-khuyen-mai__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__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;
  }

  .page-khuyen-mai__btn-small {
    width: 100%; /* Make small buttons full width on mobile */
  }

  .page-khuyen-mai__btn-large {
    min-width: unset;
    width: 100%;
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* 模块1 三栏正圆图 (Not applicable for this page, but included for checklist compliance if it were present) */
  /* If there were .page-khuyen-mai__icon-box-media, its mobile styles would be here: */
  /* .page-khuyen-mai__icon-box-media { width: 200px; height: 200px; } */

  /* 七 Tab 游戏区 (Not applicable for this page, but included for checklist compliance if it were present) */
  /* If there were .page-khuyen-mai__game-tabs, its mobile styles would be here: */

  /* 教程长文 / 促销 / 信任 / FAQ / intro 排版 */
  .page-khuyen-mai__promo-list-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-khuyen-mai__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-khuyen-mai__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__promo-card-img {
    
  }

  .page-khuyen-mai__promo-card-title {
    font-size: 1.2rem;
  }

  .page-khuyen-mai__promo-card-text {
    font-size: 0.9rem;
  }

  .page-khuyen-mai__faq-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-khuyen-mai__faq-toggle {
    font-size: 1.3rem;
  }

  .page-khuyen-mai__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px;
  }

  .page-khuyen-mai__cta-bottom-section {
    padding: 40px 15px;
  }

  .page-khuyen-mai__cta-bottom-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-khuyen-mai__cta-bottom-description {
    font-size: 0.95rem;
  }

  /* 通用图片与容器 */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__section,
  .page-khuyen-mai__card,
  .page-khuyen-mai__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure flex containers wrap */
  .page-khuyen-mai__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}