
html body .qi-tb .qi-cm-dau { margin-bottom: 14px; }
html body .qi-tb--mb .qi-cm-dau { margin-top: 0; }
html body .qi-tb--mb .qi-cm-tim { flex: 1 1 100%; min-width: 0; }

html body .qi-tb .qi-tb-so {
    display: inline-block;
    min-width: 24px;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cm-mau) 12%, #fff);
    color: var(--cm-mau);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}
html body .qi-tb .qi-cm-tab.dang .qi-tb-so { background: rgba(255, 255, 255, .22); color: #fff; }
html body .qi-tb .qi-tb-tabs { margin-bottom: 16px; }

html body .qi-tb .qi-tb-dem {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0 0 12px;
    color: var(--cm-phu);
    font-size: 14px;
}
html body .qi-tb .qi-tb-dem b { color: var(--cm-chu); font-weight: 600; }
html body .qi-tb .qi-tb-xoaloc { color: var(--cm-mau) !important; font-weight: 500; text-decoration: underline !important; }

html body .qi-tb .qi-tb-ds {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
html body .qi-tb .qi-tb-ds > li { margin: 0; padding: 0; list-style: none; }
html body .qi-tb .qi-tb-ds > li::before,
html body .qi-tb .qi-tb-ds > li::marker { content: none; }

html body .qi-tb .qi-tb-thang {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px !important;
    color: var(--cm-phu);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html body .qi-tb .qi-tb-thang:first-child { margin-top: 0 !important; }
html body .qi-tb .qi-tb-thang::after { content: ""; flex: 1; height: 1px; background: var(--cm-vien); }

html body .qi-tb a.qi-tb-the {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 16px 16px 16px 18px;
    border: 1px solid var(--cm-vien);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    color: var(--cm-chu) !important;
    text-decoration: none !important;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
html body .qi-tb a.qi-tb-the:hover {
    border-color: color-mix(in srgb, var(--cm-mau) 45%, #fff);
    box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
    transform: translateY(-1px);
}
html body .qi-tb a.qi-tb-the:focus-visible { outline: 3px solid color-mix(in srgb, var(--cm-mau) 45%, #fff); outline-offset: 2px; }

html body .qi-tb .qi-tb-ngay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--cm-mau) 9%, #fff);
    color: var(--cm-mau);
    line-height: 1;
}
html body .qi-tb .qi-tb-ngay b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
html body .qi-tb .qi-tb-ngay span { margin-top: 6px; font-size: 12px; font-weight: 500; opacity: .85; }
html body .qi-tb .qi-tb-the--moi .qi-tb-ngay { background: var(--cm-mau); color: #fff; }

html body .qi-tb .qi-tb-than { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body .qi-tb .qi-tb-ten {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--cm-chu);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    transition: color .15s;
}
html body .qi-tb a.qi-tb-the:hover .qi-tb-ten { color: var(--cm-mau); }
html body .qi-tb .qi-tb-tomtat {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--cm-phu);
    font-size: 14.5px;
    line-height: 1.55;
}
html body .qi-tb .qi-tb-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    color: var(--cm-phu);
    font-size: 13px;
}
html body .qi-tb .qi-tb-gio { display: inline-flex; align-items: center; gap: 5px; }
html body .qi-tb .qi-tb-moi {
    padding: 2px 9px;
    border-radius: 999px;
    background: #fdecea;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

html body .qi-tb .qi-tb-anh {
    display: block;
    width: 168px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #e6ebf1;
}
html body .qi-tb .qi-tb-anh img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
}
html body .qi-tb .qi-tb-mt { flex: none; color: #9aa4b2; transition: color .15s, transform .15s; }
html body .qi-tb a.qi-tb-the:hover .qi-tb-mt { color: var(--cm-mau); transform: translateX(2px); }

html body .qi-tb .qi-tb-trong {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 16px;
    border: 1px dashed var(--cm-vien);
    border-radius: 14px;
    color: var(--cm-phu);
    text-align: center;
}
html body .qi-tb .qi-tb-trong p { margin: 0; font-size: 15px; }

@media (max-width: 991.98px) {
    html body .qi-tb .qi-tb-anh { width: 128px; }
}
@media (max-width: 575.98px) {
    html body .qi-tb .qi-tb-ds { gap: 10px; }
    html body .qi-tb a.qi-tb-the {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 14px 12px;
        border-radius: 12px;
    }
    html body .qi-tb .qi-tb-ngay { width: 56px; height: 62px; border-radius: 10px; }
    html body .qi-tb .qi-tb-ngay b { font-size: 22px; }
    html body .qi-tb .qi-tb-ngay span { margin-top: 5px; font-size: 10.5px; }
    html body .qi-tb .qi-tb-ten { font-size: 15.5px; -webkit-line-clamp: 3; }
    html body .qi-tb .qi-tb-tomtat { font-size: 14px; }
    html body .qi-tb .qi-tb-anh,
    html body .qi-tb .qi-tb-mt { display: none; }
    html body .qi-tb .qi-cm-tab { min-height: 44px; padding: 7px 16px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
    html body .qi-tb a.qi-tb-the,
    html body .qi-tb .qi-tb-mt { transition: none; }
    html body .qi-tb a.qi-tb-the:hover { transform: none; }
}
