/* hotbot-cms front-end (2026-09-17, bản "menu quán cà phê")
   Cả website (trừ admin) là một tấm menu cuộn ngang: mỗi panel là một trang menu.
   Bài viết đọc theo cột (chữ chảy sang phải). Font 3 vai lấy từ Cài đặt (--f-heading/--f-body/--f-label,
   khai trong <head> bởi SiteFonts). Màu giữ chất hotbot.vn: giấy kem, mực nâu đen, dấu đỏ. */
:root {
    --paper: #fffbf5;
    --paper-2: #f6efe3;
    --crema: #e9dcc6;
    --espresso: #2a211b;
    --espresso-2: #3a2e26;
    --ink: #1b1613;
    --ink-2: #3d3630;
    --muted: #7d7469;
    --line: #e2d8c7;
    --line-2: #cdbfa8;
    --red: #cf2e2e;
    --red-2: #a81f1f;
    --header-h: 64px;
    --pad-x: clamp(24px, 4.5vw, 76px);
    --pad-y: clamp(24px, 5vh, 56px);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --f-heading: "Fraunces", Georgia, serif;
    --f-body: "Crimson Pro", "EB Garamond", Georgia, serif;
    --f-label: "Imbue", "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
html.js body { opacity: 0; }
html.js body.ready { opacity: 1; transition: opacity .6s var(--ease); }
html.js body.leaving { opacity: 0; transition: opacity .28s var(--ease); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 19px/1.55 var(--f-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100%;
}
/* giấy: một lớp hạt rất nhẹ, cố định, không bắt chuột */
body::before {
    content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .28; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
.fd { font-family: var(--f-heading); font-variation-settings: "opsz" 144; font-weight: 500; letter-spacing: -.01em; }
.fl { font-family: var(--f-label); font-variation-settings: "opsz" 100; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 500; }
.fb { font-family: var(--f-body); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- reveal / fade ---------- */
.rv { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }
.fx-img { opacity: 0; transform: scale(1.03); transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out); }
.fx-img.ld { opacity: 1; transform: none; }
html:not(.js) .fx-img { opacity: 1; transform: none; }

/* ---------- ornaments (menu) ---------- */
.orn { display: flex; align-items: center; gap: 12px; color: var(--line-2); margin: 10px 0 14px; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.orn span { font-family: var(--f-heading); font-size: 14px; letter-spacing: .3em; color: var(--red); }
.rule-2 { height: 4px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stamp { display: inline-block; border: 1.5px solid var(--red); color: var(--red); border-radius: 3px; padding: 4px 8px 3px; transform: rotate(-3deg); font-size: 11px; letter-spacing: .2em; }

/* ---------- header ---------- */
.fh {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
    display: flex; align-items: center; gap: 22px; padding: 0 clamp(18px, 3vw, 44px);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color .4s var(--ease), background .4s var(--ease);
}
.fh.scrolled { border-bottom-color: var(--line); }
.fh-brand { font-size: 25px; font-style: italic; font-weight: 600; letter-spacing: -.02em; flex: none; display: inline-flex; align-items: baseline; gap: 10px; }
.fh-brand small { font: 500 11px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.fh-nav { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.fh-nav a { padding: 6px 2px; position: relative; }
.fh-nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.fh-nav a:hover::after, .fh-nav a.on::after { transform: scaleX(1); }
.fh-sep { color: var(--line-2); }
.fh-right { margin-left: auto; }
.fh-search { display: inline-flex; margin-left: 10px; color: var(--ink-2); }
.fh-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.fh-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.fh-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.fh-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.fh-drawer { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--paper); display: flex; flex-direction: column; padding: 28px 24px; gap: 4px; overflow: auto; }
.fh-drawer a { font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fh-drawer[hidden] { display: none; }

/* ---------- horizontal scroller (mọi trang) ---------- */
.hs { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1; }
.hs-track { display: flex; height: 100%; align-items: stretch; will-change: transform; }
.panel {
    flex: 0 0 auto; height: 100%; position: relative;
    padding: var(--pad-y) var(--pad-x);
    display: flex; flex-direction: column; justify-content: center;
    min-width: min(100vw, 560px);
}
.panel + .panel { border-left: 1px solid var(--line); }
.hs-progress { position: fixed; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; z-index: 51; transition: transform .12s linear; }
html.hs-on { overflow: hidden; }
html.hs-on body { height: 100%; }

/* đầu mỗi trang menu */
.ph { margin: 0 0 18px; max-width: 720px; }
.ph .kicker { margin: 0 0 6px; }
.ph .display { margin: 0; }
.ph .orn { margin-top: 12px; max-width: 320px; }
.kicker { color: var(--muted); margin: 0 0 12px; }
.display { font-size: clamp(38px, 5.2vw, 70px); line-height: 1; margin: 0 0 14px; text-wrap: balance; font-weight: 500; }
.display a:hover { color: var(--red); }
.lede { font-size: 22px; line-height: 1.45; color: var(--ink-2); max-width: 34em; margin: 0 0 18px; text-wrap: pretty; }
.hint { color: var(--muted); margin: 18px 0 0; }
.hint-arrow { display: inline-block; margin-left: 4px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.btn { display: inline-block; border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 22px; font: 500 12.5px/1 var(--f-label); text-transform: uppercase; letter-spacing: .14em; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-out); }
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn-red { border-color: var(--red); color: var(--red); }
.btn-red:hover { background: var(--red); color: #fff; }

/* ---------- bìa menu (hero): chỉ câu nhà + một tấm ảnh lớn ---------- */
.panel-cover { width: 100vw; min-width: 100vw; flex-direction: row; align-items: stretch; gap: 0; padding: 0; }
.cover-text { flex: 0 0 46%; min-width: 0; display: flex; align-items: center; padding: var(--pad-y) clamp(28px, 4vw, 72px) var(--pad-y) var(--pad-x); }
.cover-statement { font-size: clamp(30px, 3.5vw, 58px); line-height: 1.18; margin: 0; text-wrap: balance; color: var(--ink); letter-spacing: -.015em; }
.cover-statement .hl { font-style: normal; color: var(--red); }
.cover-media { flex: 1 1 54%; min-width: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.cover-media img { width: 100%; height: 100%; object-fit: cover; }

/* trang chủ: mọi panel tròn trang (>= 100vw); tiêu đề ở CÙNG một vạch trên cao, nội dung nối tiếp bên dưới */
.hs-home .panel { min-width: 100vw; justify-content: flex-start; padding-top: clamp(22px, 4vh, 40px); }
.hs-home .ph { height: auto; min-height: 0; display: block; margin: 0 0 22px; flex: none; will-change: transform; }
.hs-home .ph .kicker { margin-bottom: 4px; }
.hs-home .ph .orn { margin-top: 10px; }
.hs-home .pbody { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.hs-home .shelf { align-items: flex-start; }
.hs-home .card { max-height: calc(100vh - var(--header-h) - 300px); }
.hs-home .panel-end { width: 100vw; justify-content: flex-end; }
.hs-home .panel-end .fend { max-width: 620px; }

/* ---------- dòng menu (bài viết như món) ---------- */
.mlist { list-style: none; margin: 0; padding: 0; width: min(100%, 620px); }
.mlist-2 { columns: 2; column-gap: 48px; width: min(100%, 1180px); }
.mlist-2 .mitem { break-inside: avoid; }
.mitem { border-bottom: 1px solid var(--line); }
.mitem:last-child { border-bottom: 0; }
.mline { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "thumb title price" "thumb desc desc"; column-gap: 16px; row-gap: 4px; padding: 14px 0; align-items: start; }
.mline-nothumb { grid-template-columns: 1fr auto; grid-template-areas: "title price" "desc desc"; }
.mthumb { grid-area: thumb; width: 74px; height: 74px; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.mthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.mline:hover .mthumb img { transform: scale(1.06); }
.mtitle { grid-area: title; display: flex; align-items: baseline; gap: 10px; min-width: 0; margin: 0; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.15; font-weight: 500; }
.mtitle .t { flex: 0 1 auto; min-width: 0; }
.mtitle .dots { flex: 1 1 14px; min-width: 14px; border-bottom: 2px dotted var(--line-2); transform: translateY(-7px); }
.mline:hover .mtitle .t { color: var(--red); }
.mprice { grid-area: price; white-space: nowrap; color: var(--ink-2); padding-top: 6px; }
.mdesc { grid-area: desc; margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.4; font-style: italic; max-width: 44em; }
.mmeta { color: var(--muted); }

/* kệ "món đặc biệt" (Today's Brew): thẻ đóng khung đôi */
.shelf { display: flex; gap: 28px; align-items: stretch; }
.card { width: 330px; flex: 0 0 auto; display: flex; }
.card-link { display: flex; flex-direction: column; width: 100%; background: var(--paper); padding: 10px; box-shadow: 0 0 0 1px var(--line-2), inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card-link:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--line), 0 26px 48px -26px rgba(40, 24, 10, .4); color: inherit; }
.card-media { aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; margin: 6px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity 1s var(--ease-out); }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-nomedia { display: grid; place-items: center; height: 100%; font-size: 96px; color: var(--line-2); font-style: italic; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { color: var(--red); }
.card-title { font-size: 24px; line-height: 1.15; margin: 0; font-weight: 500; text-wrap: balance; display: flex; gap: 10px; align-items: baseline; }
.card-title .t { flex: 0 1 auto; }
.card-title .dots { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted var(--line-2); transform: translateY(-7px); }
.card-title .p { font: 500 12.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.card-link:hover .card-title .t { color: var(--red); }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.45; font-style: italic; }
.card-date { color: var(--muted); margin-top: auto; padding-top: 6px; }

/* mục lục (chuyên mục) */
.panel-menu { min-width: min(100vw, 640px); }
.menu-list { list-style: none; margin: 0; padding: 0; max-width: 600px; }
.menu-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-link { display: flex; align-items: baseline; gap: 12px; }
.menu-no { color: var(--muted); width: 2.2em; flex: none; }
.menu-name { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.menu-dots { flex: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-8px); }
.menu-count { color: var(--muted); white-space: nowrap; }
.menu-link:hover .menu-name { color: var(--red); }
.menu-desc { margin: 4px 0 0 2.6em; color: var(--muted); font-size: 16px; font-style: italic; }
.menu-note { color: var(--muted); margin-top: 20px; }

/* seasonal (lưu trữ) */
.seasons { display: flex; gap: 44px; align-items: flex-start; }
.season-year { font-size: clamp(34px, 4vw, 56px); margin: 0 0 8px; line-height: 1; }
.season-months { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.season-months a { display: inline-flex; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.season-months a:hover { border-bottom-color: var(--red); }
.season-n { color: var(--muted); }

/* blends (thẻ) */
.blends { display: flex; flex-wrap: wrap; gap: 10px 26px; max-width: 780px; align-items: baseline; }
.blend { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05; font-style: italic; }
.blend sup { margin-left: 4px; color: var(--muted); font-style: normal; }
.blend:hover { color: var(--red); }

/* bảng đặc biệt (EotM) — panel tối như bảng phấn */
.panel-dark { background: var(--espresso); color: var(--paper); width: min(100vw, 920px); }
.panel-dark .kicker, .panel-dark .mmeta { color: var(--crema); }
.panel-dark .orn { color: var(--espresso-2); }
.panel-dark a:hover { color: #ffd9d9; }
.eotm-link { display: block; }
.eotm-img { width: 100%; max-height: 40vh; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 1px var(--espresso-2), 0 0 0 6px var(--espresso), 0 0 0 7px var(--espresso-2); }
.eotm-title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; margin: 0 0 14px; }
.eotm-link:hover .eotm-title { color: #ffd9d9; }
.panel-dark .lede { color: var(--crema); }
.panel-dark .btn { border-color: var(--crema); color: var(--paper); }
.panel-dark .btn:hover { background: var(--paper); color: var(--espresso); }
.panel-dark .btn-red { border-color: #ff7b7b; color: #ffb3b3; }
.panel-dark .btn-red:hover { background: var(--red); color: #fff; }

/* EotM: thẻ nhân viên của tháng -- ảnh vuông đóng khung, tên to, dòng đầu = tên, dòng sau = đại từ, thơ, link */
.panel-eotm { width: min(100vw, 1100px); }
.eotm-body { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; column-gap: clamp(28px, 4vw, 64px); align-items: start; font-size: 19px; max-width: 900px; }
.eotm-body > * { margin: 0 !important; }
.eotm-body > figure:first-child { grid-row: 1 / span 20; }
.eotm-body > figure:first-child img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--espresso-2), 0 0 0 6px var(--espresso), 0 0 0 7px var(--crema); transform: rotate(-2deg); }
.eotm-body > figure:first-child figcaption { display: none; }
.eotm-body > p:nth-of-type(1) { font-family: var(--f-heading); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; margin-bottom: 8px !important; text-wrap: balance; }
.eotm-body > p:nth-of-type(2) { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--crema); margin-bottom: 22px !important; }
.eotm-body > p { color: var(--paper); }
.eotm-body > p + p { margin-top: 10px !important; }
.eotm-body a { color: #ffb3b3; border-bottom-color: rgba(255, 179, 179, .5); }
.eotm-body a:hover { color: #fff; border-bottom-color: #fff; }
.eotm-body em { color: var(--crema); }

/* hóa đơn (chân trang) */
.panel-end { width: min(100vw, 560px); justify-content: flex-end; }
.pager { display: flex; gap: 12px; margin: 0 0 40px; }
.fend { border-top: 1px dashed var(--line-2); padding-top: 22px; }
.fend-brand { font-size: 30px; font-style: italic; margin: 0 0 6px; }
.fend-row { display: flex; align-items: baseline; gap: 10px; color: var(--muted); margin: 0 0 4px; }
.fend-row .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-5px); }
.fend-links { margin: 14px 0 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.fend-copy { color: var(--muted); margin: 0; }

/* ---------- bài viết: đọc theo cột, cuộn ngang ---------- */
.panel-dish { width: min(100vw, 780px); }
.dish-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 16px; color: var(--muted); }
.dish-title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; margin: 0 0 16px; font-weight: 500; text-wrap: balance; }
.dish-sapo { font-size: 22px; line-height: 1.4; color: var(--ink-2); margin: 0 0 18px; text-wrap: pretty; font-style: italic; max-width: 30em; }
.pill { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 12px; transition: background .3s var(--ease), color .3s var(--ease); }
.pill:hover { background: var(--ink); color: var(--paper); }
.pill-tag { border-color: var(--line-2); color: var(--muted); }
.panel-hero-img { width: min(100vw, 860px); padding-left: 0; padding-right: 0; justify-content: center; }
.panel-hero-img figure { margin: 0; height: 100%; display: flex; align-items: center; }
.panel-hero-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.panel-hero-img figcaption { position: absolute; left: var(--pad-x); bottom: 14px; color: var(--muted); }
.panel-read { padding-top: var(--pad-y); padding-bottom: var(--pad-y); justify-content: flex-start; }
.cols { column-width: 32em; column-gap: 64px; column-fill: auto; height: calc(100vh - var(--header-h) - 2 * var(--pad-y)); font-size: 19.5px; line-height: 1.58; column-rule: 1px solid var(--line); }
.post-content { }
.post-content > * + * { margin-top: 1.15em; }
.post-content p { margin: 0; }
.post-content p + p { margin-top: 1em; }
.post-content a { color: var(--red); border-bottom: 1px solid color-mix(in srgb, var(--red) 40%, transparent); transition: border-color .3s var(--ease); }
.post-content a:hover { border-bottom-color: var(--red); }
.post-content h2, .post-content h3, .post-content h4 { font-family: var(--f-heading); font-variation-settings: "opsz" 72; font-weight: 500; line-height: 1.15; margin: 1.5em 0 .5em; text-wrap: balance; break-after: avoid; }
.post-content h2 { font-size: 32px; }
.post-content h3 { font-size: 26px; }
.post-content h4 { font-size: 22px; }
.post-content blockquote { margin: 1.3em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font-style: italic; color: var(--ink-2); break-inside: avoid; }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content li + li { margin-top: .35em; }
.post-content hr { border: 0; height: 1px; background: var(--line); margin: 2em auto; width: 40%; }
.post-content pre { background: var(--ink); color: #f5efe6; padding: 16px 18px; overflow: auto; font-size: 15px; line-height: 1.5; break-inside: avoid; }
.post-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.post-content p code { background: var(--paper-2); padding: 1px 6px; }
.post-content figure { margin: 1.4em 0; break-inside: avoid; }
.post-content figure img, .post-content figure video { width: 100%; max-height: 62vh; object-fit: contain; object-position: left center; }
.post-content figcaption { font: 400 15px/1.45 var(--f-body); color: var(--muted); margin-top: 8px; font-style: italic; }
.post-media.post-media-align-left, .post-media.post-media-align-right, .post-media.post-media-align-wide { float: none; width: auto; margin: 1.4em 0; transform: none; }
.post-gallery-row { display: flex; gap: 10px; margin: 1.4em 0; align-items: stretch; break-inside: avoid; }
.post-gallery-row figure { margin: 0; flex: 1 1 0; min-width: 0; }
.post-gallery-row figure img { height: 100%; object-fit: cover; }
.post-video-embed-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.post-video-embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-embed iframe { max-width: 100%; }
.post-table-wrap { overflow-x: auto; }
.post-table-wrap table { border-collapse: collapse; width: 100%; font-size: 17px; }
.post-table-wrap th, .post-table-wrap td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.post-table-wrap th { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--muted); }
.pq-text { font-family: var(--f-heading); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-style: italic; color: var(--red); border: 0; padding: 0; margin: 0; }
.pq-cite { margin-top: 10px; }
.pq-author { font-weight: 600; }
.pq-role { color: var(--muted); }
.post-button { display: inline-block; background: var(--red); color: #fff !important; border: 0 !important; border-radius: 999px; padding: 12px 24px; font: 500 13px/1 var(--f-label); text-transform: uppercase; letter-spacing: .14em; }
.link-embed { display: flex; gap: 16px; border: 1px solid var(--line); padding: 14px; background: var(--paper); color: inherit !important; border-bottom: 1px solid var(--line) !important; }
.link-embed-thumb { width: 120px; flex: none; overflow: hidden; }
.link-embed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-embed-title { font-family: var(--f-heading); font-size: 20px; line-height: 1.2; margin: 0 0 4px; }
.link-embed-desc { color: var(--muted); font-size: 16px; margin: 0; }
.link-embed-url { color: var(--muted); font-size: 13px; margin-top: 6px; }
.post-footnotes { border-top: 1px solid var(--line); padding-top: 14px; font-size: 16px; color: var(--ink-2); }
.post-footnotes-list, .post-references-list { padding-left: 1.4em; }
.fn-back { color: var(--red); text-decoration: none; margin-left: 4px; }
.post-infobox-body { background: var(--paper-2); padding: 16px 18px; }
.post-audio-title { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); }
.post-content audio { width: 100%; }
.task-list { list-style: none; padding-left: 0; }
.dish-end { display: grid; gap: 14px; }
.dish-end .btn { justify-self: start; }

/* tìm kiếm */
.search-form { display: flex; gap: 10px; align-items: center; margin: 12px 0 20px; max-width: 640px; }
.search-input { flex: 1; font-size: 26px; padding: 8px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); outline: 0; min-width: 0; font-family: var(--f-heading); }
.search-input:focus { border-bottom-color: var(--red); }
.big-404 { font-size: clamp(90px, 18vw, 220px); line-height: .9; margin: 0; color: var(--red); font-style: italic; }

/* ---------- điện thoại: dọc ---------- */
@media (max-width: 760px) {
    :root { --header-h: 56px; --pad-x: 20px; --pad-y: 30px; }
    body { font-size: 18px; }
    .fh { gap: 12px; }
    .fh-brand small { display: none; }
    .fh-nav { display: none; }
    .fh-burger { display: flex; }
    .hs { position: static; overflow: visible; padding-top: var(--header-h); }
    .hs-track { flex-direction: column; height: auto; transform: none !important; }
    .panel { height: auto; min-width: 0; width: 100% !important; padding: var(--pad-y) var(--pad-x); }
    .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
    .hs-progress { display: none; }
    .panel-cover { flex-direction: column; align-items: stretch; min-width: 0; }
    .cover-text { padding: var(--pad-y) var(--pad-x); }
    .cover-media { height: 62vh; flex: none; }
    .hs-home .ph { height: auto; margin-bottom: 18px; transform: none !important; }
    .hs-home .panel { min-width: 0; }
    .shelf { overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; scrollbar-width: none; }
    .shelf::-webkit-scrollbar { display: none; }
    .card { width: 82vw; scroll-snap-align: start; }
    .mlist-2 { columns: 1; }
    .seasons { flex-wrap: wrap; gap: 24px; }
    .panel-hero-img { padding: 0; }
    .panel-hero-img figcaption { position: static; padding: 8px 20px 0; }
    .cols { column-width: auto; columns: 1; height: auto; column-rule: 0; }
    .post-content figure img, .post-content figure video { max-height: none; object-fit: fill; }
    .post-gallery-row { flex-wrap: wrap; }
    .post-gallery-row figure { flex-basis: 100%; }
    .panel-dark { width: 100%; }
    .eotm-body { grid-template-columns: 1fr; }
    .eotm-body > figure:first-child { grid-row: auto; max-width: 240px; margin-bottom: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .rv, .fx-img, .card-link, .card-media img, .btn, .mthumb img { transition: none !important; animation: none !important; }
    .hint-arrow { animation: none; }
    html.js body { opacity: 1; transition: none; }
}
@media print { .fh, .hs-progress, .fend, body::before { display: none; } .hs { position: static; } .hs-track { flex-direction: column; transform: none !important; } .cols { columns: 1; height: auto; } }
