/* ============================================================
   Site Magazine - bo khung giao dien
   Thu tu: bien -> nen tang -> dau trang -> the bai -> dai noi dung
           -> dau trang muc -> cot ben -> chan trang -> man hinh nho
   ============================================================ */

/* --- 1. Bien --------------------------------------------- */
:root {
	--ink:        #15130f;
	--ink-2:      #403c35;
	--muted:      #78736a;
	--rule:       #e3ded4;
	--rule-soft:  #efebe3;
	--paper:      #ffffff;
	--paper-2:    #faf8f4;
	--paper-3:    #f3efe7;

	--accent:      #c8102e;
	--accent-dark: #9b0c24;
	--accent-tint: #fdeaed;

	--serif: "Playfair Display", "Times New Roman", Georgia, serif;
	--body:  "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--wrap:   1220px;
	--narrow: 760px;
	--wide:   1020px;
	--gut:    20px;

	--shadow: 0 1px 2px rgba(20, 18, 14, .05), 0 8px 24px -12px rgba(20, 18, 14, .18);
}

/* --- 2. Nen tang ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.sm-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}
.sm-wrap--narrow { max-width: calc(var(--narrow) + var(--gut) * 2); }
.sm-wrap--wide   { max-width: calc(var(--wide)   + var(--gut) * 2); }

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

.sm-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff;
	padding: 12px 20px; font-family: var(--sans); font-size: 14px;
}
.sm-skip:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* --- 3. Dau trang ---------------------------------------- */
.sm-utility {
	background: var(--ink);
	color: #ded9d0;
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: .06em;
}
.sm-utility__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; min-height: 36px;
}
.sm-utility__promise { margin: 0; text-transform: uppercase; opacity: .72; }
.sm-utility__links { display: flex; gap: 18px; list-style: none; white-space: nowrap; }
.sm-utility__links a { text-decoration: none; text-transform: uppercase; opacity: .8; }
.sm-utility__links a:hover { opacity: 1; color: #fff; }

.sm-masthead {
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
}
.sm-masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-block: 18px 14px;
}

