.page-khuyen-mai {
  color: #333333;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  max-width: 1600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyen-mai *,
.page-khuyen-mai *::before,
.page-khuyen-mai *::after {
  box-sizing: border-box;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  background: #10233F;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 10px 0;
}

.page-khuyen-mai__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1020/300;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-khuyen-mai__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 28px 16px 36px;
}

.page-khuyen-mai__hero-title {
  color: #F3F8FF;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.page-khuyen-mai__hero-desc {
  color: #AFC4E8;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 22px;
}

.page-khuyen-mai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.page-khuyen-mai__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-color: #4FA8FF;
  box-shadow: 0 4px 18px rgba(43, 115, 246, 0.35);
}

.page-khuyen-mai__btn--secondary {
  background: transparent;
  color: #F3F8FF;
  border-color: #244D84;
}

.page-khuyen-mai__btn--ghost {
  background: rgba(16, 35, 63, 0.4);
  color: #F3F8FF;
  border-color: #244D84;
}

.page-khuyen-mai__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 168, 255, 0.45);
}

/* Promo Section */
.page-khuyen-mai__promo-section {
  background: #08162B;
  padding: 48px 20px;
}

.page-khuyen-mai__intro {
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}

.page-khuyen-mai__intro p {
  color: #AFC4E8;
  font-size: 1rem;
  line-height: 1.75;
  margin: 12px auto 0;
  max-width: 720px;
}

.page-khuyen-mai__section-title {
  color: #F3F8FF;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(79, 168, 255, 0.25);
}

.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1300px;
  margin: 0 auto;
}

.page-khuyen-mai__promo-card {
  background: #10233F;
  border-radius: 18px;
  border: 1px solid #1B3357;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2, 12, 35, 0.65);
}

.page-khuyen-mai__promo-media {
  width: 100%;
}

.page-khuyen-mai__promo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 800/400;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__promo-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-khuyen-mai__promo-tag {
  align-self: flex-start;
  background: linear-gradient(90deg, #1D5FD1, #4FA8FF);
  color: #F3F8FF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.page-khuyen-mai__promo-title {
  color: #F3F8FF;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}

.page-khuyen-mai__promo-body p {
  color: #AFC4E8;
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0 0 10px;
  flex-grow: 1;
}

.page-khuyen-mai__promo-meta {
  font-size: 0.82rem;
  color: #AFC4E8;
  border-top: 1px solid #244D84;
  padding-top: 10px;
  margin: 8px 0 16px;
}

.page-khuyen-mai__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid #4FA8FF;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.page-khuyen-mai__button:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(79, 168, 255, 0.5);
  transform: translateY(-1px);
}

/* Blog section */
.page-khuyen-mai__blog-section {
  padding: 50px 20px;
  background: #f8fafc;
}

.page-khuyen-mai__blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}

.page-khuyen-mai__blog-header .page-khuyen-mai__section-title {
  color: #10233F;
  text-shadow: none;
}

.page-khuyen-mai__link {
  color: #1D5FD1;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-khuyen-mai__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1250px;
  margin: 0 auto;
}

.page-khuyen-mai__blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(2, 20, 49, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #e5edf8;
  transition: all 0.25s ease;
}

.page-khuyen-mai__blog-card:hover {
  box-shadow: 0 10px 26px rgba(17, 59, 122, 0.12);
  transform: translateY(-4px);
}

.page-khuyen-mai__blog-image {
  width: 100%;
  height: auto;
  aspect-ratio: 800/450;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__blog-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-khuyen-mai__blog-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-khuyen-mai__blog-title a {
  color: #113B7A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-khuyen-mai__blog-title a:hover {
  color: #1D5FD1;
}

.page-khuyen-mai__blog-meta {
  font-size: 0.85rem;
  color: #6b7f9f;
  margin: 0 0 10px;
  font-weight: 500;
}

.page-khuyen-mai__blog-content p {
  font-size: 0.92rem;
  color: #33475b;
  line-height: 1.7;
  margin: 0 0 18px;
  flex-grow: 1;
}

.page-khuyen-mai__readmore {
  color: #1D5FD1;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.page-khuyen-mai__readmore:hover {
  color: #113B7A;
}

/* Guide section */
.page-khuyen-mai__guide-section {
  background: linear-gradient(135deg, #10233F, #08162B);
}

.page-khuyen-mai__guide-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.page-khuyen-mai__guide-title {
  text-align: center;
  color: #F3F8FF;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  margin: 0 0 8px;
}

.page-khuyen-mai__guide-subtitle {
  text-align: center;
  color: #AFC4E8;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 40px;
}

.page-khuyen-mai__guide-steps {
  display: grid;
  gap: 24px;
}

.page-khuyen-mai__guide-step {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1B3357;
  border-radius: 18px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.2s ease;
}

.page-khuyen-mai__guide-step:hover {
  transform: scale(1.02);
}

.page-khuyen-mai__step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6, #1144A6);
  color: #F3F8FF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 60, 130, 0.5);
  font-size: 0.95rem;
}

.page-khuyen-mai__guide-step h3 {
  color: #F3F8FF;
  font-size: 1.12rem;
  margin: 10px 0 10px;
  font-weight: 700;
}

.page-khuyen-mai__guide-step p {
  color: #AFC4E8;
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 440px;
}

.page-khuyen-mai__guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #4FA8FF;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: all 0.2s ease;
}

