/* ==========================================================================
   MK4 Daylight - main.css
   Tạp chí tối giản nền sáng: trắng / xám nhạt, mực đậm, điểm nhấn
   đỏ-vermilion #ff5a2a + xanh teal #0e7a6c.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--mk4-bg: #f6f7fb;
	--mk4-paper: #ffffff;
	--mk4-ink: #1c2333;
	--mk4-ink-soft: #5a6275;
	--mk4-line: #e4e7f0;
	--mk4-red: #ff5a2a;
	--mk4-red-dark: #e64a1d;
	--mk4-teal: #0e7a6c;
	--mk4-teal-soft: #e2f1ee;
	--mk4-liner: #101423; /* nền lót tối cho khung ảnh */
	--mk4-shadow: 0 1px 2px rgba(28, 35, 51, .05), 0 10px 30px -12px rgba(28, 35, 51, .14);
	--mk4-shadow-hover: 0 2px 4px rgba(28, 35, 51, .06), 0 18px 40px -14px rgba(28, 35, 51, .22);
	--mk4-radius: 14px;
	--mk4-radius-sm: 9px;
	--mk4-font-display: "Bricolage Grotesque", "Be Vietnam Pro", sans-serif;
	--mk4-font-body: "Be Vietnam Pro", system-ui, sans-serif;
}

/* ---------- Reset nhẹ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.mk4-body {
	margin: 0;
	background: var(--mk4-bg);
	background-image: radial-gradient(rgba(28, 35, 51, .045) 1px, transparent 1px);
	background-size: 22px 22px;
	color: var(--mk4-ink);
	font-family: var(--mk4-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--mk4-teal); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--mk4-red); }
mark { background: #ffe3d6; color: var(--mk4-red-dark); padding: 0 .2em; border-radius: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}

/* ---------- Container ---------- */
.mk4-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mk4-container--narrow { width: min(860px, 100% - 40px); }

.mk4-main { min-height: 60vh; padding-bottom: 72px; }
.mk4-page { padding-top: 44px; }

/* ---------- Section head (kiểu tạp chí) ---------- */
.mk4-section-head { margin: 0 0 26px; }
.mk4-section-head--center { text-align: center; }
.mk4-section-head__kicker {
	display: inline-block;
	font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--mk4-red);
}
.mk4-section-head__title {
	margin: 4px 0 0;
	font-family: var(--mk4-font-display);
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
}
.mk4-section-head__rule {
	display: block; width: 56px; height: 3px; margin-top: 12px;
	background: linear-gradient(90deg, var(--mk4-red), var(--mk4-teal));
	border-radius: 2px;
}
.mk4-section-head--center .mk4-section-head__rule { margin-inline: auto; }

/* ---------- Header (sticky) ---------- */
.mk4-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--mk4-line);
}
.mk4-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center; gap: 22px;
	min-height: 64px; padding-block: 8px;
}

.mk4-logo { display: inline-flex; align-items: center; }
.mk4-logo__img { max-height: 42px; width: auto; }
.mk4-logo__text {
	font-family: var(--mk4-font-display);
	font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--mk4-ink);
}
.mk4-logo__dot { font-style: normal; color: var(--mk4-red); }
.mk4-logo--footer .mk4-logo__text { color: #fff; }

/* Nav giữa */
.mk4-nav { justify-self: center; }
.mk4-nav__list {
	display: flex; flex-wrap: wrap; gap: 4px;
	margin: 0; padding: 0; list-style: none;
}
.mk4-nav__list > li { position: relative; }
.mk4-nav__list > li > a {
	display: block; padding: 9px 13px;
	font-size: 14.5px; font-weight: 600; color: var(--mk4-ink);
	border-radius: var(--mk4-radius-sm);
	transition: color .18s ease, background .18s ease;
}
.mk4-nav__list > li > a:hover,
.mk4-nav__list > li.current-menu-item > a,
.mk4-nav__list > li.current-cat > a {
	color: var(--mk4-red);
	background: rgba(255, 90, 42, .08);
}
/* Dropdown con */
.mk4-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 99;
	min-width: 200px; margin: 6px 0 0; padding: 8px;
	list-style: none;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius-sm); box-shadow: var(--mk4-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .2s ease;
}
.mk4-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mk4-nav__list .sub-menu a {
	display: block; padding: 7px 10px; font-size: 13.5px; color: var(--mk4-ink-soft);
	border-radius: 6px;
}
.mk4-nav__list .sub-menu a:hover { color: var(--mk4-red); background: rgba(255, 90, 42, .06); }

