/* ============================================================
   Site Tech Review - bo khung giao dien
   Thu tu: bien -> nen tang -> dau trang -> the bai -> dai noi dung
           -> danh sach -> dau trang muc -> cot ben -> chan trang -> man hinh nho
   ============================================================ */

/* --- 1. Bien --------------------------------------------- */
:root {
	--ink:       #0d0f12;
	--ink-2:     #3b424b;
	--muted:     #6b7480;
	--rule:      #dde2e8;
	--rule-soft: #eceff3;
	--paper:     #ffffff;
	--paper-2:   #f5f7f9;
	--paper-3:   #e9edf1;
	--bar:       #14171c;
	--bar-2:     #1d222a;

	--accent:      #e11b22;
	--accent-dark: #b01319;

	--top:  #0f8b4c;   /* diem cao  */
	--high: #2a9d48;
	--mid:  #c07800;
	--low:  #c0392b;

	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

	--wrap:   1280px;
	--narrow: 780px;
	--gut:    20px;
}

/* --- 2. Nen tang ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.tr-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}
.tr-wrap--narrow { max-width: calc(var(--narrow) + var(--gut) * 2); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.tr-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--accent); color: #fff;
	padding: 12px 20px; font-size: 14px; font-weight: 600;
}
.tr-skip:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* --- 3. Dau trang ---------------------------------------- */
.tr-head { position: sticky; top: 0; z-index: 90; }
.tr-head__bar { background: var(--bar); color: #fff; }
.tr-head__inner {
	display: flex; align-items: center; gap: 18px;
	min-height: 58px;
}

.tr-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.tr-logo__text {
	font-weight: 800; font-size: 19px; letter-spacing: -.03em;
	color: #fff; white-space: nowrap;
	max-width: 42vw; overflow: hidden; text-overflow: ellipsis;
}

.tr-nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tr-nav::-webkit-scrollbar { display: none; }
.tr-nav__list {
	display: flex; gap: 20px; list-style: none;
	align-items: center; white-space: nowrap; width: max-content;
}
.tr-nav__list a {
	display: block; padding: 19px 0;
	font-family: var(--cond);
	font-size: 16px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	color: #c9ced6;
	border-bottom: 3px solid transparent;
}
.tr-nav__list li:hover a,
.tr-nav__list .current-menu-item a,
.tr-nav__list .current-cat a { color: #fff; border-bottom-color: var(--accent); }

.tr-head__tools { display: flex; align-items: center; gap: 9px; flex: none; margin-left: auto; }
.tr-iconbtn {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	background: none; border: 1px solid #3a4049; color: #fff;
	cursor: pointer;
}
.tr-iconbtn:hover { border-color: #fff; }
.tr-iconbtn svg, .tr-searchform svg {
	width: 16px; height: 16px;
	fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}
.tr-cta {
	background: var(--accent); color: #fff;
	padding: 9px 15px;
	font-size: 12px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.tr-cta:hover { background: var(--accent-dark); }

.tr-burger {
	display: none; width: 34px; height: 34px;
	background: none; border: 0; cursor: pointer; padding: 0;
}
.tr-burger span[aria-hidden] { display: grid; gap: 4px; width: 19px; margin-inline: auto; }
.tr-burger i { display: block; height: 2px; background: #fff; }

.tr-searchbar { background: var(--bar-2); padding: 14px 0; }
.tr-searchform { display: flex; max-width: 620px; }
.tr-searchform input {
	flex: 1; min-width: 0;
	border: 1px solid var(--rule); border-right: 0;
	padding: 11px 14px; font-size: 15px; font-family: inherit;
	background: #fff; color: var(--ink);
}
.tr-searchform input:focus { outline: none; }
.tr-searchform button {
	display: grid; place-items: center;
	width: 48px; border: 0; cursor: pointer;
	background: var(--accent); color: #fff;
}
.tr-searchform button:hover { background: var(--accent-dark); }

.tr-trending {
	background: var(--paper-2);
	border-bottom: 1px solid var(--rule);
	font-size: 13px;
}
.tr-trending__inner {
	display: flex; align-items: center; gap: 14px;
	min-height: 38px; overflow-x: auto; scrollbar-width: none;
}
.tr-trending__inner::-webkit-scrollbar { display: none; }
.tr-trending__label {
	font-family: var(--cond); font-size: 14px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
	flex: none;
}
.tr-trending ul { display: flex; gap: 16px; list-style: none; white-space: nowrap; }
.tr-trending a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.tr-trending a:hover { color: var(--accent); }

/* ngan keo */
.tr-drawer { position: fixed; inset: 0; z-index: 120; background: rgba(13, 15, 18, .55); }
.tr-drawer[hidden] { display: none; }
.tr-drawer__panel {
	width: min(340px, 86vw); height: 100%;
	background: #fff; padding: 16px var(--gut) 40px;
	overflow-y: auto; animation: tr-slide .2s ease-out;
}
@keyframes tr-slide { from { transform: translateX(-100%); } }
.tr-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tr-drawer__title {
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.tr-drawer__close { background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; padding: 0 4px; }
.tr-drawer__list { list-style: none; margin-top: 16px; }
.tr-drawer__list li { border-bottom: 1px solid var(--rule-soft); }
.tr-drawer__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 0 12px 12px; text-decoration: none;
	font-size: 15px; font-weight: 600;
	border-left: 4px solid var(--accent);
}
.tr-drawer__list em { font-style: normal; font-size: 12px; color: var(--muted); }

/* --- 4. Anh theo ty le ----------------------------------- */
/* Anh san pham Amazon chup tren nen trang, khong cung ty le nen phai
   "contain" - keo theo do nen khung buoc phai la mau trang. */
.tr-media {
	display: block; position: relative; overflow: hidden;
	background: #fff; border: 1px solid var(--rule-soft);
}
.tr-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.tr-media--wide   { aspect-ratio: 16 / 10; }
.tr-media--square { aspect-ratio: 1 / 1; }
.tr-card__media:hover .tr-media img,
.tr-item__media:hover .tr-media img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .tr-media img { transition: none; } }

/* --- 5. Manh nho ----------------------------------------- */
.tr-kicker {
	display: inline-block; margin-bottom: 6px;
	font-family: var(--cond); font-size: 14px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
	color: var(--accent);
}
.tr-kicker:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Chip diem - dau nhan cua trang review */
.tr-score {
	display: inline-flex; align-items: center; gap: 7px;
	font-variant-numeric: tabular-nums;
}
.tr-score b {
	display: grid; place-items: center;
	background: var(--muted); color: #fff;
	font-weight: 800; letter-spacing: -.03em;
}
.tr-score i {
	font-style: normal; font-family: var(--cond);
	font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--ink-2);
}
.tr-score--sm b { width: 34px; height: 24px; font-size: 14px; }
.tr-score--sm i { font-size: 13px; }
.tr-score--md b { width: 44px; height: 32px; font-size: 18px; }
.tr-score--md i { font-size: 14px; }
.tr-score--lg b { width: 66px; height: 52px; font-size: 28px; }
.tr-score--lg i { font-size: 16px; }
.tr-score--top  b { background: var(--top); }
.tr-score--high b { background: var(--high); }
.tr-score--mid  b { background: var(--mid); }
.tr-score--low  b { background: var(--low); }

.tr-price { font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.tr-price__was { color: var(--muted); font-weight: 500; font-size: 13px; }
.tr-price__off {
	font-style: normal; font-size: 12px; font-weight: 800;
	color: #fff; background: var(--accent); padding: 1px 5px;
}

.tr-byline { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.tr-byline__text { display: flex; flex-direction: column; min-width: 0; }
.tr-byline__name { font-size: 13px; font-weight: 700; text-decoration: none; }
.tr-byline__name:hover { color: var(--accent); }
.tr-byline__meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; }

.tr-avatar {
	display: grid; place-items: center; flex: none;
	width: 34px; height: 34px; border-radius: 50%;
	color: #fff; text-decoration: none;
	font-size: 12px; font-weight: 800; letter-spacing: .03em;
}
.tr-avatar--lg { width: 58px; height: 58px; font-size: 19px; }
.tr-avatar--xl { width: 94px; height: 94px; font-size: 30px; }

/* --- 6. The bai ------------------------------------------ */
.tr-card { display: flex; flex-direction: column; min-width: 0; }
.tr-card__media { display: block; text-decoration: none; position: relative; }
.tr-card__body { padding-top: 11px; }
.tr-card__title a {
	text-decoration: none;
	background-image: linear-gradient(var(--accent), var(--accent));
	background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
	transition: background-size .22s ease;
}
.tr-card__title a:hover { background-size: 100% 2px; }
.tr-card__dek { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.tr-card__facts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 9px 0 0; }
.tr-card__rank {
	position: absolute; left: 0; top: 0;
	display: grid; place-items: center;
	min-width: 40px; height: 36px; padding-inline: 8px;
	background: var(--accent); color: #fff;
	font-family: var(--cond); font-size: 22px; font-weight: 700;
}

.tr-card--hero .tr-card__title { font-size: clamp(26px, 3.4vw, 40px); }
.tr-card--hero .tr-card__dek { font-size: 17px; margin-top: 12px; }
.tr-card--hero .tr-media { aspect-ratio: auto; height: 400px; }
.tr-card--card .tr-card__title { font-size: 17px; }
.tr-card--mini, .tr-card--row, .tr-card--rank { flex-direction: row; gap: 13px; align-items: flex-start; }
.tr-card--mini .tr-card__media { flex: 0 0 76px; }
.tr-card--row .tr-card__media  { flex: 0 0 148px; }
.tr-card--rank .tr-card__media { flex: 0 0 190px; }
.tr-card--mini .tr-card__body,
.tr-card--row .tr-card__body,
.tr-card--rank .tr-card__body { padding-top: 0; }
.tr-card--mini .tr-card__title { font-size: 15px; line-height: 1.3; }
.tr-card--row .tr-card__title  { font-size: 16px; line-height: 1.28; }
.tr-card--rank .tr-card__title { font-size: 19px; line-height: 1.25; }
.tr-card--mini .tr-kicker, .tr-card--row .tr-kicker { font-size: 12px; margin-bottom: 3px; }

/* --- 7. Dai noi dung ------------------------------------- */
.tr-rail { padding-block: 38px; }
.tr-rail--shaded, .tr-rail--brands, .tr-rail--rated { background: var(--paper-2); }
.tr-rail--best { background: var(--bar); color: #eef1f4; }
.tr-rail--team { background: var(--paper-2); }

.tr-rail__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap;
	margin-bottom: 22px;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 9px;
}
.tr-rail--best .tr-rail__head { border-bottom-color: #3a4049; }
.tr-rail__title {
	font-family: var(--cond);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700; letter-spacing: .01em; text-transform: uppercase;
	border-left: 6px solid var(--accent); padding-left: 11px;
}
.tr-rail__more {
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; color: var(--accent); white-space: nowrap;
}
.tr-rail__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* bai dinh */
.tr-hero { padding-block: 26px 10px; }
.tr-hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.tr-hero__side { border-left: 1px solid var(--rule); padding-left: 28px; }
.tr-hero__sidetitle {
	font-family: var(--cond); font-size: 22px; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase;
	padding-bottom: 8px; margin-bottom: 14px;
	border-bottom: 2px solid var(--ink);
}
.tr-latest { list-style: none; display: grid; gap: 14px; }
.tr-latest li { padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft); }
.tr-latest li:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-hero__all {
	display: inline-block; margin-top: 14px;
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; color: var(--accent);
}

/* chuyen muc */
.tr-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: start; }
.tr-section__rest { display: grid; gap: 16px; }
.tr-section__rest .tr-card { padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.tr-section__rest .tr-card:last-child { padding-bottom: 0; border-bottom: 0; }

/* luoi */
.tr-grid { display: grid; gap: 26px 20px; }
.tr-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tr-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* bang xep hang */
.tr-ranks { list-style: none; display: grid; gap: 1px; background: #2a2f37; border: 1px solid #2a2f37; }
.tr-ranks li { background: var(--bar); padding: 16px; }
.tr-rail--best .tr-card__title a { color: #fff; }
.tr-rail--best .tr-kicker { color: #ff6b6b; }
.tr-rail--best .tr-byline__meta,
.tr-rail--best .tr-card__dek { color: #9aa3ad; }

/* thuong hieu */
.tr-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tr-chips a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 11px; background: #fff;
	border: 1px solid var(--rule);
	font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.tr-chips a:hover { border-color: var(--ink); color: var(--ink); }
.tr-chips em { font-style: normal; font-size: 11px; color: var(--muted); }
.tr-chips--big a { padding: 9px 15px; font-size: 14.5px; }
.tr-chips--onlight a { border-left: 3px solid var(--accent, var(--rule)); }

/* nguoi viet */
.tr-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tr-person {
	display: flex; align-items: center; gap: 13px;
	background: #fff; border: 1px solid var(--rule);
	padding: 13px; text-decoration: none;
}
.tr-person:hover { border-color: var(--ink); }
.tr-person__text { display: flex; flex-direction: column; min-width: 0; }
.tr-person__name { font-size: 16px; font-weight: 700; }
.tr-person__count {
	font-family: var(--cond); font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* --- 8. Ban tin ------------------------------------------ */
.tr-news { background: var(--accent); color: #fff; padding-block: 34px; }
.tr-news__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; }
.tr-news__kicker {
	margin: 0 0 6px;
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.tr-news__title { font-size: clamp(21px, 2.4vw, 29px); }
.tr-news__sub { margin: 9px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.tr-news__form { display: flex; }
.tr-news__form input { flex: 1; min-width: 0; padding: 13px 14px; border: 0; font: inherit; font-size: 15px; }
.tr-news__form button {
	padding: 13px 20px; border: 0; cursor: pointer;
	background: var(--bar); color: #fff;
	font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.tr-news__form button:hover { background: #000; }

/* --- 9. Dau cac trang muc -------------------------------- */
.tr-crumbs { padding-block: 14px 0; }
.tr-crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.tr-crumbs li + li::before { content: "/"; margin-right: 7px; color: var(--rule); }
.tr-crumbs a, .tr-crumbs span { font-size: 12px; color: var(--muted); text-decoration: none; }
.tr-crumbs a:hover { color: var(--accent); }

.tr-termhead {
	background: var(--bar); color: #fff;
	padding-bottom: 26px;
	border-bottom: 5px solid var(--accent);
}
.tr-termhead .tr-crumbs a, .tr-termhead .tr-crumbs span { color: #96a0ac; }
.tr-termhead--plain { background: var(--paper-2); color: var(--ink); border-bottom-color: var(--rule); }
.tr-termhead--plain .tr-crumbs a, .tr-termhead--plain .tr-crumbs span { color: var(--muted); }
.tr-termhead__kicker {
	margin: 16px 0 6px;
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}

/*
 * Tren dai DAM, mau cua chuyen muc khong dung nguyen duoc.
 *
 * Moi chuyen muc tu dat --accent rieng bang thuoc tinh style, vi du muc Audio
 * la #7c2fa0. Mau do dep tren nen giay nhung dat len dai dam #14171c thi chi
 * duoc tuong phan 2.37 - do bang Chrome that o khung 375px. Tren man hinh
 * rong khong thay vi o do dai dau trang la nen sang.
 *
 * Pha sang 55% giu duoc mau nhan dang cua chuyen muc ma van doc duoc (~8).
 * Dong `color: #fff` dat truoc lam duong lui cho trinh duyet chua hieu
 * color-mix.
 */
.tr-termhead:not(.tr-termhead--plain) .tr-termhead__kicker {
	color: #fff;
	color: color-mix(in srgb, var(--accent) 45%, #ffffff);
}

.tr-termhead__title { font-size: clamp(30px, 5vw, 50px); }
.tr-termhead__desc { margin-top: 12px; max-width: 70ch; color: rgba(255, 255, 255, .78); font-size: 15px; }
.tr-termhead--plain .tr-termhead__desc { color: var(--ink-2); }
.tr-termhead__form { margin-top: 18px; }

.tr-brandhead, .tr-authorhead {
	background: var(--paper-2);
	border-bottom: 1px solid var(--rule);
	padding-bottom: 26px;
}
.tr-brandhead__inner, .tr-authorhead__inner {
	display: grid; grid-template-columns: auto 1fr auto;
	gap: 22px; align-items: start; margin-top: 16px;
}
.tr-brandhead__badge {
	display: grid; place-items: center; flex: none;
	width: 72px; height: 72px; color: #fff;
	font-size: 25px; font-weight: 800;
}
.tr-brandhead__title, .tr-authorhead__name { font-size: clamp(27px, 4vw, 42px); }
.tr-brandhead__desc, .tr-authorhead__bio { margin-top: 11px; max-width: 66ch; color: var(--ink-2); font-size: 15px; }
.tr-brandhead .tr-chips, .tr-authorhead .tr-chips { margin-top: 15px; }
.tr-brandhead__stats { display: flex; gap: 26px; margin: 0; }
.tr-brandhead__stats div { text-align: center; }
.tr-brandhead__stats dt {
	font-family: var(--cond); font-size: 14px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.tr-brandhead__stats dd { margin: 2px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }

/* --- 10. Bo cuc + danh sach ------------------------------ */
.tr-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px;
	gap: 44px; padding-block: 32px; align-items: start;
}
.tr-layout__main { min-width: 0; }
.tr-empty { font-size: 17px; color: var(--muted); padding: 24px 0; }
.tr-searchcount {
	font-family: var(--cond); font-size: 17px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
	margin-bottom: 14px;
}

.tr-sortbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 14px; flex-wrap: wrap;
	padding-bottom: 12px; margin-bottom: 6px;
	border-bottom: 2px solid var(--ink);
}
.tr-sortbar__count {
	margin: 0;
	font-family: var(--cond); font-size: 18px; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase;
}
.tr-sortbar__opts { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.tr-sortbar__label {
	font-family: var(--cond); font-size: 14px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.tr-pill {
	padding: 6px 13px; border: 1px solid var(--rule);
	font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2);
	background: #fff;
}
.tr-pill:hover { border-color: var(--ink); color: var(--ink); }
.tr-pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.tr-list { display: grid; }
.tr-item {
	display: grid; grid-template-columns: 200px minmax(0, 1fr) auto;
	gap: 20px; align-items: start;
	padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.tr-item__media { display: block; text-decoration: none; }
.tr-item__title { font-size: 20px; margin-bottom: 6px; }
.tr-item__title a { text-decoration: none; }
.tr-item__title a:hover { color: var(--accent); }
.tr-item__dek { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.tr-item__meta { margin-top: 8px; }
.tr-item__meta .tr-byline { margin-top: 0; }
.tr-item__aside {
	display: grid; gap: 8px; justify-items: end;
	min-width: 120px; text-align: right;
}
.tr-item__price { margin: 0; }

/* --- 11. Cot ben ----------------------------------------- */
.tr-side { display: grid; gap: 28px; min-width: 0; }
.tr-side__box--sticky { position: sticky; top: 110px; }
.tr-side__title {
	font-family: var(--cond); font-size: 20px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase;
	padding-bottom: 7px; margin-bottom: 12px;
	border-bottom: 2px solid var(--ink);
}
.tr-side__list { list-style: none; display: grid; gap: 13px; }
.tr-side__list li { display: flex; gap: 11px; align-items: flex-start; }
/*
 * Truoc day dung `var(--rule)` - mau duong ke, #dde2e8 tren nen trang, tuong
 * phan 1.24. So thu hang gan nhu khong nhin thay. Do bang Chrome that o trang
 * bai, trang chuyen muc, trang tag va trang tac gia.
 *
 * So nay la THONG TIN (thu hang trong danh sach), khong phai hoa van, nen
 * phai doc duoc.
 *
 * Lan dau toi dat #8d97a3, uoc chung "khoang 3.1". Do lai ra 2.96 - sat duoi
 * nguong. Dung uoc mau bang mat: #7a8592 do duoc 3.75, co bien an toan that.
 */
.tr-side__num {
	font-family: var(--cond); font-size: 22px; font-weight: 700;
	color: #7a8592; line-height: 1.1; flex: none; width: 26px;
}
.tr-side__item { display: grid; gap: 5px; min-width: 0; }
.tr-side__item a { font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.tr-side__item a:hover { color: var(--accent); }

.tr-side__cats { list-style: none; }
.tr-side__cats li { border-bottom: 1px solid var(--rule-soft); }
.tr-side__cats a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 9px 0 9px 11px; border-left: 3px solid var(--accent);
	font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.tr-side__cats a:hover { background: var(--paper-2); color: var(--ink); }
.tr-side__cats em { font-style: normal; font-size: 12px; color: var(--muted); }

/* --- 12. Phan trang -------------------------------------- */
.tr-pager { margin-top: 30px; }
.tr-pager ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; justify-content: center; }
.tr-pager a, .tr-pager span {
	display: grid; place-items: center;
	min-width: 38px; height: 38px; padding-inline: 12px;
	border: 1px solid var(--rule);
	font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.tr-pager a:hover { border-color: var(--ink); color: var(--ink); }
.tr-pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.tr-pager .dots { border-color: transparent; }

/* --- 13. Trang 404 --------------------------------------- */
.tr-404 { padding-block: 34px 44px; }
.tr-404 .tr-wrap--narrow { text-align: center; }
.tr-404__code {
	margin: 0; font-family: var(--cond); font-weight: 700;
	font-size: clamp(80px, 17vw, 160px); line-height: .85;
	color: var(--paper-3); letter-spacing: -.02em;
}
.tr-404__title { font-size: clamp(25px, 4.4vw, 40px); margin-top: -6px; }
.tr-404__lead { margin: 14px auto 0; max-width: 52ch; color: var(--ink-2); }
.tr-404__search { margin-top: 20px; display: flex; justify-content: center; }
.tr-404__search .tr-searchform { width: min(520px, 100%); }

.tr-cattiles {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
	gap: 9px; margin-top: 28px;
}
.tr-cattiles a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 12px 14px; background: #fff;
	border: 1px solid var(--rule); border-left: 4px solid var(--accent);
	font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.tr-cattiles a:hover { border-color: var(--ink); border-left-color: var(--accent); color: var(--ink); }
.tr-cattiles em { font-style: normal; font-size: 12px; color: var(--muted); }

/* --- 14. Chan trang -------------------------------------- */
.tr-foot { background: var(--bar); color: #aab3bd; padding-block: 40px 26px; font-size: 14px; }
.tr-foot a { color: #aab3bd; text-decoration: none; }
.tr-foot a:hover { color: #fff; }
.tr-foot__cols { display: grid; grid-template-columns: 1.5fr 2fr 1fr 1fr; gap: 30px; }
.tr-logo--foot .tr-logo__text { font-size: 18px; }
.tr-foot__blurb { margin: 14px 0 0; line-height: 1.6; max-width: 40ch; }
.tr-foot__col h2 {
	margin-bottom: 12px;
	font-family: var(--cond); font-size: 16px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.tr-foot__col ul { list-style: none; display: grid; gap: 8px; }
.tr-foot__cats { grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.tr-foot__legal {
	margin-top: 30px; padding-top: 20px;
	border-top: 1px solid #2a2f37;
	display: grid; gap: 8px;
}
.tr-foot__legal p { margin: 0; font-size: 13px; }
.tr-foot__disclosure { color: #7d8791; font-size: 12px; max-width: 80ch; }

/* --- 15. Man hinh nho ------------------------------------ */
@media (max-width: 1100px) {
	.tr-grid--5 { grid-template-columns: repeat(4, 1fr); }
	.tr-hero__grid { grid-template-columns: 1fr 300px; gap: 26px; }
	.tr-hero__side { padding-left: 22px; }
	.tr-foot__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
	.tr-hero__grid { grid-template-columns: 1fr; }
	.tr-hero__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
	.tr-section { grid-template-columns: 1fr; gap: 24px; }
	.tr-layout { grid-template-columns: 1fr; gap: 36px; }
	.tr-side { grid-template-columns: repeat(2, 1fr); align-items: start; }
	.tr-side__box--sticky { position: static; }
	.tr-grid--4, .tr-grid--5 { grid-template-columns: repeat(3, 1fr); }
	.tr-brandhead__inner, .tr-authorhead__inner { grid-template-columns: auto 1fr; }
	.tr-brandhead__stats { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 860px) {
	.tr-burger { display: block; }
	.tr-nav { display: none; }
	.tr-logo__text { font-size: 17px; }
	.tr-news__inner { grid-template-columns: 1fr; gap: 18px; }
	.tr-item { grid-template-columns: 150px minmax(0, 1fr); }
	.tr-item__aside {
		grid-column: 2; justify-items: start; text-align: left;
		display: flex; align-items: center; gap: 14px; margin-top: 4px;
	}
}

@media (max-width: 680px) {
	.tr-grid--4, .tr-grid--5 { grid-template-columns: repeat(2, 1fr); }
	.tr-grid { gap: 22px 14px; }
	.tr-card--hero .tr-media { height: 240px; }
	.tr-card--hero .tr-card__title { font-size: 23px; }
	.tr-card--rank .tr-card__media { flex: 0 0 120px; }
	.tr-team { grid-template-columns: 1fr; }
	.tr-side { grid-template-columns: 1fr; }
	.tr-item { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; }
	.tr-item__title { font-size: 16px; }
	.tr-item__dek { display: none; }
	.tr-brandhead__inner, .tr-authorhead__inner { grid-template-columns: 1fr; }
	.tr-foot__cols { grid-template-columns: 1fr; gap: 24px; }
	.tr-cta { display: none; }
}

@media (max-width: 460px) {
	.tr-grid--4, .tr-grid--5 { grid-template-columns: 1fr; }
	.tr-card--row .tr-card__media { flex: 0 0 110px; }
}


/* === de mau chu huy hieu plugin === */
/*
 * Huy hieu cua plugin dat chu cung mau voi nen (nen la chinh mau do pha 10%
 * do duc), nen tuong phan chi 2.5-4.1 - duoi chuan AA 4.5, rieng nhan
 * 'Prime' gan nhu khong doc duoc.
 *
 * Chi doi MAU CHU, giu nguyen nen cua plugin. Dung hai lop cung ten de co do
 * uu tien cao hon luat goc ma khong phai dung !important.
 *
 * Khong sua tep CSS cua plugin: ban cap nhat sau nay se ghi de len.
 */
.acms-badge.acms-badge--prime   { color: #01607f; }
.acms-badge.acms-badge--danger  { color: #a81b1b; }
.acms-badge.acms-badge--success { color: #10693a; }
.acms-badge.acms-badge--warning { color: #8a5a06; }
.acms-badge.acms-badge--info    { color: #0b5e86; }


/* === mau chu phu cua plugin === */
/*
 * Plugin lay mau chu phu tu `var(--color-text-muted, #9ca3af)`. Khong theme
 * nao dat bien do nen no roi ve #9ca3af - tren nen trang chi duoc 2.54, duoi
 * chuan. Do bang Chrome that: nhan "/10", "ACMS Score" va dong "Updated: ..."
 * deu dinh.
 *
 * #6b7280 duoc 4.83, va chinh plugin cung dung mau nay o cho khac.
 */
:root { --color-text-muted: #6b7280; }

/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Day lien ket trang tinh o chan trang.                                */
/* Mau chu ke thua cua chan trang: chu chan trang da qua vong do tuong  */
/* phan, con mau nhan cua site thi chua.                                */
/* ------------------------------------------------------------------ */
.tr-foot-pages {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 13px;
	line-height: 1.6;
}
.tr-foot-pages a {
	color: inherit;
	text-decoration: none;
	opacity: .82;
}
.tr-foot-pages a:hover,
.tr-foot-pages a:focus {
	opacity: 1;
	text-decoration: underline;
}

/* --- Logo thuong hieu ------------------------------------------------ */
/* Dau hieu do bang em nen no lon nho theo chinh co chu cua ten site. */
.tr-lg { white-space: nowrap; }
.tr-lg__mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.36em; }
.tr-lg__tld { font-weight: 400; opacity: .5; }

/* --- Lien ket chan trang --------------------------------------------- */
/* Viet .tr-mang .tr-mang__h chu khong phai .tr-mang__h: luat cua theme
   kieu .xx-foot__disclosure p co do uu tien (0,1,1), cao hon (0,1,0), nen ban
   ngan gon bi de mat. Da do that moi biet.

   Khong dung opacity de lam mo: no keo do tuong phan xuong duoi nguong doc
   duoc o phan lon theme. Phan cap bang co chu la du, va co san toi thieu 11px
   vi co theme dat khoi cong bo chi 12px. */
.tr-mang { margin: 22px 0 0; }
.tr-mang .tr-mang__h { margin: 0 0 8px; font-size: max(11px, .8em); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tr-mang .tr-mang__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: max(11px, .8em); line-height: 1.6; }
.tr-mang .tr-mang__list li { margin: 0; padding: 0; flex: 0 0 auto; width: auto; max-width: 100%; }
.tr-mang .tr-mang__list li::before { content: none; }
.tr-mang .tr-mang__list a { text-decoration: none; }
.tr-mang .tr-mang__list a:hover,
.tr-mang .tr-mang__list a:focus { text-decoration: underline; }
