/* ==========================================================================
   drzhangchina.com — global.css (site-wide: tokens, base, buttons, navbar,
   cards, sections, shared components, footer, utilities, motion)
   Color palette: Happy Hues — Palette 7  https://www.happyhues.co/palettes/7
   Elements:  background #fffffe · headline #0e172c · paragraph #0e172c
              button #0e172c · button text #fffffe
   Illustration: stroke #0e172c · main #f9f8fc · highlight #fec7d7
              secondary #d9d4e7 · tertiary #a786df
   Page-specific blocks live in pages.css. Load order: bootstrap → global → pages
   ========================================================================== */
:root {
  /* Happy Hues Palette 7 (https://www.happyhues.co/palettes/7) */
  --hh-background: #fffffe;
  --hh-headline: #0e172c;
  --hh-paragraph: #0e172c;
  --hh-button: #0e172c;
  --hh-button-text: #fffffe;
  --hh-stroke: #0e172c;
  --hh-main: #f9f8fc;
  --hh-highlight: #fec7d7;
  --hh-secondary: #d9d4e7;
  --hh-tertiary: #a786df;

  /* Derived tokens (tints of the palette above) */
  --text-muted: rgba(14, 23, 44, .68);
  --line: rgba(14, 23, 44, .10);
  --highlight-soft: #fff0f4;
  --tertiary-soft: #f1ebfb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(14, 23, 44, .06);
  --shadow-md: 0 14px 36px rgba(14, 23, 44, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--hh-background); color: var(--hh-paragraph); font-family: var(--font-sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { color: var(--hh-headline); font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }
a { color: var(--hh-headline); }
a:hover { color: var(--hh-tertiary); text-decoration: none; }
.text-muted-hh { color: var(--text-muted) !important; }
.zh { font-family: var(--font-sans); font-weight: 400; letter-spacing: .08em; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 56px 0; }
.bg-main { background: var(--hh-main); }
.bg-secondary-soft { background: linear-gradient(180deg, var(--hh-main) 0%, #f3f0f9 100%); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hh-tertiary); margin-bottom: .75rem; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 720px; }
.mx-auto.section-lead { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--hh-button); color: var(--hh-button-text); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: var(--hh-button-text); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; padding: .72rem 1.5rem; font-weight: 600; letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn-hh { background: var(--hh-button); color: var(--hh-button-text); border: 2px solid var(--hh-button); }
.btn-hh:hover, .btn-hh:focus { color: var(--hh-button-text); background: #1d2a4a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 23, 44, .22); }
.btn-outline-hh { border: 2px solid var(--hh-stroke); color: var(--hh-headline); background: transparent; }
.btn-outline-hh:hover, .btn-outline-hh:focus { background: var(--hh-highlight); color: var(--hh-headline); transform: translateY(-2px); }
.btn-sm { padding: .45rem 1rem; font-size: .88rem; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hh-highlight); transition: border-color .25s; }
.link-arrow i { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--hh-tertiary); color: var(--hh-headline); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(255, 255, 254, .82); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; padding: 18px 0; transition: padding .3s var(--ease), border-color .3s, box-shadow .3s; }
.site-nav.is-scrolled { padding: 10px 0; border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.navbar-brand { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--hh-headline) !important; line-height: 1.1; }
.navbar-brand small { display: block; font-family: var(--font-sans); font-size: .7rem; font-weight: 500; letter-spacing: .18em; color: var(--text-muted); text-transform: uppercase; }
.site-nav .nav-link { color: var(--hh-headline) !important; font-weight: 500; margin: 0 .5rem; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .3rem; height: 2px; background: var(--hh-tertiary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { outline: 2px solid var(--hh-tertiary); }
.toggler-bar { display: block; width: 24px; height: 2px; background: var(--hh-headline); margin: 5px 0; border-radius: 2px; }

/* ---------- Generic cards ---------- */
.card-hh { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card-hh:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-hh h3 { font-size: 1.4rem; margin: .9rem 0 .5rem; }
.card-hh p { color: var(--text-muted); margin-bottom: 0; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--highlight-soft); color: var(--hh-headline); transition: background-color .3s, transform .3s var(--ease); }
.card-hh:hover .icon-badge { background: var(--hh-highlight); transform: rotate(-6deg); }
.icon-badge.alt { background: var(--tertiary-soft); }
.card-hh .card-tags { margin-top: 1rem; font-size: .8rem; color: var(--hh-tertiary); font-weight: 600; letter-spacing: .04em; }

/* ---------- About ---------- */
.img-rounded { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--hh-secondary); }
.img-rounded img { width: 100%; display: block; transition: transform .8s var(--ease); }
.img-rounded:hover img { transform: scale(1.04); }
.about-stack { position: relative; }
.about-stack .img-small { position: absolute; right: -18px; bottom: -36px; width: 46%; border: 6px solid #fff; }
.quote { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.35; border-left: 3px solid var(--hh-highlight); padding-left: 1.1rem; margin: 1.6rem 0; color: var(--hh-headline); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.8rem; position: relative; margin-bottom: .55rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--hh-tertiary); }

/* ---------- Journey steps ---------- */
.steps { counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 24px; border: 1px solid var(--line); height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--hh-button); color: var(--hh-button-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .95rem; color: var(--text-muted); margin-bottom: 0; }
.step .where { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--hh-tertiary); font-weight: 600; }

/* ---------- Travel info ---------- */
.info-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); height: 100%; }
.info-card h3 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.info-card h3 i { color: var(--hh-tertiary); }
.info-card ul { padding-left: 1.1rem; color: var(--text-muted); }
.info-card ul li { margin-bottom: .45rem; }
.verify-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--highlight-soft); color: var(--hh-headline); border: 1px dashed #f19ab4; border-radius: 999px; font-size: .8rem; font-weight: 600; padding: .3rem .8rem; }
.sources { font-size: .8rem; color: var(--text-muted); }
.sources a { color: var(--text-muted); text-decoration: underline; }
.taxi-card { background: var(--hh-button); color: var(--hh-button-text); border-radius: var(--radius); padding: 28px; height: 100%; }
.taxi-card h3 { color: var(--hh-button-text); font-size: 1.3rem; }
.taxi-card .zh-address { font-size: 1.45rem; line-height: 1.5; font-weight: 600; letter-spacing: .03em; margin: .8rem 0; }
.taxi-card .en-address { opacity: .8; font-size: .92rem; }
.taxi-card .btn-light { border-radius: 999px; font-weight: 600; }
.tz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: .6rem; }
.tz { background: var(--hh-main); border-radius: var(--radius-sm); padding: .7rem .8rem; }
.tz b { display: block; font-family: var(--font-serif); font-size: 1.25rem; }
.tz span { font-size: .8rem; color: var(--text-muted); }

