/* Kutieskin Elements – Khối thiết kế. Mọi số đo tính theo khung thiết kế --dw (px) và co giãn theo chiều rộng khối. */
.kc{container:kc / inline-size;position:relative;font-family:'SVN-Merge',sans-serif;color:#5c5c5c;--u:calc(100cqw / var(--dw))}
.kc *,.kc *:before,.kc *:after{box-sizing:border-box}
.kc-in{position:relative;background:var(--kc-bgc,transparent)}
.kc--space{margin-bottom:calc(var(--sp) * 100% / var(--dw))}
.kc-stage{position:relative}
.kc-stage--nobg{aspect-ratio:var(--dw) / var(--dh,400)}
.kc-bg{display:block;width:100%;height:auto;max-width:none}

/* lớp: định vị theo toạ độ thiết kế */
.kc-i{position:absolute;margin:0;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));width:calc(var(--w) * var(--u));max-width:none;height:auto}
.kc-i.is-autow{width:auto;white-space:nowrap}
img.kc-i{display:block}

/* chữ */
.kc-t{font-size:calc(var(--fs) * var(--u));line-height:calc(var(--lh) * var(--u));color:var(--c,#5c5c5c);text-align:var(--al,left);font-weight:400;letter-spacing:0;text-transform:none;font-family:inherit}
.kc-t p,.kc-t div,.kc-t span{margin:0;padding:0;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}
.kc-t p+p{margin-top:0}
.kc-t b,.kc-t strong{font-weight:700;color:var(--bc,#009ee0)}
.kc-t.is-bold,.kc-ct.is-bold{font-weight:700}
.kc-t.is-bold b,.kc-t.is-bold strong{color:inherit}
.kc-t.is-upper,.kc-ct.is-upper{text-transform:uppercase}
.kc-t.is-justify,.kc-ct.is-justify{text-align:justify}
.kc-f-baloo{font-family:'Baloo 2','SVN-Merge',sans-serif}
.kc-t.is-outline{text-shadow:0 0 calc(3.5 * var(--u)) #fff,calc(2.2 * var(--u)) calc(2.2 * var(--u)) 0 #fff,calc(-2.2 * var(--u)) calc(2.2 * var(--u)) 0 #fff,calc(2.2 * var(--u)) calc(-2.2 * var(--u)) 0 #fff,calc(-2.2 * var(--u)) calc(-2.2 * var(--u)) 0 #fff,0 calc(3 * var(--u)) 0 #fff,0 calc(-3 * var(--u)) 0 #fff,calc(3 * var(--u)) 0 0 #fff,calc(-3 * var(--u)) 0 0 #fff}
h2.kc-t,h3.kc-t,h4.kc-t,h2.kc-ct,h3.kc-ct,h4.kc-ct{margin:0}

/* icon đầu dòng */
.kc-t.has-icon .kc-ic{position:absolute;left:calc(-1 * (var(--iw) + var(--ig)) * var(--u));top:calc(var(--idy) * var(--u));width:calc(var(--iw) * var(--u));height:auto;max-width:none}

/* nhãn tiêu đề */
.kc-badge{display:flex;align-items:center;justify-content:center;height:calc(var(--h) * var(--u));border-radius:calc(var(--r) * var(--u));background:var(--bg,#009ee0);color:var(--c,#fff);white-space:nowrap;--c:#fff}
.kc-badge>span{display:block;padding-top:.12em;line-height:1}
.kc-badge>span p{margin:0}

/* thẻ: ảnh + chữ (chữ đo theo khung của thẻ) */
.kc-card{container:kcc / inline-size;--cu:calc(100cqw / var(--w))}
.kc-card-img{display:block;width:100%;height:auto;max-width:none}
.kc-ct{position:absolute;margin:0;left:calc(var(--tx) * var(--cu));top:calc(var(--ty) * var(--cu));width:calc(var(--tw) * var(--cu));font-size:calc(var(--fs) * var(--cu));line-height:calc(var(--lh) * var(--cu));color:var(--c,#5c5c5c);text-align:var(--al,left)}
.kc-ct p{margin:0;font:inherit;color:inherit}
.kc-ct b,.kc-ct strong{font-weight:700;color:var(--bc,#009ee0)}
.kc-card.is-below .kc-ct{position:static;width:auto;margin-top:calc(var(--ty) * var(--cu))}

/* ===== Điện thoại: xếp dọc ===== */
@container kc (max-width: 600px){
  .kc--stack .kc-in{display:flex;flex-direction:column;gap:10px;padding-bottom:16px;background:var(--kc-mbg,transparent);border-radius:12px;overflow:hidden}
  .kc--stack .kc-stage{order:0}
  .kc--stack .kc-in>.kc-m--above{order:-1}
  .kc--stack .kc-in>.kc-m--below{order:1}
  .kc--stack .kc-m--hide{display:none}
  .kc--stack .kc-in>.kc-i{position:relative;left:auto;top:auto;width:auto;max-width:100%;white-space:normal}
  .kc--stack .kc-in>.kc-t{font-size:var(--mfs,16px);line-height:1.45;padding:0 16px;text-align:var(--mal,left);text-shadow:none}
  .kc--stack .kc-in>.kc-t.is-justify{text-align:var(--mal,left)}
  .kc--stack .kc-in>h2.kc-t,.kc--stack .kc-in>h3.kc-t{font-size:var(--mfs,20px);line-height:1.3}
  .kc--stack .kc-in>.kc-m--above.kc-t:first-child{padding-top:14px}
  .kc--stack .kc-in>.kc-t.has-icon{padding-left:48px}
  .kc--stack .kc-in>.kc-t.has-icon .kc-ic{left:16px;top:.25em;width:24px}
  .kc--stack .kc-in>.kc-badge{align-self:center;height:auto;padding:10px 22px 7px;border-radius:14px;font-size:var(--mfs,20px)}
  .kc--stack .kc-in>.kc-card{align-self:center;width:min(calc(100% - 16px), calc(var(--w) * 1px))}
  .kc--stack .kc-in>.kc-card .kc-ct{font-size:max(calc(var(--fs) * var(--cu)), 13px)}
}
.kc-m--hide.kc-i{}
