/*
 * Site Scorecard - kieu dang rieng cho trang bai.
 *
 * Mot cot 760px, chu than bai 17px dong 1.7. Diem nhan cua site nay la BANG
 * DOI CHIEU TIEU CHI (.sc-matrix) dat ngay duoi phan mo dau.
 */

.sc-page {
	max-width: var(--read);
	padding-bottom: 10px;
}

.sc-art-head {
	margin: 12px 0 18px;
}

.sc-art-head h1 {
	font-size: 33px;
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 8px 0 10px;
}

.sc-dek {
	margin: 0 0 14px;
	font-size: 17.5px;
	line-height: 1.55;
	color: var(--muted);
}

.sc-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 9px 0;
	font-size: 12.5px;
	color: var(--muted);
}

.sc-byline a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
}

.sc-byline a:hover {
	text-decoration: underline;
}

.sc-ini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* ------------------------------------------------------- anh dau bai + o dieu kien */

.sc-hero {
	background: var(--surface);
	border: 1px solid var(--line);
	margin: 18px 0 8px;
	display: flex;
	gap: 16px;
	padding: 16px;
	align-items: center;
}

.sc-hero__shot {
	flex: 0 0 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sc-hero__shot img {
	max-height: 190px;
	width: auto;
}

.sc-hero__facts {
	flex: 1 1 auto;
	min-width: 0;
}

.sc-hero__facts h2 {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 9px;
}

.sc-dl {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2px 14px;
}

.sc-dl > div {
	border-top: 1px solid var(--line);
	padding: 6px 0;
	min-width: 0;
}

.sc-dl dt {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.sc-dl dd {
	margin: 1px 0 0;
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.sc-source {
	margin: 10px 0 0;
	font-size: 11.5px;
	line-height: 1.45;
	color: var(--muted);
}

/* ------------------------------------------------------------ bang doi chieu */

.sc-matrix {
	background: var(--surface);
	border: 1px solid var(--line);
	margin: 26px 0;
}

.sc-matrix__head {
	padding: 13px 15px 12px;
	border-bottom: 1px solid var(--line);
}

.sc-matrix__title {
	font-size: 15px;
	letter-spacing: 0.01em;
	margin: 0 0 5px;
}

.sc-matrix__title span {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-deep);
	margin-bottom: 4px;
}

.sc-matrix__head p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--muted);
}

/*
 * Cuon ngang o dien thoai. Bang co 5-7 cot nen khong the nao vua 375px; cho
 * no cuon trong mot o rieng de KHONG trang nao bi tran ngang.
 *
 * `position: relative` KHONG phai de trang tri - thieu no la hong.
 *
 * Trong moi o cua bang co mot <span class="screen-reader-text"> ghi "Named" /
 * "Not named" cho trinh doc man hinh. Span do dat position:absolute. Mot phan
 * tu absolute duoc cat boi to tien gan nhat CO position khac static, chu
 * khong phai boi to tien co overflow. O nay chi co overflow-x:auto nen cac
 * span o cot thu 4, 5, 6 (x = 448..726) thoat han ra ngoai va keo rong ca
 * trang: do bang Chrome that o khung 375px, trang bai cuon ngang duoc 351px.
 *
 * Phep dem "phan tu nao vuot khung" khong bat duoc loi nay vi cac span deu
 * rong 1px va deu nam trong o cuon; chi co thu CUON THAT moi lo ra.
 */
