.page-khuynmi {
  padding-top: 10px; /* Small top padding to respect shared header offset */
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-khuynmi__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
}

.page-khuynmi__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
}

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

.page-khuynmi__hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-khuynmi__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #FFF1E8;
  margin-bottom: 20px;
  max-width: 100%; /* Ensures it doesn't overflow on small screens */
}

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

.page-khuynmi__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

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

.page-khuynmi__promotions-grid {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-khuynmi__section-title {
  font-size: 2.5em;
  color: #F3C54D;
  margin-bottom: 40px;
  text-align: center;
}

.page-khuynmi__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

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

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

.page-khuynmi__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-khuynmi__card-title {
  font-size: 1.5em;
  color: #F3C54D;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-khuynmi__card-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 150px;
}

.page-khuynmi__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(255, 176, 74, 0.3);
}

.page-khuynmi__cta-section {
  background-color: #2A1212;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-khuynmi__cta-content {
  max-width: 800px;
}

.page-khuynmi__cta-title {
  font-size: 2.2em;
  color: #F3C54D;
  margin-bottom: 20px;
}

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

.page-khuynmi__cta-image-wrapper {
  width: 100%;
  max-width: 900px; /* Constrain width for larger screens */
}

.page-khuynmi__cta-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-khuynmi__main-title {
    font-size: 2em;
  }
  .page-khuynmi__hero-description {
    font-size: 1em;
  }
  .page-khuynmi__section-title,
  .page-khuynmi__cta-title {
    font-size: 2em;
  }
  .page-khuynmi__grid-container {
    grid-template-columns: 1fr;
  }
  .page-khuynmi__card-image {
    height: 200px;
  }
  .page-khuynmi__card-title {
    font-size: 1.3em;
  }
  .page-khuynmi__cta-image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .page-khuynmi__hero-image,
  .page-khuynmi__card-image,
  .page-khuynmi__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-khuynmi__main-title {
    font-size: 1.8em;
  }
  .page-khuynmi__section-title,
  .page-khuynmi__cta-title {
    font-size: 1.8em;
  }
  .page-khuynmi__cta-button,
  .page-khuynmi__card-button {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}