/* =====================================================================================================
   KINGLUX - kl2/content.css (ban 003, 27/10/2026) : trang noi dung theo giao dien V4 - Tin (danh sach + bai viet), Lien he,
   va lop tuong thich cho 2 trang giu khung cu (Dich vu / Du an, Khach hang). Layout nap khi FeatureCode = News | Contact | Service | Customer.
   Lop moi tien to kl2-nw- (tin), kl2-ct- (lien he) ; phan «tuong thich» cuoi tep ghi de luat cu az-kl-* cua style.css (nen trang, chu den,
   phong 'Times New Roman', .container padding 0 !important) de chu khong bi chim tren nen toi.
   ===================================================================================================== */

/* ---------- khung chung trang noi dung ---------- */
.kl2-nw, .kl2-ct { padding: 22px 0 56px; }
.kl2-nw-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--kl-muted); margin-bottom: 18px; }
body.kl2 .kl2-nw-crumb a { color: var(--kl-muted); text-decoration: none; }
body.kl2 .kl2-nw-crumb a:hover { color: var(--kl-gold2); }
.kl2-nw-crumb [aria-current] { color: var(--kl-text); }
.kl2-nw-head { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin-bottom: 22px; }
.kl2-nw-head .kl2-lead { color: var(--kl-muted); }

/* ---------- danh sach tin ---------- */
.kl2-nw-tabs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.kl2-nw-tabs li { list-style: none; }
.kl2-nw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.kl2-nw-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--kl-panel); border: 1px solid var(--kl-line2); border-radius: var(--kl-r-lg);
    transition: border-color 0.2s ease, transform 0.2s ease; }
.kl2-nw-card:hover { border-color: var(--kl-gold-dim); transform: translateY(-2px); }
.kl2-nw-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(160deg, #161616 0%, #0B0B0B 60%, #2A2108 100%); }
.kl2-nw-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kl2-nw-mast { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--kl-font-h); font-weight: 800; font-size: 20px; letter-spacing: 0.1em;
    color: var(--kl-gold); text-transform: uppercase; }
.kl2-nw-cbody { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.kl2-nw-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kl-gold); background: var(--kl-gold-bg);
    border: 1px solid #3A2E0F; border-radius: 999px; padding: 2px 9px; }
