/* Quadudo Travel – giao diện sáng, chủ đạo đỏ & trắng */
:root {
  --red: #b60a22; --red-d: #8f081b; --red-l: #fdeceb; --bg: #fff8f8; --surface: #fff; --ink: #1c1517;
  --muted: #6b5f62; --line: #f0dcdd; --shadow: 0 1px 2px rgba(80, 10, 20, .06), 0 6px 18px rgba(80, 10, 20, .06);
  --r: 14px; --head-h: 68px; --wrap: 1240px;
  --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%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.28; margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); font-size: .9rem; }

/* nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font: 600 .95rem/1 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; text-decoration: none !important; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-ghost { background: #fff; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red-l); }
.btn-soft { background: var(--red-l); color: var(--red); }
.btn-soft:hover { background: #fbd9d7; }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.col { flex-direction: column; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--red-l); color: var(--red); font-size: .76rem; font-weight: 600; }
a.chip:hover { background: #fbd9d7; text-decoration: none; }

/* thanh trên cùng */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.menu a { padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.menu a:hover { background: var(--red-l); color: var(--red); text-decoration: none; }
.menu a[aria-current="page"] { background: var(--red); color: #fff; }
.search { position: relative; flex: none; width: 40px; height: 40px; color: var(--muted); }
.search .i { position: absolute; left: 11px; top: 11px; pointer-events: none; z-index: 1; }
.search input { position: absolute; right: 0; top: 0; height: 40px; width: 40px; padding: 0 0 0 38px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); outline: 0; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; transition: width .2s; }
.search input::placeholder { color: transparent; }
.search input:focus { width: 270px; background: #fff; border-color: var(--red); cursor: text; z-index: 0; }
.search input:focus::placeholder { color: var(--muted); }
.qres { position: absolute; top: 46px; right: 0; width: min(380px, 92vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; max-height: 70vh; overflow: auto; }
.qres a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; }
.qres a:hover { background: var(--red-l); text-decoration: none; }
.qres small { display: block; color: var(--muted); }
.qres p { margin: 0; padding: 10px 12px; color: var(--muted); font-size: .9rem; }

/* hero */
.hero { background: linear-gradient(135deg, #fff 0%, var(--red-l) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 36px; }
.hero-in:not(:has(.hero-media)) { grid-template-columns: minmax(0, 760px); }
.eyebrow { margin: 0 0 8px; color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
.lead { color: #4a3f42; font-size: 1.05rem; margin: 12px 0 18px; }
.hero-stat { display: block; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.hero-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.hero-links a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; }
.hero-links a:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.hero-brand { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 36px 28px;
  display: grid; justify-items: center; gap: 16px; text-align: center; }
.hero-brand img { width: min(300px, 80%); height: auto; }
.hero-brand p { margin: 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.hero-media .cover { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }

/* bố cục 3 cột: hai cột bên ghim (sticky) và đứng yên khi kéo trang */
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr) 300px; gap: 20px; align-items: start; padding-block: 24px 32px; }
.col-feed { min-width: 0; display: grid; gap: 16px; }
.side { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; align-self: start;
  max-height: calc(100vh - var(--head-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.pin-strip { display: none; }
.pin { position: relative; overflow: hidden; }
.pin-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.pin-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pin-body { padding: 14px 16px 16px; }
.pin-body h2 { font-size: 1.02rem; }
.pin-body h2 a { color: var(--ink); }
.pin-body h2 a:hover { color: var(--red); text-decoration: none; }
.pin-body p { margin: 8px 0 12px; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.side-info { padding: 16px; }
.side-info h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 12px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.side-links a:hover { background: var(--red-l); color: var(--red); text-decoration: none; }

/* tab chuyên mục */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.tab span { color: var(--muted); font-size: .76rem; font-weight: 500; }
.tab:hover { border-color: var(--red); text-decoration: none; }
.tab[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.tab[aria-current="page"] span { color: #ffd9dc; }
.feed-head h2 { font-size: 1.2rem; }

/* bài đăng kiểu Facebook */
.feed-list { display: grid; gap: 16px; }
.post { padding: 16px 16px 14px; }
.post-head { display: flex; align-items: center; gap: 10px; }
.av { width: 42px; height: 42px; border-radius: 50%; background: var(--red-l); padding: 6px; object-fit: contain; }
.who { display: grid; line-height: 1.3; }
.who small { color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.post-title { font-size: 1.12rem; margin: 12px 0 6px; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--red); text-decoration: none; }
.post-text { margin: 0 0 12px; color: #3f3538; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.media { display: grid; gap: 3px; border-radius: 12px; overflow: hidden; margin-bottom: 4px; }
.media .cell { position: relative; display: block; background: var(--red-l); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.g1 img { max-height: 560px; }
.g2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; }
.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.g3 .cell:first-child { grid-row: 1 / 3; }
.g4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.more-n { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .48); color: #fff; font-size: 1.8rem; font-weight: 700; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.post-foot .more { font-weight: 600; font-size: .92rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 8px 0; flex-wrap: wrap; }
.load-more, .pager a { display: inline-block; padding: 11px 24px; border-radius: 999px; background: #fff; border: 1.5px solid var(--red); color: var(--red); font-weight: 600; cursor: pointer; font: 600 .95rem var(--font); }
.load-more:hover, .pager a:hover { background: var(--red); color: #fff; text-decoration: none; }
.empty { padding: 28px 22px; }
.empty h3 { font-size: 1.15rem; margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0 0 14px; }

/* lưới thẻ (chuyên mục, bài liên quan, cẩm nang) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-block: 16px 28px; }
.cards.album { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.gcard:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 8px 24px rgba(80, 10, 20, .12); }
.thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--red-l); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.album .thumb { aspect-ratio: 1 / 1; }
.thumb-empty { display: grid; place-items: center; color: var(--red); }
.thumb-empty .i { width: 40px; height: 40px; }
.badge-n { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .74rem; padding: 2px 9px; border-radius: 999px; }
.gbody { display: grid; gap: 6px; padding: 12px 14px 14px; align-content: start; }
.gbody strong { font-size: .98rem; line-height: 1.35; }
.gbody small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gbody time { color: var(--muted); font-size: .78rem; }
.cards.guides { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards.guides .gcard { border-top: 4px solid var(--red); }

/* trang con */
.crumbs { padding-block: 14px 0; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.cat-head { padding-block: 18px 6px; }
.cat-head .lead { max-width: 860px; }
.cat-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.article { max-width: 820px; padding-block: 14px 28px; }
.article header { display: grid; gap: 8px; justify-items: start; margin-bottom: 16px; }
.article h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.meta { color: var(--muted); margin: 0; font-size: .9rem; }
.prose { font-size: 1.04rem; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 1.3rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 1.1rem; margin: 1.2em 0 .3em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.tag { color: var(--red); }
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); margin: 0 0 20px; }
.gallery .gi { display: block; overflow: hidden; border-radius: 10px; background: var(--red-l); aspect-ratio: 4 / 3; }
.gallery .gi.big { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery .gi img { width: 100%; height: 100%; object-fit: cover; }
.gallery.n1 .gi.big, .gallery.n2 .gi.big { aspect-ratio: auto; }
.gallery.n1 .gi.big img { height: auto; max-height: 640px; }
.cta-box { padding: 20px; margin: 24px 0; border-left: 5px solid var(--red); }
.cta-box h2 { font-size: 1.15rem; margin: 0 0 6px !important; }
.cta-box p { color: var(--muted); margin: 0 0 14px !important; }
.src-link { color: var(--muted); font-size: .9rem; }
.related { padding-block: 8px 24px; }
.related h2 { font-size: 1.2rem; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts dt { color: var(--muted); font-weight: 600; font-size: .9rem; }
.facts dd { margin: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; align-items: start; }
.info-grid .card { padding: 20px 22px; }
.info-grid h2, .facts-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.faq h3 { font-size: 1rem; margin: 14px 0 4px; }
.faq p { margin: 0; color: #4a3f42; font-size: .95rem; }
.facts-card { padding: 18px 22px; margin: 18px 0 8px; }
.contact-list { list-style: none; padding: 8px 20px; margin: 18px 0; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.empty-note { color: var(--muted); }

/* chân trang */
.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-block: 32px 20px; }
.foot-grid img { width: 150px; height: auto; margin-bottom: 10px; }
.foot-grid p { color: var(--muted); font-size: .9rem; margin: 0; }
.foot-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.foot-grid a { color: var(--ink); }
.foot-copy { padding-block: 14px 24px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); }
.cta-bar { display: none; }

/* lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lb::backdrop { background: rgba(0, 0, 0, .86); }
dialog.lb img { max-width: 96vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
dialog.lb button { position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; }

/* máy tính bảng và điện thoại: cột bên ẩn đi, hai sản phẩm ghim chuyển lên đầu bảng tin */
@media (max-width: 1060px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding-block: 16px 24px; }
  .side { display: none; }
  .pin-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-in { grid-template-columns: 1fr; padding-block: 24px; }
}
@media (max-width: 860px) {
  :root { --head-h: 60px; }
  .topbar-in { flex-wrap: wrap; gap: 8px 12px; padding-block: 8px; }
  .menu { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; }
  .menu::-webkit-scrollbar { display: none; }
  .search { margin-left: auto; }
  .search input:focus { width: min(62vw, 270px); }
  .top-cta span { display: none; }
  .top-cta { padding: 8px 11px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .pin-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .pin-strip .pin { scroll-snap-align: start; }
  .hero h1 { font-size: 1.55rem; }
  .lead { font-size: .98rem; }
  .facts div, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cards.guides { grid-template-columns: 1fr; }
  .gbody small { display: none; }
  .cta-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(80, 10, 20, .08); }
  .cta-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
  .cta-bar a.call { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
  .post-foot .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.gbody .chip { justify-self: start; }
.pin-empty .pin-badge { position: static; display: inline-block; margin: 14px 0 0 16px; }
.pin-empty .pin-body { padding-top: 8px; }

/* khối sản phẩm chủ đạo (danh sách gọn ở hai cột bên) */
.prod { padding: 16px; }
.prod .eyebrow { margin-bottom: 10px; }
.prod-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.prod-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); }
.prod-item:hover { background: var(--red-l); text-decoration: none; }
.pi-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--red-l); display: grid; place-items: center; }
.pi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pi-icon { color: var(--red); }
.pi-icon .i { width: 26px; height: 26px; }
.pi-body { display: grid; line-height: 1.3; min-width: 0; }
.pi-body strong { font-size: .95rem; }
.pi-body small { color: var(--muted); font-size: .8rem; }
.btn-block { display: flex; width: 100%; }
.pin-strip.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .pin-strip.one { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; } }

/* chân trang: thông tin pháp lý */
.foot-grid p.legal { margin-top: 6px; font-size: .84rem; }
.foot-grid li strong { font-weight: 600; }
.chip-pin { background: #fff3d6; color: #8a5a00; }

/* giấy phép ở trang Giới thiệu */
.lics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 24px; }
.lic { margin: 0; padding: 14px; }
.lic-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.lic-img { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.lic-img img { width: 100%; height: auto; }
.lic figcaption { display: grid; gap: 2px; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.lic figcaption strong { color: var(--ink); font-size: .98rem; }

/* chế độ quản trị: nút ⋯ trên từng bài */
.is-admin article.post, .is-admin article.post-page { position: relative; }
.qdd-dots { position: absolute; top: 10px; right: 10px; z-index: 5; }
.qdd-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.qdd-btn:hover { background: var(--red-l); color: var(--red); }
.qdd-menu { position: absolute; right: 0; top: 42px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15); padding: 6px; display: grid; }
.qdd-menu[hidden] { display: none; }
.qdd-menu button { text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 8px; font: 500 .92rem var(--font); cursor: pointer; color: var(--ink); }
.qdd-menu button:hover { background: var(--red-l); }
.qdd-menu button.danger { color: var(--red); }
.qdd-sep { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px 2px; border-top: 1px solid var(--line); margin-top: 4px; }
.qdd-sep:empty { padding: 0; }
.qdd-hidden { opacity: .35; filter: grayscale(1); }
#qdd-toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 90; background: #1c1517; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; max-width: 92vw; }
#qdd-toast.bad { background: var(--red); }
.qdd-bar { position: fixed; left: 12px; bottom: 12px; z-index: 80; background: #1c1517; color: #fff !important; padding: 8px 14px; border-radius: 999px; font-size: .8rem; }
@media (max-width: 640px) { .qdd-bar { bottom: 76px; } }
.qt-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.qt-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.qt-form input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; min-width: 260px; }
.qt-note { min-height: 1.4em; color: var(--muted); }
.qt-note.bad { color: var(--red); }
.qt-tip { padding: 14px 16px; }
.qt-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.qt-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.qt-list li > a, .qt-list li > span:first-child { flex: 1; min-width: 200px; }
.qt-list button, .linklike { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font: 500 .85rem var(--font); }
.linklike { border: 0; padding: 0; color: var(--red); text-decoration: underline; }

/* Khối 2 cột dùng chung: Album (Trong nước 4 cột | Nước ngoài 2 cột) và Tin tức | Ưu đãi */
.split-cols { display: grid; gap: 20px; margin-block: 16px 28px; align-items: start; }
.split-col { border-radius: 18px; padding: 16px; }
.split-col h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 1.15rem; margin: 2px 4px 14px; }
.split-col h2 .count { font-size: .8rem; font-weight: 500; opacity: .8; }
.split-col .cards { margin: 0; gap: 12px; }
.split-col .gcard { border-color: transparent; }
.split-col .gbody strong { font-size: .9rem; }
.split-col .muted { opacity: .8; }

/* Màu nhẹ cố định: "trong nước" = xanh bạc hà, "quốc tế" = tím oải hương (dùng cho mục Tour và Album) */
:root { --mint-bg: #e9f6ef; --mint-line: #bfe3cc; --mint-ink: #1f6b42; --lav-bg: #f1ecfb; --lav-line: #d6c8f3; --lav-ink: #4f3594; }
.split-album { grid-template-columns: 4fr 2fr; }
.split-album .col-trong { background: var(--mint-bg); border: 1px solid var(--mint-line); }
.split-album .col-trong h2 { color: var(--mint-ink); }
.split-album .col-trong .gcard { border-top: 4px solid #2f9e5f; }
.split-album .col-ngoai { background: var(--lav-bg); border: 1px solid var(--lav-line); }
.split-album .col-ngoai h2 { color: var(--lav-ink); }
.split-album .col-ngoai .gcard { border-top: 4px solid #7a55d6; }
.split-album .col-trong .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-album .col-ngoai .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-album .gbody .chip { display: none; }
.tone-panel { border-radius: 18px; padding: 16px; margin-block: 16px 28px; }
.tone-panel .cards { margin: 0; }
.tone-trong { background: var(--mint-bg); border: 1px solid var(--mint-line); }
.tone-trong .gcard { border-top: 4px solid #2f9e5f; }
.tone-trong .chip { background: #d4efdf; color: var(--mint-ink); }
.tone-ngoai { background: var(--lav-bg); border: 1px solid var(--lav-line); }
.tone-ngoai .gcard { border-top: 4px solid #7a55d6; }
.tone-ngoai .chip { background: #e4dbf8; color: var(--lav-ink); }

/* Tin tức (nền xanh nhạt) | Ưu đãi (nền vàng cam) */
.split-news { grid-template-columns: 1fr 1fr; }
.split-news .col-tin { background: #e8f1fb; border: 1px solid #c7dcf2; }
.split-news .col-tin h2 { color: #174a7c; }
.split-news .col-uu-dai { background: #fff1cf; border: 1px solid #f5d27a; }
.split-news .col-uu-dai h2 { color: #8a4b00; }
.split-news .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-news .col-uu-dai .gcard { border-top: 4px solid #f0a020; }
.split-news .col-tin .gcard { border-top: 4px solid #2f7fd0; }
.split-news .gbody .chip { display: none; }

@media (max-width: 1100px) { .split-album { grid-template-columns: 3fr 2fr; } .split-album .col-trong .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .split-album, .split-news { grid-template-columns: 1fr; }
  .split-album .col-trong .cards, .split-album .col-ngoai .cards, .split-news .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Trang chủ: ảnh bìa fanpage hiển thị đầy đủ, không cắt */
.hero.has-cover { padding-top: 16px; }
.cover-banner { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--red-l); }
.cover-banner img.cover-full { width: 100%; height: auto; display: block; }
.hero.has-cover .hero-in { grid-template-columns: minmax(0, 860px); padding-block: 24px 32px; }

/* Cột phải trang chủ: bài Tin tức / Ưu đãi mới nhất */
.side-post { overflow: hidden; padding: 0; }
.side-post .eyebrow { margin: 0; padding: 12px 16px 10px; }
.sp-tin { border-top: 4px solid #2f7fd0; } .sp-tin .eyebrow { color: #174a7c; background: #e8f1fb; }
.sp-uu-dai { border-top: 4px solid #f0a020; } .sp-uu-dai .eyebrow { color: #8a4b00; background: #fff1cf; }
.sp-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sp-body { padding: 12px 16px 14px; display: grid; gap: 6px; }
.sp-body h3 { font-size: .98rem; }
.sp-body h3 a { color: var(--ink); }
.sp-body p { margin: 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-body time { color: var(--muted); font-size: .78rem; }
.sp-body .more { font-weight: 600; font-size: .88rem; }
