/*
 * Trang chủ viettelhcmc.com – template "VHCMC Trang chủ" (template-vhcmc-home.php). Lô 36, 22/10/2026, cuongnd16.
 * Mọi class có tiền tố .vhh-, chỉ nạp trên trang dùng template này.
 */
.vhh {
	--vhh-red: #ee0033;
	--vhh-red-dark: #b3002a;
	--vhh-ink: #1b2333;
	--vhh-muted: #5a6478;
	--vhh-line: #e6e9f0;
	--vhh-soft: #f5f7fb;
	--vhh-teal: #0a7c76;
	--vhh-blue: #1f5fbf;
	--vhh-gold: #e8a317;
	--vhh-violet: #6b3fb5;
	--vhh-radius: 16px;
	color: var(--vhh-ink);
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}
.vhh *, .vhh *::before, .vhh *::after { box-sizing: border-box; }
/* Bỏ khung thẻ trắng theme đặt cho article của trang */
.vhh-main { width: 100% !important; float: none; }
.vhh-main > article.vhh { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0; max-width: none; }
.vhh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.vhh-sec { padding: 56px 0; }
.vhh-sec--soft { background: var(--vhh-soft); }
.vhh h1, .vhh h2, .vhh h3 { font-family: "Be Vietnam Pro", Roboto, Arial, sans-serif; color: var(--vhh-ink); line-height: 1.25; }
.vhh h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 10px; }
.vhh h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.vhh p { margin: 0 0 12px; }
.vhh a { color: var(--vhh-red); text-decoration: none; }
.vhh a:hover { text-decoration: underline; }
.vhh-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vhh-red); background: #fff0f3; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.vhh-lead { color: var(--vhh-muted); max-width: 760px; margin-bottom: 26px; }
.vhh-center { text-align: center; }
.vhh-center .vhh-lead { margin-left: auto; margin-right: auto; }

/* Hero */
.vhh-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 38%), linear-gradient(135deg, #ee0033 0%, #c40030 55%, #8f0024 100%); padding: 56px 0 64px; }
.vhh-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); pointer-events: none; }
.vhh-hero .vhh-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.vhh-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin: 0 0 14px; }
.vhh-hero p { color: rgba(255,255,255,.92); font-size: 17px; }
.vhh-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.vhh-badge svg { width: 16px; height: 16px; }
.vhh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.vhh-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease; }
.vhh-btn:hover { text-decoration: none !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.vhh-btn svg { width: 18px; height: 18px; }
.vhh-btn--light { background: #fff; color: var(--vhh-red) !important; }
.vhh-btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff !important; }
.vhh-btn--red { background: var(--vhh-red); color: #fff !important; }
.vhh-hero-card { background: #fff; color: var(--vhh-ink); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px rgba(60,0,15,.28); }
.vhh-hero-card h2 { font-size: 19px; margin-bottom: 12px; }
.vhh-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--vhh-line); }
.vhh-price-row:last-of-type { border-bottom: 0; }
.vhh-price-row span { color: var(--vhh-muted); font-size: 14px; }
.vhh-price-row strong { color: var(--vhh-red); font-size: 20px; font-family: "Be Vietnam Pro", Roboto, Arial, sans-serif; white-space: nowrap; }
.vhh-note, .vhh-hero .vhh-hero-card p { font-size: 13px; color: var(--vhh-muted); margin-top: 8px; }
.vhh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 1100px), (min-width: 620px) and (max-width: 900px) {
	.vhh-stats { grid-template-columns: repeat(4, 1fr); }
}
.vhh-stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 12px 14px; }
.vhh-stat b { display: block; font-size: 20px; font-family: "Be Vietnam Pro", Roboto, Arial, sans-serif; }
.vhh-stat small { color: rgba(255,255,255,.85); font-size: 13px; }

