.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-khuyen-mai__top-section {
  padding-top: 10px; /* Adjusted for header offset, using small top padding */
  padding-bottom: 40px;
  background-color: #f5f5f5;
  text-align: center;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-khuyen-mai__btn {
  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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  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: #1e87c0;
  border-color: #1e87c0;
}

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

.page-khuyen-mai__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-khuyen-mai__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-khuyen-mai__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-khuyen-mai__section {
  padding: 60px 0;
}

.page-khuyen-mai__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-khuyen-mai__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-khuyen-mai__text-block {
  font-size: 1.05em;
  color: #444444;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-khuyen-mai__why-h88 .page-khuyen-mai__text-block {
  margin-bottom: 60px;
}

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

.page-khuyen-mai__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-khuyen-mai__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-khuyen-mai__feature-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-khuyen-mai__feature-text {
  color: #555555;
  font-size: 0.95em;
}

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

.page-khuyen-mai__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

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

.page-khuyen-mai__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-khuyen-mai__promo-description {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-khuyen-mai__how-to-claim .page-khuyen-mai__text-block {
  margin-bottom: 60px;
}

.page-khuyen-mai__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai__step-item {
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyen-mai__step-number {
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-khuyen-mai__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-khuyen-mai__step-description {
  color: #555555;
  font-size: 0.95em;
}

.page-khuyen-mai__center-cta {
  text-align: center;
  margin-top: 50px;
}

.page-khuyen-mai__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-khuyen-mai__terms-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #444444;
  font-size: 1em;
  line-height: 1.5;
  position: relative;
  padding-left: 35px;
}

.page-khuyen-mai__terms-item::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 14px;
}

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

.page-khuyen-mai__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* Remove default marker for <summary> */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  transform: rotate(45deg);
}

.page-khuyen-mai__faq-answer {
  padding: 0 20px 15px 20px;
  color: #555555;
  font-size: 1em;
  line-height: 1.5;
}

.page-khuyen-mai__faq-answer p {
  margin: 0;
}

.page-khuyen-mai__final-cta .page-khuyen-mai__center-content {
  padding: 40px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 10px;
  text-align: center;
}

.page-khuyen-mai__final-cta .page-khuyen-mai__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-khuyen-mai__final-cta .page-khuyen-mai__text-block {
  color: #ffffff;
  margin-bottom: 30px;
}

/* Ensure all images are responsive */
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__container {
    padding: 0 15px;
  }

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

  .page-khuyen-mai__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

  .page-khuyen-mai__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }

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

  .page-khuyen-mai__promo-image {
    height: 220px;
  }

  .page-khuyen-mai__steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-khuyen-mai__top-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-khuyen-mai__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  /* 2. 单栏长文容器 */
  .page-khuyen-mai__section {
    padding: 30px 0;
  }

  .page-khuyen-mai__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuyen-mai__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-khuyen-mai__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-khuyen-mai__feature-item,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-item,
  .page-khuyen-mai__terms-item,
  .page-khuyen-mai__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-khuyen-mai__promo-image {
    height: 180px;
  }

  /* 4. 按钮与按钮容器 */
  .page-khuyen-mai__btn-container,
  .page-khuyen-mai__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure buttons stack vertically */
  }

  /* 5. FAQ 区块 */
  .page-khuyen-mai__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

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

  .page-khuyen-mai__final-cta .page-khuyen-mai__center-content {
    padding: 30px 15px;
  }
}