.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy, matching body background */
}

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

.page-khuyen-mai__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-khuyen-mai__text-block {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-khuyen-mai__highlight {
  color: #F2C14E; /* Gold */
  font-weight: 600;
}

.page-khuyen-mai a {
  color: #1D5FD1; /* Auxiliary Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai a:hover {
  color: #4FA8FF; /* Glow */
}

/* Buttons */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: none;
}

.page-khuyen-mai__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-khuyen-mai__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1; /* Auxiliary Color */
}

.page-khuyen-mai__btn-secondary:hover {
  background: #1D5FD1;
  color: #F3F8FF;
  transform: translateY(-2px);
}

.page-khuyen-mai__card-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF;
  border: none;
  margin-top: auto; /* Push button to bottom */
}

.page-khuyen-mai__card-button:hover {
  filter: brightness(1.1);
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  background-color: #08162B; /* Deep Navy */
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

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

.page-khuyen-mai__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(16, 35, 63, 0.7); /* Card BG with opacity */
  border-radius: 15px;
  margin-top: 150px; /* Ensure content is below hero image */
  margin-bottom: 50px;
}

.page-khuyen-mai__main-title {
  font-size: clamp(32px, 4.5vw, 48px);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-khuyen-mai__description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-khuyen-mai__intro-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

/* Promo Types Section */
.page-khuyen-mai__promo-types-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-khuyen-mai__promo-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-khuyen-mai__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyen-mai__card-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-khuyen-mai__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-khuyen-mai__guide-steps {
  flex: 1;
}

.page-khuyen-mai__guide-steps ol {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-khuyen-mai__guide-steps li {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: 50px;
}

.page-khuyen-mai__guide-steps li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.page-khuyen-mai__guide-step-title {
  font-size: 20px;
  color: #F2C14E; /* Gold */
  margin-bottom: 5px;
  margin-top: 0;
}

.page-khuyen-mai__guide-steps p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin: 0;
}

.page-khuyen-mai__guide-image {
  flex: 1;
  text-align: center;
}

.page-khuyen-mai__guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-khuyen-mai__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Terms Section */
.page-khuyen-mai__terms-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

.page-khuyen-mai__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Why Choose Section */
.page-khuyen-mai__why-choose-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-khuyen-mai__advantages-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-khuyen-mai__advantages-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.page-khuyen-mai__list-icon {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
}

.page-khuyen-mai__advantages-list p {
  margin: 0;
  font-size: 17px;
  color: #F3F8FF; /* Text Main */
}

.page-khuyen-mai__advantages-list p strong {
  color: #F2C14E; /* Gold */
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

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

details.page-khuyen-mai__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}

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;
  color: #F3F8FF; /* Text Main */
}

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: #1B3357; /* Divider */
}

.page-khuyen-mai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}

.page-khuyen-mai__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
}

/* --- Responsive Styles --- */
/* Mobile specific styles for all sections */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-content {
    margin-top: 100px;
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(28px, 4vw, 40px);
  }
  .page-khuyen-mai__description {
    font-size: 16px;
  }
  .page-khuyen-mai__section-title {
    font-size: 32px;
  }
  .page-khuyen-mai__promo-card {
    min-height: 420px;
  }
  .page-khuyen-mai__guide-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-khuyen-mai__guide-steps {
    padding-left: 0;
  }
  .page-khuyen-mai__guide-steps li {
    padding-left: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .page-khuyen-mai__guide-steps li::before {
    position: static;
    margin-bottom: 10px;
  }
  .page-khuyen-mai__guide-step-title {
    text-align: center;
  }
  .page-khuyen-mai__guide-steps p {
    text-align: center;
  }
  .page-khuyen-mai__guide-image img {
    max-width: 80%;
  }
  .page-khuyen-mai__advantages-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-khuyen-mai__list-icon {
    margin-bottom: 10px;
  }
}

@media (max-width: 849px) {
  .page-khuyen-mai__hero-image img {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-khuyen-mai__container {
    padding: 15px;
  }
  /* HERO 主图区域 */
  .page-khuyen-mai__hero-section {
    padding-top: 10px; /* Approximately 10px top padding */
    min-height: 400px;
  }
  .page-khuyen-mai__hero-content {
    margin-top: 80px;
    padding: 20px;
    border-radius: 10px;
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-khuyen-mai__description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* 按钮与按钮容器 */
  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary,
  .page-khuyen-mai__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-khuyen-mai__section-title {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 30px;
  }

  /* 产品展示图区域 (Promo Cards) */
  .page-khuyen-mai__promo-types-section {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuyen-mai__promo-card {
    min-height: auto;
    padding: 20px;
  }
  .page-khuyen-mai__promo-card img {
    
  }
  .page-khuyen-mai__card-title {
    font-size: 20px;
  }
  .page-khuyen-mai__card-description {
    font-size: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-khuyen-mai__intro-section, 
  .page-khuyen-mai__terms-section, 
  .page-khuyen-mai__why-choose-section, 
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__guide-section {
    padding: 40px 0;
  }
  .page-khuyen-mai__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-khuyen-mai__article-body {
    font-size: 15px;
  }

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

  .page-khuyen-mai__guide-content {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .page-khuyen-mai__guide-steps li {
    padding-left: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-khuyen-mai__guide-steps li::before {
    position: static;
    margin-bottom: 10px;
  }
  .page-khuyen-mai__guide-step-title {
    font-size: 18px;
  }
  .page-khuyen-mai__guide-steps p {
    font-size: 15px;
  }
  .page-khuyen-mai__guide-image img {
    max-width: 90%;
  }

  .page-khuyen-mai__advantages-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .page-khuyen-mai__list-icon {
    font-size: 20px;
  }
  .page-khuyen-mai__advantages-list p {
    font-size: 16px;
  }

  .page-khuyen-mai__faq-qtext {
    font-size: 16px;
  }
  details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question {
    padding: 15px;
  }
  .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;
    font-size: 15px;
  }
}