/* style/khuynmi.css */
.page-khuynmi {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-khuynmi__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-khuynmi__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Consistent with shared body padding, small top margin for hero */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-khuynmi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-khuynmi__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color, for highlight */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-khuynmi__intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-khuynmi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-khuynmi__btn-primary,
.page-khuynmi__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-khuynmi__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-khuynmi__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-khuynmi__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #FFD36B; /* Glow color */
}

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

.page-khuynmi__btn-large {
  min-width: 220px;
}

.page-khuynmi__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-khuynmi__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-khuynmi__section-description {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6; /* Text Main */
}

.page-khuynmi__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-khuynmi__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuynmi__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-khuynmi__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-khuynmi__promo-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-khuynmi__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-khuynmi__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-khuynmi__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
}

.page-khuynmi__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
}

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

.page-khuynmi__terms-item {
  background-color: #111111; /* Card BG */
  border-left: 4px solid #F2C14E; /* Primary color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__terms-item strong {
  color: #FFD36B; /* Glow color */
}

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

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

.page-khuynmi__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E; /* Primary color */
  background-color: #1a1a1a;
  border-bottom: 1px solid #3A2A12; /* Border */
  transition: background-color 0.3s ease;
}

.page-khuynmi__faq-item summary:hover {
  background-color: #222222;
}

.page-khuynmi__faq-item[open] summary {
  background-color: #222222;
  color: #FFD36B; /* Glow color when open */
}

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

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

.page-khuynmi__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-khuynmi__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF6D6; /* Text Main */
  background-color: #111111; /* Card BG */
}

.page-khuynmi__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-khuynmi__benefits-item {
  background-color: #111111; /* Card BG */
  border-left: 4px solid #FFD36B; /* Glow color */
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__benefits-item strong {
  color: #F2C14E; /* Primary color */
}

.page-khuynmi__cta-bottom-section {
  text-align: center;
  padding: 60px 20px;
}

.page-khuynmi__copyright-section {
  padding: 30px 20px;
  text-align: center;
  background-color: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12; /* Border */
}

.page-khuynmi__copyright-text {
  font-size: 0.9rem;
  color: #FFF6D6; /* Text Main */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-khuynmi__content-area {
    padding: 30px 15px;
  }

  .page-khuynmi__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-khuynmi__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

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

  .page-khuynmi__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .page-khuynmi__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-khuynmi__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-khuynmi__hero-image {
    margin-bottom: 15px;
  }

  .page-khuynmi__hero-content {
    padding: 0 15px;
  }

  .page-khuynmi__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-khuynmi__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-khuynmi__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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: 12px 20px !important;
    font-size: 1rem !important;
  }

  /* 产品展示图区域 */
  .page-khuynmi__promotions-grid {
    grid-template-columns: 1fr !important; /* Single column for promo cards */
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuynmi__promo-card {
    padding: 20px !important;
  }

  .page-khuynmi__promo-image {
    height: 160px !important;
  }

  .page-khuynmi__promo-title {
    font-size: 1.3rem !important;
  }

  .page-khuynmi__promo-description {
    font-size: 0.9rem !important;
  }

  /* 通用图片与容器 */
  .page-khuynmi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-khuynmi__section,
  .page-khuynmi__card,
  .page-khuynmi__container,
  .page-khuynmi__overview-section,
  .page-khuynmi__promotions-grid-section,
  .page-khuynmi__guide-section,
  .page-khuynmi__terms-section,
  .page-khuynmi__faq-section,
  .page-khuynmi__benefits-section,
  .page-khuynmi__cta-bottom-section,
  .page-khuynmi__copyright-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuynmi__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-khuynmi__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-khuynmi__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-khuynmi__step-item {
    padding: 25px !important;
  }

  .page-khuynmi__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

  .page-khuynmi__step-title {
    font-size: 1.2rem;
  }

  .page-khuynmi__terms-item {
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .page-khuynmi__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-khuynmi__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .page-khuynmi__benefits-item {
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .page-khuynmi__cta-bottom-section {
    padding: 40px 15px;
  }

  .page-khuynmi__copyright-section {
    padding: 20px 15px;
  }

  .page-khuynmi__copyright-text {
    font-size: 0.85rem;
  }
}