/* Tìm kiếm phải */
.mk4-header__search { justify-self: end; min-width: 220px; }

.mk4-searchform { display: flex; align-items: stretch; }
.mk4-searchform__label { flex: 1; display: flex; margin: 0; }
.mk4-searchform__input {
	width: 100%; padding: 9px 14px;
	font: inherit; font-size: 14px; color: var(--mk4-ink);
	background: var(--mk4-bg);
	border: 1px solid var(--mk4-line); border-right: 0;
	border-radius: 999px 0 0 999px;
	outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.mk4-searchform__input:focus {
	border-color: var(--mk4-teal);
	box-shadow: 0 0 0 3px rgba(14, 122, 108, .14);
}
.mk4-searchform__btn {
	display: grid; place-items: center; width: 42px;
	background: var(--mk4-ink); color: #fff;
	border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
	transition: background .18s ease;
}
.mk4-searchform__btn:hover { background: var(--mk4-red); }

/* Từ khóa hot dưới ô tìm kiếm */
.mk4-hotwords {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	margin-top: 8px; font-size: 12px;
}
.mk4-hotwords__label { color: var(--mk4-ink-soft); font-weight: 600; }
.mk4-hotwords__item {
	padding: 3px 10px;
	color: var(--mk4-ink-soft);
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: 999px;
	transition: all .18s ease;
}
.mk4-hotwords__item:hover {
	color: #fff; background: var(--mk4-red); border-color: var(--mk4-red);
}

/* Hamburger (thuần CSS, ≤860px) */
.mk4-nav-toggle { display: none; }
.mk4-burger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; padding: 10px; cursor: pointer;
	border: 1px solid var(--mk4-line); border-radius: var(--mk4-radius-sm);
	background: var(--mk4-paper);
}
.mk4-burger span {
	display: block; height: 2px; width: 100%;
	background: var(--mk4-ink); border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Chip / nút ---------- */
.mk4-chip {
	display: inline-block; padding: 3px 11px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: #fff; background: var(--mk4-red); border-radius: 999px;
}
.mk4-chip:hover { color: #fff; background: var(--mk4-red-dark); }
.mk4-chip--line {
	color: var(--mk4-teal); background: var(--mk4-teal-soft);
}
.mk4-chip--line:hover { color: #fff; background: var(--mk4-teal); }

.mk4-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px;
	font-family: var(--mk4-font-body); font-size: 14.5px; font-weight: 700;
	border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.mk4-btn:hover { transform: translateY(-2px); }
.mk4-btn--primary {
	color: #fff; background: var(--mk4-red);
	box-shadow: 0 8px 20px -8px rgba(255, 90, 42, .55);
}
.mk4-btn--primary:hover { color: #fff; background: var(--mk4-red-dark); }
.mk4-btn--ghost {
	color: var(--mk4-ink); background: var(--mk4-paper); border-color: var(--mk4-line);
}
.mk4-btn--ghost:hover { color: var(--mk4-red); border-color: var(--mk4-red); }
.mk4-btn--block { width: 100%; }
.mk4-btn--xl { padding: 15px 30px; font-size: 16px; }

.mk4-more {
	font-size: 13px; font-weight: 700; color: var(--mk4-teal);
	letter-spacing: .02em;
}
.mk4-more:hover { color: var(--mk4-red); }

/* ---------- Khung ảnh: lót tối + bo góc để ảnh màu nổi trên nền trắng ---------- */
.mk4-frame {
	display: block; overflow: hidden; position: relative;
	background: var(--mk4-liner);
	border-radius: var(--mk4-radius);
}
.mk4-frame img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .6, .2, 1), opacity .3s ease;
}
.mk4-frame:hover img { transform: scale(1.045); }

/* ---------- 01. Băng chuyền trượt ngang ---------- */
.mk4-slider-wrap { padding-top: 40px; }
.mk4-slider {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 640px);
	gap: 22px; overflow-x: auto;
	padding: 6px max(calc((100vw - min(1200px, 100vw - 40px)) / 2), 20px) 18px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin; scrollbar-color: var(--mk4-line) transparent;
}
.mk4-slider::-webkit-scrollbar { height: 6px; }
.mk4-slider::-webkit-scrollbar-thumb { background: var(--mk4-line); border-radius: 3px; }

.mk4-slide {
	scroll-snap-align: center;
	display: flex; flex-direction: column;
	background: var(--mk4-paper);
	border: 1px solid var(--mk4-line); border-radius: calc(var(--mk4-radius) + 4px);
	box-shadow: var(--mk4-shadow);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.mk4-slide:hover { box-shadow: var(--mk4-shadow-hover); transform: translateY(-3px); }
.mk4-slide__media { border-radius: 0; aspect-ratio: 16 / 8.4; }
.mk4-slide__body { padding: 20px 24px 24px; }
.mk4-slide__title {
	margin: 10px 0 8px;
	font-family: var(--mk4-font-display); font-size: 22px; font-weight: 800; line-height: 1.25;
}
.mk4-slide__desc { margin: 0 0 16px; color: var(--mk4-ink-soft); font-size: 14.5px; }
.mk4-slider__hint {
	margin: 2px 0 0; text-align: center;
	font-size: 12px; color: var(--mk4-ink-soft); letter-spacing: .08em;
}

/* ---------- 02. Khối game ---------- */
.mk4-games { padding-top: 52px; }
.mk4-games__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.mk4-game-card {
	text-align: center;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: calc(var(--mk4-radius) + 4px);
	padding: 14px 14px 20px;
	box-shadow: var(--mk4-shadow);
	transition: box-shadow .25s ease, transform .25s ease;
}
.mk4-game-card:hover { box-shadow: var(--mk4-shadow-hover); transform: translateY(-4px); }
.mk4-game-card__media { aspect-ratio: 3 / 3.6; margin-bottom: 14px; }
.mk4-game-card__num {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	padding: 3px 10px;
	font-family: var(--mk4-font-display); font-size: 13px; font-weight: 800;
	color: #fff; background: rgba(16, 20, 35, .62);
	border-radius: 999px; backdrop-filter: blur(4px);
}
.mk4-game-card__title {
	margin: 0 0 14px;
	font-family: var(--mk4-font-display); font-size: 17px; font-weight: 700;
}

/* ---------- 03. Bố cục tạp chí + sidebar ---------- */
.mk4-magazine { padding-top: 56px; }
.mk4-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px;
	gap: 34px; align-items: start;
}

/* Lưới bất đối xứng: 1 lớn + 4 nhỏ */
.mk4-mag-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.mk4-mag-card--big { grid-column: 1 / -1; }
.mk4-mag-card--big .mk4-mag-card__media { aspect-ratio: 16 / 7.4; }
.mk4-mag-card--big .mk4-mag-card__title { font-size: clamp(20px, 2.6vw, 28px); }
.mk4-mag-grid--even .mk4-mag-card__media { aspect-ratio: 16 / 9; }

.mk4-mag-card__media { aspect-ratio: 16 / 9.6; margin-bottom: 14px; }
.mk4-mag-card__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	font-size: 12.5px; color: var(--mk4-ink-soft);
}
.mk4-mag-card__title {
	margin: 8px 0 6px;
	font-family: var(--mk4-font-display); font-size: 18px; font-weight: 700; line-height: 1.3;
}
.mk4-mag-card__title a { color: var(--mk4-ink); }
.mk4-mag-card__title a:hover { color: var(--mk4-red); }
.mk4-mag-card__excerpt { margin: 0 0 10px; color: var(--mk4-ink-soft); font-size: 14px; }

