/* =========================================================================
   Site Tastemaker - khung chung
   Chu serif tuong phan cao cho tieu de, sans cho phan con lai, nen trang voi
   nhung dai mau kem, diem nhan mau ruou vang.
   ========================================================================= */

:root {
	--ink:        #17120f;
	--ink-2:      #4a4038;
	--ink-3:      #7c7168;
	--paper:      #ffffff;
	--cream:      #faf5ee;
	--cream-2:    #f3e9dc;
	--line:       #e6ded2;
	--line-2:     #cdc0ae;
	--wine:       #7c1f33;
	--wine-dark:  #5b1425;
	--accent:     #7c1f33;

	--serif: 'Bodoni Moda', 'Times New Roman', Georgia, serif;
	--sans:  'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--gut: 16px;
	--sp:  clamp(44px, 6vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.15;
	margin: 0;
	letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

button { font: inherit; }

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

.tm-skip {
	position: absolute; left: -9999px; top: 0; z-index: 90;
	background: var(--ink); color: #fff; padding: 12px 18px;
	font-size: 14px; text-decoration: none;
}
.tm-skip:focus { left: 8px; top: 8px; }

.tm-wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--gut);
}
.tm-wrap--art  { max-width: 732px; }
.tm-wrap--wide { max-width: 900px; }

/* Khung anh: anh san pham Amazon deu nen trang nen khung cung phai trang,
   dat tren nen kem se lo ra mot vien xam quanh anh. */
.tm-media {
	display: block;
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.tm-media img {
	width: 100%; height: 100%;
	object-fit: contain;
	padding: 6%;
}
.tm-media--square { aspect-ratio: 1 / 1; }
.tm-media--hero   { aspect-ratio: 16 / 9; }
.tm-media--hero img { padding: 3%; }

/* =========================================================================
   Dau trang
   ========================================================================= */

.tm-head { background: var(--paper); }

.tm-head__bar { border-bottom: 1px solid var(--line); }

.tm-head__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: 96px;
}

.tm-burger {
	justify-self: start;
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	background: none; border: 0; cursor: pointer; padding: 0;
}
/* Ba vach nam trong mot the span, nen chinh the span thanh cot - de gap o
   chinh cai nut thi ba vach van dinh lien nhau thanh mot vach day. */
.tm-burger > span:first-child { display: flex; flex-direction: column; gap: 5px; }
.tm-burger i { display: block; height: 2px; width: 21px; background: var(--ink); }