.sm-brand { grid-column: 2; text-align: center; min-width: 0; }
.sm-brand__mark {
	display: inline-block;
	font-family: var(--serif);
	font-weight: 800;
	font-size: clamp(24px, 4.4vw, 44px);
	line-height: 1;
	letter-spacing: -.02em;
	text-decoration: none;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.sm-brand__tag {
	margin: 7px 0 0;
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
}

.sm-masthead__tools {
	grid-column: 3;
	display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}
.sm-iconbtn {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	background: none; border: 1px solid var(--rule); border-radius: 50%;
	cursor: pointer; color: var(--ink);
}
.sm-iconbtn:hover { border-color: var(--ink); }
.sm-iconbtn svg, .sm-searchform svg {
	width: 17px; height: 17px;
	fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}
.sm-subscribe {
	display: inline-block;
	background: var(--accent); color: #fff;
	font-family: var(--sans); font-size: 12px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	padding: 11px 20px;
}
.sm-subscribe:hover { background: var(--accent-dark); }

.sm-burger {
	grid-column: 1;
	justify-self: start;
	display: none;
	width: 38px; height: 38px;
	background: none; border: 0; cursor: pointer; padding: 0;
}
.sm-burger__bars { display: grid; gap: 4px; width: 20px; margin-inline: auto; }
.sm-burger__bars i { display: block; height: 2px; background: var(--ink); }

/* Chi thanh chuyen muc dinh lai khi cuon, khong dinh ca khoi dau trang:
   mot dai 44px thi khong che mat noi dung, va khong can JS moi chay dung. */
.sm-nav {
	position: sticky; top: 0; z-index: 90;
	background: var(--paper);
	border-top: 1px solid var(--rule-soft);
	border-bottom: 1px solid var(--rule);
}
.sm-nav__inner { overflow-x: auto; scrollbar-width: none; }
.sm-nav__inner::-webkit-scrollbar { display: none; }
.sm-nav__list {
	display: flex; gap: 24px; list-style: none;
	/* can giua khi vua man hinh, nhung khi tran ra thi bat dau tu le trai
	   chu khong bi cat mat muc dau - do la cho justify-content: center hong */
	width: max-content; margin-inline: auto;
	min-height: 44px; align-items: center;
	white-space: nowrap;
}
.sm-nav__list a {
	display: block; padding: 12px 0;
	font-family: var(--sans); font-size: 12px; font-weight: 600;
	letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
	color: var(--ink-2);
	border-bottom: 3px solid transparent;
}
.sm-nav__list li:hover a,
.sm-nav__list .current-menu-item a,
.sm-nav__list .current-cat a {
	color: var(--ink);
	border-bottom-color: var(--accent, currentColor);
}

/* Cuon qua khoi dau trang thi them bong do cho thanh chuyen muc noi len. */
.sm-nav.is-stuck { box-shadow: 0 3px 14px -8px rgba(20, 18, 14, .45); }

.sm-searchbar { border-top: 1px solid var(--rule-soft); padding: 18px 0; background: var(--paper-2); }

.sm-searchform { display: flex; gap: 0; max-width: 560px; }
.sm-searchform input {
	flex: 1; min-width: 0;
	border: 1px solid var(--rule); border-right: 0;
	padding: 13px 16px;
	font-family: var(--sans); font-size: 15px;
	background: #fff; color: var(--ink);
}
.sm-searchform input:focus { outline: none; border-color: var(--ink); }
.sm-searchform button {
	display: grid; place-items: center;
	width: 52px; border: 0; cursor: pointer;
	background: var(--ink); color: #fff;
}
.sm-searchform button:hover { background: var(--accent); }

/* ngan keo tren dien thoai */
.sm-drawer {
	position: fixed; inset: 0; z-index: 120;
	background: rgba(20, 18, 14, .5);
}
.sm-drawer[hidden] { display: none; }
.sm-drawer__panel {
	width: min(340px, 86vw); height: 100%;
	background: var(--paper);
	padding: 18px var(--gut) 40px;
	overflow-y: auto;
	animation: sm-slide .22s ease-out;
}
@keyframes sm-slide { from { transform: translateX(-100%); } }
.sm-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 16px;
}
.sm-drawer__title {
	font-family: var(--sans); font-size: 12px; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.sm-drawer__close {
	background: none; border: 0; cursor: pointer;
	font-size: 30px; line-height: 1; color: var(--ink); padding: 0 4px;
}
.sm-drawer__list { list-style: none; margin-top: 18px; }
.sm-drawer__list li { border-bottom: 1px solid var(--rule-soft); }
.sm-drawer__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 13px 0 13px 14px;
	text-decoration: none;
	font-family: var(--sans); font-size: 15px; font-weight: 600;
	border-left: 4px solid var(--accent);
}
.sm-drawer__list em { font-style: normal; font-size: 12px; color: var(--muted); }

/* --- 4. Khung anh theo ty le ----------------------------- */
/* Anh san pham cua Amazon deu chup tren nen trang va khong cung ty le, nen
   phai dung "contain" cho khoi mat goc - keo theo do nen phai la mau trang
   thi moi lien mach voi anh. */
.sm-media {
	display: block; position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--rule-soft);
}
.sm-media img {
	width: 100%; height: 100%;
	object-fit: contain;
	transition: transform .4s ease;
}
.sm-media--wide   { aspect-ratio: 3 / 2; }
.sm-media--golden { aspect-ratio: 3 / 2;  }
.sm-media--square { aspect-ratio: 1 / 1;  }
.sm-media--tall   { aspect-ratio: 4 / 5;  }

.sm-card__media:hover .sm-media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .sm-media img { transition: none; } }