.sc-matrix__scroll {
	position: relative;
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

table.sc-mx {
	border-collapse: collapse;
	width: 100%;
	min-width: 560px;
	font-size: 13px;
}

table.sc-mx th,
table.sc-mx td {
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	padding: 8px 10px;
	text-align: center;
	vertical-align: middle;
}

table.sc-mx thead th {
	background: #f1f4f6;
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	vertical-align: bottom;
	width: 92px;
	min-width: 92px;
}

/* Cot tieu chi dinh tai cho khi keo ngang, khong thi cuon xong het biet hang nao. */
table.sc-mx th.sc-mx__crit {
	position: sticky;
	left: 0;
	z-index: 2;
	background: var(--surface);
	text-align: left;
	width: 196px;
	min-width: 196px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	border-right: 1px solid var(--ink);
}

table.sc-mx thead th.sc-mx__crit {
	background: #f1f4f6;
	font-family: var(--font-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

table.sc-mx tbody tr:nth-child(even) th.sc-mx__crit,
table.sc-mx tbody tr:nth-child(even) td {
	background: #fafbfc;
}

table.sc-mx tbody tr:last-child th,
table.sc-mx tbody tr:last-child td {
	border-bottom: 0;
}

table.sc-mx th:last-child,
table.sc-mx td:last-child {
	border-right: 0;
}

.sc-tick {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: var(--accent-deep);
}

.sc-dash {
	display: inline-block;
	width: 13px;
	height: 1px;
	background: #b6bfc8;
	vertical-align: middle;
}

.sc-mx__count {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	color: var(--muted);
}

.sc-matrix__foot {
	padding: 10px 15px 12px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--muted);
}

.sc-matrix__foot b {
	color: var(--ink);
}

/* ------------------------------------------------------------------ than bai */

.sc-body {
	font-size: 17px;
	line-height: 1.7;
}

.sc-body a {
	color: var(--accent);
}

.sc-body p {
	margin: 0 0 1.05em;
}

.sc-body h2 {
	font-size: 22px;
	margin: 2em 0 0.7em;
	padding-top: 13px;
	border-top: 2px solid var(--ink);
	letter-spacing: -0.015em;
}

.sc-body h3 {
	font-size: 18px;
	margin: 1.7em 0 0.55em;
	letter-spacing: -0.01em;
}

.sc-body ul,
.sc-body ol {
	margin: 0 0 1.05em;
	padding-left: 20px;
}

.sc-body li {
	margin-bottom: 0.35em;
}

.sc-body strong {
	font-weight: 600;
}

.sc-body figure {
	margin: 1.3em 0;
	border: 1px solid var(--line);
	background: var(--surface);
	padding: 14px;
	text-align: center;
}

.sc-body figure img {
	max-height: 320px;
	width: auto;
	margin: 0 auto;
}

.sc-body figcaption {
	margin-top: 9px;
	font-size: 12.5px;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 8px;
}

/* Bang trong bai: cung mot lo bang voi ma tran, cung cuon ngang duoc. */
.sc-tablewrap {
	overflow-x: auto;
	max-width: 100%;
	margin: 1.4em 0;
	border: 1px solid var(--line);
	background: var(--surface);
}

.sc-body table {
	border-collapse: collapse;
	width: 100%;
	min-width: 520px;
	font-size: 13.5px;
	line-height: 1.45;
}

.sc-body th,
.sc-body td {
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.sc-body thead th {
	background: #f1f4f6;
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.sc-body tbody tr:last-child td {
	border-bottom: 0;
}

.sc-body th:last-child,
.sc-body td:last-child {
	border-right: 0;
}

/* ------------------------------------------------- the san pham chen sau moi h3 */

.sc-prod {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	background: #fafbfc;
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	padding: 10px 13px;
	margin: 0 0 1.15em;
	font-size: 13px;
}

.sc-prod__num {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.sc-prod__spacer {
	flex: 1 1 auto;
}

.sc-prod .sc-score i {
	font-size: 10.5px;
}

/* ------------------------------------------------------------- muc luc trong bai */

.sc-toc {
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 12px 15px;
	margin: 22px 0;
}

.sc-toc h2 {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.sc-toc ol {
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.6;
}

.sc-toc a {
	color: var(--ink);
	text-decoration: none;
}

.sc-toc a:hover {
	color: var(--accent);
	text-decoration: underline;
}

/* ------------------------------------------------------------------ cuoi bai */

.sc-art-foot {
	margin-top: 30px;
	border-top: 2px solid var(--ink);
	padding-top: 14px;
}

.sc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.sc-author {
	display: flex;
	gap: 13px;
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 14px;
}

.sc-author__ini {
	flex: 0 0 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14px;
}

.sc-author__body {
	min-width: 0;
}

.sc-author__body b {
	font-family: var(--font-display);
	font-size: 14.5px;
}

.sc-author__body p {
	margin: 3px 0 0;
	font-size: 12.5px;
	color: var(--muted);
	line-height: 1.5;
}

/* ------------------------------------------------------------------ 375px */

@media (max-width: 720px) {
	.sc-art-head h1 {
		font-size: 25px;
	}

	.sc-dek {
		font-size: 16px;
	}

	.sc-hero {
		flex-direction: column;
		align-items: stretch;
		padding: 13px;
	}

	.sc-hero__shot {
		flex: none;
	}

	.sc-hero__shot img {
		max-height: 200px;
	}

	.sc-dl {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-body {
		font-size: 16.5px;
	}

	.sc-body h2 {
		font-size: 20px;
	}
}
