.page-khuynmi {
  font-family: Arial, sans-serif;
  color: #FFF1E8;
  background-color: #140C0C;
  line-height: 1.6;
  padding-bottom: 30px; /* Add some padding at the bottom */
}

.page-khuynmi__hero-section {
  padding-top: 10px;
  position: relative;
  text-align: center;
  background-color: #2A1212;
  margin-bottom: 30px;
  overflow: hidden;
}

.page-khuynmi__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-khuynmi__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* 1920x600 */
  object-fit: cover;
  object-position: center;
}

.page-khuynmi__hero-content {
  padding: 20px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-khuynmi__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: #F3C54D;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuynmi__intro-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF1E8;
}

.page-khuynmi__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-khuynmi__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-khuynmi__promotions-section,
.page-khuynmi__how-to-claim-section,
.page-khuynmi__faq-section {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.page-khuynmi__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-khuynmi__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E53030;
  border-radius: 2px;
}

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

.page-khuynmi__promotion-card {
  background-color: #2A1212;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E;
}

.page-khuynmi__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-khuynmi__promotion-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no grayscale */
  aspect-ratio: 4/3; /* Consistent aspect ratio for images */
}

.page-khuynmi__card-content {
  padding: 25px;
  text-align: center;
}

.page-khuynmi__card-title {
  font-size: 1.4rem;
  color: #F3C54D;
  margin-bottom: 10px;
  min-height: 60px; /* Ensure consistent height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-khuynmi__card-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  min-height: 80px; /* Ensure consistent height for descriptions */
}

.page-khuynmi__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.page-khuynmi__card-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

.page-khuynmi__how-to-claim-section {
  margin-top: 60px;
}

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

.page-khuynmi__step-item {
  background-color: #2A1212;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #6A1E1E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #E53030;
  color: #FFF1E8;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(229, 48, 48, 0.5);
}

.page-khuynmi__step-title {
  font-size: 1.3rem;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-khuynmi__step-description {
  font-size: 0.95rem;
  color: #FFF1E8;
}

.page-khuynmi__claim-promo-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-khuynmi__claim-promo-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-khuynmi__faq-section {
  margin-top: 60px;
}

.page-khuynmi__faq-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__faq-question {
  font-size: 1.15rem;
  color: #F3C54D;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-khuynmi__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-khuynmi__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-khuynmi__faq-answer {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-top: 15px;
  display: none; /* Hidden by default */
}

.page-khuynmi__faq-answer.active {
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-khuynmi__hero-content {
    padding: 15px;
  }

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

  .page-khuynmi__intro-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .page-khuynmi__cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .page-khuynmi__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 30px;
  }

  .page-khuynmi__promotions-grid,
  .page-khuynmi__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-khuynmi__promotion-card img {
    height: 200px; /* Adjust height for smaller screens */
    max-width: 100%;
    height: auto;
  }

  .page-khuynmi__card-title {
    font-size: 1.2rem;
    min-height: auto;
  }

  .page-khuynmi__card-description {
    font-size: 0.9rem;
    min-height: auto;
  }

  .page-khuynmi__claim-promo-button {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

  .page-khuynmi__faq-question {
    font-size: 1.05rem;
  }

  .page-khuynmi__faq-answer {
    font-size: 0.9rem;
  }
}

@media (max-width: 549px) {
  .page-khuynmi__promotions-section, .page-khuynmi__how-to-claim-section, .page-khuynmi__faq-section {
    padding: 0 15px;
  }
}

/* Ensure all content images in .page-khuynmi are responsive and not too small */
.page-khuynmi img:not(.page-khuynmi__hero-banner img) {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Minimum width for content images */
  min-height: 200px; /* Minimum height for content images */
}

@media (max-width: 768px) {
  .page-khuynmi img {
    max-width: 100% !important;
    height: auto !important;
  }
}