/* Base styles for the page-khuyen-mai */
.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background: var(--deep-navy-color);
  line-height: 1.6;
}

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-khuyen-mai__section {
  padding: 60px 0;
}

.page-khuyen-mai__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  position: relative;
  padding-top: 10px; /* Aligns with shared body padding-top */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

.page-khuyen-mai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-khuyen-mai__hero-content {
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-khuyen-mai__main-title {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-khuyen-mai__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-ghost,
.page-khuyen-mai__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 67, 166, 0.4);
}

.page-khuyen-mai__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 67, 166, 0.6);
}

.page-khuyen-mai__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-khuyen-mai__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* Why Choose Us Section */
.page-khuyen-mai__why-choose-us {
  background: var(--deep-navy-color);
}

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

.page-khuyen-mai__feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-khuyen-mai__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-
}

.page-khuyen-mai__card-title {
  font-size: 24px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyen-mai__feature-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Promotion Types Section */
.page-khuyen-mai__promotion-types {
  background: var(--deep-navy-color);
}

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

.page-khuyen-mai__promo-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-title {
  font-size: 22px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyen-mai__promo-description {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-khuyen-mai__btn-ghost {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  padding: 10px 20px;
  font-size: 16px;
  align-self: flex-start;
}

.page-khuyen-mai__btn-ghost:hover {
  background: var(--gold-color);
  color: var(--deep-navy-color);
}

/* How to Claim Section */
.page-khuyen-mai__how-to-claim {
  background: var(--deep-navy-color);
}

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

.page-khuyen-mai__step-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyen-mai__step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(17, 67, 166, 0.4);
}

.page-khuyen-mai__step-title {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyen-mai__step-card p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__btn-link {
  color: var(--gold-color);
  text-decoration: underline;
  font-weight: 600;
  font-size: 16px;
  padding: 5px 0;
  align-self: center;
}

.page-khuyen-mai__btn-link:hover {
  color: var(--glow-color);
}

/* Terms & Conditions Section */
.page-khuyen-mai__terms-conditions {
  background: var(--deep-navy-color);
}

.page-khuyen-mai__article-body {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.page-khuyen-mai__article-body h2 {
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-khuyen-mai__article-body p {
  margin-bottom: 20px;
  font-size: 16px;
}

.page-khuyen-mai__terms-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-khuyen-mai__terms-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-khuyen-mai__terms-list strong {
  color: var(--text-main);
}

.page-khuyen-mai__cta-buttons--center {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  background: var(--deep-navy-color);
}

.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-khuyen-mai__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
details.page-khuyen-mai__faq-item summary.page-khuyen-mai__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;
}
details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none;
}
details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question:hover {
  background: #153059; /* Slightly lighter card background */
}
.page-khuyen-mai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-khuyen-mai__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
  padding: 0 25px 25px;
  background: #0d1e38; /* Slightly darker than card background */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Call to Action Section */
.page-khuyen-mai__call-to-action {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}

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

.page-khuyen-mai__cta-content .page-khuyen-mai__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-khuyen-mai__cta-content .page-khuyen-mai__description {
  font-size: 18px;
  color: #f0f8ff;
  margin-bottom: 40px;
}

.page-khuyen-mai__cta-content .page-khuyen-mai__btn-primary {
  background: var(--gold-color);
  color: var(--deep-navy-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-khuyen-mai__cta-content .page-khuyen-mai__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-khuyen-mai__cta-content .page-khuyen-mai__btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-khuyen-mai__cta-content .page-khuyen-mai__btn-secondary:hover {
  background: #ffffff;
  color: var(--primary-color);
}

/* Variable definitions */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-image img {
    object-fit: cover;
    height: 500px;
  }

  .page-khuyen-mai__feature-card,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card {
    padding: 25px;
  }

  .page-khuyen-mai__card-title,
  .page-khuyen-mai__promo-title,
  .page-khuyen-mai__step-title {
    font-size: 20px;
  }

  .page-khuyen-mai__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-khuyen-mai__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Reset aspect ratio for containment */
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 15px;
  }
  .page-khuyen-mai__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin-left: auto;
    margin-right: auto;
  }
  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 (General content grid for this page) */
  .page-khuyen-mai__content-grid,
  .page-khuyen-mai__promotion-grid,
  .page-khuyen-mai__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    overflow-x: hidden;
  }
  .page-khuyen-mai__feature-card,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card {
    padding: 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-khuyen-mai__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }
  .page-khuyen-mai__article-body {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__article-body p,
  .page-khuyen-mai__terms-list li {
    font-size: 15px;
  }
  .page-khuyen-mai__terms-list {
    margin-left: 20px;
  }

  /* 通用图片与容器 */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__section,
  .page-khuyen-mai__container,
  .page-khuyen-mai__feature-card,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card,
  .page-khuyen-mai__cta-buttons,
  .page-khuyen-mai__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-khuyen-mai__section {
    padding: 40px 0;
  }

  /* 按钮与按钮容器 */
  .page-khuyen-mai__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
  }
  .page-khuyen-mai__btn-ghost {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    align-self: center;
  }
  .page-khuyen-mai__btn-link {
    font-size: 15px;
  }

  /* FAQ */
  details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question { padding: 15px; }
  .page-khuyen-mai__faq-qtext { font-size: 16px; }
  .page-khuyen-mai__faq-toggle { font-size: 24px; width: 24px; margin-left: 10px; }
  details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer { padding: 0 15px 15px; }

  .page-khuyen-mai__call-to-action {
    padding: 50px 0;
  }
  .page-khuyen-mai__cta-content .page-khuyen-mai__description {
    font-size: 16px;
  }
}