/* ---------- Placeholder images ---------- */
.img-placeholder { position: relative; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--hh-main) 0 14px, #f1eef8 14px 28px); border: 1.5px dashed var(--hh-secondary); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-muted); font-size: .85rem; padding: 1.2rem; overflow: hidden; }
.img-placeholder i { font-size: 1.8rem; color: var(--hh-tertiary); display: block; margin-bottom: .4rem; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* ---------- Training & certifications (text-first, no certificate images) ---------- */
.cred-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); max-width: 420px; margin-left: auto; margin-right: auto; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cred-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cred-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cred-card figcaption { padding: 1.5rem 1.75rem 1.75rem; }
.cred-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--hh-headline); line-height: 1.2; }
.cred-name .zh { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: .25rem; }
.cred-role { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hh-tertiary); margin: .35rem 0 1rem; }
.cred-facts { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.cred-facts li { font-size: .92rem; color: var(--hh-paragraph); padding: .3rem 0 .3rem 1.1rem; position: relative; }
.cred-facts li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--hh-highlight); }
.cred-list { list-style: none; padding: 0; margin: 1.5rem 0 1rem; border-top: 1px solid var(--line); }
.cred-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cred-list .org { grid-row: 1; grid-column: 1; font-weight: 600; color: var(--hh-headline); font-size: .98rem; }
.cred-list .yr { grid-row: 1; grid-column: 2; font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--hh-tertiary); white-space: nowrap; text-align: right; }
.cred-list .what { grid-row: 2; grid-column: 1 / -1; color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
#credentials .cred-note { font-size: .8rem; color: var(--text-muted); margin-bottom: 1.1rem; }

/* ---------- Events ---------- */
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card .img-wrap { overflow: hidden; }
.event-card img { width: 100%; display: block; transition: transform .8s var(--ease); }
.event-card:hover img { transform: scale(1.04); }
.event-date { display: inline-block; background: var(--hh-highlight); border-radius: 999px; padding: .2rem .8rem; font-size: .8rem; font-weight: 700; }

/* ---------- Clinic ---------- */
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--hh-secondary); aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clinic-thumbs img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.clinic-thumbs .col-4 > div { overflow: hidden; border-radius: var(--radius-sm); }
.clinic-thumbs .col-4 > div:hover img { transform: scale(1.06); }

