/* Page: khuyen-mai - Blue Gold theme */
.page-khuyen-mai {
  color: #F3F8FF;
  background-color: #08162B;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
}
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
  box-sizing: border-box;
}
.page-khuyen-mai__hero-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #244D84;
  box-shadow: 0 0 30px rgba(79, 168, 255, 0.18);
}
.page-khuyen-mai__hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-khuyen-mai__hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.page-khuyen-mai__hero-title {
  margin: 0;
  color: #F2C14E;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  max-width: 900px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.page-khuyen-mai__hero-desc {
  margin: 0;
  color: #AFC4E8;
  max-width: 860px;
  font-size: 1rem;
}
.page-khuyen-mai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.page-khuyen-mai__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  line-height: 1.3;
}
.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #FFFFFF;
  border: 1px solid #2B73F6;
  box-shadow: 0 6px 18px rgba(43, 115, 246, 0.35);
}
.page-khuyen-mai__btn--secondary {
  background: #10233F;
  color: #F3F8FF;
  border: 1px solid #244D84;
}
.page-khuyen-mai__btn--outline {
  background: transparent;
  color: #F2C14E;
  border: 1px solid #F2C14E;
}
.page-khuyen-mai__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 168, 255, 0.28);
}
.page-khuyen-mai__banner-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 8px;
  box-sizing: border-box;
}
.page-khuyen-mai__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.page-khuyen-mai__thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #244D84;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.page-khuyen-mai__thumb:hover {
  transform: translateY(-3px);
  border-color: #4FA8FF;
}
.page-khuyen-mai__thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.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 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}
.page-khuyen-mai__section-title {
  margin: 0 0 18px;
  color: #F2C14E;
  font-weight: 800;
  line-height: 1.3;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}
.page-khuyen-mai__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.page-khuyen-mai__link-more {
  color: #4FA8FF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #4FA8FF;
  padding-bottom: 2px;
}
.page-khuyen-mai__link-more:hover {
  color: #F2C14E;
  border-color: #F2C14E;
}
.page-khuyen-mai__text {
  margin: 0 0 14px;
  color: #AFC4E8;
  font-size: 0.98rem;
}
.page-khuyen-mai__text:last-child {
  margin-bottom: 0;
}
.page-khuyen-mai__note {
  margin-top: 18px;
  padding: 16px 18px;
  background: #10233F;
  border-left: 4px solid #F2C14E;
  border-radius: 10px;
}
.page-khuyen-mai__note-text {
  margin: 0;
  color: #F3F8FF;
  font-size: 0.95rem;
}
.page-khuyen-mai__posts-section {
  position: relative;
}
.page-khuyen-mai__posts-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.page-khuyen-mai__posts-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.page-khuyen-mai__post-card {
  flex: 0 0 calc(25% - 12px);
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.page-khuyen-mai__post-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.page-khuyen-mai__post-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-khuyen-mai__post-title {
  margin: 12px 14px 8px;
  color: #F2C14E;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}
.page-khuyen-mai__post-desc {
  margin: 0 14px;
  color: #AFC4E8;
  font-size: 0.9rem;
}
.page-khuyen-mai__posts-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.page-khuyen-mai__nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #244D84;
  background: #10233F;
  color: #F3F8FF;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.page-khuyen-mai__nav-btn:hover {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  border-color: #2B73F6;
}
.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.page-khuyen-mai__promo-card {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  padding: 20px;
  box-sizing: border-box;
}
.page-khuyen-mai__promo-title {
  margin: 0 0 12px;
  color: #4FA8FF;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.35;
}
.page-khuyen-mai__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.page-khuyen-mai__list-item {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 16px;
  box-sizing: border-box;
}
.page-khuyen-mai__list-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-khuyen-mai__list-title {
  margin: 14px 16px 8px;
  color: #F2C14E;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}
.page-khuyen-mai__list-item .page-khuyen-mai__text {
  margin: 0 16px;
}
.page-khuyen-mai__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-khuyen-mai__faq-item {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  padding: 16px 18px;
  box-sizing: border-box;
}
.page-khuyen-mai__faq-q {
  cursor: pointer;
  color: #F3F8FF;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.page-khuyen-mai__faq-q::-webkit-details-marker {
  display: none;
}
.page-khuyen-mai__faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: #4FA8FF;
  font-weight: 700;
}
.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-q::after {
  content: '\2212';
}
.page-khuyen-mai__faq-a {
  margin: 12px 0 0;
  color: #AFC4E8;
  font-size: 0.95rem;
}
.page-khuyen-mai__overlay-section {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin: 24px 0;
}
.page-khuyen-mai__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-khuyen-mai__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 43, 0.78);
  z-index: 1;
}
.page-khuyen-mai__overlay-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 24px;
  box-sizing: border-box;
}
.page-khuyen-mai__overlay-title {
  margin: 0 0 10px;
  color: #F2C14E;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.3;
}
.page-khuyen-mai__overlay-desc {
  margin: 0;
  color: #F3F8FF;
  font-size: 1rem;
}
.page-khuyen-mai__cta-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  box-sizing: border-box;
}
.page-khuyen-mai__cta-inner {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 18px;
  padding: 26px 22px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 0 40px rgba(79, 168, 255, 0.12);
}
.page-khuyen-mai__cta-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto 18px;
  border-radius: 12px;
  object-fit: cover;
}
.page-khuyen-mai__cta-title {
  margin: 0 0 10px;
  color: #F2C14E;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.3;
}
.page-khuyen-mai__cta-desc {
  margin: 0 auto 18px;
  max-width: 760px;
  color: #AFC4E8;
  font-size: 0.98rem;
}
.page-khuyen-mai__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.page-khuyen-mai__cta-support {
  margin: 0;
  color: #AFC4E8;
  font-size: 0.92rem;
}
.page-khuyen-mai__cta-link {
  color: #4FA8FF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #4FA8FF;
}
.page-khuyen-mai__cta-link:hover {
  color: #F2C14E;
  border-color: #F2C14E;
}
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
}
@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-section {
    padding: 8px 12px 18px;
    gap: 14px;
  }
  .page-khuyen-mai__hero-title {
    font-size: 1.25rem;
  }
  .page-khuyen-mai__hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-khuyen-mai__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .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 {
    padding: 22px 12px;
  }
  .page-khuyen-mai__post-card {
    flex: 0 0 100%;
  }
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__list-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__cta-actions {
    flex-direction: column;
  }
  .page-khuyen-mai__cta-inner {
    padding: 20px 14px;
  }
  .page-khuyen-mai__overlay-content {
    padding: 18px 14px;
  }
}