.page-khuynmi {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
  line-height: 1.6;
  direction: ltr;
}

.page-khuynmi__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main body padding handled by shared.css */
  background-color: #F4F7FB;
}

.page-khuynmi__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-khuynmi__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-khuynmi__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-khuynmi__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-khuynmi__hero-description {
  font-size: 18px;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-khuynmi__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuynmi__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-khuynmi__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: none;
}

.page-khuynmi__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-khuynmi__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-khuynmi__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-khuynmi__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-khuynmi__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.3;
  color: inherit;
}

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

.page-khuynmi__section-text {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-khuynmi__dark-bg .page-khuynmi__section-text {
  color: #e0e0e0;
}

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

.page-khuynmi__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuynmi__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__promo-item-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-khuynmi__promo-item-desc {
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-khuynmi__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-khuynmi__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuynmi__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-khuynmi__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-khuynmi__card-description {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-khuynmi__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuynmi__card-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

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

.page-khuynmi__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-khuynmi__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuynmi__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-khuynmi__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-khuynmi__promo-card-desc {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-khuynmi__promo-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuynmi__promo-card-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-khuynmi__cashback-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border: 1px solid #D6E2FF;
}

.page-khuynmi__cashback-title {
  font-size: 22px;
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-khuynmi__cashback-rate {
  font-size: 18px;
  font-weight: bold;
  color: #6FA3FF;
  margin-bottom: 15px;
}

.page-khuynmi__cashback-desc {
  font-size: 16px;
  color: #1F2D3D;
}

.page-khuynmi__full-width-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-khuynmi__event-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-khuynmi__event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuynmi__event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-khuynmi__event-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-khuynmi__event-card-desc {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-khuynmi__event-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuynmi__event-card-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-khuynmi__vip-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border: 1px solid #D6E2FF;
}

.page-khuynmi__vip-item-title {
  font-size: 22px;
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-khuynmi__vip-item-desc {
  font-size: 16px;
  color: #1F2D3D;
}

.page-khuynmi__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 50px;
  max-width: 900px;
  text-align: left;
}

.page-khuynmi__terms-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #6FA3FF;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #e0e0e0;
}

.page-khuynmi__terms-list li p {
  margin: 0;
  color: #e0e0e0;
}

.page-khuynmi__terms-list li strong {
  color: #ffffff;
}

.page-khuynmi__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-khuynmi__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

details.page-khuynmi__faq-item summary.page-khuynmi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
}

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

details.page-khuynmi__faq-item summary.page-khuynmi__faq-question:hover {
  background: #F4F7FB;
}

.page-khuynmi__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-khuynmi__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-khuynmi__faq-item .page-khuynmi__faq-answer {
  padding: 0 25px 20px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: #1F2D3D;
}

.page-khuynmi__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #1F2D3D;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuynmi__hero-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }
  .page-khuynmi__hero-description {
    font-size: 17px;
  }
  .page-khuynmi__section-title {
    font-size: clamp(22px, 4vw, 36px);
  }
  .page-khuynmi__section-text {
    font-size: 16px;
  }
  .page-khuynmi__card img, .page-khuynmi__promo-card img, .page-khuynmi__event-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-khuynmi__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-khuynmi__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-khuynmi__hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-khuynmi__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-khuynmi__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-khuynmi__section {
    padding: 50px 15px;
  }
  .page-khuynmi__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 20px;
  }
  .page-khuynmi__section-text {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-khuynmi__promo-overview,
  .page-khuynmi__offer-cards,
  .page-khuynmi__promo-grid,
  .page-khuynmi__cashback-info,
  .page-khuynmi__event-cards,
  .page-khuynmi__vip-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuynmi__promo-item, .page-khuynmi__card, .page-khuynmi__promo-card, .page-khuynmi__cashback-item, .page-khuynmi__event-card, .page-khuynmi__vip-item {
    padding: 20px;
  }
  .page-khuynmi__promo-item-title, .page-khuynmi__card-title, .page-khuynmi__promo-card-title, .page-khuynmi__cashback-title, .page-khuynmi__event-card-title, .page-khuynmi__vip-item-title {
    font-size: 20px;
  }
  .page-khuynmi__card img, .page-khuynmi__promo-card img, .page-khuynmi__event-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuynmi__card-button, .page-khuynmi__promo-card-button, .page-khuynmi__event-card-button {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-khuynmi__full-width-image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuynmi__terms-list {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .page-khuynmi__terms-list li {
    padding: 15px;
  }
  .page-khuynmi__faq-list {
    margin-top: 30px;
  }
  details.page-khuynmi__faq-item summary.page-khuynmi__faq-question {
    padding: 15px;
  }
  .page-khuynmi__faq-qtext {
    font-size: 15px;
  }
  .page-khuynmi__faq-answer {
    padding: 0 15px 15px;
  }
  .page-khuynmi__faq-answer p {
    font-size: 15px;
  }
  .page-khuynmi__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-khuynmi__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .page-khuynmi__promo-overview, .page-khuynmi__offer-cards, .page-khuynmi__promo-grid, .page-khuynmi__cashback-info, .page-khuynmi__event-cards, .page-khuynmi__vip-benefits {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Contrast Fixes */
.page-khuynmi__dark-bg .page-khuynmi__promo-item-title,
.page-khuynmi__dark-bg .page-khuynmi__promo-item-desc,
.page-khuynmi__dark-bg .page-khuynmi__promo-card-title,
.page-khuynmi__dark-bg .page-khuynmi__promo-card-desc,
.page-khuynmi__dark-bg .page-khuynmi__event-card-title,
.page-khuynmi__dark-bg .page-khuynmi__event-card-desc,
.page-khuynmi__dark-bg .page-khuynmi__terms-list li p,
.page-khuynmi__dark-bg .page-khuynmi__terms-list li strong {
  color: #ffffff; /* Ensure light text on dark background */
}