/* ============================================================
   Trang bai viet: dau bai, dai "cac lua chon", muc luc, than bai
   voi cac muc da duoc boc lai (Quick Verdict, uu/nhuoc, Bottom Line, FAQ).
   ============================================================ */

/* --- Dau bai --------------------------------------------- */
.hg-article__head { padding-bottom: 26px; }
.hg-article__title { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.14; margin-top: 4px; }
.hg-article__dek { margin: 16px 0 0; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); }
.hg-article__meta {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 16px;
	margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule);
}
.hg-article__meta .hg-byline { margin-top: 0; }

.hg-share { display: flex; align-items: center; gap: 7px; }
.hg-share__btn {
	padding: 6px 13px; border-radius: 999px;
	border: 1px solid var(--rule);
	font-family: var(--sans); font-size: 12px; font-weight: 600;
	text-decoration: none; color: var(--ink-2);
}
.hg-share__btn:hover { border-color: var(--accent); color: var(--accent); }

.hg-disclosure {
	margin: 18px 0 0; padding: 12px 16px;
	background: var(--paper-2); border-radius: var(--r);
	font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--muted);
}

.hg-article__lead { margin: 0 0 10px; }
.hg-article__lead img {
	width: 100%; max-height: 540px; object-fit: contain;
	background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-lg);
}
.hg-article__lead figcaption {
	margin-top: 10px;
	font-family: var(--sans); font-size: 12.5px; color: var(--muted);
}

/* --- Bo cuc than bai ------------------------------------- */
.hg-article__body {
	display: grid; grid-template-columns: minmax(0, var(--narrow)) 290px;
	justify-content: center; gap: 58px;
	padding-block: 34px 20px; align-items: start;
}
.hg-article__main { min-width: 0; }

/* --- Dai "cac lua chon trong bai" ------------------------ */
.hg-picks {
	border: 1px solid var(--rule); border-radius: var(--r-lg);
	padding: 20px 22px; margin-bottom: 30px;
	background: var(--paper-2);
}
.hg-picks__title { font-size: 21px; margin-bottom: 14px; }
.hg-picks__list { list-style: none; display: grid; gap: 12px; }
.hg-pick {
	display: grid; grid-template-columns: 62px minmax(0, 1fr) auto;
	gap: 14px; align-items: center;
	background: #fff; border: 1px solid var(--rule-soft);
	border-radius: var(--r); padding: 11px 14px;
}
.hg-pick__shot {
	display: grid; place-items: center;
	width: 62px; height: 62px; background: #fff;
}
.hg-pick__shot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hg-pick__text { display: grid; gap: 3px; min-width: 0; }
.hg-pick__label {
	justify-self: start;
	font-family: var(--sans); font-size: 10.5px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: #fff; background: var(--accent);
	padding: 2px 8px; border-radius: 999px;
}
.hg-pick__name { font-family: var(--serif); font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.hg-pick__facts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hg-pick__btn {
	border-radius: 999px; background: var(--accent); color: #fff;
	padding: 9px 18px; white-space: nowrap;
	font-family: var(--sans); font-size: 13px; font-weight: 700; text-decoration: none;
}
.hg-pick__btn:hover { background: var(--accent-dark); }

/* --- Muc luc --------------------------------------------- */
.hg-toc {
	border: 1px solid var(--rule); border-radius: var(--r-lg);
	padding: 20px 24px; margin-bottom: 32px;
}
.hg-toc__title { font-size: 19px; margin-bottom: 12px; }
.hg-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.hg-toc li { counter-increment: toc; display: flex; gap: 11px; }
.hg-toc li::before {
	content: counter(toc) ".";
	font-family: var(--sans); font-size: 13px; font-weight: 700;
	color: var(--accent); flex: none; min-width: 18px;
}
.hg-toc a {
	font-family: var(--sans); font-size: 15px; font-weight: 600;
	text-decoration: none; color: var(--ink-2); line-height: 1.35;
}
.hg-toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --- Than bai -------------------------------------------- */
.hg-prose { font-size: 17.5px; line-height: 1.75; }
.hg-prose > p { margin: 0 0 1.2em; }
.hg-prose a {
	color: var(--accent-dark);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.hg-prose a:hover { background: var(--accent-tint); }

.hg-prose h2 {
	font-size: clamp(24px, 3vw, 31px);
	margin: 1.9em 0 .55em;
	scroll-margin-top: 80px;
}
.hg-prose h3 {
	font-family: var(--sans); font-size: 19px; font-weight: 700;
	margin: 1.6em 0 .45em; scroll-margin-top: 80px;
}
.hg-prose h4 { font-family: var(--sans); font-size: 16.5px; margin: 1.4em 0 .4em; }

.hg-prose ul, .hg-prose ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.hg-prose li { margin-bottom: .5em; }
.hg-prose ul { list-style: none; padding-left: 0; }
.hg-prose ul > li { position: relative; padding-left: 24px; }
.hg-prose ul > li::before {
	content: ""; position: absolute; left: 3px; top: .62em;
	width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
}

.hg-prose blockquote {
	margin: 1.7em 0; padding: 16px 22px;
	background: var(--paper-2); border-left: 4px solid var(--accent);
	border-radius: var(--r);
	font-family: var(--serif); font-size: 19px;
}
.hg-prose blockquote p:last-child { margin-bottom: 0; }

.hg-prose figure { margin: 1.9em 0; }
.hg-prose figure img {
	width: 100%; max-height: 500px; object-fit: contain;
	background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-lg);
}
.hg-prose figcaption {
	margin-top: 9px;
	font-family: var(--sans); font-size: 12.5px; color: var(--muted); line-height: 1.45;
}

/* Bang thong so */
.hg-table-scroll {
	margin: 1.7em 0; overflow-x: auto;
	border: 1px solid var(--rule); border-radius: var(--r-lg);
}
.hg-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; }
.hg-prose thead th {
	background: var(--accent); color: #fff; text-align: left;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 12px 16px;
}
.hg-prose td, .hg-prose tbody th {
	padding: 11px 16px; border-top: 1px solid var(--rule-soft); vertical-align: top;
}
.hg-prose tbody tr:nth-child(odd) { background: var(--paper-2); }
.hg-prose tbody td:first-child { font-weight: 700; white-space: nowrap; }

