/* visitcaobang.org — giao diện cổng du lịch (mô hình spain.info), 27/09/2026
   05/10/2026: áp dụng bộ màu Cao Bằng Signature Colors v1.0 */
:root {
  /* Cao Bằng Signature Colors v1.0 */
  --cb-cham: #1F2F5C;      /* Chàm Cao Bằng – màu chủ đạo */
  --cb-cham-dam: #14203F;
  --cb-ngoc: #2A9D8F;      /* Ngọc Bản Giốc – màu phụ */
  --cb-ngoc-dam: #1E7268;  /* Ngọc đậm – chữ, link */
  --cb-nga: #F4EFE4;       /* Ngà Giấy Bản – nền */
  --cb-son: #B5292B;       /* Đỏ Son – nút hành động */
  --cb-nghe: #E0A526;      /* Vàng Nghệ – điểm nhấn */
  --cb-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%231F2F5C'/%3E%3Cpath d='M20 2 L38 20 L20 38 L2 20Z' fill='none' stroke='%23E0A526' stroke-width='3'/%3E%3Cpath d='M20 11 L29 20 L20 29 L11 20Z' fill='%23E0A526'/%3E%3C/svg%3E");
  --bg: var(--cb-nga);
  --bg-alt: #EAE3D3;
  --ink: #1A1A1A;
  --ink-2: #3d3d3d;
  --muted: #5B5F62;
  --line: #E2DACA;
  --brand: var(--cb-ngoc-dam);
  --brand-2: var(--cb-cham);
  --accent: var(--cb-son);
  --gold: var(--cb-nghe);
  --on-dark: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --hdr: 72px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html.a11y { --ink: #000; --ink-2: #111; --muted: #333; --line: #9a9a9a; font-size: 112%; }
html.a11y a { text-decoration: underline; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 60px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.eyebrow.light { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 64ch; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); margin-top: 20px; }
.ic { flex-shrink: 0; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #962123; }
.btn-light { background: #fff; color: var(--ink); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid currentColor; border-radius: 999px; background: none; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; }
.chip { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; position: relative; gap: 4px; grid-auto-flow: column; }
.tool:hover { background: var(--bg-alt); }
.tool.light { color: #fff; background: rgba(0, 0, 0, .35); }

/* ---------- Header + mega menu ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; background: var(--cb-pattern); background-size: 8px 8px; pointer-events: none; }
.hdr-bar { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand .logo { width: 40px; height: 40px; }
.brand-t { display: grid; line-height: 1; }
.brand-t small { font-size: .6rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.brand-t b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.mainnav { margin-inline: auto; height: 100%; }
.drawer-head { display: none; }
.nav-list { display: flex; height: 100%; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-list > li { display: flex; align-items: center; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 16px; border: 0; background: none; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; position: relative; }
.nav-top::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav-top:hover::after, .nav-top[aria-expanded="true"]::after, .nav-top[aria-current="page"]::after, [data-current] > .nav-top::after { transform: scaleX(1); }
.nav-top .ic { transition: transform .2s; }
.nav-top[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.has-mega.open .mega { display: block; }
.mega-in { display: grid; grid-template-columns: 1fr 1fr minmax(260px, 340px); gap: 40px; padding-block: 36px 40px; }
.mega-col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega-col h4:not(:first-child) { margin-top: 24px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a { display: block; padding: 6px 0; text-decoration: none; font-weight: 500; }
.mega-col a:hover { color: var(--accent); }
.mega-feat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; }
.mega-feat img { width: 100%; height: 100%; object-fit: cover; }
.mega-feat span { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); display: grid; gap: 2px; }
.mega-feat small { font-size: .82rem; opacity: .9; }
.mega-feat b { font-size: 1.25rem; }
.tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mainnav + .tools { margin-left: 0; }
.fav-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.langsel { position: relative; }
.langsel .tool span { font-weight: 700; font-size: .85rem; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 160px; display: none; }
.langsel.open .lang-list { display: block; }
.lang-list a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--bg-alt); }
.burger { display: none; }
.nav-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 55; }
@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .hide-sm { display: none; }
  .hdr-bar { gap: 8px; }
  .mainnav { position: fixed; inset: 0 auto 0 0; width: min(88vw, 400px); height: 100%; background: #fff; z-index: 80; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; margin: 0; visibility: hidden; }
  .mainnav.open { transform: none; visibility: visible; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; height: auto; padding: 18px 20px; font-size: 1.1rem; }
  .nav-top::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-in { grid-template-columns: 1fr; gap: 8px; padding: 0 20px 20px; }
  .mega-feat { display: none; }
}

/* ---------- Tìm kiếm ---------- */
.search { position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, .98); overflow-y: auto; }
.search-in { padding-block: 24px 60px; max-width: 900px; }
.search-row { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 8px 0; }
.search-row input { flex: 1; border: 0; font: 700 clamp(1.2rem, 3vw, 2rem) var(--font); padding: 10px 0; background: none; min-width: 0; }
.search-row input:focus { outline: none; }
.search-sugg { margin-top: 28px; }
.search-res { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.search-res a { display: flex; gap: 16px; align-items: center; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; }
.search-res a:hover, .search-res a:focus { background: var(--bg-alt); }
.search-res img, .search-res .ph { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bg-alt); }
.search-res b { display: block; }
.search-res small { color: var(--muted); font-size: .85rem; }
.search-res mark { background: #F6DFA0; color: inherit; }

/* ---------- Hero slider trang chủ ---------- */
.hero { position: relative; height: calc(100svh - var(--hdr)); min-height: 560px; max-height: 900px; color: #fff; overflow: hidden; background: var(--cb-cham); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .05) 55%, rgba(0, 0, 0, .7) 100%); }
.slide-in { position: absolute; left: 0; right: 0; bottom: clamp(70px, 10vh, 110px); z-index: 2; display: grid; gap: 14px; justify-items: start; }
.slide-t { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; max-width: 28ch; line-height: 1.2; }
.hero-word { position: absolute; left: 0; right: 0; top: clamp(28px, 7vh, 80px); z-index: 2; pointer-events: none; }
.hero-word h1 { font-size: clamp(3.6rem, 13vw, 11rem); line-height: .9; letter-spacing: -.04em; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero-word h1 span { display: block; font-size: clamp(.95rem, 1.6vw, 1.25rem); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-top: 16px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.dots { display: flex; gap: 8px; }
.dot { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; }
.dot[aria-current="true"] { background: #fff; }

/* ---------- Hero trang con ---------- */
.phero { position: relative; min-height: clamp(380px, 58vh, 620px); color: #fff; display: flex; align-items: flex-end; background: var(--cb-cham); overflow: hidden; }
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .72) 100%); }
.phero-in { position: relative; z-index: 1; width: 100%; padding-block: 28px 48px; display: grid; gap: 12px; }
.phero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); letter-spacing: -.035em; }
.phero .lead { color: rgba(255, 255, 255, .92); }
.crumbs { margin-bottom: 6px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; font-weight: 500; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: #fff; }

/* ---------- Thanh điều hướng trong trang ---------- */
.subnav { position: sticky; top: var(--hdr); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 14px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.on { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Khối ---------- */
.sec { padding-block: clamp(48px, 7vw, 96px); }
.sec.alt { background: var(--bg-alt); }
.sec.dark { background: var(--brand-2); color: #fff; }
.sec.dark .lead, .sec.dark p { color: rgba(255, 255, 255, .88); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head .lead { margin-top: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--accent); }
@media (max-width: 700px) { .sec-head { flex-direction: column; align-items: flex-start; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); margin-top: 56px; }
.intro > div { display: grid; gap: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Thẻ ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card .tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.card-body { display: grid; gap: 6px; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--accent); }
.card-body p { color: var(--ink-2); font-size: .95rem; }
.card-body .meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fav { position: absolute; right: 10px; top: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform .15s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"] svg { fill: var(--accent); }
.fav-inline { position: static; flex-shrink: 0; background: var(--bg-alt); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 24px; }
.grid.g3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.fi[hidden] { display: none; }

/* Khối nổi bật 4 ô */
.feat-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.feat-grid .card.big { grid-row: span 2; }
.feat-grid .card.big .card-media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.feat-grid .card.big h3 { font-size: 1.6rem; }
.feat-grid .card:nth-child(4) { grid-column: 2 / 4; }
.feat-grid .card:nth-child(4) .card-media { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr 1fr; } .feat-grid .card.big { grid-column: 1 / -1; grid-row: auto; } .feat-grid .card:nth-child(4) { grid-column: 1 / -1; } .feat-grid .card.big .card-media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* Carousel */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel.wide .track { grid-auto-columns: minmax(280px, calc((100% - 48px) / 3)); }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.car-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.car-btn { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer; }
.car-btn:hover { background: var(--ink); color: #fff; }
.car-btn:disabled { opacity: .3; cursor: default; background: #fff; color: var(--ink); }
@media (max-width: 700px) { .track, .carousel.wide .track { grid-auto-columns: 78%; gap: 16px; } .car-nav { display: none; } }

/* Dải bản đồ */
.mapband { background: var(--brand-2); color: #fff; }
.mapband-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.mb-text { display: grid; gap: 16px; justify-items: start; }
.mb-text p { color: rgba(255, 255, 255, .85); }
.mb-map { display: block; border-radius: var(--radius); background: rgba(255, 255, 255, .05); padding: 12px; }
@media (max-width: 860px) { .mapband-in { grid-template-columns: 1fr; } }
.map { width: 100%; height: auto; font-family: var(--font); }
.map .rings ellipse { fill: none; stroke: rgba(255, 255, 255, .1); }
.map .river { fill: none; stroke: rgba(127, 207, 196, .6); stroke-width: 3; stroke-linecap: round; }
.map .pin { cursor: pointer; }
.map .dot { fill: var(--gold); stroke: var(--cb-cham); stroke-width: 3; transition: r .2s; }
.map .halo { fill: var(--gold); opacity: 0; transition: opacity .2s; }
.map .pin.city .dot { fill: #fff; }
.map text { fill: #fff; font-size: 15px; font-weight: 600; paint-order: stroke; stroke: rgba(31, 47, 92, .9); stroke-width: 4px; }
.map .pin:hover .halo, .map .pin:focus .halo, .map .pin.on .halo { opacity: .35; }
.map .pin:focus { outline: none; }
.mapwrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.mapwrap .map, .mapapp-map .map { background: var(--brand-2); border-radius: var(--radius); padding: 10px; }
@media (max-width: 860px) { .mapwrap { grid-template-columns: 1fr; } }
.places { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.places a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.places a:hover, .places a.on { border-color: var(--ink); }
.places .km { color: var(--muted); font-weight: 500; }

/* Ý tưởng */
.ideas { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.idea-big { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; min-height: 420px; }
.idea-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idea-cap { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); display: grid; gap: 8px; }
.idea-cap b { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.idea-cap em { font-style: normal; opacity: .9; }
.idea-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.idea-list a { display: flex; gap: 16px; align-items: center; text-decoration: none; font-weight: 700; font-size: 1.08rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.idea-list a:hover span { color: var(--accent); }
.idea-list img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
@media (max-width: 860px) { .ideas { grid-template-columns: 1fr; } .idea-big { min-height: 320px; } }

/* Khối quảng bá */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3 / 4; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.05); }
.promo-cap { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); display: grid; gap: 6px; }
.promo-cap small { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.promo-cap b { font-size: 1.45rem; line-height: 1.15; }
.promo-cap em { font-style: normal; opacity: .9; font-size: .95rem; }
@media (max-width: 860px) { .promos { grid-template-columns: 1fr; } .promo { aspect-ratio: 16 / 10; } }

/* Công cụ lên lịch trình */
.planner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(0, 0, 0, .02); }
.pl-form { padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.pl-q { font-weight: 700; margin-top: 10px; }
.pl-result { background: var(--brand-2); color: #fff; padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.pl-result h3 { font-size: 1.6rem; }
.pl-result ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pl-result li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pl-result li b { color: var(--gold); font-size: .9rem; }
.pl-result .pl-extra { background: rgba(255, 255, 255, .08); padding: 12px 14px; border-radius: var(--radius-sm); font-size: .95rem; }
@media (max-width: 860px) { .planner { grid-template-columns: 1fr; } }

/* Lên kế hoạch: thời tiết + ô nhanh */
.plan-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }
.weather { border-radius: var(--radius); background: linear-gradient(160deg, var(--cb-ngoc-dam), var(--cb-cham)); color: #fff; padding: 28px; display: grid; gap: 18px; }
.weather .eyebrow { color: var(--gold); margin: 0; }
.w-head { display: flex; gap: 14px; align-items: center; }
.w-now { display: flex; align-items: baseline; gap: 14px; }
.w-temp { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.w-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.w-days li { background: rgba(255, 255, 255, .1); border-radius: var(--radius-sm); padding: 10px 6px; text-align: center; display: grid; gap: 2px; font-size: .88rem; }
.w-days b { font-size: 1rem; }
.w-note { font-size: .8rem; opacity: .75; }
.plan-side { display: grid; gap: 24px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiles a { display: grid; gap: 12px; justify-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; height: 100%; }
.tiles a:hover { border-color: var(--ink); }
.tiles .ic { color: var(--brand); }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr 1fr; } }
.book { display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--accent); color: #fff; text-decoration: none; }
.book span { display: grid; gap: 4px; flex: 1; }
.book b { font-size: 1.25rem; }
.book em { font-style: normal; opacity: .92; font-size: .95rem; }
.book:hover { background: #962123; }

/* Mạng xã hội */
.social { background: var(--bg-alt); text-align: center; }
.social-in { display: grid; gap: 14px; justify-items: center; }
.social h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.social ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Bản tin */
.newsletter { position: relative; color: #fff; overflow: hidden; }
.nl-media { position: absolute; inset: 0; }
.nl-media img { width: 100%; height: 100%; object-fit: cover; }
.newsletter::after { content: ""; position: absolute; inset: 0; background: rgba(20, 32, 63, .72); }
.nl-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: clamp(56px, 8vw, 100px); }
.nl-in p { opacity: .9; margin-top: 10px; }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form input[type="email"] { padding: 15px 20px; border-radius: 999px; border: 0; font: inherit; min-width: 0; }
.nl-ok { grid-column: 1 / -1; font-size: .85rem; display: flex; gap: 8px; align-items: center; }
.nl-form .form-msg { grid-column: 1 / -1; }
@media (max-width: 860px) { .nl-in { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .nl-form { grid-template-columns: 1fr; } }

/* ---------- Chi tiết (điểm đến, tuyến, lưu trú) ---------- */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 70px); }
.detail:nth-of-type(even) .detail-media { order: 2; }
.detail-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { display: grid; gap: 14px; }
.detail-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.detail-body > p { color: var(--ink-2); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail:nth-of-type(even) .detail-media { order: 0; } }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0; }
.specs div { background: #fff; padding: 12px 14px; }
.specs dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.specs dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.tip { font-size: .95rem; padding: 14px 16px; border-left: 4px solid var(--gold); background: #FBF1D9; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.mini { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.ticks.light li { color: rgba(255, 255, 255, .9); }
.ticks.light li::before { border-color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 26px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.facts span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.f-lab { font-weight: 700; font-size: .85rem; color: var(--muted); min-width: 56px; }
.filters + .grid { margin-top: 16px; }
.ev .ev-body { color: var(--ink-2); font-size: .95rem; margin-top: 8px; }
.ev-empty { padding: 40px; text-align: center; color: var(--muted); }

/* Văn hóa */
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.dish { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px; }
.dish img { width: 130px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.dish p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }

/* Lịch trình */
.trip { padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 70px); }
.trip-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.trip-head h2 { margin-bottom: 6px; }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.days li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.days .d { font-weight: 800; color: var(--accent); }
.days p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 560px) { .days li { grid-template-columns: 1fr; gap: 4px; } }

/* Thông tin: tab, mùa, FAQ, khẩn cấp */
.tabs [role="tablist"] { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs [role="tabpanel"] { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.season { background: #fff; border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.season p:last-child { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 520px) { .seasons { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: #fff; border-radius: var(--radius); padding: 0 22px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.phones a { display: grid; gap: 2px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.phones b { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; }
@media (max-width: 640px) { .phones { grid-template-columns: 1fr 1fr; } }

/* Bản đồ tương tác */
.mapapp { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.mapapp-side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 16px); }
.mapapp-info { border-radius: var(--radius); background: var(--bg-alt); padding: 22px; display: grid; gap: 10px; }
.mapapp-info img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mapapp-info .opt { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .mapapp { grid-template-columns: 1fr; } .mapapp-side { position: static; } }

/* Biểu mẫu */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.form textarea { min-height: 160px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); background: #DDF0EC; color: var(--cb-ngoc-dam); font-weight: 600; }
.contact-mail { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 700; }
.split > div:first-child { display: grid; gap: 14px; }

/* Yêu thích, 404 */
.empty { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 0; color: var(--muted); }
.empty .ic { color: var(--accent); }
.empty h2 { color: var(--ink); }
.nf { display: grid; gap: 18px; max-width: 760px; }
.nf h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.ftr { background: var(--cb-pattern) top left / 8px 8px repeat-x, var(--cb-cham-dam); color: #E6E1D4; }
.ftr a { color: #E6E1D4; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-block: 64px 40px; }
.ftr .brand { color: #fff; }
.ftr .brand-t small { color: #A9B0C4; }
.ftr-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.ftr-brand p { font-size: .92rem; color: #B7BDCF; max-width: 36ch; }
.ftr h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid #2B3A66; font-size: .85rem; color: #A9B0C4; }
.ftr .btn-line { color: #fff; }
.ftr .btn-line[aria-pressed="true"] { background: #fff; color: #000; }
@media (max-width: 960px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.w-temp.fb { font-size: 2.6rem; }
.newsletter .eyebrow { color: var(--gold); }
/* Thư viện ảnh (trang Thể thao & mạo hiểm) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal:hover img { transform: scale(1.06); }
.gal span { position: absolute; inset: auto 0 0 0; padding: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Trợ lý AI (khung chat) ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); cursor: pointer; }
.chat-fab:hover { background: var(--brand-2); }
.chat-fab.on { display: none; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 86; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 40px)); background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--brand-2); color: #fff; }
.chat-head .logo { width: 36px; height: 36px; flex-shrink: 0; }
.chat-head div { flex: 1; display: grid; line-height: 1.25; }
.chat-head small { font-size: .78rem; opacity: .85; }
.chat-head .tool { color: #fff; }
.chat-head .tool:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.5; display: grid; gap: 6px; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--brand); font-weight: 600; }
.msg .rel { font-size: .85rem; color: var(--muted); }
.dots3 { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots3 i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots3 1s infinite ease-in-out; }
.dots3 i:nth-child(2) { animation-delay: .15s; } .dots3 i:nth-child(3) { animation-delay: .3s; }
@keyframes dots3 { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-sugg { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; scrollbar-width: none; }
.chat-sugg::-webkit-scrollbar { display: none; }
.chat-sugg .chip { white-space: nowrap; padding: 7px 13px; font-size: .82rem; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; }
.chat-form input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; }
.chat-form input:focus { outline: none; border-color: var(--brand); }
.chat-send { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.chat-note { font-size: .72rem; color: var(--muted); padding: 0 14px 12px; }
@media (max-width: 520px) { .chat { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; } .chat-fab span { display: none; } .chat-fab { padding: 15px; } }

/* ---------- Ngôn ngữ Á Đông & Hindi ---------- */
html[lang="zh-Hans"] { --font: "Be Vietnam Pro", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="ja"] { --font: "Be Vietnam Pro", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ko"] { --font: "Be Vietnam Pro", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="hi"] { --font: "Be Vietnam Pro", "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
html[lang="zh-Hans"] :is(h1, h2, h3, h4), html[lang="ja"] :is(h1, h2, h3, h4), html[lang="ko"] :is(h1, h2, h3, h4), html[lang="hi"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.3; }
html[lang="zh-Hans"] .eyebrow, html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: .06em; }
html[lang="hi"] body { line-height: 1.75; }
html[lang="ko"] body { word-break: keep-all; }
.lang-list { max-height: 70vh; overflow-y: auto; }
html[lang="hi"] .hero-word h1 span, html[lang="hi"] .eyebrow, html[lang="hi"] .mini, html[lang="hi"] .mega-col h4, html[lang="hi"] .ftr h4, html[lang="hi"] .specs dt { letter-spacing: 0; }
html[lang="zh-Hans"] .hero-word h1 span, html[lang="ja"] .hero-word h1 span, html[lang="ko"] .hero-word h1 span { letter-spacing: .08em; }

/* ---------- Bản đồ thật (Leaflet) ---------- */
.lmap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lmap-chips .chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.lmap-body { display: grid; grid-template-columns: 340px 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.lmap-mini .lmap-body { grid-template-columns: 1fr; }
.lmap-canvas { height: min(74vh, 720px); min-height: 420px; background: #E6E1D4; position: relative; z-index: 0; }
.lmap-mini .lmap-canvas { height: 440px; min-height: 0; }
.mb-map .lmap-body { border: 0; }
.mb-map .lmap-canvas { height: 420px; }
.lmap:not(.ready) .lmap-canvas { background: var(--brand-2); padding: 10px; display: grid; place-items: center; }
.lmap-side { border-right: 1px solid var(--line); max-height: min(74vh, 720px); overflow-y: auto; }
.lmap-list { list-style: none; margin: 0; padding: 6px; }
.lmap-list button { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 11px 10px; border: 0; border-radius: var(--radius-sm); background: none; cursor: pointer; }
.lmap-list button:hover, .lmap-list button:focus-visible { background: var(--bg-alt); }
.lmap-list i { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.lmap-list span { display: grid; gap: 2px; }
.lmap-list b { font-size: .95rem; }
.lmap-list small { color: var(--muted); font-size: .8rem; }
@media (max-width: 860px) { .lmap-body { grid-template-columns: 1fr; } .lmap-side { order: 2; border-right: 0; border-top: 1px solid var(--line); max-height: 320px; } .lmap-canvas { height: 62vh; } }
.lpin { background: none; border: 0; }
.lpin svg { width: 30px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); transition: transform .15s; }
.lpin:hover svg { transform: translateY(-3px) scale(1.08); }
.leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 270px !important; font-family: var(--font); }
.lpop img { width: 100%; height: 130px; object-fit: cover; display: block; }
.lpop-b { padding: 12px 14px 14px; display: grid; gap: 6px; }
.lpop-b h3 { font-size: 1.05rem; margin: 0; }
.lpop-b p { margin: 0 !important; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.lpop-b .lpop-m { color: var(--muted); font-size: .8rem; }
.lpop-tag { justify-self: start; color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.lpop-a { display: flex; gap: 8px; margin-top: 4px; }
.lbtn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-weight: 700; font-size: .82rem; text-decoration: none; background: var(--ink); color: #fff !important; }
.lbtn-g { background: #1a73e8; }
.lpop-g { font-size: .78rem; color: var(--muted) !important; }
.lctl a { font-size: 18px; line-height: 30px; font-weight: 700; color: var(--ink); }
.maplinks { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.maplinks a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--brand); }
.maplinks a:hover { color: var(--accent); }

/* Thẻ điểm đến nhiều mục: Di tích lịch sử, Làng nghề (30/09/2026) */
.sites { display: grid; gap: 22px; margin: 18px 0; }
.site-group h3 { font-size: 1.05rem; margin: 0 0 10px; color: var(--brand); }
.site { border-left: 3px solid var(--line); padding: 4px 0 4px 14px; margin-bottom: 12px; }
.site h4 { margin: 0 0 4px; font-size: 1rem; }
.site p { margin: 2px 0; font-size: .95rem; color: var(--ink-2); }

/* Trợ lý: nút câu hỏi liên quan (05/10/2026) */
.msg .chat-ask { white-space: normal; text-align: left; padding: 6px 12px; font-size: .82rem; margin: 2px 4px 2px 0; line-height: 1.35; }

/* Trang Doanh nghiệp & Đối tác (05/10/2026) */
.tiles .tile { display: grid; gap: 12px; justify-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; height: 100%; background: #fff; }
.tiles .tile .ic { color: var(--brand); }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.pcard { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pcard .ic { color: var(--brand); }
.pcard .tag { position: absolute; top: 22px; right: 22px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #DDF0EC; color: var(--cb-ngoc-dam); }
.pcard h3 { margin: 4px 0 0; font-size: 1.15rem; }
.pcard p { margin: 0; color: var(--ink-2); }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: st; padding: 24px; border-radius: var(--radius); background: #fff; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.steps b { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--ink-2); }
.chks { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px 14px; margin: 0; display: grid; gap: 8px; }
.chks legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
.form .chk { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.form .chk input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
@media (max-width: 640px) { .tiles .tile { padding: 16px; } }

/* ---------- Cao Bằng Signature Colors – bổ sung 05/10/2026 ---------- */
.brand-t b { color: var(--cb-cham); }
.ftr .brand-t b { color: #fff; }

/* Thư viện ảnh – trang Văn hóa (05/10/2026) */
.gal-group { margin-top: 28px; }
.gal-group h3 { color: var(--cb-cham); margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--cb-nghe); }
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding: 8px 12px 10px; }

/* Ảnh chạy trong thẻ (slide) – V3.1 05/10/2026 */
.slides { position: absolute; inset: 0; }
.slides .sl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform .5s ease; }
.slides .sl.on { opacity: 1; }
.slides::after { content: ""; position: absolute; left: 12px; bottom: 10px; width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .7); }
.card:hover .slides .sl { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .slides .sl { transition: none; } }

/* ================= ĐỢT 2 (09/10/2026): Gợi ý chuyến đi, Ngọc Côn – Phong Nậm, gợi ý trợ lý ================= */
.mega-in.m3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-cta { margin-top: 18px; width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.3; }
@media (max-width: 1080px) { .mega-in.m3 { grid-template-columns: 1fr; } .mega-cta { width: auto; } }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.route { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; align-items: center; counter-reset: st; }
.route li { display: inline-flex; align-items: center; font-weight: 600; font-size: .95rem; }
.route li::before { counter-increment: st; content: counter(st); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; margin-right: 8px; flex-shrink: 0; }
.route li:not(:last-child)::after { content: ""; width: 26px; height: 2px; background: var(--line); margin: 0 10px; }
.days .leg { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.days .leg .ic { flex-shrink: 0; margin-top: 2px; color: var(--brand); }
.days .leg b { color: var(--ink-2); }
.days h3 { font-size: 1.12rem; }
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.voice h3 { font-size: 1.05rem; margin-bottom: 14px; }
@media (max-width: 760px) { .voice { grid-template-columns: 1fr; } }
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta2 .book { height: 100%; }
.book-alt { background: var(--brand-2); }
.book-alt:hover { background: var(--brand-2); }
.book-alt .btn { flex-shrink: 0; }
@media (max-width: 860px) { .cta2 { grid-template-columns: 1fr; } .book-alt { flex-wrap: wrap; } }
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.sites-grid .site { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin: 0; }
.seasons-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.chips a.chip[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chips .f-lab { margin-right: 6px; }
/* Trợ lý: câu hỏi gợi ý theo nhóm */
.chat { position: fixed; }
.chat-topics { position: absolute; left: 0; right: 0; top: 64px; bottom: 0; z-index: 3; background: #fff; display: flex; flex-direction: column; }
.chat-topics[hidden] { display: none; }
.ct-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 4px 16px; }
.ct-note { font-size: .8rem; color: var(--muted); padding: 0 16px 8px; margin: 0; }
.ct-list { flex: 1; overflow-y: auto; padding: 0 12px 16px; }
.ct-list details { border-bottom: 1px solid var(--line); }
.ct-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px; font-weight: 700; font-size: .92rem; }
.ct-list summary::-webkit-details-marker { display: none; }
.ct-list summary small { color: var(--muted); font-weight: 600; background: var(--bg-alt); border-radius: 999px; padding: 2px 9px; font-size: .75rem; }
.ct-list details[open] summary { color: var(--brand); }
.ct-qs { display: grid; gap: 4px; padding: 0 0 12px; }
.ct-q { text-align: left; font: inherit; font-size: .88rem; line-height: 1.35; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); cursor: pointer; }
.ct-q:hover, .ct-q:focus-visible { border-color: var(--brand); background: #fff; }
.chat-topics-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-topics-btn .ic { color: #fff; }
/* đợt 2 – chống tràn nút trên di động (ngôn ngữ không có dấu cách) */
.btn{max-width:100%;overflow-wrap:anywhere}
@media (min-width:1081px) and (max-width:1320px){.nav-top{padding:0 10px;font-size:.94rem}.nav-top::after{left:10px;right:10px}}
@media (min-width:1081px) and (max-width:1200px){.nav-top{padding:0 7px;font-size:.88rem;gap:3px}.nav-top::after{left:7px;right:7px}.site-header .brand .logo{width:34px;height:34px}}

/* ===== Đợt 3 (09/10/2026): logo ảnh thật ===== */
img.logo { border-radius: 10px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* ===== Đợt 3 (#12, 09/10/2026): bớt vẻ "khuôn mẫu" =====
   – tiêu đề dùng chữ có chân (Lora), góc bo nhỏ, nhãn và nút vuông vức hơn
   – khu #VisitCaoBang có lưới ảnh thật */
:root { --font-head: "Lora", Georgia, "Times New Roman", serif; --radius: 4px; --radius-sm: 3px; }
h1, h2, .slide-t, .idea-cap b, .promo-cap b, .card.big h3, .social h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.15; }
.hero-word h1 { font-weight: 600; letter-spacing: -.025em; }
.hero-word h1 span { font-family: var(--font); letter-spacing: .12em; }
.slide-t { font-weight: 600; }
.btn, .btn-line { border-radius: 4px; }
.card .tag { border-radius: 2px; font-weight: 600; letter-spacing: 0; padding: 4px 9px; background: rgba(255,255,255,.94); }
.weather, .quick a, .tile, .book, .planner, .plan-out { border-radius: var(--radius); }
.sec-head { margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.sec-head .more { font-weight: 600; }
.social { text-align: left; }
.social .social-in { justify-items: start; gap: 6px; margin-bottom: 22px; }
.social h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.social ul { justify-content: flex-start; }
.snap-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.snap-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .snap-grid { grid-template-columns: repeat(3, 1fr); } }
.chip { border-radius: 4px; }
.nl-form input[type="email"], .nl-form .btn, .search-box input, .chat-form input { border-radius: 4px; }


/* ===== Đợt 4 (#14, 10/10/2026): trang trí hoa văn Dao Tiền (vẽ sáp ong – trắng trên chàm) ===== */
:root {
  --dt-strip: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2264%22 height=%2218%22 viewBox=%220 0 64 18%22%3E%3Crect width=%2264%22 height=%2218%22 fill=%22%231F2F5C%22/%3E%3Cpolyline points=%224,15 13,4 22,15%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%221.5%22/%3E%3Cpolyline points=%229,15 13,10 17,15%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%221.3%22/%3E%3Ccircle cx=%2238%22 cy=%229.5%22 r=%221.7%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2250%22 cy=%229.5%22 r=%221.7%22 fill=%22%23F4EFE4%22/%3E%3C/svg%3E");
  --dt-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22720%22 height=%2280%22 viewBox=%220 0 720 80%22%3E%3Crect width=%22720%22 height=%2280%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%229.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2227.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2245.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2263.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2281.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2299.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22117.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22135.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22153.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22171.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22189.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22207.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22225.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22243.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22261.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22279.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22297.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22315.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22333.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22351.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22369.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22387.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22405.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22423.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22441.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22459.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22477.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22495.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22513.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22531.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22549.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22567.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22585.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22603.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22621.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22639.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22657.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22675.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22693.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22711.0%22 cy=%228%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%229.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2227.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2245.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2263.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2281.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2299.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22117.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22135.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22153.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22171.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22189.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22207.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22225.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22243.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22261.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22279.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22297.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22315.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22333.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22351.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22369.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22387.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22405.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22423.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22441.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22459.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22477.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22495.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22513.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22531.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22549.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22567.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22585.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22603.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22621.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22639.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22657.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22675.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22693.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22711.0%22 cy=%2272%22 r=%222.2%22 fill=%22%23F4EFE4%22/%3E%3Cline x1=%220%22 y1=%2217%22 x2=%22720%22 y2=%2217%22 stroke=%22%23F4EFE4%22 stroke-width=%222%22/%3E%3Cline x1=%220%22 y1=%2263%22 x2=%22720%22 y2=%2263%22 stroke=%22%23F4EFE4%22 stroke-width=%222%22/%3E%3Cpolyline points=%2240.0,57.0 75.0,27.0 110.0,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%2251.9,57.0 75.0,37.2 98.1,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%2263.4,57.0 75.0,47.1 86.5,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Ccircle cx=%2275.0%22 cy=%2252.8%22 r=%221.5%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22180%22 cy=%2240%22 r=%2219%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.28%22/%3E%3Ccircle cx=%22180%22 cy=%2240%22 r=%2213.68%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%221.14%22/%3E%3Crect x=%22173.92%22 y=%2233.92%22 width=%2212.16%22 height=%2212.16%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%221.9000000000000001%22/%3E%3Ccircle cx=%22195.1%22 cy=%2246.3%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22186.3%22 cy=%2255.1%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22173.7%22 cy=%2255.1%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22164.9%22 cy=%2246.3%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22164.9%22 cy=%2233.7%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22173.7%22 cy=%2224.9%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22186.3%22 cy=%2224.9%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22195.1%22 cy=%2233.7%22 r=%220.9500000000000001%22 fill=%22%23F4EFE4%22/%3E%3Cline x1=%22186.2%22 y1=%2246.2%22 x2=%22188.1%22 y2=%2248.1%22 stroke=%22%23F4EFE4%22 stroke-width=%221.14%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22173.8%22 y1=%2246.2%22 x2=%22171.9%22 y2=%2248.1%22 stroke=%22%23F4EFE4%22 stroke-width=%221.14%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22173.8%22 y1=%2233.8%22 x2=%22171.9%22 y2=%2231.9%22 stroke=%22%23F4EFE4%22 stroke-width=%221.14%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22186.2%22 y1=%2233.8%22 x2=%22188.1%22 y2=%2231.9%22 stroke=%22%23F4EFE4%22 stroke-width=%221.14%22 stroke-linecap=%22round%22/%3E%3Cpolyline points=%22250.0,57.0 285.0,27.0 320.0,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22261.9,57.0 285.0,37.2 308.1,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22273.4,57.0 285.0,47.1 296.6,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Ccircle cx=%22285.0%22 cy=%2252.8%22 r=%221.5%22 fill=%22%23F4EFE4%22/%3E%3Cpolyline points=%22400.0,57.0 435.0,27.0 470.0,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22411.9,57.0 435.0,37.2 458.1,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22423.4,57.0 435.0,47.1 446.6,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Ccircle cx=%22435.0%22 cy=%2252.8%22 r=%221.5%22 fill=%22%23F4EFE4%22/%3E%3Cpolygon points=%22540.0,20.0 544.2,29.8 554.1,25.9 550.2,35.8 560.0,40.0 550.2,44.2 554.1,54.1 544.2,50.2 540.0,60.0 535.8,50.2 525.9,54.1 529.8,44.2 520.0,40.0 529.8,35.8 525.9,25.9 535.8,29.8%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%221.6%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22540%22 cy=%2240%22 r=%223.5999999999999996%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22540.0%22 cy=%2225.0%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22550.6%22 cy=%2229.4%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22555.0%22 cy=%2240.0%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22550.6%22 cy=%2250.6%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22540.0%22 cy=%2255.0%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22529.4%22 cy=%2250.6%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22525.0%22 cy=%2240.0%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22529.4%22 cy=%2229.4%22 r=%221.0%22 fill=%22%23F4EFE4%22/%3E%3Cpolyline points=%22610.0,57.0 645.0,27.0 680.0,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22621.9,57.0 645.0,37.2 668.1,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Cpolyline points=%22633.5,57.0 645.0,47.1 656.6,57.0%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%222.0%22 stroke-linejoin=%22miter%22/%3E%3Ccircle cx=%22645.0%22 cy=%2252.8%22 r=%221.5%22 fill=%22%23F4EFE4%22/%3E%3C/svg%3E");
  --dt-coin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22 width=%22400%22 height=%22400%22%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%22150%22 fill=%22none%22 stroke=%22%231F2F5C%22 stroke-width=%2218.0%22/%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%22108.0%22 fill=%22none%22 stroke=%22%231F2F5C%22 stroke-width=%229.0%22/%3E%3Crect x=%22152.0%22 y=%22152.0%22 width=%2296.0%22 height=%2296.0%22 fill=%22none%22 stroke=%22%231F2F5C%22 stroke-width=%2215.0%22/%3E%3Ccircle cx=%22319.2%22 cy=%22249.4%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%22249.4%22 cy=%22319.2%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%22150.6%22 cy=%22319.2%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%2280.8%22 cy=%22249.4%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%2280.8%22 cy=%22150.6%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%22150.6%22 cy=%2280.8%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%22249.4%22 cy=%2280.8%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Ccircle cx=%22319.2%22 cy=%22150.6%22 r=%227.5%22 fill=%22%231F2F5C%22/%3E%3Cline x1=%22249.2%22 y1=%22249.2%22 x2=%22263.6%22 y2=%22263.6%22 stroke=%22%231F2F5C%22 stroke-width=%229.0%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22150.8%22 y1=%22249.2%22 x2=%22136.4%22 y2=%22263.6%22 stroke=%22%231F2F5C%22 stroke-width=%229.0%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22150.8%22 y1=%22150.8%22 x2=%22136.4%22 y2=%22136.4%22 stroke=%22%231F2F5C%22 stroke-width=%229.0%22 stroke-linecap=%22round%22/%3E%3Cline x1=%22249.2%22 y1=%22150.8%22 x2=%22263.6%22 y2=%22136.4%22 stroke=%22%231F2F5C%22 stroke-width=%229.0%22 stroke-linecap=%22round%22/%3E%3C/svg%3E");
  --dt-star: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22 width=%22400%22 height=%22400%22%3E%3Cpolygon points=%22200.0,40.0 233.7,118.7 313.1,86.9 281.3,166.3 360.0,200.0 281.3,233.7 313.1,313.1 233.7,281.3 200.0,360.0 166.3,281.3 86.9,313.1 118.7,233.7 40.0,200.0 118.7,166.3 86.9,86.9 166.3,118.7%22 fill=%22none%22 stroke=%22%23F4EFE4%22 stroke-width=%2212.8%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%2228.799999999999997%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22200.0%22 cy=%2280.0%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22284.9%22 cy=%22115.1%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22320.0%22 cy=%22200.0%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22284.9%22 cy=%22284.9%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22200.0%22 cy=%22320.0%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22115.1%22 cy=%22284.9%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%2280.0%22 cy=%22200.0%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3Ccircle cx=%22115.1%22 cy=%22115.1%22 r=%228.0%22 fill=%22%23F4EFE4%22/%3E%3C/svg%3E");
}
/* (1) dưới thanh menu: thay dải hình thoi vàng bằng dải đồi núi Dao Tiền */
.hdr::after { bottom: -16px; height: 16px; background: var(--dt-strip) repeat-x; background-size: 57px 16px; }

/* (2) tiêu đề mỗi mục: đồng tiền nhỏ trên đường kẻ */
.sec-head { position: relative; border-bottom: 1px solid #cfc6b3; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -14px; width: 28px; height: 28px;
  background: var(--bg) var(--dt-coin) center/28px no-repeat; box-shadow: 0 0 0 6px var(--bg); }
.sec.alt .sec-head::after { background-color: var(--bg-alt); box-shadow: 0 0 0 6px var(--bg-alt); }

/* (3) khu nền chàm (bản đồ): dải viền lớn trên đầu + sao chìm */
.mapband { position: relative; overflow: hidden; padding-top: calc(clamp(48px, 7vw, 96px) + 66px); }
.mapband::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 72px; background: var(--dt-band) repeat-x; background-size: 648px 72px; }
.mapband::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 420px; height: 420px;
  background: var(--dt-star) center/contain no-repeat; opacity: .06; pointer-events: none; }
.mapband .wrap { position: relative; z-index: 1; }

/* (4) chân trang: dải viền lớn ngăn cách */
.ftr { position: relative; border-top: 0 !important; }
.ftr::before { content: ""; display: block; height: 72px; margin: 0 0 48px; background: var(--dt-band) repeat-x; background-size: 648px 72px; }

/* (5) nút "Xem tất cả": gạch chân bằng chấm sáp */
.sec-head .more { background-image: radial-gradient(circle, #1F2F5C 1.2px, transparent 1.6px); background-size: 7px 4px;
  background-repeat: repeat-x; background-position: 0 100%; padding-bottom: 6px; }

/* ===== Đợt 4 (#18, 10/10/2026): chữ "Cao Bằng" ở trang chủ – mẫu D
   lòng chữ màu chàm có sao tám cánh + chấm sáp trắng, viền chữ là nét sáp ong, mép loang (bộ lọc #wax-edge trong trang chủ)
   Font: TeX Gyre Adventor Bold (GUST Font License), file assets/fonts/cb-title.woff ===== */
@font-face { font-family: "CB Title"; src: url("../fonts/cb-title.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
:root { --dt-fill-star: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2234%22 height=%2234%22 viewBox=%220 0 34 34%22%3E%3Cpolygon points=%229.0,3.0 10.1,6.2 13.2,4.8 11.8,7.9 15.0,9.0 11.8,10.1 13.2,13.2 10.1,11.8 9.0,15.0 7.9,11.8 4.8,13.2 6.2,10.1 3.0,9.0 6.2,7.9 4.8,4.8 7.9,6.2%22 fill=%22none%22 stroke=%22%23efe0b6%22 stroke-width=%221.1%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%229%22 cy=%229%22 r=%221.0%22 fill=%22%23efe0b6%22/%3E%3Ccircle cx=%2226%22 cy=%2226%22 r=%221.5%22 fill=%22%23efe0b6%22/%3E%3Ccircle cx=%2226%22 cy=%229%22 r=%22.9%22 fill=%22%23efe0b6%22/%3E%3Ccircle cx=%229%22 cy=%2226%22 r=%22.9%22 fill=%22%23efe0b6%22/%3E%3C/svg%3E"); }
.wax-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-word h1 { text-shadow: none; }
.hero-word h1 .hw { display: block; font-family: "CB Title", var(--font-head); font-weight: 700; font-size: clamp(3rem, 8.5vw, 7.4rem); line-height: 1.05;
  letter-spacing: .01em; padding-top: .15em; margin-top: -.15em; color: transparent;
  background-image: var(--dt-fill-star), linear-gradient(#22345f, #1a2a50); background-size: 30px 30px, 100% 100%; background-repeat: repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 3px #ecd9a6;
  filter: url(#wax-edge) drop-shadow(0 2px 1px rgba(40, 20, 0, .5)) drop-shadow(0 5px 14px rgba(0, 0, 0, .5)); }
.hero-word h1 span { text-shadow: 0 2px 12px rgba(0, 0, 0, .55); color: #f1e4c2; }
@media (max-width: 640px) { .hero-word h1 .hw { -webkit-text-stroke: 2px #ecd9a6; background-size: 22px 22px, 100% 100%; } }
/* Đợt 4: tiếng Pháp đứng thứ 2 – giữ chữ trên menu một dòng (Pháp, Đức, Tây Ban Nha…) */
@media (min-width: 1081px) { .nav-top { white-space: nowrap; } }
@media (min-width: 1081px) and (max-width: 1480px) { html:not([lang="vi"]):not([lang="en"]) .nav-top { padding: 0 8px; font-size: .9rem; } }
@media (min-width: 1081px) and (max-width: 1250px) { html:not([lang="vi"]):not([lang="en"]) .nav-top { padding: 0 5px; font-size: .8rem; gap: 2px; } html:not([lang="vi"]):not([lang="en"]) .hdr-bar { gap: 10px; } }

/* ===== 11/10/2026: tiếng Nga (ru) và tiếng Ả Rập (ar, viết phải → trái) ===== */
html[lang="ru"] { --font: "Noto Sans", "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif; --font-head: "Lora", "Noto Serif", Georgia, serif; }
html[lang="ar"] { --font: "Noto Sans Arabic", "Be Vietnam Pro", Tahoma, "Segoe UI", sans-serif; --font-head: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
/* Chữ Ả Rập nối liền nhau: không giãn chữ, không viết hoa */
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.4; }
html[lang="ar"] .eyebrow, html[lang="ar"] .mini { text-transform: none; }
/* Lật bố cục cho chiều phải → trái */
[dir="rtl"] .skip { left: auto; right: -9999px; }
[dir="rtl"] .skip:focus { left: auto; right: 8px; }
[dir="rtl"] .tools { margin-left: 0; margin-right: auto; }
[dir="rtl"] .mainnav + .tools { margin-right: 0; }
[dir="rtl"] .fav-count { right: auto; left: 2px; }
[dir="rtl"] .lang-list { right: auto; left: 0; }
[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .card .tag { left: auto; right: 12px; }
[dir="rtl"] .fav { right: auto; left: 10px; }
[dir="rtl"] .pcard .tag { right: auto; left: 22px; }
[dir="rtl"] .slides::after { left: auto; right: 12px; }
[dir="rtl"] .tip { border-left: 0; border-right: 4px solid var(--gold); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .ticks li::before { left: auto; right: 2px; }
[dir="rtl"] .facts div { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .facts div:last-child { border-left: 0; }
@media (max-width: 760px) { [dir="rtl"] .facts div:nth-child(2) { border-left: 0; } }
[dir="rtl"] .site { border-left: 0; border-right: 3px solid var(--line); padding: 4px 14px 4px 0; }
[dir="rtl"] .gal-group h3 { padding-left: 0; padding-right: 12px; border-left: 0; border-right: 4px solid var(--cb-nghe); }
[dir="rtl"] .route li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .chips .f-lab { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .lmap-chips .chip i { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .lmap-side { border-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 860px) { [dir="rtl"] .lmap-side { border-left: 0; } }
[dir="rtl"] :is(.lmap-list button, .msg .chat-ask, .ct-q, .social) { text-align: right; }
[dir="rtl"] .msg .chat-ask { margin: 2px 0 2px 4px; }
[dir="rtl"] .sec-head::after { left: auto; right: 0; }
[dir="rtl"] .mapband::after { right: auto; left: -90px; }
/* Khung Trợ lý nằm góc trái dưới; bong bóng chat lật góc */
[dir="rtl"] .chat-fab, [dir="rtl"] .chat { right: auto; left: 20px; }
@media (max-width: 520px) { [dir="rtl"] .chat { left: 0; } }
[dir="rtl"] .msg.bot { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
[dir="rtl"] .msg.me { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
/* Mũi tên "tiếp / gửi / xem thêm" quay ngược chiều */
[dir="rtl"] :is(.chat-send, .btn, .more, .car-nav, .link-arrow) svg { transform: scaleX(-1); }
/* Số điện thoại, email, mã giữ chiều trái → phải */
[dir="rtl"] :is(input[type="email"], input[type="tel"], .ftr a[href^="mailto"]) { direction: ltr; unicode-bidi: plaintext; }
/* Bản đồ (Leaflet) luôn vẽ theo chiều trái → phải; chữ trong khung thông tin vẫn phải → trái */
[dir="rtl"] .leaflet-container { direction: ltr; }
[dir="rtl"] .leaflet-popup-content { direction: rtl; text-align: right; }

/* ===================== Đợt 7 (24/10/2026): cẩm nang, bài viết, bảng, ảnh có tên tác giả ===================== */
.card-media, .detail-media, .fig { position: relative; }
.credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: .72rem; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, .5); padding: 3px 8px; border-radius: 4px; pointer-events: none; }
.phero-media .credit { bottom: 14px; right: 14px; }
html[dir="rtl"] .credit { right: auto; left: 8px; }
.fig { margin: 0 0 24px; }
.fig img { width: 100%; height: auto; border-radius: 14px; display: block; }
.fig figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 1em; }
.article { max-width: 780px; margin-inline: auto; }
.article h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 1.6em 0 .55em; }
.article .ticks { margin-bottom: 1.2em; }
.article .fig { margin: 28px 0; }
.article .btn { margin-top: 12px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.tbl th, .tbl td { text-align: start; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--bg, #f7f3ea); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.tbl tbody th { font-weight: 700; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.intro-g { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.intro-fig .fig img { max-height: 620px; object-fit: cover; }
.split-fig { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.when .season { margin-bottom: 18px; }
.when .season p { margin: 0; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
h3.mini { font-size: 1rem; margin: 22px 0 10px; }
.tip { background: #fff; border-inline-start: 4px solid var(--brand); padding: 12px 16px; border-radius: 8px; }
@media (max-width: 860px) {
  .intro-g, .split-fig { grid-template-columns: 1fr; gap: 24px; }
  .tbl { font-size: .9rem; }
}
