/* layout: hero + banner-thumbs + intro + promo + posts + list + faq + overlay + cta */
.page-khuyen-mai{color:#333333;background:#F5F7FA;max-width:100%;overflow-x:hidden}
.page-khuyen-mai h1,.page-khuyen-mai h2,.page-khuyen-mai h3{color:#E53935}
.page-khuyen-mai__hero-section{width:100%;position:relative;overflow:hidden;padding-top:10px;margin-top:0;background:#F5F7FA}
.page-khuyen-mai__hero-slide{display:none;width:100%}
.page-khuyen-mai__hero-slide.is-active{display:block}
.page-khuyen-mai__hero-image{width:100%;max-width:1200px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.page-khuyen-mai__hero-image img{width:100%;height:auto;display:block;border-radius:12px}
.page-khuyen-mai__hero-content{max-width:1200px;margin:0 auto;padding:20px 16px 8px;box-sizing:border-box;color:#333333}
.page-khuyen-mai__hero-title{font-weight:700;line-height:1.25;letter-spacing:.2px;margin:0 0 12px;max-width:820px}
.page-khuyen-mai__hero-desc{color:#333333;line-height:1.7;margin:0 0 16px;max-width:820px}
.page-khuyen-mai__hero-controls{max-width:1200px;margin:0 auto;padding:0 16px 12px;display:flex;align-items:center;justify-content:center;gap:12px}
.page-khuyen-mai__hero-prev,.page-khuyen-mai__hero-next{width:44px;height:44px;border-radius:50%;border:1px solid #E0E0E0;background:#FFFFFF;color:#E53935;font-size:24px;line-height:1;cursor:pointer}
.page-khuyen-mai__hero-dots{display:flex;gap:8px}
.page-khuyen-mai__hero-dot{width:10px;height:10px;border-radius:50%;border:none;background:#E0E0E0;cursor:pointer;padding:0}
.page-khuyen-mai__hero-dot.is-active{background:#E53935}
.page-khuyen-mai__banner-section{max-width:1200px;margin:12px auto;padding:0 16px;box-sizing:border-box}
.page-khuyen-mai__banner-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.page-khuyen-mai__banner-thumb{background:#FFFFFF;border:1px solid #E0E0E0;border-radius:10px;overflow:hidden}
.page-khuyen-mai__banner-thumb img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.page-khuyen-mai__intro-section,.page-khuyen-mai__promo-section,.page-khuyen-mai__posts-section,.page-khuyen-mai__list-section,.page-khuyen-mai__faq-section{max-width:1200px;margin:0 auto;padding:24px 16px;box-sizing:border-box}
.page-khuyen-mai__section-title{font-weight:700;line-height:1.3;margin:0 0 16px}
.page-khuyen-mai__intro-text{line-height:1.8;color:#333333;margin:0 0 12px}
.page-khuyen-mai__promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.page-khuyen-mai__promo-card{background:#FFFFFF;border:1px solid #E0E0E0;border-radius:12px;overflow:hidden;padding-bottom:16px;display:flex;flex-direction:column}
.page-khuyen-mai__promo-image img{width:100%;height:auto;display:block}
.page-khuyen-mai__promo-title{font-weight:700;margin:12px 16px 8px}
.page-khuyen-mai__promo-text{color:#333333;line-height:1.7;margin:0 16px 12px;flex:1}
.page-khuyen-mai__promo-card .page-khuyen-mai__btn{margin:0 16px;align-self:flex-start}
.page-khuyen-mai__posts-track{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.page-khuyen-mai__post-card{flex:0 0 calc(25% - 12px);min-width:260px;background:#FFFFFF;border:1px solid #E0E0E0;border-radius:12px;overflow:hidden;scroll-snap-align:start}
.page-khuyen-mai__post-card img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block}
.page-khuyen-mai__post-title{font-weight:700;margin:12px;line-height:1.4}
.page-khuyen-mai__post-title a{color:#E53935;text-decoration:none}
.page-khuyen-mai__post-text{color:#333333;line-height:1.6;margin:0 12px 12px}
.page-khuyen-mai__posts-actions{text-align:center;margin-top:16px}
.page-khuyen-mai__list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.page-khuyen-mai__list-item{background:#FFFFFF;border:1px solid #E0E0E0;border-radius:12px;overflow:hidden;padding-bottom:16px}
.page-khuyen-mai__list-item img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
.page-khuyen-mai__list-title{font-weight:700;margin:12px 16px 8px}
.page-khuyen-mai__list-text{color:#333333;line-height:1.7;margin:0 16px}
.page-khuyen-mai__faq-list{display:flex;flex-direction:column;gap:12px}
.page-khuyen-mai__faq-item{background:#FFFFFF;border:1px solid #E0E0E0;border-radius:10px;overflow:hidden}
.page-khuyen-mai__faq-question{width:100%;text-align:left;background:#FFFFFF;border:none;padding:16px;font-weight:600;font-size:16px;color:#333333;cursor:pointer}
.page-khuyen-mai__faq-answer{display:none;padding:0 16px 16px;color:#333333;line-height:1.7}
.page-khuyen-mai__faq-item.is-open .page-khuyen-mai__faq-answer{display:block}
.page-khuyen-mai__overlay-section{width:100%;position:relative;overflow:hidden;min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;color:#FFFFFF;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(0,0,0,.55);z-index:1}
.page-khuyen-mai__overlay-content{position:relative;z-index:2;padding:24px 16px;max-width:800px}
.page-khuyen-mai__overlay-title{color:#FFFFFF;font-weight:700;margin:0 0 12px}
.page-khuyen-mai__overlay-text{color:#FFFFFF;line-height:1.7;margin:0 0 16px}
.page-khuyen-mai__cta-section{max-width:1200px;margin:0 auto;padding:32px 16px 40px;box-sizing:border-box;text-align:center}
.page-khuyen-mai__cta-title{font-weight:700;margin:0 0 12px}
.page-khuyen-mai__cta-text{color:#333333;line-height:1.7;margin:0 0 16px}
.page-khuyen-mai__cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.page-khuyen-mai__btn{display:inline-block;padding:12px 22px;border-radius:28px;font-weight:600;text-decoration:none;text-align:center;transition:transform .15s ease,opacity .15s ease}
.page-khuyen-mai__btn--primary{background:linear-gradient(180deg,#FF5A4F 0%,#E53935 100%);color:#FFFFFF;border:1px solid #E53935}
.page-khuyen-mai__btn--secondary{background:#FFFFFF;color:#E53935;border:1px solid #E53935}
.page-khuyen-mai__btn--outline{background:transparent;color:#E53935;border:1px solid #E0E0E0}
.page-khuyen-mai__btn:hover{opacity:.92;transform:translateY(-1px)}
@media (max-width:768px){
.page-khuyen-mai{overflow-x:hidden}
.page-khuyen-mai img{max-width:100%!important;height:auto!important}
.page-khuyen-mai__hero-image{padding:0 12px}
.page-khuyen-mai__hero-content{padding:16px 12px 4px}
.page-khuyen-mai__banner-thumbs{grid-template-columns:repeat(2,1fr)}
.page-khuyen-mai__promo-grid{grid-template-columns:1fr}
.page-khuyen-mai__post-card{flex-basis:100%;min-width:0}
.page-khuyen-mai__posts-track{overflow-x:visible}
.page-khuyen-mai__list-grid{grid-template-columns:1fr}
.page-khuyen-mai__cta-actions{flex-direction:column;align-items:stretch}
.page-khuyen-mai__btn{max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word}
.page-khuyen-mai__promo-card .page-khuyen-mai__btn{align-self:stretch}
}