/*
Theme Name: Ca Vien Chien Bo Ke Bien Hoa
Theme URI: https://example.com/
Author: Website project team
Description: Giao diện tạp chí số về văn hóa ẩm thực Bờ Kè Biên Hòa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ca-vien-chien-bo-ke
*/

    /* =========================================================
       01. DESIGN TOKENS — màu sắc, nhịp điệu và typography
       ========================================================= */
    :root {
      --paper: #fdfbf7;
      --paper-deep: #f2ede3;
      --ink: #1a1a1a;
      --ink-soft: #55504a;
      --gold: #c5a059;
      --red: #8b261e;
      --line: rgba(26, 26, 26, .22);
      --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
      --sans: 'Montserrat', Arial, Helvetica, sans-serif;
      --gutter: clamp(1.2rem, 5vw, 5.2rem);
      --measure: 72rem;
      --shadow: 0 24px 70px rgba(32, 24, 18, .12);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 15px;
      line-height: 1.75;
      overflow-wrap: break-word;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 20;
      opacity: .12;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
      mix-blend-mode: multiply;
    }
    a { color: inherit; }
    img { display: block; max-width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
    ::selection { color: var(--paper); background: var(--red); }
    .container { width: min(100% - (var(--gutter) * 2), var(--measure)); margin-inline: auto; }
    .eyebrow, .micro, .nav-link, .button, .caption, .chapter-label, .meta, .footer-label {
      font-family: var(--sans); text-transform: uppercase; letter-spacing: .13em;
    }
    .eyebrow { font-weight: 700; font-size: .67rem; color: var(--red); }
    .micro { font-size: .62rem; letter-spacing: .16em; }
    .serif { font-family: var(--serif); }
    .muted { color: var(--ink-soft); }
    .rule { height: 1px; background: var(--line); border: 0; margin: 0; }

    /* =========================================================
       02. READING PROGRESS + HEADER
       ========================================================= */
    .progress-track { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; background: transparent; }
    .progress-bar { height: 100%; width: 0%; background: var(--red); transform-origin: left center; }
    .site-header {
      position: sticky; top: 0; z-index: 80;
      background: rgba(253, 251, 247, .94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      width: min(100% - (var(--gutter) * 2), 88rem); margin: auto;
      min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    }
    .wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
    .wordmark-stamp {
      width: 35px; height: 35px; border: 1px solid var(--gold); color: var(--red);
      display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: .9rem;
      transform: rotate(-5deg); flex: 0 0 auto;
    }
    .wordmark-text { line-height: 1.25; }
    .wordmark-text strong { display: block; font-size: .69rem; line-height: 1.4; letter-spacing: .12em; }
    .wordmark-text span { display: block; font-size: .56rem; letter-spacing: .19em; color: var(--ink-soft); margin-top: .18rem; }
    .desktop-nav { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 2rem); }
    .nav-link { position: relative; text-decoration: none; color: var(--ink-soft); font-size: .61rem; font-weight: 700; white-space: nowrap; transition: color .25s ease; }
    .nav-link::after { content: ""; position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
    .nav-link:hover, .nav-link[aria-current="location"] { color: var(--red); }
    .nav-link:hover::after, .nav-link[aria-current="location"]::after { transform: scaleX(1); transform-origin: left; }
    .menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: .55rem .7rem; font: 700 .65rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

    /* =========================================================
       03. HERO — mở đầu như bìa/chuyên đề tạp chí
       ========================================================= */
    .hero { padding: clamp(2.5rem, 6vw, 5.8rem) 0 clamp(3.7rem, 8vw, 7.2rem); }
    .hero-kicker { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); margin-bottom: 1.55rem; }
    .hero-kicker .eyebrow { white-space: nowrap; }
    .hero-kicker .line { height: 1px; width: min(180px, 20vw); background: var(--gold); }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
    h1, h2, h3, p { margin-top: 0; }
    h1 {
      font: 900 clamp(2.8rem, 6.2vw, 6.3rem)/1.09 var(--serif);
      letter-spacing: -.065em; max-width: 11ch; margin-bottom: 1.5rem;
    }
    h1 em { color: var(--red); font-weight: 700; }
    .hero-intro { max-width: 34rem; font-size: clamp(.92rem, 1.2vw, 1.06rem); line-height: 1.9; color: var(--ink-soft); }
    .hero-note { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; color: var(--ink-soft); }
    .hero-note-mark { width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--red); font-size: 1rem; flex: 0 0 auto; }
    .hero-note span { font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
    .hero-visual { position: relative; padding: 0 0 2.6rem 1.35rem; }
    .hero-visual::before { content: ""; position: absolute; left: 0; top: 1.3rem; bottom: 1.3rem; width: 1px; background: var(--gold); }
    .hero-visual::after { content: "BIÊN HÒA / ĐỒNG NAI"; writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; left: -.82rem; top: 1.55rem; font: 600 .54rem var(--sans); letter-spacing: .2em; color: var(--ink-soft); }
    .image-frame { position: relative; overflow: hidden; background: #d5c7b1; box-shadow: var(--shadow); }
    .image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; filter: saturate(.78) contrast(1.04); }
    .image-frame:hover img { transform: scale(1.035); filter: saturate(.95) contrast(1.04); }
    .hero-photo { aspect-ratio: 4 / 5; }
    .hero-photo img { object-position: 54% center; }
    .hero-photo .photo-fallback { padding-right: 6.5rem; }
    .photo-fallback { display: none; position: absolute; inset: 0; padding: 2rem; align-items: end; color: var(--paper); background: linear-gradient(145deg, #74604b, #211c18); font: 700 1.2rem/1.4 var(--serif); }
    .photo-fallback.visible { display: flex; }
    .image-frame figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.4rem 1rem .8rem; color: #fffdf8; font: 500 .58rem/1.5 var(--sans); letter-spacing: .08em; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
    .timeline-image .photo-fallback, .memory-photo .photo-fallback { align-items: center; justify-content: center; text-align: center; padding: 2rem; font-size: .9rem; }
    .hero-sticker { position: absolute; right: -1.25rem; bottom: .25rem; width: clamp(98px, 11vw, 138px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1rem; background: var(--red); color: var(--paper); border: 5px solid var(--paper); box-shadow: 0 0 0 1px var(--red); transform: rotate(7deg); }
    .hero-sticker strong { font: 900 1.4rem var(--serif); line-height: 1.1; }
    .hero-sticker span { font-size: .52rem; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; margin-top: .35rem; }
    .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4.4rem); padding-top: 1rem; }
    .hero-bottom p { margin: 0; max-width: 38rem; color: var(--ink-soft); font: italic .84rem/1.7 var(--serif); }
    .scroll-cue { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; color: var(--red); white-space: nowrap; font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
    .scroll-cue .arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; font-size: 1rem; transition: transform .25s ease; }
    .scroll-cue:hover .arrow { transform: translateY(3px); }

    /* =========================================================
       04. EDITORIAL SECTION SYSTEM
       ========================================================= */
    .section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
    .section-head { display: grid; grid-template-columns: 90px 1fr; gap: clamp(1.2rem, 4vw, 4rem); align-items: start; margin-bottom: clamp(2.8rem, 5vw, 4.8rem); }
    .section-number { font: 700 .72rem var(--sans); letter-spacing: .16em; color: var(--red); padding-top: .5rem; display: flex; gap: .7rem; align-items: center; }
    .section-number::after { content: ""; height: 1px; width: 26px; background: var(--gold); }
    .section-title { font: 700 clamp(2rem, 4.3vw, 4.2rem)/1.18 var(--serif); letter-spacing: -.045em; margin: 0; max-width: 17ch; }
    .section-title em { color: var(--red); font-weight: 400; }
    .section-deck { color: var(--ink-soft); max-width: 38rem; margin: 1.15rem 0 0; font-size: .92rem; }
    .eyebrow-row { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
    .eyebrow-row .dash { height: 1px; width: 28px; background: var(--gold); }

    /* Did you know */
    .did-you-know { background: var(--paper-deep); position: relative; overflow: hidden; }
    .did-you-know::after { content: "?"; position: absolute; right: -1.7rem; top: -9rem; font: 900 clamp(17rem, 35vw, 34rem)/1 var(--serif); color: rgba(197,160,89,.10); pointer-events: none; }
    .fact-grid { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 7vw, 7rem); position: relative; z-index: 1; align-items: start; }
    .fact-index { border-top: 1px solid var(--ink); padding-top: 1rem; }
    .fact-index .big-question { color: var(--red); font: 900 clamp(5rem, 10vw, 9rem)/.9 var(--serif); letter-spacing: -.09em; }
    .fact-index p { font: italic 1rem/1.7 var(--serif); margin: 1.25rem 0 0; max-width: 18rem; }
    .fact-copy { border-top: 1px solid var(--ink); padding-top: 1rem; max-width: 45rem; }
    .fact-copy h3 { font: 700 clamp(1.45rem, 2.6vw, 2.45rem)/1.35 var(--serif); letter-spacing: -.03em; max-width: 26ch; margin-bottom: 1.2rem; }
    .fact-copy p { color: var(--ink-soft); max-width: 42rem; }
    .editor-note { display: grid; grid-template-columns: 4px 1fr; gap: 1rem; margin-top: 2rem; padding: 1.1rem 1.3rem 1.1rem 0; max-width: 42rem; }
    .editor-note::before { content: ""; background: var(--gold); }
    .editor-note p { font-size: .77rem; margin: 0; }
    .source-link { text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
    .source-link:hover { color: var(--red); }

    /* Timeline */
    .timeline-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
    .timeline-intro p { max-width: 28rem; color: var(--ink-soft); font-size: .82rem; margin: 0; }
    .timeline { position: relative; }
    .timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--gold); }
    .timeline-item { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.8rem); padding: 2rem 0 4.5rem; align-items: center; }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item:nth-child(even) .timeline-image { grid-column: 3; grid-row: 1; }
    .timeline-item:nth-child(even) .timeline-text { grid-column: 1; grid-row: 1; }
    .timeline-image { aspect-ratio: 5 / 4; position: relative; overflow: hidden; background: #cfc0a9; }
    .timeline-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); transition: transform .75s ease; }
    .timeline-image:hover img { transform: scale(1.04); }
    .timeline-image .caption { position: absolute; bottom: 0; left: 0; right: 0; color: white; padding: 2rem .8rem .65rem; font-size: .52rem; letter-spacing: .1em; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
    .timeline-marker { position: relative; z-index: 2; justify-self: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); display: grid; place-items: center; font: 700 .76rem var(--sans); color: var(--red); }
    .timeline-text { max-width: 29rem; }
    .chapter-label { color: var(--red); font-size: .61rem; font-weight: 800; display: block; margin-bottom: .8rem; }
    .timeline-text h3 { font: 700 clamp(1.45rem, 2.6vw, 2.5rem)/1.28 var(--serif); letter-spacing: -.035em; margin-bottom: .9rem; }
    .timeline-text p { color: var(--ink-soft); font-size: .85rem; margin-bottom: .75rem; }
    .timeline-text .small-note { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1.1rem; font-size: .67rem; color: #776c5f; font-style: italic; }

    /* Living memories */
    .memories { background: #211e1a; color: var(--paper); overflow: hidden; }
    .memories .section-number { color: var(--gold); }
    .memories .section-title em { color: #d7b66f; }
    .memories .section-deck { color: #c4bcb1; }
    .memory-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.2rem, 7vw, 7rem); align-items: center; }
    .memory-photo { aspect-ratio: 4 / 5; max-height: 640px; position: relative; overflow: hidden; background: #51463b; }
    .memory-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) sepia(.12) contrast(1.08); }
    .memory-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(253,251,247,.3); margin: 12px; pointer-events: none; }
    .memory-photo .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.1rem 1rem; color: #fff; font-size: .55rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
    .memory-copy { padding: 1rem 0; }
    .memory-quote { font: italic 700 clamp(1.8rem, 3.6vw, 3.4rem)/1.4 var(--serif); letter-spacing: -.04em; margin: 0 0 2rem; max-width: 14ch; }
    .memory-quote::before { content: "“"; display: block; color: var(--gold); font-size: 5rem; line-height: .65; font-style: normal; margin-bottom: 1.2rem; }
    .memory-copy p { color: #c4bcb1; font-size: .88rem; max-width: 34rem; }
    .memory-signoff { margin-top: 2.4rem; display: flex; align-items: center; gap: 1rem; color: var(--gold); font-size: .61rem; letter-spacing: .14em; text-transform: uppercase; }
    .memory-signoff::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

    /* Conversion banner */
    .destination { padding: clamp(5rem, 10vw, 9rem) 0; }
    .destination-panel { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: clamp(2.3rem, 5vw, 4.5rem) 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 3rem; align-items: center; }
    .destination h2 { font: 700 clamp(2.4rem, 5.2vw, 5.4rem)/1.12 var(--serif); letter-spacing: -.06em; max-width: 12ch; margin: .8rem 0 1.1rem; }
    .destination h2 em { color: var(--red); }
    .destination-copy > p { color: var(--ink-soft); max-width: 39rem; font-size: .9rem; }
    .destination-action { border-left: 1px solid var(--gold); padding-left: clamp(1.4rem, 3vw, 3rem); }
    .destination-action p { color: var(--ink-soft); font-size: .77rem; margin-bottom: 1.3rem; }
    .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; text-decoration: none; background: var(--red); color: var(--paper); font-size: .64rem; letter-spacing: .1em; font-weight: 800; padding: 1rem 1.1rem 1rem 1.25rem; min-height: 54px; border: 1px solid var(--red); transition: color .25s ease, background .25s ease, transform .25s ease; }
    .button .button-arrow { font-size: 1.15rem; transition: transform .25s ease; }
    .button:hover { color: var(--red); background: transparent; transform: translateY(-2px); }
    .button:hover .button-arrow { transform: translate(3px, -3px); }
    .destination-footnote { display: flex; gap: .7rem; margin-top: 1rem; font-size: .62rem; color: var(--ink-soft); align-items: start; }
    .destination-footnote span:first-child { color: var(--gold); font-size: .85rem; }

    /* Footer */
    .site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding: 2.1rem 0 1.7rem; }
    .footer-top { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
    .footer-description { max-width: 30rem; color: var(--ink-soft); font-size: .72rem; margin: .65rem 0 0; }
    .back-top { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: .35rem; }
    .back-top:hover { color: var(--red); }
    .footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; gap: 1.5rem; justify-content: space-between; align-items: start; color: #726b62; font-size: .61rem; }
    .footer-bottom p { margin: 0; max-width: 54rem; }
    .footer-label { display: block; color: var(--red); font-size: .58rem; font-weight: 800; margin-bottom: .3rem; }
    .back-to-top-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--red); background: var(--paper); text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease; }
    .back-to-top-fab.visible { opacity: 1; visibility: visible; transform: translateY(0); }

    /* Reveal animation: disabled gracefully for reduced-motion users */
    .reveal { opacity: 1; transform: none; }
    .js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
    .js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }

    /* =========================================================
       05. RESPONSIVE BREAKPOINTS
       ========================================================= */
    @media (max-width: 900px) {
      .desktop-nav { gap: 1rem; }
      .nav-link { font-size: .56rem; letter-spacing: .09em; }
      .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(260px, .88fr); gap: 2rem; }
      .timeline-item { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 1.4rem; }
      .destination-panel { grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: 2rem; }
    }
    @media (max-width: 700px) {
      :root { --gutter: 1.15rem; }
      html { scroll-padding-top: 5.2rem; }
      .header-inner { min-height: 66px; }
      .menu-toggle { display: inline-block; }
      .desktop-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .8rem var(--gutter) 1.15rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 28px rgba(0,0,0,.05); flex-direction: column; align-items: stretch; gap: 0; }
      .desktop-nav.open { display: flex; }
      .nav-link { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .65rem; }
      .nav-link::after { display: none; }
      .hero { padding-top: 2rem; }
      .hero-kicker { gap: .65rem; margin-bottom: 1.1rem; }
      .hero-kicker .micro { font-size: .52rem; }
      .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
      h1 { font-size: clamp(2.65rem, 12.5vw, 5rem); max-width: 11ch; }
      .hero-intro { font-size: .91rem; }
      .hero-visual { width: min(100% - .9rem, 28rem); margin-inline: auto; padding-left: .8rem; padding-bottom: 2rem; }
      .hero-photo { aspect-ratio: 4 / 4.2; }
      .hero-sticker { right: -.55rem; width: 104px; }
      .hero-bottom { align-items: start; flex-direction: column; gap: 1.2rem; }
      .section { padding: 4.6rem 0; }
      .section-head { grid-template-columns: 1fr; gap: .85rem; margin-bottom: 2.4rem; }
      .section-number { font-size: .63rem; }
      .section-title { font-size: clamp(2.1rem, 10vw, 3.35rem); }
      .section-deck { font-size: .85rem; }
      .fact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .fact-index .big-question { font-size: 6rem; }
      .fact-index p { max-width: 25rem; }
      .timeline-intro { flex-direction: column; align-items: start; gap: 1rem; }
      .timeline::before { left: 20px; }
      .timeline-item, .timeline-item:nth-child(even) { grid-template-columns: 42px minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0 3.2rem; }
      .timeline-marker { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; align-self: start; }
      .timeline-image, .timeline-item:nth-child(even) .timeline-image { grid-column: 2; grid-row: 1; margin-bottom: 1.5rem; aspect-ratio: 5 / 3.5; }
      .timeline-text, .timeline-item:nth-child(even) .timeline-text { grid-column: 2; grid-row: 2; }
      .timeline-text h3 { font-size: 1.65rem; }
      .memories { padding-block: 4.5rem; }
      .memory-grid { grid-template-columns: 1fr; gap: 2.3rem; }
      .memory-photo { aspect-ratio: 4 / 3.6; max-height: none; }
      .memory-quote { font-size: clamp(1.8rem, 8vw, 2.8rem); }
      .destination-panel { grid-template-columns: 1fr; gap: 2rem; }
      .destination h2 { font-size: clamp(2.5rem, 11vw, 4rem); }
      .destination-action { border-left: 0; border-top: 1px solid var(--gold); padding: 1.5rem 0 0; }
      .button { width: 100%; }
      .footer-top { flex-direction: column; }
      .footer-bottom { flex-direction: column; gap: .7rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .js-reveal .reveal { opacity: 1; transform: none; }
    }
  
