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

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset */
  position: relative;
  background-color: #f0f8ff; /* Light background for hero section */
  text-align: center;
  padding-bottom: 40px;
}

.page-khuyen-mai__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-khuyen-mai__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-khuyen-mai__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

.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;
  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: #1e87c0;
  border-color: #1e87c0;
}

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

.page-khuyen-mai__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-khuyen-mai__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai__article-wrap p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #333333;
}

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

.page-khuyen-mai__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

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

.page-khuyen-mai__promo-figure {
  margin: 0 0 20px 0;
  width: 100%;
}

.page-khuyen-mai__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-khuyen-mai__dark-bg {
  background-color: #26A9E0;
  color: #ffffff; /* White text for dark background */
}

.page-khuyen-mai__dark-bg .page-khuyen-mai__section-title,
.page-khuyen-mai__dark-bg .page-khuyen-mai__list-item strong {
  color: #ffffff;
}

.page-khuyen-mai__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-khuyen-mai__dark-bg .page-khuyen-mai__list {
  color: #ffffff;
}

.page-khuyen-mai__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-khuyen-mai__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-khuyen-mai__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyen-mai__step-figure {
  margin: 0 0 20px 0;
  width: 100%;
}

.page-khuyen-mai__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-khuyen-mai__step-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__faq-list {
  margin-top: 30px;
}

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

.page-khuyen-mai__faq-question {
  font-size: 1.15em;
  color: #26A9E0;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
}

.page-khuyen-mai__faq-question:hover {
  background-color: #f0f8ff;
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-khuyen-mai__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  color: #555555;
}

.page-khuyen-mai__faq-item.active .page-khuyen-mai__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 15px;
}

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

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

.page-khuyen-mai__cta-buttons--bottom {
  margin-top: 50px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Minimal top padding */
    padding-bottom: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: 2em; /* Adjusted for mobile */
    margin-bottom: 10px;
  }

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

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

  .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;
  }

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

  .page-khuyen-mai__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-khuyen-mai__article-wrap {
    padding: 0 15px;
  }

  .page-khuyen-mai__article-wrap p,
  .page-khuyen-mai__list-item {
    font-size: 0.95em;
  }

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

  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card {
    padding: 20px;
  }

  .page-khuyen-mai__promo-title,
  .page-khuyen-mai__step-title {
    font-size: 1.3em;
  }

  .page-khuyen-mai__promo-image,
  .page-khuyen-mai__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Ensure minimum size */
  }

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

  .page-khuyen-mai__faq-answer p {
    font-size: 0.9em;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-khuyen-mai__cta-buttons--bottom {
    margin-top: 30px;
  }

  /* General container adaptation for mobile */
  .page-khuyen-mai__section,
  .page-khuyen-mai__card,
  .page-khuyen-mai__container,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card,
  .page-khuyen-mai__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}