.page-khuynmi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: transparent; /* Body background handled by shared.css #B71C1C */
}

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

.page-khuynmi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-khuynmi__dark-bg {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-khuynmi__section-title {
  font-size: 3em;
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.2;
}

.page-khuynmi__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

/* Hero Section */
.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, body handles header offset */
  overflow: hidden;
}

.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 {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 12px;
}

.page-khuynmi__hero-image 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-content h1 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-khuynmi__hero-content p {
  font-size: 1.2em;
  color: #FFF5E1;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-khuynmi__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

.page-khuynmi__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

/* Quick Links */
.page-khuynmi__quick-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-khuynmi__quick-link-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #C91F17;
}

.page-khuynmi__quick-link-button:hover {
  background-color: #C91F17; /* Main color */
  transform: translateY(-2px);
}

/* Promotions Grid */
.page-khuynmi__promotions-grid {
  background-color: #B71C1C;
}

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

.page-khuynmi__promo-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
}

.page-khuynmi__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-khuynmi__promo-card img {
  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.6em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-khuynmi__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #C91F17;
  margin-top: auto; /* Pushes button to bottom of card */
}

.page-khuynmi__btn-secondary:hover {
  background-color: #C91F17; /* Main color */
  transform: translateY(-2px);
}

/* How To Claim Section */
.page-khuynmi__how-to-claim {
  background-color: #C91F17;
}

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

.page-khuynmi__step-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #F2B544; /* Border */
}

.page-khuynmi__step-icon {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544;
}

.page-khuynmi__step-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-khuynmi__step-text {
  font-size: 1em;
  color: #FFF5E1;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-khuynmi__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #F2B544; /* Border */
  margin-top: auto;
}

.page-khuynmi__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-khuynmi__image-center {
  text-align: center;
  margin-top: 40px;
}

.page-khuynmi__image-center img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Terms & Conditions Section */
.page-khuynmi__terms-conditions {
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-khuynmi__terms-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid #F2B544; /* Border */
  color: #FFF5E1;
}

/* FAQ Section */
.page-khuynmi__faq-section {
  background-color: #C91F17;
}

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

details.page-khuynmi__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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: #E53935;
}

.page-khuynmi__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #F4D34D; /* Gold */
}

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

details.page-khuynmi__faq-item .page-khuynmi__faq-answer {
  padding: 0 20px 20px;
  background: #C91F17; /* Main color */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
  font-size: 1em;
}

/* Latest News/Blog */
.page-khuynmi__latest-news {
  background-color: #B71C1C;
}

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

.page-khuynmi__news-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
}

.page-khuynmi__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-khuynmi__news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-khuynmi__news-card .page-khuynmi__card-content {
  padding: 20px;
}

.page-khuynmi__news-card .page-khuynmi__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
  text-align: left;
}

.page-khuynmi__news-card .page-khuynmi__card-title a {
  color: #F4D34D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuynmi__news-card .page-khuynmi__card-title a:hover {
  color: #FFD86A;
}

.page-khuynmi__card-date {
  font-size: 0.9em;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
  text-align: left;
}

.page-khuynmi__news-card .page-khuynmi__card-text {
  font-size: 0.95em;
  color: #FFF5E1;
  text-align: left;
  flex-grow: 1;
}

.page-khuynmi__card-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFCC66; /* Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: auto;
  text-align: left;
}

.page-khuynmi__card-link:hover {
  color: #FFF5E1;
}

.page-khuynmi__button-container {
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuynmi__section-title {
    font-size: 2.5em;
  }
  .page-khuynmi__hero-content h1 {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-khuynmi__section {
    padding: 40px 15px;
  }
  .page-khuynmi__container {
    padding: 0 10px;
  }
  .page-khuynmi__section-title {
    font-size: 2em;
  }
  .page-khuynmi__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .page-khuynmi__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-khuynmi__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-khuynmi__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuynmi__hero-content h1 {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-khuynmi__hero-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-khuynmi__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Quick Links Mobile */
  .page-khuynmi__quick-links-container {
    flex-direction: column;
    gap: 15px;
  }
  .page-khuynmi__quick-link-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Grid Mobile */
  .page-khuynmi__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuynmi__promo-card img {
    height: 200px;
  }
  .page-khuynmi__card-title {
    font-size: 1.4em;
  }
  .page-khuynmi__card-text {
    font-size: 0.9em;
  }
  .page-khuynmi__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Steps Mobile */
  .page-khuynmi__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuynmi__step-item {
    padding: 25px;
  }
  .page-khuynmi__step-title {
    font-size: 1.3em;
  }
  .page-khuynmi__step-text {
    font-size: 0.9em;
  }
  .page-khuynmi__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-khuynmi__image-center img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Terms List Mobile */
  .page-khuynmi__terms-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  /* FAQ Mobile */
  details.page-khuynmi__faq-item summary.page-khuynmi__faq-question {
    padding: 15px;
  }
  .page-khuynmi__faq-qtext {
    font-size: 1em;
  }
  .page-khuynmi__faq-toggle {
    font-size: 20px;
  }
  details.page-khuynmi__faq-item .page-khuynmi__faq-answer {
    padding: 0 15px 15px;
  }

  /* News Grid Mobile */
  .page-khuynmi__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuynmi__news-card img {
    
  }
  .page-khuynmi__news-card .page-khuynmi__card-title {
    font-size: 1.2em;
  }
  .page-khuynmi__news-card .page-khuynmi__card-text {
    font-size: 0.85em;
  }
  .page-khuynmi__button-container .page-khuynmi__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* Global image responsiveness for content area */
.page-khuynmi img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are not smaller than 200px display size */
.page-khuynmi__hero-image img,
.page-khuynmi__promo-card img,
.page-khuynmi__image-center img,
.page-khuynmi__news-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile specific overrides for images and containers */
@media (max-width: 768px) {
  .page-khuynmi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuynmi__section,
  .page-khuynmi__card,
  .page-khuynmi__container,
  .page-khuynmi__promo-card,
  .page-khuynmi__step-item,
  .page-khuynmi__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-khuynmi__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
  }
  .page-khuynmi__quick-links-container,
  .page-khuynmi__button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 15px;
  }
}