.page-khuyen-mai {
  color: #333333;
  max-width: 100%;
  overflow-x: hidden;
}
.page-khuyen-mai h1,
.page-khuyen-mai h2,
.page-khuyen-mai h3 {
  color: #017439;
}
.page-khuyen-mai__hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 10px;
  margin-top: 0;
  background: #FFFFFF;
}
.page-khuyen-mai__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.page-khuyen-mai__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  text-align: center;
}
.page-khuyen-mai__hero-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}
.page-khuyen-mai__hero-desc {
  color: #333333;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}
.page-khuyen-mai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-khuyen-mai__btn--register {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}
.page-khuyen-mai__btn--login {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}
.page-khuyen-mai__btn--outline {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}
.page-khuyen-mai__banner-section,
.page-khuyen-mai__intro-section,
.page-khuyen-mai__posts-section,
.page-khuyen-mai__promo-section,
.page-khuyen-mai__list-section,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}
.page-khuyen-mai__section-title {
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}
.page-khuyen-mai__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.page-khuyen-mai__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.page-khuyen-mai__text {
  color: #333333;
  line-height: 1.8;
  margin: 0 0 16px;
}
.page-khuyen-mai__posts-track {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.page-khuyen-mai__post-card {
  flex: 0 0 calc(25% - 15px);
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 16px;
}
.page-khuyen-mai__post-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-khuyen-mai__post-title {
  font-weight: 700;
  line-height: 1.4;
  margin: 12px 12px 8px;
  font-size: 1.05rem;
}
.page-khuyen-mai__post-link {
  color: #017439;
  text-decoration: none;
}
.page-khuyen-mai__post-desc {
  color: #333333;
  line-height: 1.6;
  margin: 0 12px;
  font-size: 0.95rem;
}
.page-khuyen-mai__promo-block {
  background: #f7fbf8;
  border-left: 4px solid #017439;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.page-khuyen-mai__promo-title {
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  font-size: 1.15rem;
}
.page-khuyen-mai__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-khuyen-mai__list-item {
  background: #FFFFFF;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding-bottom: 16px;
  overflow: hidden;
}
.page-khuyen-mai__list-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-khuyen-mai__list-title {
  font-weight: 700;
  line-height: 1.4;
  margin: 12px 14px 8px;
  font-size: 1.05rem;
}
.page-khuyen-mai__list-desc {
  color: #333333;
  line-height: 1.6;
  margin: 0 14px;
  font-size: 0.95rem;
}
.page-khuyen-mai__overlay-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-khuyen-mai__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.page-khuyen-mai__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.page-khuyen-mai__overlay-content {
  position: relative;
  z-index: 2;
  padding: 32px 16px;
  max-width: 800px;
  color: #FFFFFF;
}
.page-khuyen-mai__overlay-title {
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}
.page-khuyen-mai__overlay-desc {
  color: #FFFFFF;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}
.page-khuyen-mai__faq-item {
  border-bottom: 1px solid #e6e6e6;
  padding: 16px 0;
}
.page-khuyen-mai__faq-item:last-child {
  border-bottom: none;
}
.page-khuyen-mai__faq-question {
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.page-khuyen-mai__faq-answer {
  color: #333333;
  line-height: 1.7;
  margin: 0;
}
.page-khuyen-mai__cta-section {
  background: #f2f9f4;
  border-radius: 14px;
  margin: 0 auto 40px;
}
.page-khuyen-mai__cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.page-khuyen-mai__cta-title {
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.page-khuyen-mai__cta-desc {
  color: #333333;
  line-height: 1.7;
  margin: 0 0 20px;
}
.page-khuyen-mai__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-khuyen-mai {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-khuyen-mai__hero-content {
    padding: 18px 14px;
  }
  .page-khuyen-mai__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .page-khuyen-mai__post-card {
    flex: 0 0 100%;
  }
  .page-khuyen-mai__list-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__overlay-section {
    min-height: 260px;
  }
  .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai__cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-khuyen-mai__section-title {
    margin-bottom: 16px;
  }
  .page-khuyen-mai__banner-section,
  .page-khuyen-mai__intro-section,
  .page-khuyen-mai__posts-section,
  .page-khuyen-mai__promo-section,
  .page-khuyen-mai__list-section,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__cta-section {
    padding: 24px 14px;
  }
}