/* ---------- FAQ ---------- */
.faq .card { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .card-header { background: #fff; border: 0; padding: 0; }
.faq .btn-faq { width: 100%; text-align: left; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--hh-headline); display: flex; justify-content: space-between; align-items: center; border-radius: 0; background: #fff; transition: background-color .25s; }
.faq .btn-faq:hover { background: var(--hh-main); transform: none; box-shadow: none; }
.faq .btn-faq i { transition: transform .3s var(--ease); }
.faq .btn-faq[aria-expanded="true"] i { transform: rotate(45deg); }
.faq .card-body { color: var(--text-muted); padding: 0 1.3rem 1.2rem; }
.tbd { display: inline-block; background: var(--hh-secondary); color: var(--hh-headline); border-radius: 6px; padding: 0 .45rem; font-size: .8rem; font-weight: 600; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .img-placeholder { border-radius: 0; border: 0; border-bottom: 1.5px dashed var(--hh-secondary); }
.post-card .body { padding: 22px; }
.post-card h3 { font-size: 1.25rem; }
.post-tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hh-tertiary); }

/* ---------- Contact ---------- */
.contact-wrap { background: #fff; border-radius: 28px; box-shadow: var(--shadow-md); overflow: hidden; }
.contact-side { background: linear-gradient(160deg, var(--hh-highlight) 0%, var(--hh-secondary) 100%); padding: 40px; height: 100%; }
.contact-main { padding: 40px; }
.qr-box { background: #fff; border-radius: var(--radius-sm); padding: 14px; display: inline-block; box-shadow: var(--shadow-sm); }
.qr-box img { width: 190px; height: auto; display: block; }
.contact-row { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.contact-row i { font-size: 1.25rem; color: var(--hh-tertiary); margin-top: .15rem; }
.contact-row b { display: block; color: var(--hh-headline); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hh-main); padding: 56px 0 28px; font-size: .9rem; color: var(--text-muted); border-top: 1px solid var(--line); }
.site-footer h4 { font-size: 1.25rem; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--hh-headline); }
.disclaimer { background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; border-left: 3px solid var(--hh-tertiary); font-size: .85rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--hh-button); color: var(--hh-button-text); border: 0; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; z-index: 1030; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--hh-tertiary); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .site-nav .navbar-collapse { background: #fff; border-radius: var(--radius-sm); padding: 12px; margin-top: 10px; box-shadow: var(--shadow-md); }
}
@media (max-width: 575.98px) {
  .section { padding: 60px 0; }
  .contact-side, .contact-main { padding: 28px 22px; }
  .taxi-card .zh-address { font-size: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}


/* Fixes after screenshot review (2026-11-22) */
.site-nav.navbar > .container { padding-left: 15px; padding-right: 15px; }
.site-footer .footer-label { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.section-head { column-gap: 1.5rem; row-gap: .5rem; }

/* ==========================================================================
   Site-wide additions (v2, 2026-11-22): accessibility, inner-page shell,
   breadcrumbs, prose, CTA band, forms, chips, lightbox
   ========================================================================== */
img, video { max-width: 100%; height: auto; } /* intrinsic width/height attributes reserve space without distorting */
:root { --accent-ink: #6a48b8; /* darker tertiary for small text: 6.3:1 on #fffffe */ }
.eyebrow, .post-tag { color: var(--accent-ink); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--hh-tertiary); outline-offset: 2px; }
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(167, 134, 223, .45); outline: 0; }
.site-nav .nav-link.active { font-weight: 600; }
.site-nav .nav-link:focus-visible { outline-offset: 4px; border-radius: 4px; }

/* Inner-page hero (shared shell, each page varies its content) */
.page-hero { padding: 150px 0 64px; background: radial-gradient(900px 420px at 90% 0%, var(--highlight-soft) 0%, rgba(255,240,244,0) 60%), radial-gradient(700px 420px at 0% 100%, var(--tertiary-soft) 0%, rgba(241,235,251,0) 60%), var(--hh-background); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; margin-bottom: .75rem; }
.page-hero .lead { color: var(--text-muted); font-size: 1.15rem; max-width: 680px; }
.page-hero.compact { padding-bottom: 40px; }
.breadcrumb-hh { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; color: var(--text-muted); }
.breadcrumb-hh li + li::before { content: "/"; padding: 0 .55rem; color: var(--hh-secondary); }
.breadcrumb-hh a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.breadcrumb-hh a:hover { color: var(--hh-headline); border-color: var(--hh-tertiary); }
.breadcrumb-hh [aria-current] { color: var(--hh-headline); }

/* Long-form text */
.prose { font-size: 1.06rem; max-width: 720px; }
.prose h2 { font-size: 1.95rem; margin: 2.6rem 0 .9rem; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15rem; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; text-decoration-color: var(--hh-tertiary); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--hh-highlight); padding: .4rem 0 .4rem 1.2rem; font-family: var(--font-serif); font-size: 1.35rem; color: var(--hh-headline); margin: 1.8rem 0; }
.prose > :first-child { margin-top: 0; }

/* Call-to-action band */
.cta-band { background: linear-gradient(120deg, var(--hh-highlight) 0%, var(--hh-secondary) 100%); border-radius: 28px; padding: 48px 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .35rem; }
.cta-band p { margin: 0; max-width: 560px; }

/* Forms */
.form-hh label { font-weight: 600; font-size: .9rem; color: var(--hh-headline); margin-bottom: .35rem; }
.form-hh .form-control, .form-hh .custom-select { border-radius: var(--radius-sm); border: 1.5px solid var(--hh-secondary); min-height: 48px; color: var(--hh-headline); background-color: #fff; transition: border-color .2s, box-shadow .2s; }
.form-hh textarea.form-control { min-height: 130px; }
.form-hh .form-control:focus, .form-hh .custom-select:focus { border-color: var(--hh-tertiary); box-shadow: 0 0 0 4px rgba(167, 134, 223, .2); }
.form-hh .form-text { color: var(--text-muted); }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; background: var(--highlight-soft); border: 1px solid var(--hh-highlight); font-size: .92rem; }
.form-status[hidden] { display: none; }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid var(--hh-secondary); background: #fff; color: var(--hh-headline); border-radius: 999px; padding: .38rem .95rem; font-size: .86rem; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s var(--ease); cursor: pointer; }
.chip:hover { border-color: var(--hh-tertiary); color: var(--hh-headline); transform: translateY(-1px); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--hh-button); border-color: var(--hh-button); color: var(--hh-button-text); }