.page-khuyen-mai__guide-action:hover {
  box-shadow: 0 4px 12px rgba(79, 168, 255, 0.45);
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  background: #f8fafc;
  padding: 48px 20px 56px;
}

.page-khuyen-mai__faq-title {
  color: #10233F;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
}

.page-khuyen-mai__faq-item {
  background: #ffffff;
  border: 1px solid #dfe9f6;
  border-radius: 16px;
  margin: 0 auto 14px;
  max-width: 860px;
  box-shadow: 0 2px 10px rgba(19, 47, 94, 0.04);
  list-style: none;
  overflow: hidden;
}

.page-khuyen-mai__faq-item::-webkit-details-marker {
  display: none;
}

.page-khuyen-mai__faq-question {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  color: #113B7A;
  list-style: none;
  position: relative;
  background: transparent;
  transition: background-color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-khuyen-mai__faq-question:hover {
  background-color: #f4f8fe;
}

.page-khuyen-mai__faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #1D5FD1;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  margin-left: 10px;
  position: static;
}

.page-khuyen-mai__faq-answer {
  padding: 0 24px 20px;
  margin-top: -6px;
}

.page-khuyen-mai__faq-answer p {
  color: #33475b;
  line-height: 1.75;
  font-size: 0.95rem;
  padding-top: 8px;
  border-top: 1px solid #eef4fb;
}

/* CTA Section */
.page-khuyen-mai__cta-section {
  background: linear-gradient(135deg, #1D5FD1 0%, #113B7A 70%, #08162B 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-khuyen-mai__cta-title {
  color: #F3F8FF;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  max-width: 600px;
  margin: 0 auto 14px;
}

.page-khuyen-mai__cta-desc {
  color: #AFC4E8;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

.page-khuyen-mai__cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

/* Media Scoped Images */
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
}

/* ===== Responsive: ≤768px ===== */
@media (max-width: 768px) {
  .page-khuyen-mai {
    padding: 0;
  }

  .page-khuyen-mai__hero-section {
    padding: 8px 8px 0;
  }

  .page-khuyen-mai__hero-image {
    aspect-ratio: 16/10;
  }

  .page-khuyen-mai__hero-content {
    padding: 22px 8px 28px;
  }

  .page-khuyen-mai__hero-title {
    font-size: 1.1rem;
  }

  .page-khuyen-mai__promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-khuyen-mai__blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-khuyen-mai__promo-section,
  .page-khuyen-mai__blog-section,
  .page-khuyen-mai__guide-inner,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__cta-section {
    padding: 30px 10px;
  }

  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__blog-card {
    border-radius: 14px;
  }

  .page-khuyen-mai__promo-body {
    padding: 14px;
  }

  .page-khuyen-mai__blog-content {
    padding: 16px;
  }

  .page-khuyen-mai__promo-title {
    font-size: 1rem;
  }

  .page-khuyen-mai__blog-title {
    font-size: 0.95rem;
  }

  .page-khuyen-mai__button,
  .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .page-khuyen-mai__cta-actions {
    flex-direction: column;
  }

  .page-khuyen-mai__guide-steps {
    gap: 18px;
  }

  .page-khuyen-mai__guide-step {
    padding: 26px 16px;
  }

  .page-khuyen-mai__blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-khuyen-mai__faq-question {
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 16px 16px;
  }

  /* Prevent horizontal overflow on mobile */
  .page-khuyen-mai {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-khuyen-mai img {
    max-width: 100%;
    height: auto;
  }
}

/* ===== Small desktop/laptop tweaks ===== */
@media (max-width: 1100px) and (min-width: 769px) {
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai__hero-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* Ensure no tiny images */
.page-khuyen-mai img {
  min-width: 0;
}

.page-khuyen-mai__promo-image,
.page-khuyen-mai__blog-image,
.page-khuyen-mai__hero-image {
  min-height: 0;
}