/* --- 5. Cac manh nho ------------------------------------- */
.sm-eyebrow {
	display: inline-block; margin-bottom: 8px;
	font-family: var(--sans); font-size: 11px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	color: var(--accent);
}
.sm-eyebrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.sm-byline { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.sm-byline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-byline__by,
.sm-byline__meta {
	font-family: var(--sans); font-size: 13px; color: var(--muted);
}
.sm-byline__by a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.sm-byline__by a:hover { color: var(--accent); }
.sm-byline--compact .sm-byline__by { font-size: 12px; }

.sm-avatar {
	display: grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: 50%;
	color: #fff; text-decoration: none;
	font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .04em;
}
.sm-avatar--lg { width: 64px; height: 64px; font-size: 20px; }

.sm-authorhead__inner .sm-avatar--xl { margin-top: 6px; }

.sm-stars { display: inline-flex; align-items: center; gap: 7px; }
.sm-stars__track {
	position: relative; display: inline-block;
	width: 74px; height: 13px;
	background: var(--rule);
	-webkit-mask: repeating-linear-gradient(90deg, #000 0 11px, transparent 11px 15px);
	        mask: repeating-linear-gradient(90deg, #000 0 11px, transparent 11px 15px);
}
.sm-stars__on { position: absolute; inset: 0 auto 0 0; background: #e8a33d; }
.sm-stars__num { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--ink-2); }

/* --- 6. The bai viet ------------------------------------- */
.sm-card { display: flex; flex-direction: column; min-width: 0; }
.sm-card__media { display: block; text-decoration: none; position: relative; }
.sm-card__body { padding-top: 14px; }
.sm-card__title { font-family: var(--serif); letter-spacing: -.015em; }
.sm-card__title a { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.sm-card__title a:hover { background-size: 100% 2px; }
.sm-card__dek {
	margin: 10px 0 0;
	color: var(--ink-2); font-size: 16px; line-height: 1.5;
}
.sm-card__facts {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin: 10px 0 0;
}
.sm-card__count {
	font-family: var(--sans); font-size: 11px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sm-card__rank {
	position: absolute; left: 0; bottom: 0;
	display: grid; place-items: center;
	width: 42px; height: 42px;
	background: var(--ink); color: #fff;
	font-family: var(--serif); font-size: 22px; font-weight: 800;
}

/* hero - khong de anh cao qua, neu khong cot phai hut hang so voi cot trai */
.sm-card--hero .sm-media { aspect-ratio: auto; height: 430px; }
.sm-card--hero .sm-card__body { padding-top: 20px; }
.sm-card--hero .sm-card__title { font-size: clamp(30px, 4.4vw, 52px); }
.sm-card--hero .sm-card__dek { font-size: 19px; margin-top: 14px; }

/* lead trong tung chuyen muc */
.sm-card--lead .sm-card__title { font-size: clamp(24px, 2.6vw, 32px); }

/* the doc thuong */
.sm-card--card .sm-card__title { font-size: 20px; }

/* the ngang: anh trai, chu phai */
.sm-card--list, .sm-card--rank {
	flex-direction: row; gap: 16px; align-items: flex-start;
}
.sm-card--list .sm-card__media,
.sm-card--rank .sm-card__media { flex: 0 0 120px; }
.sm-card--list .sm-card__body,
.sm-card--rank .sm-card__body { padding-top: 0; }
.sm-card--list .sm-card__title,
.sm-card--rank .sm-card__title { font-size: 18px; line-height: 1.22; }
.sm-card--list .sm-eyebrow,
.sm-card--rank .sm-eyebrow { margin-bottom: 5px; font-size: 10px; }

/* --- 7. Dai noi dung ------------------------------------- */
.sm-rail { padding-block: 46px; }
.sm-rail--shaded { background: var(--paper-2); }
.sm-rail--brands { background: var(--paper-2); }
.sm-rail--people { background: var(--ink); color: #f1ede6; }

.sm-rail__head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 20px; flex-wrap: wrap;
	padding-bottom: 12px; margin-bottom: 26px;
	border-bottom: 3px solid var(--ink);
}
.sm-rail--people .sm-rail__head { border-bottom-color: rgba(255, 255, 255, .35); }
.sm-rail__title {
	font-family: var(--sans);
	font-size: clamp(15px, 1.8vw, 19px);
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.sm-rail__title::before {
	content: ""; display: inline-block;
	width: 12px; height: 12px; margin-right: 10px;
	background: var(--accent);
	vertical-align: baseline;
}
.sm-rail__more {
	font-family: var(--sans); font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; color: var(--accent); white-space: nowrap;
}
.sm-rail__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* bai dinh trang */
.sm-hero { padding-block: 34px 8px; }
.sm-hero__grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: 44px; align-items: start; }
.sm-hero__side { display: grid; gap: 22px; padding-left: 44px; border-left: 1px solid var(--rule); }
.sm-hero__side .sm-card--list .sm-card__media { flex: 0 0 132px; }

/* dai xep hang */
.sm-trending { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* mot chuyen muc: bai lon + ba bai nho */
.sm-section { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.sm-section__rest { display: grid; gap: 20px; }
.sm-section__rest .sm-card { padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.sm-section__rest .sm-card:last-child { padding-bottom: 0; border-bottom: 0; }

/* luoi */
.sm-grid { display: grid; gap: 34px 26px; }
.sm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sm-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* the thuong hieu */
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-chips a {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 13px;
	background: #fff; border: 1px solid var(--rule);
	font-family: var(--sans); font-size: 13px; font-weight: 600;
	text-decoration: none; color: var(--ink-2);
}
.sm-chips a:hover { border-color: var(--ink); color: var(--ink); }
.sm-chips em { font-style: normal; font-size: 11px; color: var(--muted); }
.sm-chips--big a { padding: 11px 18px; font-size: 15px; }
.sm-chips--onlight a { background: rgba(255, 255, 255, .7); border-left: 3px solid var(--accent, var(--rule)); }

/* nguoi viet */
.sm-people { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.sm-person {
	display: grid; justify-items: center; gap: 8px;
	text-align: center; text-decoration: none;
}
.sm-person__name { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.sm-person__count {
	font-family: var(--sans); font-size: 11px;
	letter-spacing: .1em; text-transform: uppercase;
	color: rgba(241, 237, 230, .6);
}
.sm-rail--people .sm-person:hover .sm-person__name { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* --- 8. Ban tin ------------------------------------------ */
.sm-news { background: var(--ink); color: #f4f1eb; padding-block: 48px; }
.sm-news__inner {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center;
}
.sm-news__kicker {
	margin: 0 0 8px;
	font-family: var(--sans); font-size: 11px; font-weight: 700;
	letter-spacing: .24em; text-transform: uppercase; color: #e6a3ae;
}
.sm-news__title { font-family: var(--serif); font-size: clamp(25px, 3vw, 36px); }
.sm-news__sub { margin: 12px 0 0; color: rgba(244, 241, 235, .72); font-size: 17px; }
.sm-news__form { display: flex; }
.sm-news__form input {
	flex: 1; min-width: 0;
	padding: 15px 16px; border: 0;
	font-family: var(--sans); font-size: 15px;
}
.sm-news__form button {
	padding: 15px 24px; border: 0; cursor: pointer;
	background: var(--accent); color: #fff;
	font-family: var(--sans); font-size: 13px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
}
.sm-news__form button:hover { background: var(--accent-dark); }

/* --- 9. Dau cac trang muc -------------------------------- */
.sm-crumbs { padding-block: 18px 0; }
.sm-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sm-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }
.sm-crumbs a, .sm-crumbs span {
	font-family: var(--sans); font-size: 12px; letter-spacing: .04em;
	color: var(--muted); text-decoration: none;
}
.sm-crumbs a:hover { color: var(--accent); }

.sm-termhead {
	background: var(--accent-tint);
	border-bottom: 1px solid var(--rule);
	padding-bottom: 36px;
}
.sm-termhead--plain { background: var(--paper-2); }
.sm-termhead__kicker {
	margin: 20px 0 10px;
	font-family: var(--sans); font-size: 11px; font-weight: 700;
	letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.sm-termhead__title {
	font-family: var(--serif);
	font-size: clamp(34px, 6vw, 62px);
	max-width: 18ch;
}
.sm-termhead__desc { margin-top: 16px; max-width: 62ch; color: var(--ink-2); }
.sm-termhead__count {
	margin: 16px 0 0;
	font-family: var(--sans); font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.sm-termhead__form { margin-top: 22px; }

.sm-brandhead, .sm-authorhead {
	background: var(--paper-2);
	border-bottom: 1px solid var(--rule);
	padding-bottom: 34px;
}
.sm-brandhead__inner { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.sm-brandhead__badge {
	display: grid; place-items: center; flex: none;
	width: 76px; height: 76px;
	color: #fff; font-family: var(--sans); font-size: 26px; font-weight: 800;
}
.sm-brandhead__kicker, .sm-authorhead__kicker {
	margin: 0 0 6px;
	font-family: var(--sans); font-size: 11px; font-weight: 700;
	letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.sm-brandhead__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 52px); }
.sm-brandhead__count {
	margin: 8px 0 0;
	font-family: var(--sans); font-size: 13px; color: var(--muted);
}
.sm-brandhead__desc { margin-top: 18px; max-width: 64ch; color: var(--ink-2); }
.sm-brandhead .sm-chips { margin-top: 18px; }

.sm-authorhead__inner {
	display: grid; grid-template-columns: auto 1fr auto; gap: 28px;
	align-items: start; margin-top: 20px;
}
.sm-authorhead__name { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 48px); }
.sm-authorhead__bio { margin: 12px 0 0; max-width: 60ch; color: var(--ink-2); }
.sm-authorhead__text .sm-chips { margin-top: 16px; }
.sm-authorhead__stats { display: flex; gap: 30px; margin: 0; }
.sm-authorhead__stats div { text-align: center; }
.sm-authorhead__stats dt {
	font-family: var(--sans); font-size: 10px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.sm-authorhead__stats dd {
	margin: 4px 0 0;
	font-family: var(--serif); font-size: 30px; font-weight: 800;
}

/* --- 10. Bo cuc hai cot ---------------------------------- */
.sm-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px; padding-block: 44px;
	align-items: start;
}
.sm-layout__main { min-width: 0; }
.sm-termlead { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 3px solid var(--ink); }
.sm-empty { font-size: 19px; color: var(--muted); padding: 30px 0; }

/* --- 11. Cot ben ----------------------------------------- */
.sm-side { display: grid; gap: 34px; min-width: 0; }
.sm-side__box--sticky { position: sticky; top: 130px; }
.sm-side__title {
	padding-bottom: 9px; margin-bottom: 14px;
	border-bottom: 2px solid var(--ink);
	font-family: var(--sans); font-size: 12px; font-weight: 800;
	letter-spacing: .16em; text-transform: uppercase;
}
.sm-side__cats { list-style: none; }
.sm-side__cats li { border-bottom: 1px solid var(--rule-soft); }
.sm-side__cats a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 0 10px 12px;
	border-left: 3px solid var(--accent);
	font-family: var(--sans); font-size: 14px; font-weight: 600;
	text-decoration: none; color: var(--ink-2);
}
.sm-side__cats a:hover { color: var(--ink); background: var(--paper-2); }
.sm-side__cats em { font-style: normal; font-size: 12px; color: var(--muted); }

.sm-side__list { list-style: none; display: grid; gap: 14px; }
.sm-side__list li { display: flex; gap: 12px; align-items: baseline; }
.sm-side__num {
	font-family: var(--serif); font-size: 24px; font-weight: 800;
	color: var(--rule); line-height: 1; flex: none; width: 26px;
}
.sm-side__list a {
	font-family: var(--serif); font-size: 16px; font-weight: 700;
	line-height: 1.28; text-decoration: none;
}
.sm-side__list a:hover { color: var(--accent); }

/* --- 12. Phan trang -------------------------------------- */
.sm-pager { margin-top: 44px; }
.sm-pager ul {
	display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
	justify-content: center;
}
.sm-pager a, .sm-pager span {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding-inline: 13px;
	border: 1px solid var(--rule);
	font-family: var(--sans); font-size: 14px; font-weight: 600;
	text-decoration: none; color: var(--ink-2);
}
.sm-pager a:hover { border-color: var(--ink); color: var(--ink); }
.sm-pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.sm-pager .dots { border-color: transparent; }

/* --- 13. Trang 404 --------------------------------------- */
.sm-404 { padding-block: 40px 56px; text-align: center; }
.sm-404__code {
	margin: 0; font-family: var(--serif); font-weight: 800;
	font-size: clamp(90px, 20vw, 190px); line-height: .85;
	color: var(--paper-3);
	letter-spacing: -.04em;
}
.sm-404__title { font-family: var(--serif); font-size: clamp(28px, 5vw, 46px); margin-top: -12px; }
.sm-404__lead { margin: 18px auto 0; max-width: 52ch; color: var(--ink-2); }
.sm-404__search { margin-top: 26px; display: flex; justify-content: center; }
.sm-404__search .sm-searchform { width: min(520px, 100%); }
.sm-404__cats {
	display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
	margin-top: 34px;
}
.sm-404__cats a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--rule); border-left: 4px solid var(--accent);
	background: #fff;
	font-family: var(--sans); font-size: 14px; font-weight: 600;
	text-decoration: none; color: var(--ink-2);
}
.sm-404__cats a:hover { border-color: var(--ink); border-left-color: var(--accent); color: var(--ink); }
.sm-404__cats em { font-style: normal; font-size: 11px; color: var(--muted); }

/* --- 14. Chan trang -------------------------------------- */
.sm-foot {
	background: var(--ink); color: #cfc9be;
	padding-block: 52px 34px; margin-top: 0;
	font-family: var(--sans); font-size: 14px;
}
.sm-foot a { color: #cfc9be; text-decoration: none; }
.sm-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sm-foot__top {
	display: grid; grid-template-columns: auto 1fr; gap: 38px; align-items: center;
	padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.sm-foot__mark {
	font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 800;
	color: #fff; letter-spacing: -.02em; overflow-wrap: anywhere;
}
.sm-foot__blurb { margin: 0; max-width: 68ch; color: rgba(207, 201, 190, .8); line-height: 1.6; }
.sm-foot__cols {
	display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px;
	padding-block: 34px;
}
.sm-foot__col h2 {
	margin-bottom: 14px;
	font-size: 11px; font-weight: 800;
	letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.sm-foot__col ul { list-style: none; display: grid; gap: 9px; }
.sm-foot__cats { grid-template-columns: repeat(2, 1fr); gap: 9px 20px; }
.sm-foot__legal {
	padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14);
	display: grid; gap: 10px;
}
.sm-foot__copy { margin: 0; font-size: 13px; }
.sm-foot__disclosure { margin: 0; font-size: 12px; color: rgba(207, 201, 190, .6); max-width: 78ch; }

/* --- 15. Man hinh nho ------------------------------------ */
@media (max-width: 999px) {
	.sm-hero__grid { grid-template-columns: 1fr; gap: 30px; }
	.sm-hero__side { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 26px; grid-template-columns: repeat(2, 1fr); }
	.sm-section { grid-template-columns: 1fr; gap: 30px; }
	.sm-trending { grid-template-columns: repeat(2, 1fr); }
	.sm-people { grid-template-columns: repeat(3, 1fr); }
	.sm-layout { grid-template-columns: 1fr; gap: 44px; }
	.sm-side { grid-template-columns: repeat(2, 1fr); align-items: start; }
	.sm-side__box--sticky { position: static; }
	.sm-foot__cols { grid-template-columns: 1fr 1fr; }
	.sm-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.sm-authorhead__inner { grid-template-columns: auto 1fr; }
	.sm-authorhead__stats { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 860px) {
	.sm-utility__promise { display: none; }
	/* De mot dai truot ngang, khong de no xuong ba dong an mat man hinh */
	.sm-utility__inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.sm-utility__inner::-webkit-scrollbar { display: none; }
	.sm-brand { min-width: 0; }
	.sm-brand__mark {
		font-size: clamp(16px, 4.4vw, 28px);
		white-space: nowrap;
		max-width: 100%; overflow: hidden; text-overflow: ellipsis;
	}
	.sm-burger { display: block; }
	.sm-masthead__inner { padding-block: 12px; }
	.sm-brand__tag { display: none; }
	.sm-nav { display: none; }
	.sm-subscribe { padding: 10px 14px; font-size: 11px; }
	.sm-news__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
	body { font-size: 17px; }
	.sm-card--hero .sm-media { height: 270px; }
	.sm-rail { padding-block: 34px; }
	.sm-grid--3, .sm-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sm-grid { gap: 26px 18px; }
	.sm-hero__side { grid-template-columns: 1fr; }
	.sm-trending { grid-template-columns: 1fr; }
	.sm-people { grid-template-columns: repeat(2, 1fr); }
	.sm-side { grid-template-columns: 1fr; }
	.sm-card--card .sm-card__title { font-size: 17px; }
	.sm-card__dek { font-size: 15px; }
	.sm-authorhead__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.sm-authorhead__bio { text-align: left; }
	.sm-authorhead__stats { justify-content: center; }
	.sm-foot__top { grid-template-columns: 1fr; gap: 16px; }
	.sm-foot__cols { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 520px) {
	/* Man hinh hep: bo nut dang ky o dau trang, o cuoi trang van con khoi ban tin */
	.sm-subscribe { display: none; }
	.sm-grid--3, .sm-grid--4 { grid-template-columns: 1fr; }
	.sm-card--list .sm-card__media, .sm-card--rank .sm-card__media { flex: 0 0 96px; }
	.sm-utility__links { font-size: 11px; gap: 12px; }
	.sm-authorhead__stats { gap: 20px; }
}


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

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