/* ---------- Sidebar ---------- */
.mk4-layout__side { display: grid; gap: 22px; position: sticky; top: 84px; }
.mk4-side-card {
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: calc(var(--mk4-radius) + 4px);
	padding: 22px; box-shadow: var(--mk4-shadow);
}
.mk4-side-card__title {
	margin: 0 0 16px;
	font-family: var(--mk4-font-display); font-size: 18px; font-weight: 800;
	position: relative; padding-bottom: 10px;
}
.mk4-side-card__title::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 34px; height: 3px; border-radius: 2px;
	background: linear-gradient(90deg, var(--mk4-red), var(--mk4-teal));
}

.mk4-popular { margin: 0; padding: 0; list-style: none; }
.mk4-popular__item {
	display: flex; gap: 12px; align-items: baseline;
	padding: 10px 0; border-bottom: 1px dashed var(--mk4-line);
}
.mk4-popular__item:last-child { border-bottom: 0; padding-bottom: 0; }
.mk4-popular__num {
	font-family: var(--mk4-font-display); font-weight: 800; font-size: 15px;
	color: var(--mk4-red); min-width: 24px;
}
.mk4-popular__link { font-size: 14px; font-weight: 600; color: var(--mk4-ink); line-height: 1.45; }
.mk4-popular__link:hover { color: var(--mk4-red); }