.kl2-nw-title { margin: 0; font-family: var(--kl-font-h); font-size: 17px; line-height: 1.35; font-weight: 800; }
body.kl2 .kl2-nw-title a { color: #FFFFFF; text-decoration: none; }
body.kl2 .kl2-nw-title a:hover { color: var(--kl-gold); }
.kl2-nw-sum { margin: 0; font-size: 14px; line-height: 1.55; color: var(--kl-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kl2-nw-date { margin-top: auto; font-size: 12.5px; color: var(--kl-faint); }
.kl2-nw-empty { padding: 28px; background: var(--kl-panel); border: 1px dashed var(--kl-line2); border-radius: var(--kl-r-lg); color: var(--kl-soft); }

/* ---------- bai viet ---------- */
.kl2-nw-article { max-width: 860px; margin: 0 auto; }
.kl2-nw-art .kl2-nw-crumb { max-width: 860px; margin-left: auto; margin-right: auto; }
.kl2-nw-ahead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.kl2-nw-h1 { margin: 0; font-family: var(--kl-font-h); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; font-weight: 800; color: #FFFFFF; text-wrap: balance; }
.kl2-nw-meta { margin: 0; font-size: 14px; color: var(--kl-muted); }
.kl2-nw-lead { font-size: 17px; line-height: 1.65; color: var(--kl-soft); margin-bottom: 18px; }
.kl2-nw-fig { margin: 0 0 22px; border-radius: var(--kl-r-lg); overflow: hidden; border: 1px solid var(--kl-line2); background: #FFFFFF; }
.kl2-nw-fig img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
/* noi dung bai (HTML luu trong CSDL, nhieu bai dan tu Word co mau chu / nen viet tay) */
.kl2-nw-rich { color: var(--kl-soft); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.kl2-nw-rich p { margin: 0 0 14px; }
.kl2-nw-rich h1, .kl2-nw-rich h2, .kl2-nw-rich h3, .kl2-nw-rich h4, .kl2-nw-rich h5 { font-family: var(--kl-font-h); color: #FFFFFF; line-height: 1.3; font-weight: 800; margin: 28px 0 12px; }
.kl2-nw-rich h1 { font-size: 26px; } .kl2-nw-rich h2 { font-size: 23px; } .kl2-nw-rich h3 { font-size: 19px; } .kl2-nw-rich h4, .kl2-nw-rich h5 { font-size: 17px; }
.kl2-nw-rich ul, .kl2-nw-rich ol { padding-left: 24px; margin: 0 0 14px; }
.kl2-nw-rich li { margin: 0 0 6px; }
.kl2-nw-rich ul li { list-style: disc; } .kl2-nw-rich ol li { list-style: decimal; }
body.kl2 .kl2-nw-rich a { color: var(--kl-gold); text-decoration: underline; text-underline-offset: 2px; }
.kl2-nw-rich strong, .kl2-nw-rich b { color: #FFFFFF; }
.kl2-nw-rich blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--kl-gold); background: var(--kl-panel); border-radius: 0 12px 12px 0; }
.kl2-nw-rich img { max-width: 100%; height: auto !important; border-radius: 12px; background: #FFFFFF; }
.kl2-nw-rich figure { margin: 0 0 16px; max-width: 100%; }
.kl2-nw-rich figcaption { font-size: 13.5px; color: var(--kl-muted); margin-top: 6px; }
.kl2-nw-rich iframe { display: block; max-width: 100%; border: 0; border-radius: 12px; }
.kl2-nw-rich iframe[src*="youtu"], .kl2-nw-rich iframe[src*="vimeo"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.kl2-nw-rich table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 16px; font-size: 14.5px; }
.kl2-nw-rich td, .kl2-nw-rich th { border: 1px solid var(--kl-line2); padding: 8px 10px; vertical-align: top; color: var(--kl-soft); }
.kl2-nw-rich th { background: var(--kl-panel2); color: #FFFFFF; }
/* mau chu / nen viet tay trong bai cu (chu den, nen trang) -> theo giao dien toi ; mau nhan manh khac giu nguyen */
.kl2-nw-rich [style*="color: rgb(0, 0, 0)"], .kl2-nw-rich [style*="color:rgb(0,0,0)"], .kl2-nw-rich [style*="color: black"], .kl2-nw-rich [style*="color:black"],
.kl2-nw-rich [style*="color: #000"], .kl2-nw-rich [style*="color:#000"], .kl2-nw-rich [style*="color: rgb(33, 37, 41)"], .kl2-nw-rich [style*="color: rgb(34, 34, 34)"],
.kl2-nw-rich [style*="color: rgb(51, 51, 51)"], .kl2-nw-rich [style*="color: rgb(68, 68, 68)"], .kl2-nw-rich [style*="color: rgb(17, 17, 17)"], .kl2-nw-rich [style*="color: rgb(14, 16, 26)"],
.kl2-nw-rich [style*="color: windowtext"], .kl2-nw-rich [style*="color:windowtext"] { color: inherit !important; }
.kl2-nw-rich [style*="background-color: rgb(255, 255, 255)"], .kl2-nw-rich [style*="background-color:rgb(255,255,255)"], .kl2-nw-rich [style*="background-color: white"],
.kl2-nw-rich [style*="background-color:#fff"], .kl2-nw-rich [style*="background-color: #fff"], .kl2-nw-rich [style*="background: white"], .kl2-nw-rich [style*="background:#fff"],
.kl2-nw-rich [style*="background-color: transparent"] { background-color: transparent !important; }
.kl2-nw-rich [style*="font-family"] { font-family: inherit !important; }
.kl2-nw-rich [style*="font-size"]:not(h1):not(h2):not(h3) { font-size: inherit !important; }
/* khoi tu van cuoi bai */
.kl2-nw-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 30px 0 8px; padding: 18px 20px;
    background: var(--kl-gold-bg); border: 1px solid #3A2E0F; border-radius: var(--kl-r-lg); }
.kl2-nw-cta > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.kl2-nw-cta strong { color: #FFFFFF; font-family: var(--kl-font-h); font-size: 16.5px; }
.kl2-nw-cta span { color: var(--kl-soft); font-size: 14px; }
.kl2-nw-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.kl2-nw-more { max-width: 1100px; margin: 44px auto 0; }
.kl2-nw-more .kl2-h2 { margin-bottom: 18px; }

/* ---------- lien he ---------- */
.kl2-ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.kl2-ct-info, .kl2-ct-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kl2-ct-card { background: var(--kl-panel); border: 1px solid var(--kl-line2); border-radius: var(--kl-r-lg); padding: 22px 22px 20px; }
.kl2-ct-h { margin: 0 0 6px; font-family: var(--kl-font-h); font-size: 17px; line-height: 1.35; font-weight: 800; color: #FFFFFF; }
.kl2-ct-mst { margin: 0 0 14px; font-size: 13.5px; color: var(--kl-muted); }
.kl2-ct-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kl2-ct-list li { list-style: none; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--kl-soft); }
.kl2-ct-k { color: var(--kl-muted); font-size: 13.5px; font-weight: 700; }
.kl2-ct-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.kl2-ct-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl2-ct-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--kl-line2); display: block; }
.kl2-ct-note { margin: 0 0 16px; font-size: 14px; color: var(--kl-muted); }
.kl2-ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl2-ct-f { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.kl2-ct-f > span { font-size: 13px; font-weight: 700; color: var(--kl-muted); }
.kl2-ct-wide { grid-column: 1 / -1; }
body.kl2 .kl2-ct-f .form-control { background: var(--kl-bg2); color: var(--kl-text); border: 1px solid var(--kl-line2); border-radius: 10px; min-height: 44px; padding: 10px 12px; font-size: 15px; box-shadow: none; }
body.kl2 .kl2-ct-f .form-control:focus { border-color: var(--kl-gold); outline: none; box-shadow: 0 0 0 3px rgba(236, 174, 32, 0.18); }
body.kl2 .kl2-ct-f .form-control::placeholder { color: var(--kl-faint); }
.kl2-ct-f textarea.form-control { min-height: 110px; resize: vertical; }
.kl2-ct-err { grid-column: 1 / -1; color: var(--kl-hot); font-size: 13.5px; font-weight: 700; }
.kl2-ct-ok { padding: 14px 16px; border-radius: 12px; background: rgba(63, 185, 80, 0.12); border: 1px solid rgba(63, 185, 80, 0.45); color: var(--kl-text); margin-bottom: 12px; }
.kl2-ct-ok p { margin: 0; }
.kl2-ct-map { margin-top: 20px; border-radius: var(--kl-r-lg); overflow: hidden; border: 1px solid var(--kl-line2); }
.kl2-ct-map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 900px) {
    .kl2-ct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .kl2-nw, .kl2-ct { padding-top: 14px; }
    .kl2-nw-rich { font-size: 15.5px; }
    .kl2-ct-fields { grid-template-columns: minmax(0, 1fr); }
    .kl2-ct-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .kl2-ct-card { padding: 18px 16px; }
    .kl2-ct-map iframe { height: 320px; }
}

/* ---------- tuong thich trang giu khung cu (Dich vu / Du an, Khach hang) ---------- */
/* style.css cu : :where(.az-kl-site) .container { padding: 0 !important } -> chu sat mep man hinh ; dat lai le nhu kl2-wrap */
body.kl2 .container { padding-left: var(--kl-pad) !important; padding-right: var(--kl-pad) !important; box-sizing: border-box; }
/* nen xam / trang cu tren trang toi */
body.kl2 .az-kl-bg-ghi { background-color: transparent !important; }
/* tieu de lon cu chu den (!important) -> trang, phong tieu de V4 */
body.kl2 .az-kl-text-lon { color: #FFFFFF !important; font-family: var(--kl-font-h); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
/* phong 'Times New Roman' cua vai lop cu (the tin, chu duoi anh) : ban cu the con nhan UTM-Avo tu :where(.az-kl-site *), ban V4 ke thua -> dat lai */
body.kl2 .az-kl-chuduoianh, body.kl2 .az-kl-text-shop-con { font-family: var(--kl-font-h); }
/* the du an (Dich vu) : khung trang + chu ke thua mau sang -> chu chim ; ve the toi */
body.kl2 .az-kl-anhsp { background: var(--kl-panel); border: 1px solid var(--kl-line2); border-radius: 14px; aspect-ratio: auto; }
body.kl2 .az-kl-anhsp img.az-kl-bentrong { border: 0; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
body.kl2 .az-kl-anhsp h3 { position: static; margin: 0; }
body.kl2 .az-kl-anhsp h3 a, body.kl2 .az-kl-anhsp h3 p { color: var(--kl-text); text-decoration: none; }
body.kl2 .az-kl-anhsp h3 p { margin: 0; padding: 10px 12px 12px; font-family: var(--kl-font-h); font-size: 14.5px; line-height: 1.35; font-weight: 800; }
body.kl2 .az-kl-anhsp:hover h3 p { color: var(--kl-gold); }
/* the «Du an khac» (owl) va «Tin khac» cu */
body.kl2 .az-kl-box-thumbs .az-kl-item { background: var(--kl-panel); border: 1px solid var(--kl-line2); border-radius: 14px; overflow: hidden; }
body.kl2 .az-kl-box-thumbs .az-kl-name, body.kl2 .az-kl-box-thumbs .az-kl-tensp a { color: var(--kl-text) !important; font-family: var(--kl-font-h); font-weight: 800; }
body.kl2 .az-kl-banner-service .az-kl-text h2, body.kl2 .az-kl-banner-service .az-kl-text span { color: #FFFFFF; }
