.page-khuynmi {
  color: #ffffff; /* Dark body background #1a1a2e, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body */
}

.page-khuynmi__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e, #26A9E0);
  overflow: hidden;
}

.page-khuynmi__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-khuynmi__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Ensure content is above any background effects */
}

.page-khuynmi__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-khuynmi__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-khuynmi__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-khuynmi__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-khuynmi__btn-primary:hover {
  background: #1e87c0;
  transform: translateY(-2px);
}

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

.page-khuynmi__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-khuynmi__section {
  padding: 60px 20px;
  text-align: center;
}

.page-khuynmi__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  margin-bottom: 30px;
  color: #26A9E0;
  font-weight: bold;
}

.page-khuynmi__dark-bg .page-khuynmi__section-title {
  color: #ffffff;
}

.page-khuynmi__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuynmi__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-khuynmi__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-khuynmi__dark-bg .page-khuynmi__highlight {
  color: #ffffff;
}

.page-khuynmi__why-choose .page-khuynmi__section-title,
.page-khuynmi__how-to-claim .page-khuynmi__section-title,
.page-khuynmi__terms-conditions .page-khuynmi__section-title,
.page-khuynmi__faq-section .page-khuynmi__section-title,
.page-khuynmi__conclusion .page-khuynmi__section-title {
  color: #ffffff; /* Ensure titles are white on dark background */
}

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

.page-khuynmi__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-khuynmi__feature-item p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-khuynmi__promotion-types {
  background: #1a1a2e;
}

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

.page-khuynmi__card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuynmi__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-khuynmi__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #26A9E0;
  min-height: 50px;
}

.page-khuynmi__card p {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuynmi__card a {
  align-self: flex-start;
}

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

.page-khuynmi__step-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-khuynmi__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-khuynmi__step-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-khuynmi__step-card p {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-khuynmi__terms-conditions {
  background: #1a1a2e;
}

.page-khuynmi__conditions-list {
  list-style-type: disc;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 40px;
  padding-left: 20px;
  color: #f0f0f0;
}

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

.page-khuynmi__list-item strong {
  color: #26A9E0;
}

.page-khuynmi__faq-section {
  background: #1a1a2e;
}

.page-khuynmi__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-khuynmi__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.page-khuynmi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  list-style: none; /* For details/summary */
  outline: none; /* Remove default focus outline */
}

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

.page-khuynmi__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-khuynmi__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-khuynmi__faq-item[open] .page-khuynmi__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-khuynmi__faq-answer {
  padding: 0 20px 15px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-khuynmi__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-khuynmi__conclusion {
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
  padding-bottom: 80px;
}

.page-khuynmi__conclusion .page-khuynmi__section-title {
  color: #ffffff;
}

.page-khuynmi__conclusion .page-khuynmi__text-block {
  color: #f0f0f0;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-khuynmi {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-khuynmi__hero-section,
  .page-khuynmi__section {
    padding: 30px 15px;
  }

  .page-khuynmi__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-khuynmi__main-title {
    font-size: 2.2em;
  }

  .page-khuynmi__hero-description,
  .page-khuynmi__text-block,
  .page-khuynmi__feature-item p,
  .page-khuynmi__card p,
  .page-khuynmi__step-card p,
  .page-khuynmi__list-item,
  .page-khuynmi__faq-answer p {
    font-size: 1em;
  }

  .page-khuynmi__cta-button,
  .page-khuynmi__btn-primary,
  .page-khuynmi__btn-secondary,
  .page-khuynmi a[class*="button"],
  .page-khuynmi 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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-khuynmi__hero-content .page-khuynmi__cta-button {
    margin-left: auto;
    margin-right: auto;
  }

  .page-khuynmi__cta-buttons,
  .page-khuynmi__button-group,
  .page-khuynmi__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: center;
  }

  .page-khuynmi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-khuynmi__hero-image-wrapper,
  .page-khuynmi__feature-item,
  .page-khuynmi__card,
  .page-khuynmi__step-card,
  .page-khuynmi__faq-item,
  .page-khuynmi__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-khuynmi__feature-item,
  .page-khuynmi__card,
  .page-khuynmi__step-card {
    padding: 20px 15px;
  }

  .page-khuynmi__features-list,
  .page-khuynmi__promotion-cards,
  .page-khuynmi__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuynmi__card-image,
  .page-khuynmi__step-image {
    height: auto;
    max-height: 250px; /* Cap height to prevent excessively tall images */
  }

  .page-khuynmi__conditions-list,
  .page-khuynmi__faq-list {
    padding-left: 0;
  }

  .page-khuynmi__faq-question,
  .page-khuynmi__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuynmi__faq-item[open] .page-khuynmi__faq-toggle {
    transform: rotate(45deg) !important;
  }
}