.mk4-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.mk4-tagcloud a {
	padding: 5px 12px; font-size: 12px !important; font-weight: 600;
	color: var(--mk4-ink-soft); background: var(--mk4-bg);
	border: 1px solid var(--mk4-line); border-radius: 999px;
}
.mk4-tagcloud a:hover { color: #fff; background: var(--mk4-teal); border-color: var(--mk4-teal); }

/* CTA sidebar */
.mk4-side-card--cta {
	background: linear-gradient(155deg, #16211f 0%, #0e7a6c 118%);
	border: 0; color: #eaf6f3; text-align: center;
	position: relative; overflow: hidden;
}
.mk4-side-card--cta::before {
	content: ""; position: absolute; inset: -40% -30% auto auto;
	width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 90, 42, .5), transparent 68%);
}
.mk4-side-card__kicker {
	display: inline-block; margin-bottom: 8px;
	font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: #ffd9c9; position: relative;
}
.mk4-side-card--cta .mk4-side-card__title { color: #fff; padding-bottom: 0; font-size: 20px; position: relative; }
.mk4-side-card--cta .mk4-side-card__title::after { display: none; }
.mk4-side-card__desc { font-size: 13.5px; color: rgba(234, 246, 243, .85); margin: 10px 0 18px; position: relative; }
.mk4-side-card--cta .mk4-btn { position: relative; }
.mk4-side-card__ghost {
	display: inline-block; margin-top: 12px; font-size: 12.5px;
	color: rgba(234, 246, 243, .75); text-decoration: underline; position: relative;
}
.mk4-side-card__ghost:hover { color: #fff; }

/* ---------- Tabs lọc chuyên mục ---------- */
.mk4-tabs {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin-top: 22px;
}
.mk4-tabs__item {
	padding: 7px 16px;
	font-size: 13.5px; font-weight: 600; color: var(--mk4-ink-soft);
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: 999px;
	transition: all .18s ease;
}
.mk4-tabs__item:hover { color: var(--mk4-red); border-color: var(--mk4-red); }
.mk4-tabs__item.is-active {
	color: #fff; background: var(--mk4-ink); border-color: var(--mk4-ink);
}
.mk4-tabs__count {
	font-size: 11px; opacity: .7; margin-left: 2px;
}
.mk4-archive__desc {
	max-width: 640px; margin: 0 auto 30px; text-align: center; color: var(--mk4-ink-soft);
}

/* ---------- Dòng thời gian (archive / category) ---------- */
.mk4-timeline {
	position: relative;
	margin: 10px 0 0; padding: 0; list-style: none;
}
.mk4-timeline::before {
	content: ""; position: absolute; top: 6px; bottom: 6px; left: 71px;
	width: 2px; background: var(--mk4-line);
}
.mk4-timeline__item {
	position: relative;
	display: grid; grid-template-columns: 56px 1fr; gap: 44px;
	padding-bottom: 26px;
}
.mk4-timeline__item::before {
	content: ""; position: absolute; left: 65px; top: 16px; z-index: 1;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--mk4-paper); border: 3px solid var(--mk4-red);
	box-shadow: 0 0 0 4px rgba(255, 90, 42, .15);
}
.mk4-timeline__node {
	text-align: center; padding-top: 8px;
}
.mk4-timeline__day {
	display: block; font-family: var(--mk4-font-display);
	font-size: 24px; font-weight: 800; line-height: 1;
}
.mk4-timeline__month {
	display: block; margin-top: 3px;
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--mk4-teal);
}
.mk4-tl-card {
	display: grid; grid-template-columns: 168px 1fr; gap: 18px;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius); padding: 14px;
	box-shadow: var(--mk4-shadow);
	transition: box-shadow .25s ease, transform .25s ease;
}
.mk4-tl-card:hover { box-shadow: var(--mk4-shadow-hover); transform: translateX(4px); }
.mk4-tl-card__media { aspect-ratio: 4 / 3; }
.mk4-tl-card__title {
	margin: 2px 0 6px;
	font-family: var(--mk4-font-display); font-size: 17.5px; font-weight: 700; line-height: 1.3;
}
.mk4-tl-card__title a { color: var(--mk4-ink); }
.mk4-tl-card__title a:hover { color: var(--mk4-red); }
.mk4-tl-card__excerpt { margin: 0 0 8px; font-size: 13.5px; color: var(--mk4-ink-soft); }