/* Lưới thẻ */
/* Số cột cố định để không lẻ thẻ cuối hàng: 3 cột (lưới 3 hoặc 6 thẻ), 4 cột cho lưới đúng 4 thẻ */
.vhh-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.vhh-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.vhh-card { position: relative; background: #fff; border: 1px solid var(--vhh-line); border-radius: var(--vhh-radius); padding: 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.vhh-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,35,51,.08); border-color: transparent; }
.vhh-card p { color: var(--vhh-muted); font-size: 15px; }
.vhh-card .vhh-more { font-weight: 700; font-size: 14px; }
.vhh-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: var(--vhh-red); box-shadow: 0 8px 18px rgba(238,0,51,.22); }
.vhh-ico svg { width: 28px; height: 28px; }
.vhh-ico--teal { background: var(--vhh-teal); box-shadow: 0 8px 18px rgba(10,124,118,.22); }
.vhh-ico--blue { background: var(--vhh-blue); box-shadow: 0 8px 18px rgba(31,95,191,.22); }
.vhh-ico--gold { background: var(--vhh-gold); box-shadow: 0 8px 18px rgba(232,163,23,.25); }
.vhh-ico--violet { background: var(--vhh-violet); box-shadow: 0 8px 18px rgba(107,63,181,.22); }
.vhh-ico--ink { background: var(--vhh-ink); box-shadow: 0 8px 18px rgba(27,35,51,.2); }
.vhh-tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: var(--vhh-red); background: #fff0f3; padding: 3px 10px; border-radius: 999px; }
.vhh-from { display: block; margin: 6px 0 10px; font-weight: 700; color: var(--vhh-ink); }