/* WordPress article and archive templates */
.wp-content-wrap { width:min(100% - (var(--gutter) * 2), 54rem); margin:clamp(3rem,7vw,6rem) auto; }
.wp-content-wrap h1 { max-width:none; font-size:clamp(2.3rem,5vw,4.5rem); }
.wp-content-wrap .entry-meta { color:var(--ink-soft); font-size:.75rem; margin-bottom:2rem; }
.wp-content-wrap .entry-content { font-size:1rem; line-height:1.9; }
.wp-content-wrap .entry-content img { height:auto; margin:1.5rem 0; }
.post-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.5rem; }
.post-card { padding:1.5rem; border:1px solid var(--line); background:var(--paper); }
.post-card h2 { font:700 1.5rem/1.3 var(--serif); }
.post-card h2 a { text-decoration:none; }
.post-card h2 a:hover { color:var(--red); }
.post-card p { color:var(--ink-soft); }
.post-card .read-more { color:var(--red); font-weight:700; }
.pagination { margin-top:2rem; }

/* =========================================================
   HEADER BRAND — logo ảnh và tên thương hiệu
   ========================================================= */

/* Ẩn logo chữ CV cũ và dòng giới thiệu phụ */
.wordmark-stamp {
  display: none;
}

.wordmark-text span {
  display: none;
}

/* Ảnh logo mới */
.wordmark-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Tên thương hiệu lớn hơn */
.wordmark-text {
  min-width: 0;
  line-height: 1.3;
}

.wordmark-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

/* Điều chỉnh cho máy tính bảng và điện thoại */
@media (max-width: 700px) {
  .wordmark-logo {
    width: 42px;
    height: 42px;
  }

  .wordmark {
    gap: 0.55rem;
  }

  .wordmark-text strong {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .header-inner {
    gap: 0.6rem;
  }
}
