/* Gia Lai 24h — v0.2 "tạp chí địa phương": ảnh thật làm chủ, chữ đậm rõ, nhịp sáng/tối. Điện thoại trước. */

@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
	--paper: #f7f4ee;
	--card: #ffffff;
	--ink: #16201b;
	--muted: #4f5650;
	--line: #e2dccf;
	--green: #1f4d3a;   /* chè, cà phê */
	--deep: #12271f;    /* nền tối khối du lịch, chân trang */
	--bazan: #9a3412;   /* đất đỏ bazan — điểm nhấn */
	--sun: #e9a23b;     /* chỉ trang trí (logo, vạch) — không dùng làm màu chữ */
	--focus: #0b63ce;
	/* Màu chuyên mục (chữ trắng trên nền đều ≥ 4.5:1) */
	--c-tin: #1f4d3a;
	--c-gia: #7c4a03;
	--c-dulich: #0e5a6d;
	--c-camnang: #5a4630;
	--c-amthuc: #9a3412;
	--c-bds: #3d5a1c;
	--c-dichvu: #52525b;
	--wrap: 1200px;
	--gap: 16px;
	--r: 12px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.015em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; min-height: 44px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

/* ---------- Thanh đọc (bài viết) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--bazan); transform-origin: 0 50%; transform: scaleX(0); }
body:not(.single) .progress { display: none; }

/* ---------- Đầu trang ---------- */
.topbar { background: var(--deep); color: #dfe9e3; font-size: 16px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar-note { display: none; color: #b9cdc2; }
/* điện thoại: có liên kết tra cứu thì chỉ hiện liên kết (không xuống 2 dòng) */
@media (max-width: 639px) { .topbar-row.has-link .topbar-date { display: none; } }
.topbar-link { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.topbar-link:hover { text-decoration: underline; }

.site-head { background: var(--card); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { margin: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.brand .custom-logo { max-height: 48px; width: auto; }
.logo-mark { flex: none; display: block; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 26px; letter-spacing: -0.035em; color: var(--green); }
.brand-name b, .foot-brand b { color: var(--bazan); font-weight: 800; }
.brand-tag { display: none; font-size: 16px; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.head-search { margin-left: auto; }
.head-search summary { list-style: none; cursor: pointer; min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 22px; color: var(--ink); font-weight: 600; font-size: 16px; }
.head-search summary::-webkit-details-marker { display: none; }
.head-search summary:hover, .head-search[open] summary { background: var(--paper); }
.head-search-label { display: none; }
.head-search-box { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); box-shadow: 0 12px 24px -12px rgba(18, 39, 31, .25); padding: 14px 0; border-top: 1px solid var(--line); }

.search-form { display: flex; gap: 8px; max-width: 680px; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px; font: inherit; font-size: 17px; border: 1px solid #b9b1a4; border-radius: 24px; background: #fff; color: var(--ink); }
.search-form button, .btn { min-height: 48px; padding: 10px 22px; font: 600 17px/1.2 var(--font); border: 0; border-radius: 24px; background: var(--green); color: #fff; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.search-form button:hover, .btn:hover { background: var(--deep); }

.nav { border-top: 1px solid var(--line); }
.nav .wrap { position: relative; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.nav .menu::-webkit-scrollbar { display: none; }
.nav .menu a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; color: #2b332e; border-bottom: 3px solid transparent; }
.nav .menu a:hover { color: var(--bazan); }
.nav .current-menu-item > a, .nav .current-menu-parent > a { border-bottom-color: var(--bazan); color: var(--bazan); }

/* ---------- Ảnh ---------- */
.thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #d9d3c6; position: relative; }
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: flex; align-items: flex-end; color: #fff; background: var(--c-tin); }
.thumb-empty .contour { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; }
.thumb-empty span { position: relative; padding: 12px 14px; font-weight: 800; font-size: 16px; line-height: 1.25; }

/* ---------- Thẻ bài ---------- */
.card { position: relative; }
.card-media { display: block; }
.card-title { font-size: 18px; margin: 4px 0 6px; }
.card-title a { text-decoration: none; display: block; min-height: 44px; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* cả thẻ bấm được */
.card:hover .card-title a { color: var(--bazan); }
.cat-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--c-tin); }
.cat-label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.card-excerpt { margin: 0 0 6px; color: var(--muted); }
.card-date { color: var(--muted); font-size: 16px; }

.card-grid .thumb { border-radius: var(--r); }
.card-grid .card-body { padding: 6px 0 4px; }
.card-row { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.card-row .thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
.card-row .card-title { font-size: 17px; margin-top: 0; }
.card-lead .thumb { border-radius: var(--r); }
.card-lead .card-title { font-size: 24px; }
.card-lead.card-noimg { border-left: 6px solid var(--green); padding-left: 16px; }

/* Chữ đè ảnh (tin lớn) — lớp phủ tối dưới chữ luôn ≥ 4.5:1 */
.card-overlay { border-radius: var(--r); overflow: hidden; background: var(--deep); color: #fff; isolation: isolate; }
.card-overlay .thumb { aspect-ratio: 1 / 1; border-radius: 0; }
.card-overlay .card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 18px 18px;
	background: linear-gradient(to top, rgba(10, 22, 17, .94) 0%, rgba(10, 22, 17, .82) 45%, rgba(10, 22, 17, 0) 100%); }
.card-overlay .card-title { font-size: 24px; margin: 2px 0 6px; color: #fff; }
.card-overlay:hover .card-title a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* nhãn trông cao 32px nhưng vùng bấm 44px (nền chỉ vẽ dải giữa) */
.card-overlay .cat-label { color: #fff; min-height: 44px; padding: 0 12px; background: linear-gradient(var(--cc, var(--c-tin)), var(--cc, var(--c-tin))) center / 100% 32px no-repeat; }
.card-overlay .cat-label::before { background: var(--sun); }
.card-overlay .card-excerpt { color: #dfe7e2; display: none; }
.card-overlay .card-date { color: #dfe7e2; }

/* Màu theo chuyên mục */
.c-tin { --cc: var(--c-tin); } .c-gia { --cc: var(--c-gia); } .c-dulich { --cc: var(--c-dulich); } .c-camnang { --cc: var(--c-camnang); }
.c-amthuc { --cc: var(--c-amthuc); } .c-bds { --cc: var(--c-bds); } .c-dichvu { --cc: var(--c-dichvu); }
.cat-label[class*="c-"] { color: var(--cc); }
.card-overlay .cat-label[class*="c-"] { color: #fff; }
.thumb-empty[class*="c-"] { background: var(--cc); }

/* ---------- Trang chủ: phần đầu ---------- */
.top { padding: 18px 0 8px; }
.home-h1 { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--bazan); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.home-h1::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.top-grid { display: grid; gap: 4px; }
.top-side .card-row:first-child { border-top: 0; }
.list-title { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 4px; }
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: so; }
.num-list > li { counter-increment: so; display: grid; grid-template-columns: 44px 1fr; align-items: start; border-top: 1px solid var(--line); padding: 10px 0; }
.num-list > li::before { content: counter(so); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--bazan); }
.card-num .card-title { font-size: 17px; margin: 0 0 2px; }
.card-num .card-title a { min-height: 44px; }
.card-num .card-date { font-size: 16px; }

.prices { margin: 8px 0 0; }
.prices-row { display: grid; gap: 4px 24px; padding-top: 14px; padding-bottom: 14px; background: #fff7e8; border: 1px solid #efd9ad; border-radius: var(--r); }
.prices-title { font-size: 18px; color: var(--c-gia); margin: 0; }
.prices ul { margin: 0; padding: 0; list-style: none; }
.prices li { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; align-items: center; }
.prices a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.prices a:hover { text-decoration: underline; }
.prices time { color: var(--muted); font-size: 16px; }

/* ---------- Khối chuyên mục ---------- */
.home-sec { padding: 36px 0 12px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--cc, var(--bazan)); }
.sec-title { font-size: 24px; margin: 0; }
.sec-title a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.sec-title a:hover { color: var(--cc, var(--bazan)); }
.sec-more { font-weight: 600; font-size: 16px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--cc, var(--green)); }
.sec-more:hover { text-decoration: underline; }
.sec-body { display: grid; gap: 20px; }
.sec-feature .sec-body { gap: 0; }
.sec-feature .card-lead { margin-bottom: 6px; }

/* Khối Du lịch: nền tối tràn ngang, khảm ảnh */
.sec-band { background: var(--deep); color: #fff; margin-top: 36px; padding: 40px 0 36px; }
.sec-band .sec-head { border-bottom-color: rgba(255, 255, 255, .18); }
.sec-band .sec-head::after { background: var(--sun); }
.sec-band .sec-title a:hover, .sec-band .sec-more { color: #fff; }
.sec-band .card-grid .card-title a { color: #fff; }
.sec-band .card-grid:hover .card-title a { color: #f6d39c; }
.sec-band .card-grid .cat-label { display: none; }
.sec-band .card-date { color: #c8d6ce; }
.sec-band .card-overlay { background: #0b1813; }

/* ---------- Bài viết ---------- */
.wrap-article { max-width: 1128px; }
.crumbs { padding: 14px 0 0; font-size: 16px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.entry-head { max-width: 860px; padding: 2px 0 12px; }
.entry-title { font-size: 30px; line-height: 1.18; letter-spacing: -0.025em; margin: 2px 0 12px; }
.entry-meta { margin: 0; color: var(--muted); font-size: 16px; display: flex; flex-wrap: wrap; gap: 0 6px; }
.entry-by { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.entry-by a { color: var(--green); }
.entry-figure { margin: 8px 0 24px; }
.entry-figure .thumb { border-radius: var(--r); aspect-ratio: 16 / 9; }
.entry-figure figcaption { font-size: 16px; color: var(--muted); padding-top: 8px; }
.read-grid { display: grid; gap: 0; }
.entry-main { min-width: 0; max-width: 720px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; margin: 0 0 20px; }
.toc summary { cursor: pointer; font-weight: 800; min-height: 52px; display: flex; align-items: center; }
.toc ol, .toc ul { margin: 0 0 12px; padding-left: 22px; }
ul.toc-list { list-style: none; padding-left: 0; }
.toc a { display: block; min-height: 44px; padding: 9px 0; text-decoration: none; color: #2b332e; }
.toc a:hover { color: var(--bazan); }
.notice-stale { background: #fff4e5; border-left: 4px solid var(--c-gia); padding: 12px 16px; margin: 0 0 16px; border-radius: 0 8px 8px 0; }
.quick { background: #eaf3ec; border-left: 4px solid var(--green); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 0 0 20px; }
.quick p { margin: 0; }
.quick-title { font-weight: 800; color: var(--green); margin-bottom: 4px !important; }
.place-note { background: #f1ede5; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin: 0 0 16px; font-size: 16px; }
.place-note p { margin: 0; }
.place-note a { color: var(--green); font-weight: 600; }

.entry-content { font-size: 18px; line-height: 1.78; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.single .entry-content > p:first-of-type::first-letter { float: left; font-weight: 800; font-size: 3.4em; line-height: .9; margin: 6px 10px 0 0; color: var(--bazan); }
.entry-content h2 { font-size: 25px; margin: 1.7em 0 .6em; scroll-margin-top: 140px; }
.entry-content h3 { font-size: 21px; margin: 1.4em 0 .5em; scroll-margin-top: 140px; }
.entry-content a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content img { border-radius: 10px; margin: 0 auto; }
.entry-content figure, .entry-content .wp-caption { margin: 1.4em 0; max-width: 100% !important; width: auto !important; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 16px; color: var(--muted); text-align: center; padding-top: 8px; }
.entry-content blockquote { margin: 1.4em 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--bazan); font-size: 20px; color: #2b332e; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.entry-content table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 16px; line-height: 1.5; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th, .entry-content thead td, .entry-content tr:first-child td strong { background: var(--paper); }
/* Bảng dạng thẻ trên điện thoại: <table class="bang-the">, mỗi <td data-label="Tên cột"> */
@media (max-width: 639px) {
	.entry-content table.bang-the { min-width: 0; }
	.bang-the thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bang-the, .bang-the tbody, .bang-the tr, .bang-the td { display: block; width: 100%; }
	.bang-the tr { border-bottom: 1px solid var(--line); padding: 8px 12px; }
	.bang-the tr[hidden] { display: none; }
	.entry-content .bang-the td { border: 0; padding: 4px 0; }
	.bang-the td[data-label]::before { content: attr(data-label); display: block; font-weight: 600; color: var(--muted); }
	.bang-the td:first-child::before { display: none; }
}
.sources { margin: 28px 0 0; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.sources h2 { font-size: 18px; margin: 0 0 6px; }
.sources ol { margin: 0; padding-left: 22px; }
.sources li a { display: inline-block; min-height: 44px; padding: 10px 0; color: var(--green); overflow-wrap: anywhere; }
.src-date { color: var(--muted); }
.ai-note { margin: 20px 0 8px; padding: 14px 18px; border: 1px dashed #b9b1a4; border-radius: var(--r); color: #3b3832; font-size: 16px; background: var(--card); }
.ai-note p { margin: 0; }
.entry-tags { font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 20px 0 0; }
.entry-tags a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); text-decoration: none; }
.entry-tags a:hover { border-color: var(--green); color: var(--green); }
.related { margin: 44px 0 16px; }

/* ---------- Chuyên mục, tìm kiếm, 404 ---------- */
.archive-head { padding: 6px 0 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); position: relative; }
.archive-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 4px; background: var(--cc, var(--bazan)); }
.archive-title { font-size: 32px; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 6px; }
.archive-desc { color: var(--muted); max-width: 720px; }
.archive-head .search-form { margin-top: 12px; }
.archive-list { display: grid; gap: 20px; }
.pagination { margin: 32px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.empty { padding: 24px 0; }
.page-404 { padding: 40px var(--gap) 56px; max-width: 760px; }
.page-404 .search-form { margin: 12px 0 20px; }
.wrap-read { max-width: 760px; }

/* ---------- Chân trang ---------- */
.site-foot { margin-top: 56px; background: var(--deep); color: #dfe9e3; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 20px; padding-top: 36px; padding-bottom: 12px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: #fff; }
.foot-brand b { color: #f3b38f; }
.foot-note { font-size: 16px; color: #c3d2c9; }
.foot-h { font-weight: 800; color: #fff; margin: 0 0 4px; }
.foot-menu, .foot-col .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 6px; padding-bottom: 18px; font-size: 16px; }
.foot-bottom p { margin: 0; display: flex; align-items: center; min-height: 44px; }

/* ---------- Điện thoại: thẻ lưới dạng ngang gọn ---------- */
@media (max-width: 639px) {
	.sec-grid .card-grid, .archive-list .card-grid, .related .card-grid { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
	.sec-grid .card-grid .thumb, .archive-list .card-grid .thumb, .related .card-grid .thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
	.sec-grid .card-grid .card-body, .archive-list .card-grid .card-body, .related .card-grid .card-body { padding: 0; }
	.sec-grid .card-grid .cat-label, .archive-list .card-grid .cat-label, .related .card-grid .cat-label { display: none; }
	.sec-grid .card-grid .card-title, .archive-list .card-grid .card-title, .related .card-grid .card-title { font-size: 17px; margin-top: 0; }
	.sec-grid .sec-body, .archive-list, .related .sec-body { gap: 0; }
	.sec-band .card-grid { border-top: 1px solid rgba(255, 255, 255, .16); grid-template-columns: 116px 1fr; display: grid; gap: 14px; padding-top: 14px; }
	.sec-band .card-grid .thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
	.sec-band .card-grid .card-body { padding: 0; }
	.sec-band .card-grid .card-title { font-size: 17px; margin-top: 0; }
	.sec-band .sec-body { gap: 0; }
	.sec-band .card-overlay { margin-bottom: 14px; }
	.card-row .thumb-empty span, .card-grid .thumb-empty span { display: none; }
}

/* ---------- Khổ vừa ---------- */
@media (min-width: 640px) {
	.sec-grid .sec-body, .related .sec-body, .archive-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
	.archive-list .card-overlay { grid-column: 1 / -1; }
	.card-row { grid-template-columns: 180px 1fr; }
	.entry-title { font-size: 38px; }
	.card-overlay .thumb { aspect-ratio: 16 / 9; }
	.card-overlay .card-title { font-size: 30px; }
	.card-overlay .card-body { padding: 96px 28px 24px; }
	.prices-row { grid-template-columns: auto 1fr; align-items: center; }
	.brand-tag { display: block; }
	.head-search-label { display: inline; }
	.topbar-note { display: block; }
	.sec-band .sec-body { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 24px; }
	.sec-band .card-overlay { grid-column: 1 / -1; }
}

/* ---------- Máy tính ---------- */
@media (min-width: 1024px) {
	:root { --gap: 28px; }
	.head-row { min-height: 80px; }
	.brand-name { font-size: 32px; }
	.logo-mark { width: 48px; height: 48px; }
	.nav .menu { -webkit-mask-image: none; mask-image: none; }
	.nav .menu a { padding: 0 14px; }
	.top { padding-top: 26px; }
	.top-grid { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-items: stretch; }
	/* tin lớn cao bằng cột bên cạnh, ảnh phủ kín */
	.top-lead .card-overlay, .top-lead .card-overlay .card-media { height: 100%; }
	.top-lead .card-overlay .thumb { aspect-ratio: auto; height: 100%; min-height: 460px; }
	.top-lead .card-overlay .card-title { font-size: 36px; line-height: 1.15; }
	.top-lead .card-overlay .card-excerpt { display: block; max-width: 60ch; }
	.top-lead .card-overlay .card-body { padding: 120px 32px 28px; }
	.top-side { display: grid; gap: 22px; }
	.top-side .card-row { grid-template-columns: 1fr; gap: 10px; padding: 0; border-top: 0; }
	.top-side .card-row .thumb { aspect-ratio: 16 / 10; border-radius: var(--r); }
	.top-side .card-row .card-title { font-size: 19px; }
	.top-list { border-left: 1px solid var(--line); padding-left: 24px; }
	.list-title { margin-top: 0; }
	.num-list > li:first-child { border-top: 0; padding-top: 4px; }
	.prices-row { padding: 16px 24px; }
	.prices ul { display: flex; gap: 0 28px; flex-wrap: wrap; }
	.home-sec { padding-top: 48px; }
	.sec-title { font-size: 28px; }
	.sec-grid .sec-body { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sec-feature .sec-body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 36px; }
	.sec-feature .card-lead { grid-row: span 3; }
	.sec-feature .card-lead .card-title { font-size: 28px; }
	.sec-band { padding: 56px 0 52px; margin-top: 48px; }
	.sec-band .sec-body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-auto-rows: auto; column-gap: 28px; row-gap: 22px; }
	.sec-band .card-overlay { grid-column: 1; grid-row: 1 / span 3; }
	.sec-band .card-overlay .card-media { height: 100%; }
	.sec-band .card-overlay .thumb { aspect-ratio: auto; height: 100%; min-height: 480px; }
	.sec-band .card-grid { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; }
	.sec-band .card-grid .thumb { aspect-ratio: 4 / 3; }
	.sec-band .card-grid .card-title { font-size: 18px; margin: 0 0 4px; }
	.entry-title { font-size: 46px; }
	.entry-figure { margin-bottom: 36px; }
	.entry-figure .thumb { aspect-ratio: 2 / 1; }
	.read-grid.has-toc { grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; column-gap: 56px; }
	.read-grid.has-toc .read-aside { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 148px; }
	.read-grid.has-toc .entry-main { grid-column: 1; grid-row: 1; }
	.read-aside .toc { margin: 0; }
	.related .sec-body { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.archive-title { font-size: 44px; }
	.archive-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 36px; }
	.archive-list .card-overlay .thumb { aspect-ratio: 21 / 9; }
	.archive-list .card-overlay .card-title { font-size: 36px; }
	.foot-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
	.foot-menu, .foot-col .menu { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
	.thumb-img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
	.card:hover .thumb-img { transform: scale(1.04); }
	html { scroll-behavior: smooth; }
}

/* ---------- Khối Giá hôm nay (trang chuyên mục Giá cả hôm nay) ---------- */
.gia-khoi { margin: 0 0 28px; padding: 18px 20px; background: #fff7e8; border: 1px solid #efd9ad; border-radius: var(--r); }
.gia-khoi-title { font-size: 22px; color: var(--c-gia); margin: 0 0 10px; }
.gia-bang { width: 100%; border-collapse: collapse; font-size: 16px; }
.gia-bang th, .gia-bang td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #efd9ad; vertical-align: middle; }
.gia-bang th { color: var(--muted); font-weight: 600; }
.gia-bang a { color: var(--green); display: inline-block; min-height: 44px; padding: 10px 0; }
.gia-nhom, .gia-dv { color: var(--muted); font-weight: 400; }
.gia-ghi, .gia-trong { margin: 10px 0 0; color: #5b4a2b; font-size: 16px; }
@media (max-width: 639px) {
	.gia-khoi { padding: 14px 14px; }
	.gia-bang thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.gia-bang, .gia-bang tbody, .gia-bang tr, .gia-bang td { display: block; width: 100%; }
	.gia-bang tr { border-bottom: 1px solid #efd9ad; padding: 8px 0; }
	.gia-bang td { border: 0; padding: 2px 0; }
	.gia-bang td[data-label]::before { content: attr(data-label); display: block; font-weight: 600; color: var(--muted); }
}
