/* Trang Team Building – giao diện mới (2026-10-26) */
.tv-tbh .tv-i, .tv-tbs .tv-i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Phần mở đầu */
.content > .banner { overflow: hidden; background: linear-gradient(180deg, #FDFEFF, #EAF2FC); }
.content > .banner img { display: block; width: 100%; height: auto; margin-top: -4.6vw; }
.tv-tbh { position: relative; display: flow-root; background: transparent; }
.tv-tbh-in { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 12px; }
.tv-tbh-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 32px 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(11, 34, 89, .06), 0 26px 50px -18px rgba(11, 34, 89, .4); }
.tv-tb-eb { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-family: SF-UI-Text-Semibold; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.tv-tb-eb::before { content: ""; flex: none; width: 24px; height: 3px; border-radius: 3px; background: var(--red); }
.tv-tbh h1 { margin: 9px 0 12px; color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 38px; font-weight: 700; line-height: 1.15; }
.tv-tbh-lead { max-width: 34em; margin: 0; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.tv-tbh-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tv-btn-r, .tv-btn-o { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 13px; font-family: SF-UI-Text-Semibold; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.tv-btn-r .tv-i, .tv-btn-o .tv-i { font-size: 19px; }
.tv-btn-r { border: 1.5px solid var(--red); background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px rgba(181, 18, 59, .7); }
.tv-btn-r:hover, .tv-btn-r:focus { border-color: var(--red-d); background: var(--red-d); color: #fff; text-decoration: none; }
.tv-btn-o { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); }
.tv-btn-o:hover, .tv-btn-o:focus { background: var(--navy); color: #fff; text-decoration: none; }
.tv-tbh-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tv-tbh-facts li { display: flex; align-items: center; gap: 15px; padding: 14px 18px; border-radius: 16px; background: var(--sky); }
.tv-tbh-facts .ic { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 8px 14px -8px rgba(181, 18, 59, .7); }
.tv-tbh-facts .ic .tv-i { font-size: 23px; }
.tv-tbh-facts b { display: block; color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 17px; line-height: 1.25; }
.tv-tbh-facts em { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; font-style: normal; line-height: 1.45; }
.tv-tb-crumb { padding-top: 10px; }

/* Khung từng mục */
.tv-tbs { padding: 52px 0 44px; scroll-margin-top: 82px; }
.tv-tbs.alt { background: var(--sky); }
.tv-tbs-h { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tv-tbs-h h2 { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 28px; font-weight: 700; line-height: 1.25; }
.tv-tbs-ico { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; box-shadow: 0 6px 12px -6px rgba(181, 18, 59, .65); }
.tv-tbs-ico .tv-i { font-size: 21px; }
.tv-tbs-pill { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 42px; padding: 0 18px; border-radius: 12px; background: var(--red); color: #fff; font-family: SF-UI-Text-Semibold; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.tv-tbs-pill .tv-i { font-size: 17px; transition: transform .2s; }
.tv-tbs-pill:hover, .tv-tbs-pill:focus { background: var(--red-d); color: #fff; text-decoration: none; }
.tv-tbs-pill:hover .tv-i { transform: translateX(3px); }
.tv-tb-more { display: none; margin-top: 16px; }
.tv-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 0 24px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font-family: SF-UI-Text-Semibold; font-size: 14.5px; text-decoration: none; }
.tv-more-btn:hover, .tv-more-btn:focus { background: var(--navy); color: #fff; text-decoration: none; }
.tv-more-btn .tv-i { font-size: 18px; }

/* Thẻ chương trình */
.tv-tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.tv-tp { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s, border-color .2s; }
.tv-tp:hover { border-color: #B9CBEE; box-shadow: var(--sh-md); transform: translateY(-3px); }
.tv-tp-ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky-2); }
.tv-tp-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tv-tp:hover .tv-tp-ph img { transform: scale(1.05); }
.tv-tp-b { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.tv-tp-t { margin: 0; font-family: SF-UI-Text-Semibold; font-size: 18px; line-height: 1.4; }
.tv-tp-t a { color: var(--navy); text-decoration: none; transition: color .2s; }
.tv-tp-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tv-tp:hover .tv-tp-t a { color: var(--red); }
.tv-tp-x { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text); font-size: 14.5px; line-height: 1.65; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.tv-tp-go { display: inline-flex; align-items: center; justify-content: center; align-self: center; min-height: 44px; margin-top: auto; padding: 0 28px; border-radius: 999px; background: var(--red); color: #fff; font-family: SF-UI-Text-Semibold; font-size: 14.5px; transition: background .2s; }
.tv-tp:hover .tv-tp-go { background: var(--red-d); }
.tv-tp-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(181, 18, 59, .94); color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .34), 0 8px 22px rgba(6, 19, 54, .42); pointer-events: none; transition: transform .25s, background .2s; }
.tv-tp-play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.tv-tp:hover .tv-tp-play { background: var(--red-d); transform: scale(1.1); }

/* Thẻ bài viết */
.tv-tn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.tv-tn { position: relative; display: grid; grid-template-columns: minmax(0, 41%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s, border-color .2s; }
.tv-tn:hover { border-color: #B9CBEE; box-shadow: var(--sh-md); transform: translateY(-3px); }
.tv-tn-ph { position: relative; min-height: 210px; overflow: hidden; background: var(--sky-2); }
.tv-tn-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tv-tn:hover .tv-tn-ph img { transform: scale(1.05); }
.tv-tn-b { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px 22px; }
.tv-tn-t { margin: 0; font-family: SF-UI-Text-Semibold; font-size: 18.5px; line-height: 1.4; }
.tv-tn-t a { color: var(--navy); text-decoration: none; transition: color .2s; }
.tv-tn-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tv-tn:hover .tv-tn-t a { color: var(--red); }
.tv-tn-x { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text); font-size: 14.5px; line-height: 1.7; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.tv-tn-go { display: inline-flex; align-items: center; gap: 2px; margin-top: auto; color: var(--red); font-family: SF-UI-Text-Semibold; font-size: 14.5px; }
.tv-tn-go .tv-i { font-size: 18px; transition: transform .2s; }
.tv-tn:hover .tv-tn-go .tv-i { transform: translateX(3px); }

@media (max-width: 1199px) {
    .tv-tbh-card { gap: 26px; padding: 28px 30px; }
    .tv-tbh h1 { font-size: 34px; }
    .tv-tp-grid, .tv-tn-grid { gap: 20px; }
    .tv-tp-b { padding: 16px 16px 18px; }
    .tv-tp-t { font-size: 17px; }
}
@media (max-width: 991px) {
    .tv-tbh-card { grid-template-columns: minmax(0, 1fr); }
    .tv-tbh-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tv-tbh-facts li { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tv-tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tv-tn-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .tv-tbh-in { margin-top: -16px; }
    .tv-tbh-card { gap: 16px; padding: 22px 18px 20px; border-radius: 20px; }
    .tv-tb-eb { font-size: 12px; letter-spacing: .06em; }
    .tv-tbh h1 { margin: 7px 0 9px; font-size: 26px; }
    .tv-tbh-lead { font-size: 15px; line-height: 1.65; }
    .tv-tbh-act { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
    .tv-btn-r, .tv-btn-o { gap: 6px; padding: 0 10px; font-size: 14.5px; white-space: normal; text-align: center; }
    .tv-btn-r .tv-i, .tv-btn-o .tv-i { font-size: 17px; }
    .tv-tbh-facts { display: flex; flex-wrap: wrap; gap: 8px; }
    .tv-tbh-facts li { flex-direction: row; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; }
    .tv-tbh-facts .ic { width: 30px; height: 30px; border-radius: 50%; box-shadow: none; }
    .tv-tbh-facts .ic .tv-i { font-size: 16px; }
    .tv-tbh-facts b { font-size: 13.5px; }
    .tv-tbh-facts em { display: none; }
    .tv-tbs { padding: 34px 0 30px; }
    .tv-tbs-h { margin-bottom: 14px; }
    .tv-tbs-h h2 { font-size: 21px; }
    .tv-tbs-ico { width: 36px; height: 36px; border-radius: 11px; }
    .tv-tbs-ico .tv-i { font-size: 19px; }
    .tv-tbs-pill { display: none; }
    .tv-tb-more { display: block; }
    .tv-tp-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .tv-tp-ph { aspect-ratio: 16 / 10; }
    .tv-tp-b { gap: 8px; padding: 15px 16px 17px; }
    .tv-tp-x { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
    .tv-tp-go { width: 100%; min-height: 46px; }
    .tv-tp-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
    .tv-tp-rail { display: flex; gap: 12px; margin: 0 -15px; padding: 4px 15px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 15px; scrollbar-width: none; }
    .tv-tp-rail::-webkit-scrollbar { display: none; }
    .tv-tp-rail > .tv-tp { flex: 0 0 82%; scroll-snap-align: start; }
    .tv-tp-rail > .tv-tp:hover { transform: none; }
    .tv-tn-grid { gap: 12px; }
    .tv-tn { grid-template-columns: 118px minmax(0, 1fr); border-radius: 16px; }
    .tv-tn-ph { min-height: 0; }
    .tv-tn-b { gap: 6px; padding: 12px 14px 12px 12px; }
    .tv-tn-t { font-size: 15.5px; }
    .tv-tn-x { font-size: 13px; line-height: 1.55; -webkit-line-clamp: 3; }
}

/* Nút "Xem thêm" đặt dưới danh sách (Team Building) */
.tv-tb-more.is-all { display: block; margin-top: 28px; text-align: center; }
.tv-tb-more.is-all .tv-more-btn { display: inline-flex; width: auto; min-width: 200px; }
@media (max-width: 767px) {
    .tv-tb-more.is-all { margin-top: 16px; }
    .tv-tb-more.is-all .tv-more-btn { display: flex; width: 100%; }
}

/* Cân lại ngắt dòng chữ trong khung mở đầu (Team Building) */
.tv-tbh h1 { text-wrap: balance; }
.tv-tbh-lead { text-wrap: pretty; }

/* Máy tính: tiêu đề 1 dòng, khối chữ thẳng hàng trên/dưới với cột điểm mạnh */
@media (min-width: 1200px) {
    .tv-tbh-card { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: stretch; }
    .tv-tbh-tx { display: flex; flex-direction: column; justify-content: space-between; }
    .tv-tbh h1 { margin: 0 0 4px; font-size: 30px; line-height: 1.2; white-space: nowrap; }
    .tv-tbh-act { margin-top: 0; }
}

.tv-tbh-lead strong { color: var(--navy); font-family: SF-UI-Text-Semibold; font-weight: normal; }

/* Mobile: hero team building gon hon (2026-10-30) */
/* An dong mo ta nho o 3 o noi bat tren moi man hinh, dong bo voi mobile */
.tv-tbh-facts em { display: none; }
@media (max-width: 991px) {
    .tv-tbh-lead { max-width: none; }
}
@media (max-width: 767px) {
    .tv-tbh-in { margin-top: -18px; }
    .tv-tbh-card { gap: 14px; padding: 18px 16px 16px; border-radius: 18px; }
    .tv-tbh h1 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; text-wrap: wrap; }
    .tv-tbh-lead { margin: 0; font-size: 14px; line-height: 1.55; text-align: justify; hyphens: none; }
    .tv-tbh-act { margin-top: 12px; }
    .tv-tbh-act .tv-btn-r { min-height: 46px; border-radius: 12px; font-size: 14.5px; }
    .tv-tbh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
    .tv-tbh-facts li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 10px 4px; border-radius: 12px; text-align: center; }
    .tv-tbh-facts .ic { width: 32px; height: 32px; border-radius: 10px; box-shadow: none; }
    .tv-tbh-facts .ic .tv-i { font-size: 16px; }
    .tv-tbh-facts b { display: block; font-size: 12px; line-height: 1.3; }
    .tv-tbh-facts em { display: none; }
}