/* =====================================================================
   Site Lab Report - trang bai viet
   Hai cot: than bai van xuoi mot cot, ben canh la cot du lieu san pham
   dinh theo trang.
   ===================================================================== */

.lr-art { padding-bottom: 10px; }

.lr-art__head {
	grid-area: head;
	min-width: 0;
	padding-block: 10px 26px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 26px;
}

.lr-art__cat {
	display: inline-block;
	font-family: var(--head); font-size: 11px; font-weight: 900;
	letter-spacing: 0.1em; text-transform: uppercase;
	color: #fff; background: var(--red); padding: 4px 9px;
	text-decoration: none; margin-bottom: 14px;
}
.lr-art__cat:hover { background: var(--red-dk); }

/* Khong gioi han be ngang nua: chinh cot trai cua luoi da gioi han roi, dat
   them max-width chi lam tieu de xuong dong som va chua mot khoang trong. */
.lr-art__t {
	font-size: clamp( 30px, 4.2vw, 46px );
	font-weight: 900; letter-spacing: -0.03em; line-height: 1.07;
}
.lr-art__dek {
	margin-top: 14px; font-size: 19px; line-height: 1.5;
	color: var(--ink-2); max-width: 62ch;
}

/* ---- Khung hai cot --------------------------------------------------- */

/* Hai cot, hai hang: tieu de va than bai xep chong o cot trai, con cot du
   lieu trai suot ca hai hang nen no bat dau ngang voi tieu de. */
.lr-art__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 336px;
	grid-template-areas:
		"head rail"
		"body rail";
	column-gap: 48px;
	align-content: start;
	padding-top: 6px;
}
.lr-art__body { grid-area: body; min-width: 0; }

/* Cot ben tu co chieu cao theo noi dung (align-self:start) roi moi dinh
   duoc; de mac dinh stretch thi o luoi cao bang ca bai va sticky vo hieu. */
.lr-rail {
	grid-area: rail;
	align-self: start;
	position: sticky;
	top: 16px;
	min-width: 0;
	margin-top: 10px;
	border: 1.5px solid var(--ink);
	background: #fff;
}
.lr-rail__inner { padding: 18px; }

