/*
 * Than bai - mot cot 780px.
 *
 * Diem nhan vang chi danh cho HAI thu: cot dai nhat cua bieu do va nut mua.
 * Rai mau vang khap noi thi cot dai nhat khong con noi len nua, ma do moi la
 * ly do bieu do ton tai.
 */

.article {
	max-width: var(--art);
	margin: 0 auto;
	padding: 28px 16px 40px;
}

.art-head { margin-bottom: 28px; }

.art-title {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(29px, 6.4vw, 44px); line-height: 1.12;
	letter-spacing: -.015em; margin: 0 0 14px;
}

.art-meta {
	display: flex; flex-wrap: wrap; gap: 6px 18px;
	margin: 0 0 14px; font-size: 12px; color: var(--muted);
	letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}

.art-source {
	margin: 0; padding: 12px 14px;
	border-left: 3px solid var(--accent);
	background: var(--surface);
	color: var(--muted); font-size: 13.5px; line-height: 1.55;
}
.art-source strong { color: var(--ink); }

/* ---------------------------------------------------------------- */
/* Van xuoi                                                          */
/* ---------------------------------------------------------------- */

.article-body { font-size: 17.5px; line-height: 1.72; }
.article-body p { margin: 0 0 1.15em; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }

.article-body h2 {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(22px, 4.6vw, 28px); line-height: 1.2;
	letter-spacing: .01em; margin: 2.2em 0 .7em;
	scroll-margin-top: 110px;
}
.article-body h3 {
	font-family: var(--display); font-weight: 700;
	font-size: 19px; margin: 1.8em 0 .5em;
}

.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: .45em; }
.article-body li::marker { color: var(--muted); }

.article-body figure { margin: 1.6em 0; }
.article-body figure img {
	width: 100%; background: #fff; border-radius: 10px;
	border: 1px solid var(--line); padding: 20px;
	aspect-ratio: 4 / 3; object-fit: contain;
}
.article-body figcaption {
	margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center;
}

/* Tieu de muc san pham co so thu tu ------------------------------- */

.article-body h2.sb-ph {
	display: flex; align-items: baseline; gap: 14px;
	border-top: 1px solid var(--line); padding-top: 26px;
}
.sb-rank {
	flex: 0 0 auto;
	font-family: var(--display); font-weight: 800;
	font-size: .72em; color: var(--accent);
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}
.sb-ph-t { min-width: 0; }

/* Muc "Which ... Should You Buy" ---------------------------------- */