/* --- Cac muc da duoc boc lai ----------------------------- */

/* Quick Verdict: khoi mo dau, nen xanh nhat */
.hg-verdict {
	background: var(--accent-tint);
	border-radius: var(--r-lg);
	padding: 24px 28px;
	margin: 0 0 2em;
}
.hg-verdict > h2 { margin-top: 0; font-size: clamp(22px, 2.6vw, 28px); }
.hg-verdict__body > p:last-child { margin-bottom: 0; }
.hg-verdict figure { margin: 0 0 18px; }
.hg-verdict figure img { background: #fff; max-height: 320px; }

/* Bottom Line: khoi ket, vien trai dam */
.hg-bottomline {
	border-left: 5px solid var(--accent);
	background: var(--paper-2);
	border-radius: 0 var(--r-lg) var(--r-lg) 0;
	padding: 22px 26px;
	margin: 2.2em 0;
}
.hg-bottomline > h2 { margin-top: 0; font-size: clamp(21px, 2.4vw, 27px); }
.hg-bottomline__body > p:last-child { margin-bottom: 0; }

/* Uu / nhuoc: hai cot */
.hg-likes {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
	margin: 1.5em 0 1.8em;
}
.hg-likes__col {
	border: 1px solid var(--rule); border-radius: var(--r-lg);
	padding: 18px 20px; background: #fff;
}
.hg-likes__col h3 {
	font-family: var(--sans); font-size: 15px; font-weight: 700;
	letter-spacing: .04em; margin: 0 0 12px;
	padding-bottom: 9px; border-bottom: 2px solid currentColor;
}
.hg-likes__col--yes { border-top: 3px solid #2f8a5a; }
.hg-likes__col--yes h3 { color: #2f8a5a; }
.hg-likes__col--no { border-top: 3px solid #b5602c; }
.hg-likes__col--no h3 { color: #b5602c; }
.hg-likes ul { list-style: none; display: grid; gap: 9px; padding: 0; margin: 0; }
.hg-likes li { position: relative; padding-left: 25px; font-size: 15px; line-height: 1.5; margin: 0; }

/* Phai dat du ca hai lop moi thang duoc `.hg-prose ul > li::before` ben tren,
   va phai xoa het phan cham tron ma quy tac do da ve. */
.hg-prose .hg-likes ul > li::before {
	position: absolute; left: 0; top: 0;
	width: auto; height: auto; background: none; border-radius: 0;
	font-family: var(--sans); font-weight: 700; font-size: 15px;
}
.hg-prose .hg-likes__col--yes li::before { content: "\2713"; color: #2f8a5a; }
.hg-prose .hg-likes__col--no li::before  { content: "\2715"; color: #b5602c; }

/* FAQ: bam de mo, dung the <details> nen khong can JS */
.hg-faq { display: grid; gap: 10px; margin-top: 1.2em; }
.hg-faq__item {
	border: 1px solid var(--rule); border-radius: var(--r-lg);
	background: #fff; overflow: hidden;
}
.hg-faq__item summary {
	cursor: pointer; list-style: none;
	padding: 15px 46px 15px 18px; position: relative;
	font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.4;
}
.hg-faq__item summary::-webkit-details-marker { display: none; }
.hg-faq__item summary::after {
	content: ""; position: absolute; right: 18px; top: 50%;
	width: 9px; height: 9px; margin-top: -6px;
	border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(45deg); transition: transform .2s ease;
}
.hg-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hg-faq__item summary:hover { background: var(--paper-2); }
.hg-faq__answer { padding: 0 18px 16px; font-size: 16px; }
.hg-faq__answer p:last-child { margin-bottom: 0; }

/* --- Tag, hop tac gia, bai truoc/sau --------------------- */
.hg-article__tags { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); }
.hg-article__tags-label {
	display: block; margin-bottom: 11px;
	font-family: var(--sans); font-size: 12px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.hg-authorbox {
	display: flex; gap: 20px; align-items: flex-start;
	margin-top: 36px; padding: 24px;
	background: var(--paper-2); border-radius: var(--r-lg);
}
.hg-authorbox__kicker {
	margin: 0 0 4px;
	font-family: var(--sans); font-size: 11.5px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hg-authorbox__name { font-size: 22px; }
.hg-authorbox__name a { text-decoration: none; }
.hg-authorbox__name a:hover { color: var(--accent); }
.hg-authorbox__bio { margin: 9px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.hg-authorbox__more {
	display: inline-block; margin-top: 11px;
	font-family: var(--sans); font-size: 13px; font-weight: 700;
	text-decoration: none; color: var(--accent);
	border-bottom: 1px solid currentColor;
}

.hg-updown {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
	margin-top: 34px;
}
.hg-updown--one { grid-template-columns: 1fr; }
.hg-updown--one .hg-updown__item--next { text-align: left; }
.hg-updown__item {
	display: grid; gap: 7px; align-content: start;
	padding: 18px; text-decoration: none;
	border: 1px solid var(--rule); border-radius: var(--r-lg);
}
.hg-updown__item:hover { border-color: var(--accent); }
.hg-updown__item--next { text-align: right; }
.hg-updown__dir {
	font-family: var(--sans); font-size: 11.5px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.hg-updown__title { font-family: var(--serif); font-size: 16.5px; font-weight: 600; line-height: 1.32; }

/* --- Khoi san pham cua ACMS ------------------------------ *
   Plugin tu mang CSS rieng. Chi chinh phong chu va nut cho khop.   */
.hg-prose .acms-list { max-width: none !important; margin-block: 1.9em; font-family: var(--sans); }
.hg-prose .acms-list__title, .hg-prose .acms-list__title a { font-family: var(--serif) !important; }
.hg-prose .acms-btn--amazon {
	border-radius: 999px !important;
	font-family: var(--sans) !important; font-weight: 700 !important; font-size: 13px !important;
}
.hg-prose .acms-list a { text-decoration: none; }
.hg-prose .acms-list a:hover { background: none; }

/* --- Man hinh nho ---------------------------------------- */
@media (max-width: 1080px) {
	.hg-article__body { grid-template-columns: 1fr; gap: 44px; max-width: calc(var(--narrow) + var(--gut) * 2); }
	.hg-article__body .hg-side { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
	.hg-prose { font-size: 16.5px; }
	.hg-likes { grid-template-columns: 1fr; gap: 12px; }
	.hg-article__meta { flex-direction: column; align-items: flex-start; }
	.hg-pick { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
	.hg-pick__shot { width: 52px; height: 52px; }
	.hg-pick__btn { grid-column: 2; justify-self: start; }
	.hg-authorbox { flex-direction: column; padding: 20px; }
	.hg-updown { grid-template-columns: 1fr; }
	.hg-updown__item--next { text-align: left; }
	.hg-verdict, .hg-bottomline { padding: 18px 20px; }
	.hg-article__body .hg-side { grid-template-columns: 1fr; }
}