/* ---------- Trang tìm kiếm ---------- */
.mk4-search__count { color: var(--mk4-ink-soft); font-size: 14px; margin: 14px 0 0; }
.mk4-results { display: grid; gap: 18px; }
.mk4-result-card {
	display: grid; grid-template-columns: 200px 1fr; gap: 20px;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius); padding: 16px;
	box-shadow: var(--mk4-shadow);
	transition: box-shadow .25s ease, transform .25s ease;
}
.mk4-result-card:hover { box-shadow: var(--mk4-shadow-hover); transform: translateY(-2px); }
.mk4-result-card__media { aspect-ratio: 4 / 3; }
.mk4-result-card__title {
	margin: 8px 0 6px;
	font-family: var(--mk4-font-display); font-size: 19px; font-weight: 700; line-height: 1.3;
}
.mk4-result-card__title a { color: var(--mk4-ink); }
.mk4-result-card__title a:hover { color: var(--mk4-red); }
.mk4-result-card__excerpt { margin: 0 0 8px; font-size: 14px; color: var(--mk4-ink-soft); }

.mk4-empty-card {
	background: var(--mk4-paper); border: 1px dashed var(--mk4-line);
	border-radius: var(--mk4-radius); padding: 40px 28px; text-align: center;
}
.mk4-empty-card .mk4-searchform { max-width: 380px; margin: 18px auto 0; }
.mk4-empty-card .mk4-hotwords { justify-content: center; }
.mk4-empty { color: var(--mk4-ink-soft); font-size: 15px; }
.mk4-empty__hint { font-size: 13.5px; color: var(--mk4-ink-soft); margin-top: 10px; }