/* Bảng giá dạng tab (không cần JavaScript) */
.vhh-tabs { margin-top: 18px; }
.vhh-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.vhh-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.vhh-tablist label { cursor: pointer; border: 1.5px solid var(--vhh-line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; color: var(--vhh-muted); }
.vhh-panel { display: none; }
#vhh-t1:checked ~ .vhh-tablist label[for="vhh-t1"], #vhh-t2:checked ~ .vhh-tablist label[for="vhh-t2"], #vhh-t3:checked ~ .vhh-tablist label[for="vhh-t3"], #vhh-t4:checked ~ .vhh-tablist label[for="vhh-t4"] { background: var(--vhh-red); border-color: var(--vhh-red); color: #fff; }
#vhh-t1:checked ~ .vhh-p1, #vhh-t2:checked ~ .vhh-p2, #vhh-t3:checked ~ .vhh-p3, #vhh-t4:checked ~ .vhh-p4 { display: block; }
.vhh-tabs > input:focus-visible ~ .vhh-tablist label { outline: 2px solid var(--vhh-blue); outline-offset: 2px; }
.vhh-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--vhh-line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.vhh-table th { background: var(--vhh-ink); color: #fff; text-align: left; font-weight: 700; padding: 12px 14px; }
/* .vhh đứng trước để thắng luật "table tr:first-child td" (nền đỏ, chữ trắng, căn giữa) của custom_main_style.css */
.vhh .vhh-table td { padding: 12px 14px; border: 0; border-top: 1px solid var(--vhh-line); vertical-align: top; background: #fff; color: var(--vhh-ink); text-align: left; font-weight: 400; }
.vhh .vhh-table tbody tr:nth-child(even) td { background: #fafbfd; }
.vhh .vhh-table td.vhh-money { font-weight: 800; color: var(--vhh-red); white-space: nowrap; }
.vhh-table td b { font-family: "Be Vietnam Pro", Roboto, Arial, sans-serif; }
.vhh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vhh-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.vhh-zone div { background: #fff; border: 1px solid var(--vhh-line); border-left: 4px solid var(--vhh-red); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.vhh-zone div:last-child { border-left-color: var(--vhh-teal); }

/* Quy trình */
.vhh-steps { counter-reset: vhhstep; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.vhh-step { position: relative; background: #fff; border: 1px solid var(--vhh-line); border-radius: var(--vhh-radius); padding: 22px 20px 20px; }
.vhh-step::before { counter-increment: vhhstep; content: counter(vhhstep); position: absolute; top: -14px; left: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--vhh-red); color: #fff; font-weight: 800; font-size: 14px; }
.vhh-step p { color: var(--vhh-muted); font-size: 15px; }

/* Khu vực */
.vhh-areas { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.vhh-area { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--vhh-line); border-radius: 12px; padding: 12px 14px; font-weight: 700; color: var(--vhh-ink) !important; }
.vhh-area svg { width: 22px; height: 22px; color: var(--vhh-red); flex: 0 0 auto; }
.vhh-area:hover { border-color: var(--vhh-red); text-decoration: none !important; }
.vhh-more-areas { margin-top: 16px; background: #fff; border: 1px solid var(--vhh-line); border-radius: 12px; padding: 4px 16px; }
.vhh-more-areas summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.vhh-more-areas ul { columns: 3 200px; column-gap: 24px; margin: 0 0 12px; padding-left: 18px; }
.vhh-more-areas li { margin: 3px 0; break-inside: avoid; }

/* FAQ */
.vhh-faq details { background: #fff; border: 1px solid var(--vhh-line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.vhh-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; }
.vhh-faq summary::-webkit-details-marker { display: none; }
.vhh-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--vhh-red); font-weight: 400; }
.vhh-faq details[open] summary::after { content: "−"; }
.vhh-faq summary h3 { display: inline; font-size: 17px; margin: 0; }
.vhh-faq details > div { padding: 0 0 14px; color: var(--vhh-muted); }

/* Dải liên hệ */
.vhh-band { background: linear-gradient(120deg, var(--vhh-ink) 0%, #2b3550 100%); color: #fff; border-radius: 22px; padding: 34px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.vhh-band h2 { color: #fff; }
.vhh-band p { color: rgba(255,255,255,.86); }
.vhh-hotlines { display: grid; gap: 10px; }
.vhh-hotlines a { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 14px; color: #fff !important; font-weight: 700; }
.vhh-hotlines a:hover { background: rgba(255,255,255,.16); text-decoration: none !important; }
.vhh-hotlines svg { width: 20px; height: 20px; color: #ffb3c3; }
.vhh-hotlines small { color: rgba(255,255,255,.7); font-weight: 400; margin-left: auto; }

.vhh-links { display: flex; flex-wrap: wrap; gap: 10px; }
.vhh-links a { background: #fff; border: 1px solid var(--vhh-line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--vhh-ink) !important; }
.vhh-links a:hover { border-color: var(--vhh-red); color: var(--vhh-red) !important; text-decoration: none !important; }
.vhh-figure { margin: 22px 0 0; }
.vhh-figure img { width: 100%; height: auto; border-radius: var(--vhh-radius); display: block; }
.vhh-figure--banner { max-width: 520px; margin-left: auto; margin-right: auto; }
.vhh-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 8px; }
.vhh-figs .vhh-figure img { background: #fff; border: 1px solid var(--vhh-line); }
.vhh-figs--one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.vhh-figure figcaption { font-size: 13px; color: var(--vhh-muted); margin-top: 8px; text-align: center; }
.vhh-updated { font-size: 13px; color: var(--vhh-muted); }

@media (max-width: 900px) {
	.vhh-hero .vhh-wrap, .vhh-band { grid-template-columns: 1fr; }
	.vhh-zone { grid-template-columns: 1fr; }
	.vhh-grid, .vhh-grid:has(> :nth-child(4):last-child), .vhh-steps { grid-template-columns: repeat(2, 1fr); }
	.vhh-steps { row-gap: 26px; }
}
@media (max-width: 560px) {
	.vhh-sec { padding: 40px 0; }
	.vhh-hero { padding: 40px 0 46px; }
	.vhh-band { padding: 24px; }
	.vhh-grid, .vhh-grid:has(> :nth-child(4):last-child), .vhh-steps, .vhh-figs { grid-template-columns: 1fr; }
	/* Bảng chưa có data-label (không qua vhcmc_home_table_labels) giữ bề rộng tối thiểu và cuộn ngang trong khung. Lô 48: bảng
	   .vhh-table--stack hiện thành thẻ (xem cuối tệp) nên không cần dòng "Vuốt ngang". */
	.vhh-table:not(.vhh-table--stack) { font-size: 14px; min-width: 600px; }
	.vhh .vhh-table:not(.vhh-table--stack) th, .vhh .vhh-table:not(.vhh-table--stack) td { padding: 10px; }
	.vhh .vhh-table:not(.vhh-table--stack) td:first-child { white-space: nowrap; }
	.vhh-table-wrap:not(:has(.vhh-table--stack))::before { content: "Vuốt ngang để xem đủ bảng"; display: block; font-size: 12px; color: var(--vhh-muted); margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.vhh-card, .vhh-btn, .vhh-post-img img, .vhh .vhh-post-link, .vhh-posts-tabs button { transition: none; }
	.vhh-posts.is-tabs .vhh-posts-col { animation: none; }
}


/* ===== Lô 48 (23/10/2026, cuongnd16): bảng và thẻ gọn trên điện thoại; khối bài viết cuối trang ===== */

/* Bảng thành thẻ: mỗi dòng một thẻ, cột đầu là tên thẻ, các cột còn lại xếp 2 ô một hàng, mỗi ô ghi tên cột (data-label). */
@media (max-width: 640px) {
	.vhh-table-wrap:has(.vhh-table--stack) { overflow: visible; }
	.vhh-table--stack, .vhh-table--stack tbody, .vhh-table--stack td { display: block; }
	.vhh-table--stack { min-width: 0; border: 0; border-radius: 0; background: none; overflow: visible; font-size: 14px; }
	.vhh-table--stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.vhh-table--stack tbody { display: grid; gap: 10px; }
	.vhh-table--stack tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--vhh-line); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(27, 35, 51, .05); }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td { background: #fff; border: 0; border-top: 1px solid var(--vhh-line); padding: 8px 12px; line-height: 1.45; min-width: 0; white-space: normal; }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td:nth-child(odd):not(:first-child) { border-left: 1px solid var(--vhh-line); }
	.vhh .vhh-table--stack td::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--vhh-muted); }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td:first-child { grid-column: 1 / -1; border-top: 0; padding: 10px 12px; font-size: 15px; font-weight: 700; background: linear-gradient(90deg, #fff0f3 0%, #fff 85%); }
	.vhh .vhh-table--stack td:first-child::before { content: none; }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td:last-child:nth-child(even) { grid-column: 1 / -1; }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td.vhh-money { font-size: 16px; white-space: nowrap; }
}
@media (max-width: 340px) {
	.vhh-table--stack tr { grid-template-columns: minmax(0, 1fr); }
	.vhh .vhh-table--stack tbody tr:nth-child(n) td:nth-child(odd):not(:first-child) { border-left: 0; }
}

/* Thẻ tính năng, dịch vụ, bước đăng ký: icon/số bên trái, chữ bên phải, bớt khoảng trống (thẻ cao ~240px → ~130px). */
@media (max-width: 560px) {
	.vhh-grid, .vhh-grid:has(> :nth-child(4):last-child) { gap: 12px; }
	.vhh-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px; }
	.vhh-card > * { grid-column: 2; }
	.vhh-card > .vhh-ico { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; margin: 2px 0 0; border-radius: 12px; }
	.vhh-card > .vhh-ico svg { width: 22px; height: 22px; }
	.vhh-card > .vhh-tag { position: static; justify-self: start; margin-bottom: 6px; }
	.vhh .vhh-card h3 { font-size: 17px; margin-bottom: 4px; }
	.vhh .vhh-card p { font-size: 14.5px; line-height: 1.55; margin-bottom: 6px; }
	.vhh-card .vhh-from { margin: 0 0 4px; }
	.vhh-steps { gap: 12px; row-gap: 12px; margin-top: 22px; }
	.vhh-step { padding: 14px 16px 12px 56px; }
	.vhh-step::before { top: 14px; left: 14px; }
	.vhh .vhh-step p { font-size: 14.5px; line-height: 1.55; margin-bottom: 0; }
}

/* Khối "Bài viết xem nhiều" / "Bài viết mới nhất" (vhcmc-home-extras.php, vhcmc-home.js). */
.vhh-posts-tabs { display: none; }
.vhh-posts-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.vhh-posts-col { background: #fff; border: 1px solid var(--vhh-line); border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px rgba(27, 35, 51, .05); }
.vhh .vhh-posts-title { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 16px; }
.vhh-posts-title svg { flex: 0 0 auto; width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #ff5a3c 0%, var(--vhh-red) 100%); box-shadow: 0 6px 14px rgba(238, 0, 51, .22); }
.vhh-posts-col--new .vhh-posts-title svg { background: linear-gradient(135deg, #2b8fe0 0%, var(--vhh-blue) 100%); box-shadow: 0 6px 14px rgba(31, 95, 191, .22); }
.vhh .vhh-posts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: vhhpost; }
.vhh .vhh-posts-list > li { margin: 0; padding: 0; list-style: none; counter-increment: vhhpost; }
.vhh .vhh-posts-list > li.vhh-post--lead { padding-bottom: 14px; border-bottom: 1px dashed var(--vhh-line); }
.vhh .vhh-post-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; margin: -6px; padding: 6px; border-radius: 14px; color: var(--vhh-ink); transition: background-color .2s ease; }
.vhh .vhh-post-link:hover, .vhh .vhh-post-link:focus-visible { background: var(--vhh-soft); text-decoration: none; }
.vhh-post-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 12px; background: var(--vhh-soft); }
.vhh .vhh-post-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .45s ease; }
.vhh .vhh-post-link:hover .vhh-post-img img { transform: scale(1.07); }
.vhh-post-body { min-width: 0; }
.vhh-post-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: "Be Vietnam Pro", Roboto, Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.4; transition: color .2s ease; }
.vhh .vhh-post-link:hover .vhh-post-name { color: var(--vhh-red); }
.vhh-post-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--vhh-muted); }
.vhh .vhh-post--lead .vhh-post-link { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vhh-post--lead .vhh-post-img { aspect-ratio: 16 / 9; }
.vhh-post--lead .vhh-post-name { font-size: 17px; }
/* Thứ hạng lượt xem và nhãn "Mới" trên ảnh */
.vhh-posts-col--pop .vhh-post-img::after, .vhh-posts-col--new .vhh-post--lead .vhh-post-img::after { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(27, 35, 51, .74); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.vhh-posts-col--pop .vhh-post-img::after { content: counter(vhhpost); }
.vhh-posts-col--pop .vhh-post:nth-child(-n+3) .vhh-post-img::after { background: linear-gradient(135deg, #ff6b3d 0%, var(--vhh-red) 100%); }
.vhh-posts-col--new .vhh-post--lead .vhh-post-img::after { content: "Mới"; background: linear-gradient(135deg, #2b8fe0 0%, var(--vhh-blue) 100%); }
.vhh-post--lead .vhh-post-img::after { top: 10px !important; left: 10px !important; min-width: 28px !important; height: 28px !important; font-size: 14px !important; }
.vhh-posts-all { margin: 22px 0 0; text-align: center; }
/* Hiện dần khi cuộn tới (vhcmc-home.js thêm .is-anim, .is-in; không có JS thì bài hiện bình thường) */
.vhh-posts.is-anim .vhh-post { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.vhh-posts.is-in .vhh-post { opacity: 1; transform: none; }
@keyframes vhhPostsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Máy tính: bài đầu ảnh trái, chữ phải để cột gọn */
@media (min-width: 761px) {
	.vhh .vhh-post--lead .vhh-post-link { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 16px; align-items: start; }
	.vhh-post--lead .vhh-post-img { aspect-ratio: 16 / 10; }
	.vhh-post--lead .vhh-post-name { -webkit-line-clamp: 3; }
}
@media (max-width: 760px) {
	.vhh-posts-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.vhh-posts.is-tabs .vhh-posts-tabs { display: flex; gap: 6px; margin-top: 16px; padding: 5px; background: #fff; border: 1px solid var(--vhh-line); border-radius: 999px; }
	.vhh-posts-tabs button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 10px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--vhh-muted); font: 700 15px/1.2 "Be Vietnam Pro", Roboto, Arial, sans-serif; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
	.vhh-posts-tabs button svg { width: 18px; height: 18px; }
	.vhh-posts-tabs button[aria-selected="true"] { background: var(--vhh-red); color: #fff; box-shadow: 0 6px 16px rgba(238, 0, 51, .25); }
	.vhh-posts-tabs button:focus-visible { outline: 2px solid var(--vhh-blue); outline-offset: 2px; }
	.vhh-posts.is-tabs .vhh-posts-cols { margin-top: 12px; }
	.vhh-posts.is-tabs[data-tab="pop"] .vhh-posts-col--new, .vhh-posts.is-tabs[data-tab="new"] .vhh-posts-col--pop { display: none; }
	.vhh-posts.is-tabs .vhh-posts-col { animation: vhhPostsIn .35s ease; }
	.vhh-posts.is-tabs .vhh-posts-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.vhh-posts-col { padding: 14px; border-radius: 16px; }
	.vhh .vhh-post-link { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
	.vhh-post-name { font-size: 14.5px; }
	.vhh-post--lead .vhh-post-name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.vhh-posts.is-anim .vhh-post { opacity: 1; transform: none; transition: none; }
}