.lr-rail__kicker {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.lr-rail__name {
	font-family: var(--head); font-size: 16px; font-weight: 800;
	line-height: 1.25; margin-top: 3px;
}
.lr-rail__shot {
	margin-block: 14px; background: var(--wash); border: 1px solid var(--line-2);
	aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
}
.lr-rail__shot img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

/* ---- Khoi diem ------------------------------------------------------- */

.lr-score { border-top: 1px solid var(--line); padding-top: 14px; }
.lr-score__lab {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 6px;
}
.lr-score__box {
	display: inline-flex; align-items: baseline; gap: 2px;
	background: var(--red); color: #fff; padding: 6px 12px 7px;
}
.lr-score__num { font-family: var(--head); font-size: 34px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.lr-score__den { font-family: var(--head); font-size: 14px; font-weight: 700; opacity: 0.85; }
.lr-score__word {
	font-family: var(--head); font-size: 17px; font-weight: 900;
	letter-spacing: -0.01em; margin-top: 8px;
}
.lr-score__n { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* ---- O gia ----------------------------------------------------------- */

.lr-deal { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.lr-deal__lab {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 4px;
}
.lr-deal__now {
	font-family: var(--head); font-size: 27px; font-weight: 900; letter-spacing: -0.03em;
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
}
.lr-deal__now--none { font-size: 17px; color: var(--ink-3); }
.lr-deal__was { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.lr-deal__save { font-size: 13px; font-weight: 900; color: #fff; background: var(--red); padding: 2px 7px; letter-spacing: 0; }

.lr-deal__facts { margin-top: 10px; display: grid; gap: 4px; }
.lr-deal__facts li { font-size: 13px; color: var(--ink-2); padding-left: 16px; position: relative; }
.lr-deal__facts li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 7px; height: 7px; background: var(--line);
}
.lr-deal__facts li.is-yes::before { background: var(--green); }

.lr-deal__cta {
	display: block; margin-top: 14px; text-align: center; text-decoration: none;
	background: var(--red); color: #fff; padding: 12px 14px;
	font-family: var(--head); font-size: 14px; font-weight: 900;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.lr-deal__cta:hover { background: var(--red-dk); }
.lr-deal__fine { margin-top: 8px; font-size: 11px; line-height: 1.45; color: var(--ink-3); }

/* ---- Bang thong so trong cot ben ------------------------------------- */

.lr-spec { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.lr-spec__lab {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 8px;
}
.lr-spec__list { margin: 0; display: grid; }
.lr-spec__list dt {
	font-family: var(--head); font-size: 11px; font-weight: 700;
	letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
	padding-top: 8px;
}
.lr-spec__list dd {
	margin: 0; font-size: 14px; line-height: 1.4; padding-bottom: 8px;
	border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere;
}
.lr-spec__list dd:last-child { border-bottom: 0; }

.lr-spec__more { margin-top: 8px; }
.lr-spec__more > summary {
	cursor: pointer; list-style: none;
	font-family: var(--head); font-size: 12px; font-weight: 800;
	letter-spacing: 0.05em; text-transform: uppercase; color: var(--red);
}
.lr-spec__more > summary::-webkit-details-marker { display: none; }
.lr-spec__more > summary::after { content: " +"; }
.lr-spec__more[open] > summary::after { content: " \2212"; }

/* ---- Tinh nang nha san xuat liet ke ---------------------------------- */

.lr-feat { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.lr-feat__lab {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 8px;
}
.lr-feat__list { display: grid; gap: 9px; }
.lr-feat__list li { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.lr-feat__list b { font-family: var(--head); font-weight: 800; color: var(--ink); }
.lr-feat__fine { margin-top: 10px; font-size: 11px; color: var(--ink-3); line-height: 1.45; }

/* ---- Thanh muc luc --------------------------------------------------- */

.lr-jump { border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 26px; background: var(--wash); }
.lr-jump__lab {
	font-family: var(--head); font-size: 10.5px; font-weight: 900;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 8px;
}
.lr-jump ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.lr-jump a {
	display: inline-block; font-size: 12.5px; text-decoration: none;
	border: 1px solid var(--line); background: #fff; padding: 4px 9px;
	font-family: var(--head); font-weight: 600;
}
.lr-jump a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---- Than bai -------------------------------------------------------- */

.lr-prose { font-size: 17.5px; line-height: 1.68; }
.lr-prose > p { margin: 0 0 1.15em; }
.lr-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 2px; }
.lr-prose a:hover { color: var(--red); }

.lr-prose h2 {
	font-size: clamp( 22px, 2.6vw, 28px ); font-weight: 900;
	margin: 1.9em 0 0.55em; padding-top: 12px; border-top: 3px solid var(--ink);
	scroll-margin-top: 16px;
}
.lr-prose h3 {
	font-size: 19px; font-weight: 800; margin: 1.5em 0 0.4em;
	scroll-margin-top: 16px;
}

.lr-prose ul, .lr-prose ol { margin: 0 0 1.2em; padding-left: 0; }
.lr-prose ul > li, .lr-prose ol > li {
	position: relative; padding-left: 20px; margin-bottom: 0.45em;
}
.lr-prose ul > li::before {
	content: ""; position: absolute; left: 2px; top: 11px;
	width: 7px; height: 7px; background: var(--red);
}
.lr-prose ol { counter-reset: lr; }
.lr-prose ol > li { counter-increment: lr; }
.lr-prose ol > li::before {
	content: counter(lr) "."; position: absolute; left: 0; top: 0;
	font-family: var(--head); font-weight: 800; color: var(--red); font-size: 14px;
}

.lr-prose figure { margin: 1.6em 0; }
.lr-prose figure img { margin-inline: auto; background: var(--wash); border: 1px solid var(--line-2); padding: 12px; }
.lr-prose figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

.lr-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.lr-prose th, .lr-prose td { border: 1px solid var(--line); padding: 8px 11px; text-align: left; vertical-align: top; }
.lr-prose th { background: var(--wash); font-family: var(--head); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

.lr-prose blockquote {
	margin: 1.5em 0; padding-left: 18px; border-left: 4px solid var(--red);
	font-size: 19px; line-height: 1.5;
}

/* ---- O uu / nhuoc ---------------------------------------------------- */

/* Dem so lop duoc so sanh truoc so the, nen mot quy tac chung nhu
   `.lr-prose ul > li::before` (0,1,3) van thang `.lr-pc__list li::before`
   (0,1,2). Phai ke ca hai lop VA dat lai kich thuoc, khong thi cham do o
   tren van de len. */
.lr-pc {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
	border: 1.5px solid var(--ink); margin: 1.2em 0 1.8em;
}
.lr-pc__col { padding: 16px 18px; min-width: 0; }
.lr-pc__col--yes { border-right: 1px solid var(--line); }
.lr-pc__head {
	font-family: var(--head); font-size: 12px; font-weight: 900;
	letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.lr-pc__col--yes .lr-pc__head { color: var(--green); }
.lr-pc__col--no .lr-pc__head { color: var(--red); }

.lr-prose .lr-pc__list { margin: 0; padding: 0; }
.lr-prose .lr-pc__list li {
	position: relative; padding-left: 24px; margin-bottom: 0.5em;
	font-size: 15px; line-height: 1.45;
}
.lr-prose .lr-pc__col--yes .lr-pc__list li::before,
.lr-prose .lr-pc__col--no .lr-pc__list li::before {
	position: absolute; left: 0; top: 0;
	width: auto; height: auto; background: none; border-radius: 0;
	font-family: var(--head); font-weight: 900; font-size: 14px;
}
.lr-prose .lr-pc__col--yes .lr-pc__list li::before { content: "\2713"; color: var(--green); }
.lr-prose .lr-pc__col--no .lr-pc__list li::before { content: "\2715"; color: var(--red); }

/* ---- Dai san pham tuong tu (muc duoc chen them) ---------------------- */

.lr-sim { border: 1.5px solid var(--ink); padding: 18px; margin: 2em 0; background: var(--wash); }
.lr-prose .lr-sim__title {
	font-size: 20px; font-weight: 900; margin: 0 0 6px;
	border-top: 0; padding-top: 0;
}
.lr-sim__note { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; max-width: 68ch; }

.lr-sim__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
	margin: 0; padding: 0;
}
.lr-prose .lr-sim__grid > li { padding-left: 0; margin-bottom: 0; }
.lr-prose .lr-sim__grid > li::before { display: none; }

.lr-sim__link {
	display: grid; gap: 8px; text-decoration: none; background: #fff;
	border: 1px solid var(--line); padding: 10px; height: 100%;
	align-content: start;
}
.lr-sim__link:hover { border-color: var(--ink); }
.lr-sim__shot { display: block; aspect-ratio: 1 / 1; background: var(--wash); }
.lr-sim__shot img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.lr-sim__name {
	display: block; font-family: var(--head); font-size: 13.5px; font-weight: 700;
	line-height: 1.28;
}
.lr-sim__link:hover .lr-sim__name { color: var(--red); }
.lr-sim__meta { display: block; font-size: 11.5px; color: var(--ink-3); }
.lr-sim__rate { font-family: var(--head); font-weight: 900; color: var(--ink); }
.lr-sim__price { font-family: var(--head); font-weight: 800; color: var(--ink); }

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

.lr-faq { border-top: 1px solid var(--line); margin: 1em 0 1.6em; }
.lr-faq__item { border-bottom: 1px solid var(--line); }
.lr-faq__q {
	cursor: pointer; list-style: none; padding: 14px 30px 14px 0; position: relative;
	font-family: var(--head); font-size: 16.5px; font-weight: 700; line-height: 1.35;
}
.lr-faq__q::-webkit-details-marker { display: none; }
.lr-faq__q::after {
	content: "+"; position: absolute; right: 2px; top: 12px;
	font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--red); line-height: 1;
}
.lr-faq__item[open] > .lr-faq__q::after { content: "\2212"; }
.lr-faq__q:hover { color: var(--red); }
.lr-faq__a { padding-bottom: 14px; font-size: 16px; color: var(--ink-2); }
.lr-faq__a p { margin: 0 0 0.8em; }
.lr-faq__a p:last-child { margin-bottom: 0; }

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

.lr-art__tags {
	margin-top: 30px; border-top: 1px solid var(--line); padding-top: 16px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.lr-art__tags > span {
	font-family: var(--head); font-size: 11px; font-weight: 900;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.lr-art__tags a {
	text-decoration: none; border: 1px solid var(--line); padding: 5px 11px;
	font-family: var(--head); font-size: 13px; font-weight: 700;
}
.lr-art__tags a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- Man hinh hep ---------------------------------------------------- */

@media ( max-width: 1080px ) {
	.lr-art__grid { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; }
	.lr-sim__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media ( max-width: 900px ) {
	/* Mot cot: tieu de -> cot du lieu -> than bai, dung thu tu PCMag xep o
	   san pham ngay duoi tieu de chu khong day xuong cuoi bai. */
	.lr-art__grid {
		grid-template-columns: 1fr;
		grid-template-areas: "head" "rail" "body";
		row-gap: 26px;
	}
	.lr-art__head { margin-bottom: 0; }
	.lr-rail { position: static; margin-top: 0; }
}

@media ( max-width: 560px ) {
	.lr-prose { font-size: 16.5px; }
	.lr-pc { grid-template-columns: 1fr; }
	.lr-pc__col--yes { border-right: 0; border-bottom: 1px solid var(--line); }
	.lr-sim__grid { grid-template-columns: 1fr; }
	.lr-sim__link { grid-template-columns: 72px 1fr; align-items: center; }
	.lr-sim__shot { grid-row: span 2; }
}