.tm-logo {
	justify-self: center;
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	max-width: 100%;
	overflow: hidden;
}
.tm-lg__name {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(22px, 5vw, 42px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.tm-lg__tld {
	font-family: var(--sans);
	font-size: clamp(10px, 1.6vw, 13px);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-head__tools {
	justify-self: end;
	display: flex; align-items: center; gap: 10px;
}

.tm-iconbtn {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 1px solid var(--line); border-radius: 50%;
	cursor: pointer;
}
.tm-iconbtn svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

.tm-cta {
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	font-weight: 600; text-decoration: none;
	color: #fff; background: var(--wine);
	padding: 10px 16px;
}
.tm-cta:hover { background: var(--wine-dark); }

/* Thanh chuyen muc - phan duy nhat dinh theo trang. Bam ca khoi wordmark thi
   mat 96px chieu cao man hinh nen chi bam moi thanh nay. */
.tm-nav {
	position: sticky; top: 0; z-index: 40;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.tm-nav.is-stuck { box-shadow: 0 2px 10px rgba(23, 18, 15, 0.07); }

.tm-nav__inner { overflow-x: auto; scrollbar-width: none; }
.tm-nav__inner::-webkit-scrollbar { display: none; }

/* `justify-content: center` cong voi overflow se cat mat muc DAU tien khi
   danh sach dai hon khung; dung max-content + margin auto thi khong. */
.tm-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 26px;
	width: max-content; margin-inline: auto;
}
.tm-nav__list a {
	display: block;
	padding: 14px 0;
	font-size: 11.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink-2);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.tm-nav__list a:hover,
.tm-nav__list .current-menu-item > a,
.tm-nav__list .current-cat > a { color: var(--ink); border-bottom-color: var(--accent); }

.tm-searchbar { border-bottom: 1px solid var(--line); background: var(--cream); padding: 18px 0; }

.tm-search { display: flex; gap: 0; max-width: 560px; margin-inline: auto; }
.tm-search input {
	flex: 1; min-width: 0;
	font: inherit; font-size: 15px;
	padding: 11px 14px;
	border: 1px solid var(--line-2); border-right: 0; background: #fff;
}
.tm-search button {
	border: 1px solid var(--wine); background: var(--wine); color: #fff;
	padding: 0 16px; cursor: pointer;
	display: inline-flex; align-items: center;
}
.tm-search button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.tm-drawer { border-bottom: 1px solid var(--line); background: var(--cream); padding: 26px 0 30px; }
.tm-drawer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tm-drawer__head {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--ink-3); margin: 0 0 10px;
}
.tm-drawer ul { list-style: none; margin: 0; padding: 0; }
.tm-drawer__col > ul > li > a {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 7px 0; border-bottom: 1px solid var(--line);
	text-decoration: none; font-size: 15px;
}
.tm-drawer__col > ul > li > a span { color: var(--ink-3); font-size: 12px; }
.tm-drawer__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-drawer__tags a {
	display: inline-block; padding: 6px 12px;
	border: 1px solid var(--line-2); background: #fff;
	font-size: 12.5px; text-decoration: none;
}
.tm-drawer__tags a:hover { border-color: var(--wine); color: var(--wine); }

/* =========================================================================
   Tieu de dai bai
   ========================================================================= */

.tm-sec { padding: var(--sp) 0; }
.tm-sec--cream { background: var(--cream); }
.tm-sec--tiles { padding-top: 0; }
.tm-sec__note {
	text-align: center; font-size: 13px; color: var(--ink-3);
	margin: -14px 0 26px;
}

.tm-railhead {
	display: flex; align-items: center; gap: 20px;
	margin: 0 0 8px;
}
.tm-railhead__rule { flex: 1; height: 1px; background: var(--line-2); }
.tm-railhead__title {
	font-size: clamp(14px, 1.6vw, 16px);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
}
.tm-railhead__more {
	text-align: center; margin: 0 0 26px;
	font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.tm-railhead__more a { color: var(--wine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.tm-railhead + .tm-grid,
.tm-railhead + .tm-spot,
.tm-railhead + .tm-ranks,
.tm-railhead + .tm-tiles,
.tm-railhead + .tm-brands { margin-top: 30px; }

/* =========================================================================
   The bai viet
   ========================================================================= */

.tm-eyebrow {
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	font-weight: 600; color: var(--accent);
	margin: 0 0 8px;
}
.tm-eyebrow a { text-decoration: none; }
.tm-eyebrow a:hover { text-decoration: underline; }

.tm-by {
	font-size: 12.5px; color: var(--ink-3);
	margin: 10px 0 0;
	display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline;
}
.tm-by a { text-decoration: none; color: var(--ink-2); }
.tm-by a:hover { color: var(--wine); }

.tm-card { margin: 0; }
.tm-card__media { display: block; text-decoration: none; }
.tm-card__title { margin: 0; }
.tm-card__title a { text-decoration: none; }
.tm-card__title a:hover { color: var(--wine); }
.tm-card__dek { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; }

/* Anh san pham Amazon gan nhu deu la hinh vuong, dat vao khung 4:3 thi hai
   ben thua ra nhieu khoang trang; khung cang rong cang phai det hon. */
.tm-card--hero .tm-media { aspect-ratio: 16 / 10; }
.tm-card--feature .tm-media { aspect-ratio: 3 / 2; }

.tm-card__eyebrow { font-size: 10.5px; margin-bottom: 7px; }

.tm-card--hero .tm-card__body { padding: 22px 6% 0; text-align: center; }
.tm-card--hero .tm-card__title { font-size: clamp(28px, 3.6vw, 46px); }
.tm-card--hero .tm-card__dek { font-size: 16px; margin-top: 12px; }
.tm-card--hero .tm-by { justify-content: center; }

.tm-card--feature .tm-card__body { padding: 18px 0 0; }
.tm-card--feature .tm-card__title { font-size: clamp(22px, 2.4vw, 30px); }

.tm-card--grid .tm-card__body { padding: 14px 0 0; }
.tm-card--grid .tm-card__title { font-size: 19px; line-height: 1.25; }

.tm-card--list { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.tm-card--list:first-of-type { border-top: 0; }
.tm-card--list .tm-card__media { grid-column: 1; }
.tm-card--list .tm-card__body { grid-column: 2; padding: 0; }
.tm-card--list .tm-card__title { font-size: 16px; line-height: 1.3; }

.tm-card--rank { border-top: 1px solid var(--line-2); padding: 16px 0; }
.tm-card--rank .tm-card__body { display: grid; grid-template-columns: 40px 1fr 74px; gap: 14px; align-items: center; }
.tm-card__rank {
	font-family: var(--serif);
	font-size: 34px; line-height: 1; font-weight: 500;
	color: var(--wine);
}
.tm-card--rank .tm-card__title { font-size: 16px; line-height: 1.3; }
.tm-card__thumb { display: block; }

/* =========================================================================
   Luoi
   ========================================================================= */

.tm-grid { display: grid; gap: 30px 24px; }
.tm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tm-grid--4 { grid-template-columns: repeat(4, 1fr); }

.tm-lead { max-width: 900px; margin: 0 auto 46px; }

.tm-hero { padding: var(--sp) 0 0; }
.tm-hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tm-hero__sidehead {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--ink-3);
	margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}

.tm-spot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.tm-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; }

.tm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px 16px; }
.tm-tile a { display: block; text-decoration: none; text-align: center; }
.tm-tile__name { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tm-tile__count { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.tm-tile a:hover .tm-tile__name { color: var(--wine); }

.tm-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tm-brands a {
	display: inline-flex; align-items: baseline; gap: 7px;
	padding: 9px 15px; background: #fff; border: 1px solid var(--line-2);
	text-decoration: none; font-size: 14px;
}
.tm-brands a span { font-size: 11px; color: var(--ink-3); }
.tm-brands a:hover { border-color: var(--wine); color: var(--wine); }

/* =========================================================================
   Sao, nut
   ========================================================================= */

.tm-stars { display: inline-flex; gap: 1px; color: var(--line-2); font-size: 14px; letter-spacing: 1px; }
.tm-stars__s.is-on { color: var(--wine); }
.tm-stars__s.is-half {
	background: linear-gradient(90deg, var(--wine) 50%, var(--line-2) 50%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.tm-btn {
	display: inline-block;
	background: var(--wine); color: #fff;
	padding: 13px 26px;
	font-size: 12px; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	text-decoration: none;
}
.tm-btn:hover { background: var(--wine-dark); }

.tm-avatar {
	display: inline-flex; align-items: center; justify-content: center;
	width: var(--avs, 48px); height: var(--avs, 48px);
	border-radius: 50%;
	background: var(--av, var(--wine)); color: #fff;
	font-family: var(--serif); font-weight: 600;
	font-size: calc(var(--avs, 48px) * 0.38);
	letter-spacing: 0.02em;
	flex: none;
}

/* =========================================================================
   Dai dang ky, khoi gioi thieu
   ========================================================================= */

.tm-signup { background: var(--wine); color: #fff; padding: var(--sp) 0; }
.tm-signup--tight { padding: 46px 0; }
.tm-signup__inner { max-width: 620px; text-align: center; }
.tm-signup__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; margin: 0 0 12px; }
.tm-signup__title { font-size: clamp(26px, 3.4vw, 38px); color: #fff; }
.tm-signup__dek { margin: 12px 0 22px; opacity: 0.85; font-size: 15px; }
.tm-signup__form { display: flex; gap: 0; }
.tm-signup__form input {
	flex: 1; min-width: 0; font: inherit; font-size: 15px;
	padding: 13px 15px; border: 0; background: #fff; color: var(--ink);
}
.tm-signup__form button {
	border: 0; background: var(--ink); color: #fff; cursor: pointer;
	padding: 0 22px; font-size: 12px; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
}
.tm-signup__fine { font-size: 11.5px; opacity: 0.7; margin: 12px 0 0; }

.tm-about__inner { max-width: 900px; }
.tm-about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; color: var(--ink-2); font-size: 15px; }
.tm-about__stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2);
	text-align: center;
}
.tm-about__stats > div + div { border-left: 1px solid var(--line); }
.tm-about__stats dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.tm-about__stats dd { margin: 6px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }

/* =========================================================================
   Dau trang danh muc, tac gia
   ========================================================================= */

.tm-termhead { padding: 34px 0 40px; text-align: center; }
.tm-termhead__inner { max-width: 700px; }
.tm-termhead__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.tm-termhead__title { font-size: clamp(34px, 5.4vw, 60px); }
.tm-termhead__desc { margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; }
.tm-termhead__count { margin: 14px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.tm-termhead__form { margin-top: 22px; }
.tm-termhead__chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tm-termhead__chips a {
	display: inline-flex; gap: 6px; align-items: baseline;
	padding: 6px 12px; border: 1px solid var(--line-2);
	font-size: 12.5px; text-decoration: none;
}
.tm-termhead__chips a span { color: var(--ink-3); font-size: 11px; }

.tm-authorhead { padding: 34px 0 40px; text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tm-authorhead__inner { max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.tm-authorhead__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 8px; }
.tm-authorhead__name { font-size: clamp(30px, 4.6vw, 48px); }
.tm-authorhead__bio { margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; }
.tm-authorhead__stats { display: flex; gap: 0; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.tm-authorhead__stats > div { padding: 0 22px; }
.tm-authorhead__stats > div + div { border-left: 1px solid var(--line); }
.tm-authorhead__stats dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.tm-authorhead__stats dd { margin: 5px 0 0; font-family: var(--serif); font-size: 24px; }

/* =========================================================================
   Vun vat
   ========================================================================= */

.tm-crumb { padding: 18px 0 0; }
.tm-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tm-crumb li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.tm-crumb a { text-decoration: none; }
.tm-crumb a:hover { color: var(--wine); }

.tm-pager { margin: 50px 0 0; }
.tm-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tm-pager a, .tm-pager span {
	display: inline-block; min-width: 40px; text-align: center;
	padding: 10px 13px; border: 1px solid var(--line-2);
	font-size: 13px; text-decoration: none;
}
.tm-pager .current { background: var(--wine); border-color: var(--wine); color: #fff; }
.tm-pager a:hover { border-color: var(--ink); }
.tm-pager .dots { border-color: transparent; }

.tm-empty { text-align: center; color: var(--ink-3); padding: 50px 0; }

.tm-404 { text-align: center; padding: 60px 0 var(--sp); }
.tm-404__inner { max-width: 620px; }
.tm-404__num { font-family: var(--serif); font-size: clamp(80px, 16vw, 150px); line-height: 0.9; margin: 0; color: var(--wine); }
.tm-404__title { font-size: clamp(26px, 3.6vw, 40px); margin-top: 18px; }
.tm-404__dek { margin: 16px 0 26px; color: var(--ink-2); }

/* =========================================================================
   Chan trang
   ========================================================================= */

.tm-foot { border-top: 1px solid var(--line); padding: 52px 0 46px; }
.tm-foot__logo {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(20px, 3.4vw, 30px);
	letter-spacing: 0.1em; text-transform: uppercase;
	text-align: center; margin: 0 0 24px;
}
.tm-foot__rule { height: 1px; background: var(--line); }
.tm-foot__cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 32px; padding: 32px 0; }
.tm-foot__head { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.tm-foot ul { list-style: none; margin: 0; padding: 0; }
.tm-foot__col li a { display: block; padding: 4px 0; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.tm-foot__col li a:hover { color: var(--wine); }
.tm-foot__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-foot__tags a { border: 1px solid var(--line); padding: 5px 11px; font-size: 12.5px; }
.tm-foot__fine { font-size: 12.5px; color: var(--ink-3); max-width: 760px; margin: 24px auto 0; text-align: center; }
.tm-foot__legal { font-size: 12px; color: var(--ink-3); text-align: center; margin: 12px 0 0; }

/* =========================================================================
   Thich ung
   ========================================================================= */

@media (max-width: 1080px) {
	.tm-tiles { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
	.tm-hero__grid { grid-template-columns: 1fr; gap: 34px; }
	.tm-spot { grid-template-columns: 1fr; gap: 28px; }
	.tm-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.tm-ranks { grid-template-columns: 1fr; }
	.tm-foot__cols { grid-template-columns: 1fr 1fr; }
	.tm-foot__col--wide { grid-column: 1 / -1; }
	.tm-about__cols { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	.tm-head__inner { min-height: 72px; }
	.tm-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.tm-tiles { grid-template-columns: repeat(3, 1fr); }
	.tm-drawer__inner { grid-template-columns: 1fr; }
	.tm-about__stats { grid-template-columns: 1fr 1fr; gap: 20px 0; }
	.tm-about__stats > div:nth-child(3) { border-left: 0; }
	.tm-signup__form { flex-direction: column; gap: 10px; }
	.tm-signup__form button { padding: 13px; }
	.tm-authorhead__stats { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
}

@media (max-width: 540px) {
	.tm-cta { display: none; }
	.tm-grid--3, .tm-grid--4 { grid-template-columns: 1fr; }
	.tm-tiles { grid-template-columns: repeat(2, 1fr); }
	.tm-card--grid { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: start; }
	.tm-card--grid .tm-card__body { padding: 0; }
	.tm-card--grid .tm-card__title { font-size: 16px; }
	.tm-card--grid .tm-card__dek { display: none; }
	.tm-card--rank .tm-card__body { grid-template-columns: 32px 1fr 64px; gap: 10px; }
	.tm-card__rank { font-size: 26px; }
	.tm-railhead { gap: 12px; }
	.tm-about__stats > div + div { border-left: 0; }
}


/* === 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.                                */
/* ------------------------------------------------------------------ */
.tm-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;
}
.tm-foot-pages a {
	color: inherit;
	text-decoration: none;
	opacity: .82;
}
.tm-foot-pages a:hover,
.tm-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. */
.tm-lg { white-space: nowrap; }
.tm-lg__mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.36em; }

/* --- Lien ket chan trang --------------------------------------------- */
/* Viet .tm-mang .tm-mang__h chu khong phai .tm-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. */
.tm-mang { margin: 22px 0 0; }
.tm-mang .tm-mang__h { margin: 0 0 8px; font-size: max(11px, .8em); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tm-mang .tm-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; }
.tm-mang .tm-mang__list li { margin: 0; padding: 0; flex: 0 0 auto; width: auto; max-width: 100%; }
.tm-mang .tm-mang__list li::before { content: none; }
.tm-mang .tm-mang__list a { text-decoration: none; }
.tm-mang .tm-mang__list a:hover,
.tm-mang .tm-mang__list a:focus { text-decoration: underline; }