/* Small shared pieces */
.meta-line { font-size: .88rem; color: var(--text-muted); }
.meta-line span + span::before { content: "·"; padding: 0 .5rem; }
.note-box { background: var(--hh-main); border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid var(--line); font-size: .92rem; }
.review-banner { background: var(--highlight-soft); border: 1px dashed var(--hh-highlight); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

/* Lightbox (Bootstrap modal) */
.lightbox .modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.lightbox .modal-body { background: var(--hh-main); padding: 12px; text-align: center; }
.lightbox .modal-body img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox .modal-header { border-bottom: 1px solid var(--line); }
.lightbox .modal-title { font-size: 1.15rem; }
.lightbox .close { opacity: .8; }

/* Footer v2 */
.site-footer .footer-links li { margin-bottom: .35rem; }
.site-footer address { font-style: normal; }

@media (max-width: 575.98px) {
  .page-hero { padding: 116px 0 44px; }
  .cta-band { padding: 32px 24px; }
}

/* ---------- Editorial images (merged from the live /app.css, 2026-11-22) ---------- */
.generated-image { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.generated-image.ratio-16x10 { aspect-ratio: 16 / 10; }
.generated-image.ratio-4x3 { aspect-ratio: 4 / 3; }
.generated-image.ratio-21x9 { aspect-ratio: 21 / 9; }
.generated-figure { margin: 0; }
.generated-caption { margin-top: .5rem; margin-bottom: 0; font-size: .75rem; line-height: 1.5; color: var(--text-muted); }
.post-card .generated-image { border-radius: 0; }
.generated-image.ratio-2x1 { aspect-ratio: 2 / 1; }

/* ---------- SEO 2026-11-22: six-item main nav ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .nav-link { margin: 0 .1rem; font-size: .92rem; padding-left: .45rem !important; padding-right: .45rem !important; }
  .site-nav .nav-link::after { left: .45rem; right: .45rem; }
  .navbar-brand { font-size: 1.25rem; }
  .navbar-brand small { letter-spacing: .12em; font-size: .64rem; }
  .site-nav .btn-sm { padding-left: .7rem; padding-right: .7rem; }
}
@media (max-width: 991.98px) {
  .site-nav .navbar-nav .nav-link { margin: 0; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
  .site-nav .navbar-nav .nav-item:nth-last-child(2) .nav-link { border-bottom: 0; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .navbar-nav .nav-link.active { color: var(--hh-tertiary) !important; }
  .site-nav .navbar-nav .btn { display: block; width: 100%; margin-top: .4rem; }
  .site-nav .navbar-nav .nav-item.ml-lg-3 { margin-left: 0; }
}
@media (max-width: 380px) { .navbar-brand small { letter-spacing: .1em; } }
/* trademark / product note after the first mention of Botox */
.tm-note { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* Keep off-canvas scroll animations from widening the mobile layout viewport */
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* Language switch (EN ⇄ 中文) */
.nav-lang .lang-switch { white-space: nowrap; }
.nav-lang .lang-switch .bi { margin-right: .2rem; }
@media (min-width: 992px) {
  .nav-lang .lang-switch { border: 1px solid var(--hh-secondary, #d9d4e7); border-radius: 999px; padding: .3rem .8rem !important; margin-left: .35rem; font-size: .85rem; }
  .nav-lang .lang-switch:hover, .nav-lang .lang-switch:focus { border-color: var(--accent-ink); }
}

/* Chinese pages (/cn/): CJK font stack, calmer letter-spacing, roomier line-height */
html[lang="zh-CN"] body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", var(--font-sans), sans-serif; line-height: 1.8; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3, html[lang="zh-CN"] .h1, html[lang="zh-CN"] .h2, html[lang="zh-CN"] .h3, html[lang="zh-CN"] .section-title, html[lang="zh-CN"] .prose blockquote {
  font-family: var(--font-serif), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif; letter-spacing: .02em; line-height: 1.35; }
html[lang="zh-CN"] .eyebrow, html[lang="zh-CN"] .post-tag, html[lang="zh-CN"] .navbar-brand small { letter-spacing: .08em; }
html[lang="zh-CN"] .lead { line-height: 1.85; }
html[lang="zh-CN"] .navbar-brand { word-break: keep-all; }

/* Laptop widths (992–1199px): keep the 7 nav items + CTA on one line */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .navbar-nav .nav-link { white-space: nowrap; padding-left: .42rem !important; padding-right: .42rem !important; font-size: .9rem; }
  .site-nav .navbar-nav .nav-item.ml-lg-3 { margin-left: .5rem !important; }
  .site-nav .navbar-nav .btn-sm { white-space: nowrap; padding-left: .8rem; padding-right: .8rem; }
  .nav-lang .lang-switch { padding: .25rem .6rem !important; margin-left: .2rem; }
  .nav-lang .lang-switch .bi { display: none; }
}

/* ---------- Nav 2026-11-22 (v9): Treatments dropdown; one line at every desktop width ---------- */
@media (min-width: 992px) {
  .site-nav .navbar-nav { flex-wrap: nowrap; }
  .site-nav .navbar-nav .nav-link, .site-nav .navbar-nav .btn { white-space: nowrap; }
  .navbar-brand { white-space: nowrap; }
  .nav-dd { position: relative; }
  .nav-dd .dropdown-menu { top: 100%; left: -.4rem; margin-top: .45rem; min-width: 15.5rem; padding: .45rem; border: 1px solid var(--line, #ece9f3); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(14, 23, 44, .28); background: #fffffe; }
  .nav-dd .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; } /* hover bridge */
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand { font-size: 1.15rem; }
  .navbar-brand small { font-size: .6rem; letter-spacing: .1em; }
}
.nav-dd .nav-dd-toggle .bi-chevron-down { display: inline-block; font-size: .68em; margin-left: .15rem; vertical-align: .08em; transition: transform .2s ease; }
.nav-dd.show .nav-dd-toggle .bi-chevron-down { transform: rotate(180deg); }
.nav-dd .dropdown-item { border-radius: 9px; padding: .5rem .8rem; font-size: .92rem; font-weight: 500; color: var(--hh-headline); white-space: nowrap; }
.nav-dd .dropdown-item:hover, .nav-dd .dropdown-item:focus { background: var(--tertiary-soft, #f1ebfb); color: var(--accent-ink); }
.nav-dd .dropdown-item.active, .nav-dd .dropdown-item:active { background: var(--tertiary-soft, #f1ebfb); color: var(--accent-ink); font-weight: 600; }
.nav-dd .dropdown-item-all { color: var(--accent-ink); font-weight: 600; }
.nav-dd .dropdown-item-all .bi { font-size: .85em; margin-left: .2rem; }
.nav-dd .dropdown-divider { margin: .35rem .4rem; border-color: var(--line, #ece9f3); }
@media (max-width: 991.98px) {
  .nav-dd .dropdown-menu { position: static; float: none; border: 0; box-shadow: none; background: transparent; margin: 0; padding: .1rem 0 .5rem .9rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-dd.show > .nav-dd-toggle { border-bottom-color: transparent; }
  .nav-dd .dropdown-item { white-space: normal; padding: .55rem .5rem; font-size: .95rem; }
  .nav-dd .dropdown-divider { display: none; }
}
@media (hover: hover) and (min-width: 992px) {
  .nav-dd:hover > .nav-dd-toggle::after { transform: scaleX(1); }
}
.nav-dd .nav-dd-toggle:focus:not(:focus-visible) { outline: 0; box-shadow: none; }