/* ---------- Phân trang ---------- */
.mk4-pagination {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin-top: 40px;
}
.mk4-pagination .page-numbers {
	display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	font-size: 14px; font-weight: 700; color: var(--mk4-ink);
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius-sm);
	transition: all .18s ease;
}
.mk4-pagination .page-numbers:hover { color: var(--mk4-red); border-color: var(--mk4-red); }
.mk4-pagination .page-numbers.current {
	color: #fff; background: var(--mk4-red); border-color: var(--mk4-red);
}

/* ---------- Trang nội dung (single) ---------- */
.mk4-cover { position: relative; width: 100%; overflow: hidden; background: var(--mk4-liner); }
.mk4-cover__img { max-height: 520px; overflow: hidden; }
.mk4-cover__img img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.mk4-cover__fade {
	position: absolute; inset: auto 0 0 0; height: 120px;
	background: linear-gradient(180deg, transparent, var(--mk4-bg));
}

.mk4-single { padding-top: 36px; }
.mk4-single__header { margin-bottom: 28px; }
.mk4-single__cats { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.mk4-single__title {
	margin: 0 0 12px;
	font-family: var(--mk4-font-display); font-size: clamp(26px, 4.4vw, 40px);
	font-weight: 800; line-height: 1.18; letter-spacing: -.01em;
}
.mk4-single__meta {
	display: flex; align-items: center; gap: 10px;
	font-size: 13.5px; color: var(--mk4-ink-soft);
	padding-top: 12px; border-top: 1px solid var(--mk4-line);
}

.mk4-single__content { font-size: 16.5px; }
.mk4-single__content p { margin: 0 0 1.2em; }
.mk4-single__content h2, .mk4-single__content h3 {
	font-family: var(--mk4-font-display); font-weight: 800; line-height: 1.25;
	margin: 1.6em 0 .7em;
}
.mk4-single__content img { border-radius: var(--mk4-radius); }
.mk4-single__content blockquote {
	margin: 1.4em 0; padding: 14px 22px;
	border-left: 4px solid var(--mk4-red);
	background: var(--mk4-paper); border-radius: 0 var(--mk4-radius-sm) var(--mk4-radius-sm) 0;
	color: var(--mk4-ink-soft); font-style: italic;
}
.mk4-single__content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.mk4-single__content table th, .mk4-single__content table td {
	border: 1px solid var(--mk4-line); padding: 10px 14px; text-align: left; font-size: 14.5px;
}
.mk4-single__content table th { background: var(--mk4-bg); }

/* Bảng thông tin nhanh */
.mk4-info-table-wrap {
	margin: 34px 0;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius); padding: 24px; box-shadow: var(--mk4-shadow);
}
.mk4-info-table-wrap__title {
	margin: 0 0 14px;
	font-family: var(--mk4-font-display); font-size: 19px; font-weight: 800;
}
.mk4-info-table { width: 100%; border-collapse: collapse; }
.mk4-info-table th, .mk4-info-table td {
	padding: 11px 6px; font-size: 14.5px; text-align: left;
	border-bottom: 1px solid var(--mk4-line);
}
.mk4-info-table tr:last-child th, .mk4-info-table tr:last-child td { border-bottom: 0; }
.mk4-info-table th {
	width: 34%; color: var(--mk4-ink-soft); font-weight: 600;
	text-transform: uppercase; font-size: 12px; letter-spacing: .08em;
}