.article-body ul.sb-chooser {
	list-style: none; padding: 0; margin: 0 0 1.4em;
	display: grid; gap: 1px; background: var(--line);
	border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.article-body ul.sb-chooser li {
	margin: 0; padding: 12px 16px;
	background: var(--surface); font-size: 15.5px; line-height: 1.5;
}
.article-body ul.sb-chooser li strong { color: var(--accent); }

/* ---------------------------------------------------------------- */
/* NUOC DI RIENG: bieu do cot ngang so sanh ca nhom                  */
/* ---------------------------------------------------------------- */

.sb-chart {
	margin: 2em 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 20px 20px 16px;
}

.sb-chart-head { display: block; margin-bottom: 16px; }
.sb-chart-title {
	display: block;
	font-family: var(--display); font-weight: 800;
	font-size: 18px; letter-spacing: .03em;
}
.sb-chart-sub {
	display: block; margin-top: 3px;
	font-size: 12px; color: var(--muted);
	letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}

.sb-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.sb-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "name value" "bar bar";
	gap: 5px 12px;
	align-items: baseline;
	margin: 0;
	font-size: 14px;
}
.sb-bar-name {
	grid-area: name; min-width: 0;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	color: var(--muted);
}
.sb-bar-val {
	grid-area: value;
	font-family: var(--display); font-weight: 700;
	font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sb-bar-track {
	grid-area: bar; display: block;
	height: 12px; border-radius: 3px;
	background: var(--surface-2);
	overflow: hidden;
}
.sb-bar-fill {
	display: block; height: 100%;
	background: var(--muted); border-radius: 3px;
}
.sb-bar.is-top .sb-bar-name { color: var(--ink); }
.sb-bar.is-top .sb-bar-val { color: var(--accent); }
.sb-bar.is-top .sb-bar-fill { background: var(--accent); }

.sb-chart-note {
	margin: 16px 0 0; padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 12.5px; line-height: 1.55; color: var(--muted);
}
.sb-chart-note strong { color: var(--ink); }

/* Man hinh rong: ten va cot nam cung mot hang cho de so sanh. */
@media (min-width: 620px) {
	.sb-bar {
		grid-template-columns: 178px minmax(0, 1fr) 82px;
		grid-template-areas: "name bar value";
		align-items: center;
		gap: 0 14px;
	}
	.sb-bar-val { text-align: right; }
}

/* ---------------------------------------------------------------- */
/* Dai so lieu duoi anh san pham                                     */
/* ---------------------------------------------------------------- */

.sb-strip {
	display: grid; gap: 1px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--line);
	border: 1px solid var(--line); border-radius: 10px;
	overflow: hidden; margin: 0 0 16px;
}
@media (min-width: 620px) {
	.sb-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sb-cell { background: var(--surface); padding: 12px 14px; min-width: 0; }
.sb-cell-v {
	display: block;
	font-family: var(--display); font-weight: 800; font-size: 19px;
	line-height: 1.2; font-variant-numeric: tabular-nums;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sb-cell-v small { font-size: 12px; font-weight: 600; color: var(--muted); }
.sb-cell-k {
	display: block; margin-top: 5px;
	font-size: 10.5px; line-height: 1.35; color: var(--muted);
	letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
}

.sb-buy { margin: 0 0 1.5em; }
.sb-buy-btn {
	display: inline-block;
	background: var(--accent); color: var(--accent-ink) !important;
	text-decoration: none; font-weight: 700; font-size: 15px;
	padding: 11px 22px; border-radius: 8px;
}
.sb-buy-btn:hover { background: #ffdd8c; }

/* ---------------------------------------------------------------- */
/* Uu / nhuoc                                                        */
/* ---------------------------------------------------------------- */

.sb-pc {
	border: 1px solid var(--line); border-radius: 10px;
	padding: 14px 16px; margin: 0 0 12px;
	background: var(--surface);
}
.sb-pc-head {
	margin: 0 0 8px !important;
	font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.sb-pc-pros .sb-pc-head strong { color: var(--accent); }
.sb-pc-cons .sb-pc-head strong { color: var(--muted); }
.sb-pc ul { margin: 0 !important; padding-left: 1.2em; font-size: 15.5px; }
.sb-pc li { margin-bottom: .3em; }

@media (min-width: 620px) {
	.sb-pc { margin-bottom: 16px; }
}

/* ---------------------------------------------------------------- */
/* Bang so sanh                                                      */
/* ---------------------------------------------------------------- */

/*
 * Bang so sanh co nam cot, hep nhat cung khong vua 343px. Cho chinh the table
 * cuon ngang (display:block) thay vi ep chu xuong dong thanh cot mot chu mot
 * dong - dai hon nhung van doc duoc.
 */
.article-body .sb-table {
	display: block; width: 100%; max-width: 100%;
	overflow-x: auto; -webkit-overflow-scrolling: touch;
	border-collapse: collapse;
	border: 1px solid var(--line); border-radius: 10px;
	margin: 1.5em 0; font-size: 14px;
}
.article-body .sb-table th,
.article-body .sb-table td {
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	padding: 10px 14px; text-align: left; vertical-align: top;
	min-width: 150px;
}
.article-body .sb-table th {
	background: var(--surface-2);
	font-family: var(--display); font-weight: 700; font-size: 12px;
	letter-spacing: .08em; text-transform: uppercase;
}
.article-body .sb-table tbody tr:nth-child(even) td { background: var(--surface); }
.article-body .sb-table tr > *:last-child { border-right: 0; }
.article-body .sb-table tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- */
/* FAQ                                                               */
/* ---------------------------------------------------------------- */

.sb-faq {
	border-top: 1px solid var(--line);
	padding: 0;
}
.sb-faq:last-of-type { border-bottom: 1px solid var(--line); }
.sb-faq > summary {
	cursor: pointer; list-style: none;
	padding: 16px 32px 16px 0; position: relative;
	font-family: var(--display); font-weight: 700; font-size: 16.5px;
	line-height: 1.4;
}
.sb-faq > summary::-webkit-details-marker { display: none; }
.sb-faq > summary::after {
	content: "+"; position: absolute; right: 4px; top: 14px;
	color: var(--accent); font-size: 22px; line-height: 1; font-weight: 700;
}
.sb-faq[open] > summary::after { content: "\2013"; }
.sb-faq > summary:hover { color: var(--accent); }
.sb-faq-a { padding: 0 0 16px; font-size: 16px; color: var(--muted); }
.sb-faq-a p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- */
/* Chan bai                                                          */
/* ---------------------------------------------------------------- */

.art-foot {
	margin-top: 40px; padding-top: 22px;
	border-top: 1px solid var(--line);
}
.art-foot .chips { margin-bottom: 18px; }
.art-disclosure { color: var(--muted); font-size: 13px; margin: 0; }
