/* layout: hero + banner-thumbs + intro + posts + promo + list + faq + overlay + cta */
.page-khuyen-mai{background:#F4F7FB;color:#1F2D3D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;line-height:1.65;overflow-x:hidden}
.page-khuyen-mai__hero-section{width:100%;background:#FFFFFF;border-bottom:1px solid #D6E2FF;padding:10px 0 24px;margin-top:0}
.page-khuyen-mai__hero-image-wrap{width:100%;max-width:1600px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.page-khuyen-mai__hero-image{width:100%;height:auto;display:block;border-radius:16px;box-shadow:0 8px 24px rgba(47,107,255,.18)}
.page-khuyen-mai__hero-content{max-width:1100px;margin:20px auto 0;padding:0 16px;text-align:center;box-sizing:border-box}
.page-khuyen-mai__hero-title{font-weight:800;line-height:1.2;letter-spacing:-.02em;color:#1F2D3D;margin:0 0 12px;max-width:900px;margin-left:auto;margin-right:auto}
.page-khuyen-mai__hero-desc{color:#1F2D3D;max-width:820px;margin:0 auto 20px;font-size:1rem}
.page-khuyen-mai__hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;max-width:100%;box-sizing:border-box}
.page-khuyen-mai__btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;padding:12px 24px;border-radius:10px;transition:transform .2s ease,box-shadow .2s ease;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word;text-align:center;font-size:1rem}
.page-khuyen-mai__btn--primary{background:linear-gradient(180deg,#4A8BFF 0%,#2F6BFF 100%);color:#FFFFFF;box-shadow:0 4px 14px rgba(47,107,255,.35)}
.page-khuyen-mai__btn--primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(47,107,255,.45)}
.page-khuyen-mai__btn--secondary{background:#FFFFFF;color:#2F6BFF;border:2px solid #2F6BFF}
.page-khuyen-mai__btn--secondary:hover{background:#F4F7FB}
.page-khuyen-mai__btn--ghost{background:transparent;color:#FFFFFF;border:2px solid #A5C4FF}
.page-khuyen-mai__btn--ghost:hover{background:rgba(165,196,255,.15)}
.page-khuyen-mai__banner-section{max-width:1200px;margin:24px auto;padding:0 16px;box-sizing:border-box}
.page-khuyen-mai__banner-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.page-khuyen-mai__banner-thumb{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:12px;border:1px solid #D6E2FF;background:#FFFFFF}
.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{max-width:1200px;margin:0 auto;padding:32px 16px;box-sizing:border-box}
.page-khuyen-mai__section-title{color:#2F6BFF;font-weight:800;line-height:1.3;margin:0 0 20px;font-size:1.6rem}
.page-khuyen-mai__intro-text{color:#1F2D3D;margin:0 0 16px;font-size:1rem}
.page-khuyen-mai__intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.page-khuyen-mai__intro-card{background:#FFFFFF;border:1px solid #D6E2FF;border-radius:14px;padding:20px;box-shadow:0 2px 10px rgba(47,107,255,.06)}
.page-khuyen-mai__card-title{color:#2F6BFF;font-size:1.15rem;font-weight:700;margin:0 0 8px}
.page-khuyen-mai__card-text{color:#1F2D3D;margin:0;font-size:.95rem}
.page-khuyen-mai__posts-track{display:flex;gap:20px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory}
.page-khuyen-mai__post-card{flex:0 0 calc(25% - 15px);min-width:0;background:#FFFFFF;border:1px solid #D6E2FF;border-radius:14px;overflow:hidden;scroll-snap-align:start;box-shadow:0 2px 10px rgba(47,107,255,.06)}
.page-khuyen-mai__post-img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:2/1}
.page-khuyen-mai__post-title{font-size:1rem;font-weight:700;margin:12px 12px 6px;line-height:1.35}
.page-khuyen-mai__post-link{color:#1F2D3D;text-decoration:none}
.page-khuyen-mai__post-link:hover{color:#2F6BFF}
.page-khuyen-mai__post-text{color:#1F2D3D;font-size:.9rem;margin:0 12px 16px;opacity:.9}
.page-khuyen-mai__promo-wrap{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:#FFFFFF;border:1px solid #D6E2FF;border-radius:16px;padding:24px;box-shadow:0 2px 10px rgba(47,107,255,.06)}
.page-khuyen-mai__promo-img{width:100%;height:auto;display:block;border-radius:12px;object-fit:cover}
.page-khuyen-mai__promo-content{min-width:0}
.page-khuyen-mai__promo-text{color:#1F2D3D;margin:0 0 14px}
.page-khuyen-mai__promo-list{margin:0 0 18px;padding-left:20px;color:#1F2D3D}
.page-khuyen-mai__promo-item{margin-bottom:8px}
.page-khuyen-mai__promo-actions{display:flex;flex-wrap:wrap;gap:12px}
.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 #D6E2FF;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(47,107,255,.06)}
.page-khuyen-mai__list-img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:1/1}
.page-khuyen-mai__list-title{font-size:1.1rem;margin:12px 14px 6px;font-weight:700}
.page-khuyen-mai__list-link{color:#2F6BFF;text-decoration:none}
.page-khuyen-mai__list-link:hover{color:#1F2D3D}
.page-khuyen-mai__list-text{color:#1F2D3D;margin:0 14px 16px;font-size:.95rem}
.page-khuyen-mai__faq-list{display:flex;flex-direction:column;gap:12px}
.page-khuyen-mai__faq-item{background:#FFFFFF;border:1px solid #D6E2FF;border-radius:12px;overflow:hidden}
.page-khuyen-mai__faq-question{width:100%;text-align:left;background:none;border:none;padding:18px 20px;font-size:1rem;font-weight:700;color:#1F2D3D;cursor:pointer;position:relative;padding-right:48px;font-family:inherit}
.page-khuyen-mai__faq-question::after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#2F6BFF;font-weight:400;transition:transform .2s}
.page-khuyen-mai__faq-item.is-open .page-khuyen-mai__faq-question::after{content:'−'}
.page-khuyen-mai__faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 20px}
.page-khuyen-mai__faq-item.is-open .page-khuyen-mai__faq-answer{max-height:400px;padding:0 20px 18px}
.page-khuyen-mai__faq-answer p{margin:0;color:#1F2D3D;font-size:.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;margin-top:24px}
.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(15,25,45,.72);z-index:1}
.page-khuyen-mai__overlay-content{position:relative;z-index:2;padding:32px 20px;max-width:760px;width:100%;box-sizing:border-box}
.page-khuyen-mai__overlay-title{color:#FFFFFF;font-size:1.8rem;font-weight:800;margin:0 0 12px;line-height:1.25}
.page-khuyen-mai__overlay-text{color:#EAF1FF;margin:0 0 20px;font-size:1rem}
.page-khuyen-mai__cta-section{width:100%;position:relative;overflow:hidden;margin-top:0}
.page-khuyen-mai__cta-img{width:100%;height:auto;display:block;max-height:420px;object-fit:cover}
.page-khuyen-mai__cta-content{max-width:1100px;margin:-80px auto 0;position:relative;z-index:2;background:#FFFFFF;border:1px solid #D6E2FF;border-radius:16px;padding:28px 24px;text-align:center;box-shadow:0 10px 30px rgba(47,107,255,.12);box-sizing:border-box}
.page-khuyen-mai__cta-title{color:#2F6BFF;font-size:1.7rem;font-weight:800;margin:0 0 12px;line-height:1.3}
.page-khuyen-mai__cta-text{color:#1F2D3D;margin:0 0 20px}
.page-khuyen-mai__cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.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 0 20px}
  .page-khuyen-mai__hero-title{font-size:clamp(1.4rem,5vw,1.8rem)}
  .page-khuyen-mai__hero-actions{flex-direction:column}
  .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:12px}
  .page-khuyen-mai__intro-grid{grid-template-columns:1fr}
  .page-khuyen-mai__posts-track{gap:14px}
  .page-khuyen-mai__post-card{flex:0 0 85%}
  .page-khuyen-mai__promo-wrap{grid-template-columns:1fr;padding:16px;gap:18px}
  .page-khuyen-mai__promo-actions{flex-direction:column}
  .page-khuyen-mai__list-grid{grid-template-columns:1fr;gap:16px}
  .page-khuyen-mai__section-title{font-size:1.3rem}
  .page-khuyen-mai__overlay-title{font-size:1.4rem}
  .page-khuyen-mai__overlay-content{padding:24px 16px}
  .page-khuyen-mai__cta-content{margin:-40px 12px 0;padding:20px 16px}
  .page-khuyen-mai__cta-title{font-size:1.35rem}
  .page-khuyen-mai__cta-actions{flex-direction:column}
  .page-khuyen-mai__faq-question{font-size:.95rem;padding:16px 44px 16px 16px}
}