/* Nút tải về */
.mk4-download {
	margin: 34px 0; text-align: center;
	background: linear-gradient(155deg, #1c2333 0%, #2a3550 100%);
	border-radius: calc(var(--mk4-radius) + 4px);
	padding: 34px 26px;
}
.mk4-download__note { margin: 0 0 18px; color: rgba(255, 255, 255, .82); font-size: 15px; }
.mk4-download .mk4-btn { margin: 4px 6px; }
.mk4-download .mk4-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.mk4-download .mk4-btn--ghost:hover { border-color: #fff; color: #fff; }

.mk4-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.mk4-single__tags a {
	padding: 5px 13px; font-size: 12.5px; font-weight: 600;
	color: var(--mk4-ink-soft); background: var(--mk4-paper);
	border: 1px solid var(--mk4-line); border-radius: 999px;
}
.mk4-single__tags a:hover { color: #fff; background: var(--mk4-teal); border-color: var(--mk4-teal); }

.mk4-single__thumb { margin-bottom: 26px; }
.mk4-related { margin-top: 48px; }

/* ---------- Bình luận ---------- */
.mk4-comments { margin-top: 48px; }
.mk4-comments__list { margin: 0 0 24px; padding: 0; list-style: none; }
.mk4-comments__list .comment {
	padding: 18px 0 4px; border-bottom: 1px solid var(--mk4-line);
}
.mk4-comments__list .comment-body { display: grid; gap: 6px; }
.mk4-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.mk4-comments__list .fn { font-weight: 700; font-style: normal; }
.mk4-comments__list .comment-metadata { font-size: 12.5px; color: var(--mk4-ink-soft); }
.mk4-comments__list .comment-content { font-size: 14.5px; color: var(--mk4-ink); }
.mk4-comments__list .reply a { font-size: 12.5px; font-weight: 700; color: var(--mk4-teal); }
.mk4-comments__list .children { list-style: none; margin: 10px 0 0 26px; padding: 0; }
.mk4-comments__nav { display: flex; justify-content: space-between; margin: 18px 0; font-size: 14px; }
.mk4-comments__closed, .mk4-comments__empty { color: var(--mk4-ink-soft); }

.mk4-comment-form { margin-top: 26px; }
.mk4-comment-form .comment-reply-title {
	font-family: var(--mk4-font-display); font-size: 20px; font-weight: 800;
}
.mk4-comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.mk4-comment-form input[type="text"], .mk4-comment-form input[type="email"],
.mk4-comment-form input[type="url"], .mk4-comment-form textarea {
	width: 100%; padding: 11px 14px;
	font: inherit; font-size: 14.5px; color: var(--mk4-ink);
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: var(--mk4-radius-sm); outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.mk4-comment-form input:focus, .mk4-comment-form textarea:focus {
	border-color: var(--mk4-teal); box-shadow: 0 0 0 3px rgba(14, 122, 108, .14);
}
.mk4-comment-form .form-submit { margin-top: 16px; }

/* ---------- 404 ---------- */
.mk4-404__box {
	text-align: center; padding: 60px 24px;
	background: var(--mk4-paper); border: 1px solid var(--mk4-line);
	border-radius: calc(var(--mk4-radius) + 6px); box-shadow: var(--mk4-shadow);
}
.mk4-404__code {
	display: inline-block;
	font-family: var(--mk4-font-display); font-size: clamp(64px, 12vw, 110px);
	font-weight: 800; line-height: 1; letter-spacing: -.03em;
	background: linear-gradient(120deg, var(--mk4-red), var(--mk4-teal));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk4-404__title {
	margin: 12px 0 8px;
	font-family: var(--mk4-font-display); font-size: 24px; font-weight: 800;
}
.mk4-404__desc { margin: 0 0 22px; color: var(--mk4-ink-soft); }
.mk4-404__search { max-width: 420px; margin: 0 auto 20px; }
.mk4-404__search .mk4-hotwords { justify-content: center; margin-top: 12px; }
.mk4-404__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.mk4-footer {
	background: var(--mk4-ink);
	color: rgba(255, 255, 255, .78);
	margin-top: 60px;
}
.mk4-footer__top {
	display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
	padding: 54px 0 34px;
}
.mk4-footer__title {
	margin: 0 0 16px;
	font-family: var(--mk4-font-display); font-size: 15px; font-weight: 700;
	color: #fff; letter-spacing: .06em; text-transform: uppercase;
}
.mk4-footer__about { font-size: 13.5px; line-height: 1.7; margin: 12px 0 0; }
.mk4-footer__links { margin: 0; padding: 0; list-style: none; }
.mk4-footer__links li { margin-bottom: 9px; }
.mk4-footer__links a { color: rgba(255, 255, 255, .78); font-size: 14px; }
.mk4-footer__links a:hover { color: var(--mk4-red); }
.mk4-footer__links--cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mk4-footer__links--cta a { font-weight: 700; color: #ffb59d; }
.mk4-footer__links--cta a:hover { color: var(--mk4-red); }
/* menu fallback trong footer cũng dùng danh sách dọc */
.mk4-footer .mk4-nav__list { flex-direction: column; gap: 0; }
.mk4-footer .mk4-nav__list > li > a { padding: 0 0 9px; color: rgba(255, 255, 255, .78); background: none; }
.mk4-footer .mk4-nav__list > li > a:hover { color: var(--mk4-red); background: none; }
.mk4-footer .sub-menu { display: none; }

.mk4-footer__disclaimer {
	margin: 0; padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .55);
	text-align: center;
}
.mk4-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13px; color: rgba(255, 255, 255, .6);
}
.mk4-footer__badge img { opacity: .9; }

/* ---------- Hiệu ứng vào trang ---------- */
@keyframes mk4-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}
.mk4-slider-wrap, .mk4-games, .mk4-magazine, .mk4-page { animation: mk4-rise .55s ease both; }
.mk4-games { animation-delay: .08s; }
.mk4-magazine { animation-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mk4-games__grid { grid-template-columns: repeat(2, 1fr); }
	.mk4-layout { grid-template-columns: 1fr; }
	.mk4-layout__side { position: static; }
}

@media (max-width: 860px) {
	/* Header: burger thuần CSS */
	.mk4-header__inner {
		display: flex; flex-wrap: wrap; align-items: center;
		gap: 12px; padding-block: 10px;
	}
	.mk4-logo { margin-right: auto; }
	.mk4-burger { display: flex; }
	.mk4-nav {
		order: 3; flex-basis: 100%;
		max-height: 0; overflow: hidden;
		transition: max-height .3s ease;
	}
	.mk4-nav-toggle:checked ~ .mk4-nav { max-height: 640px; border-top: 1px solid var(--mk4-line); }
	.mk4-nav-toggle:checked ~ .mk4-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.mk4-nav-toggle:checked ~ .mk4-burger span:nth-child(2) { opacity: 0; }
	.mk4-nav-toggle:checked ~ .mk4-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.mk4-nav__list { flex-direction: column; gap: 0; padding: 10px 0; }
	.mk4-nav__list > li > a { padding: 11px 6px; border-radius: 0; border-bottom: 1px solid var(--mk4-line); }
	.mk4-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; margin: 0; padding: 0 0 0 14px;
	}
	.mk4-header__search { order: 2; width: 100%; min-width: 0; margin-left: 0; }

	/* Lưới & timeline */
	.mk4-mag-grid { grid-template-columns: 1fr; }
	.mk4-timeline::before { left: 14px; }
	.mk4-timeline__item { grid-template-columns: 1fr; gap: 12px; padding-left: 36px; }
	.mk4-timeline__item::before { left: 8px; top: 12px; }
	.mk4-timeline__node { text-align: left; padding-top: 0; display: flex; gap: 8px; align-items: baseline; }
	.mk4-tl-card { grid-template-columns: 1fr; }
	.mk4-result-card { grid-template-columns: 1fr; }
	.mk4-footer__top { grid-template-columns: 1fr; gap: 30px; }
	.mk4-footer__bottom { justify-content: center; text-align: center; }
	.mk4-slider { grid-auto-columns: 86%; }
}
