/* YIMING AIR — site-wide visual unification V2 (2026-11-12)
   Canonical reference: the homepage. Every page now shares the homepage's
   type system, radii, button colour, ticker treatment, section rhythm and
   card/table/form styling. CSS only; reversible by removing this file.
   Design basis: IBM structure + Stripe typographic discipline, aligned to the
   existing homepage implementation. */

:root {
  --vr-ink: #10283d;          /* homepage heading ink */
  --vr-ink-2: #33475c;        /* body ink */
  --vr-muted: #626268;        /* homepage secondary text */
  --vr-muted-2: #5c7085;      /* supporting meta */
  --vr-canvas: #ffffff;
  --vr-soft: #f5f8fb;
  --vr-softer: #eef3f8;
  --vr-line: #e5e9ef;
  --vr-line-strong: #cfd9e4;
  --vr-accent: #1468a8;       /* homepage primary button */
  --vr-accent-dark: #0f557f;
  --vr-blue: #1f63c4;         /* link / active nav / focus */
  --vr-navy: #0d2742;
  --vr-gold: #c39a5a;
  --vr-radius: 4px;           /* homepage controls are square-ish */
  --vr-radius-lg: 6px;
  --vr-radius-sm: 4px;
  --vr-shadow-1: 0 1px 2px rgba(15, 36, 56, .05);
  --vr-shadow-2: 0 10px 28px -14px rgba(15, 36, 56, .28);
  --vr-ease: cubic-bezier(.2, .6, .2, 1);
  --vr-display: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  --vr-body: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --vr-mono: "IBM Plex Mono", "Courier New", monospace;
}

/* ---------- Base ----------------------------------------------------------- */
body {
  font-family: var(--vr-body);
  color: var(--vr-ink-2);
  font-size: 15.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(20, 104, 168, .14); color: var(--vr-ink); }

/* ---------- Ticker: identical to the homepage ------------------------------ */
body .notice.ticker {
  background: #fff !important;
  color: var(--vr-ink) !important;
  border-bottom: 1px solid var(--vr-line) !important;
}

body .notice.ticker .ticker-group { color: var(--vr-ink) !important; }

body .notice.ticker .ticker-dot { color: #b8c2cf !important; }

body .notice.ticker .ticker-toggle,
body .notice.ticker .ticker-sitemap { color: var(--vr-ink-2) !important; }

/* ---------- Type system (homepage: Barlow display + IBM Plex Mono eyebrows) -- */
body h1,
body h2,
body .section-head h2,
body .tab-panel h2,
body .article-body h2,
body .policy-article h2,
body .policy-block h2,
body .compliance-overview h2,
body .buying-guides-page h2,
body .blog-index-page h2,
body .page-hero h1,
body .hero-v2 h1,
body footer h4 {
  font-family: var(--vr-display);
  font-weight: 600;
  letter-spacing: -.035em;
}

body h1, body .page-hero h1, body .hero-v2 h1 {
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--vr-ink);
}

body h2,
body .section-head h2,
body .tab-panel h2,
body .compliance-overview h2 { font-size: clamp(28px, 2.8vw, 38px); }

body h3 { font-family: var(--vr-display); font-weight: 600; letter-spacing: -.025em; }

/* Card titles stay in the homepage's UI face */
body .card h3,
body .article-card h3,
body .buyer-card h3,
body .team-card h3 {
  font-family: var(--vr-body);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.4px;
  color: var(--vr-ink);
  line-height: 1.35;
}

body .eyebrow,
body .tag,
body .feedback-kicker,
body .guide-kicker {
  font-family: var(--vr-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vr-blue);
}

body .subtext,
body .lead,
body .mq-lead,
body .policy-lead,
body .buying-hero p,
body .industry-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vr-muted);
  max-width: 66ch;
}

body .article-body p,
body .policy-article p,
body .policy-block p,
body .tab-panel p,
body .info-box p {
  color: var(--vr-ink-2);
  line-height: 1.75;
}

body .article-body p,
body .policy-article p { max-width: 72ch; }

/* Hero copy width: prevents headlines running over banner imagery */
body .page-hero { max-width: min(100%, 720px); }
body section.page-hero { max-width: none; }

body .page-hero h1 { text-wrap: balance; }

body .card p,
body .article-card p,
body .buyer-card p { color: var(--vr-muted); }

/* ---------- Rhythm (homepage 56px band rhythm) ----------------------------- */
body .section,
body .factory-intro,
body .factory-proof,
body .factory-glimpse {
  padding-block: clamp(56px, 6vw, 88px);
}

body .section-head { margin-bottom: clamp(22px, 3vw, 34px); }

body .card-grid,
body .blog-grid,
body .faq-grid { gap: clamp(16px, 2vw, 24px); }

/* ---------- Buttons: homepage square controls ------------------------------ */
body .btn,
body .wp-element-button,
body .inquiry-cta-button,
body .sp-form button[type="submit"],
body form button[type="submit"] {
  border-radius: var(--vr-radius) !important;
  min-height: 48px;
  padding: 12px 20px;
  font-family: var(--vr-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  background: var(--vr-accent) !important;
  border: 1px solid var(--vr-accent) !important;
  color: #fff !important;
  box-shadow: none;
  transition: background-color .18s var(--vr-ease), border-color .18s var(--vr-ease), transform .18s var(--vr-ease), box-shadow .18s var(--vr-ease);
}

body .btn:hover,
body .wp-element-button:hover,
body .inquiry-cta-button:hover,
body .sp-form button[type="submit"]:hover {
  background: var(--vr-accent-dark) !important;
  border-color: var(--vr-accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(15, 85, 127, .6);
}

body .btn.light,
body .btn.secondary,
body .wp-element-button.is-style-outline {
  background: #fff !important;
  color: var(--vr-ink) !important;
  border-color: var(--vr-line-strong) !important;
}

body .btn.light:hover {
  background: var(--vr-soft) !important;
  border-color: var(--vr-accent) !important;
}

/* ---------- Cards: homepage flat 4px cards --------------------------------- */
body .card,
body .article-card,
body .buyer-card,
body .team-card,
body .testimonial-card,
body .policy-block,
body .info-box {
  background: #fff;
  border: 1px solid var(--vr-line);
  border-radius: var(--vr-radius) !important;
  box-shadow: none;
  transition: transform .2s var(--vr-ease), box-shadow .2s var(--vr-ease), border-color .2s var(--vr-ease);
}

body a.card:hover,
body a.article-card:hover,
body .card:hover {
  border-color: var(--vr-line-strong);
  box-shadow: var(--vr-shadow-2);
  transform: translateY(-2px);
}

body .card .media img,
body .article-card .media img,
body .buyer-card .media img { border-radius: 2px; object-fit: cover; }

/* ---------- Specs / tables -------------------------------------------------- */
body .mini-spec {
  background: var(--vr-soft);
  border: 1px solid var(--vr-line);
  border-radius: var(--vr-radius-lg);
  padding: 4px 18px;
}

body .mini-spec > div,
body .mini-spec div { border-bottom: 1px solid var(--vr-line); }

body .mini-spec div:last-child { border-bottom: 0; }

body .mini-spec span {
  font-family: var(--vr-mono);
  color: var(--vr-muted-2);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body .mini-spec b { color: var(--vr-ink); font-weight: 600; }

body table { border-collapse: collapse; width: 100%; }

body table th {
  background: var(--vr-softer);
  color: var(--vr-ink);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--vr-line);
}

body table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--vr-line);
  color: var(--vr-ink-2);
}

body table tr:nth-child(even) td { background: #fbfcfe; }

/* ---------- Forms ----------------------------------------------------------- */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="url"],
body input[type="number"],
body textarea,
body select {
  border: 1px solid var(--vr-line-strong);
  border-radius: var(--vr-radius-sm);
  padding: 12px 14px;
  font-family: var(--vr-body);
  font-size: 15px;
  color: var(--vr-ink);
  background: #fff;
  transition: border-color .15s var(--vr-ease), box-shadow .15s var(--vr-ease);
}

body input:focus,
body textarea:focus,
body select:focus {
  border-color: var(--vr-blue);
  box-shadow: 0 0 0 3px rgba(31, 99, 196, .14);
  outline: none;
}

body label { color: var(--vr-ink); font-weight: 550; }

/* ---------- Header / navigation (homepage sticky bar) ---------------------- */
body header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--vr-line);
}

body .header-row { min-height: 72px; padding-block: 8px; }

body .nav .nav-link,
body .nav summary { color: var(--vr-ink-2); font-weight: 550; transition: color .15s var(--vr-ease); }

body .nav .nav-link:hover,
body .nav summary:hover,
body .nav .nav-link.selected,
body .nav summary.selected { color: var(--vr-blue); }

body .nav .nav-link { position: relative; }

body .nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--vr-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--vr-ease);
}

body .nav .nav-link:hover::after,
body .nav .nav-link.selected::after { transform: scaleX(1); }

body .menu,
body .mega {
  border-radius: var(--vr-radius-lg);
  border: 1px solid var(--vr-line);
  box-shadow: var(--vr-shadow-2);
}

/* ---------- Footer ---------------------------------------------------------- */
body footer { background: linear-gradient(180deg, #0d2742 0%, #0a1e33 100%); }

body footer a { color: rgba(234, 244, 255, .82); transition: color .15s var(--vr-ease); }

body footer a:hover { color: #fff; }

body footer .brand-logo { filter: brightness(0) invert(1); opacity: .95; }

/* ---------- CTA band -------------------------------------------------------- */
body .inquiry-cta {
  background: radial-gradient(1200px 380px at 12% 20%, #1b4a7a 0%, #0d2742 58%, #0a1e33 100%);
  border-radius: var(--vr-radius-lg);
}

/* ---------- Small UI -------------------------------------------------------- */
body .crumb,
body .reference-crumb { color: var(--vr-muted-2); font-size: 12.5px; }

body .crumb a:hover { color: var(--vr-blue); }

body .text-link,
body .mq-text-link { font-weight: 600; color: var(--vr-blue); }

/* ---------- Accessibility --------------------------------------------------- */
body :focus-visible {
  outline: 2px solid var(--vr-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

body .skip-to-content:focus {
  position: fixed;
  left: 16px; top: 16px;
  background: var(--vr-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--vr-radius);
  z-index: 10001;
}

@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Mobile ---------------------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  body h1 { overflow-wrap: anywhere; }
  body .detail-copy h1 { font-size: clamp(28px, 7.4vw, 34px) !important; }
  body .page-hero h1 { font-size: clamp(28px, 7vw, 36px) !important; }
  body .compliance-banner .page-hero-inner h1 { font-size: clamp(28px, 6.6vw, 34px) !important; }
  body .crumb { flex-wrap: wrap; row-gap: 4px; white-space: normal; min-width: 0; }
  body .page-hero h1,
  body .hero-v2 h1 { letter-spacing: -.02em; }
  body .subtext, body .lead, body .mq-lead { font-size: 15.5px; }
  body .btn,
  body .inquiry-cta-button,
  body .sp-form button[type="submit"] { width: 100%; justify-content: center; }
  body .mini-spec { padding: 4px 14px; }
}

/* Custom-manufacturing hero: replace the orange primary action with the site blue */
body .custom-manufacturing-hero .studio-action.primary,
body .project-hero .studio-action.primary {
  background: var(--vr-accent) !important;
  border-color: var(--vr-accent) !important;
  color: #fff !important;
  border-radius: var(--vr-radius) !important;
}
body .custom-manufacturing-hero .studio-action.primary:hover,
body .project-hero .studio-action.primary:hover {
  background: var(--vr-accent-dark) !important;
  border-color: var(--vr-accent-dark) !important;
}

/* Secondary action in the custom-manufacturing hero: white outline to pair with the blue primary */
body .custom-manufacturing-hero .studio-action:not(.primary) {
  background: #fff !important;
  border: 1px solid var(--vr-line-strong) !important;
  color: var(--vr-ink) !important;
  border-radius: var(--vr-radius) !important;
}
body .custom-manufacturing-hero .studio-action:not(.primary):hover {
  background: var(--vr-soft) !important;
  border-color: var(--vr-accent) !important;
  color: var(--vr-ink) !important;
}

/* Studio actions (OEM/ODM guide + custom manufacturing): one blue primary, white outline secondary */
body .studio-action.primary {
  background: var(--vr-accent) !important;
  border: 1px solid var(--vr-accent) !important;
  color: #fff !important;
  border-radius: var(--vr-radius) !important;
  padding: 12px 20px !important;
  min-height: 48px;
  font-weight: 500;
}
body .studio-action.primary:hover {
  background: var(--vr-accent-dark) !important;
  border-color: var(--vr-accent-dark) !important;
}
body :is(.studio-actions, .guide-actions) .studio-action {
  border-radius: var(--vr-radius) !important;
  padding: 12px 20px !important;
  min-height: 48px;
  border: 1px solid transparent;
}
body :is(.studio-actions, .guide-actions) .studio-action:not(.primary) {
  background: #fff !important;
  border-color: var(--vr-line-strong) !important;
  color: var(--vr-ink) !important;
}
body :is(.studio-actions, .guide-actions) .studio-action:not(.primary):hover {
  background: var(--vr-soft) !important;
  border-color: var(--vr-accent) !important;
}

/* Hero breadcrumbs on dark photo heroes: white for contrast */
body .mq-hero .crumb,
body .mq-hero .crumb a,
body .mq-hero .crumb span { color: #fff !important; opacity: .92; }

/* About page factory overview: cancel the inherited 84px top offset that broke alignment */
body .factory-overview-heading,
body .factory-overview-copy { top: 0 !important; }

/* About factory overview: width/height attributes must not override the 4:3 crop */
body .factory-overview-photo > img {
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Homepage "Choose your project path" cards: stronger hierarchy and equal rhythm */
body .section .buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
}
body .buyer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 252px;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--vr-line);
  border-radius: var(--vr-radius-lg);
  box-shadow: none;
  transition: border-color .2s var(--vr-ease), box-shadow .2s var(--vr-ease), transform .2s var(--vr-ease);
}
body .buyer-card:hover {
  border-color: var(--vr-line-strong);
  box-shadow: var(--vr-shadow-2);
  transform: translateY(-2px);
}
body .buyer-card .num {
  display: inline-flex !important;
  font-family: var(--vr-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--vr-blue);
  opacity: .9;
  margin: 0;
}
body .buyer-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--vr-ink);
}
body .buyer-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--vr-muted);
}
body .buyer-card a {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vr-blue);
  text-decoration: none;
}
body .buyer-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
body .section-centered { max-width: 720px; margin-inline: auto; }
body .section-centered .eyebrow { margin-bottom: 12px; }
@media (max-width: 900px) {
  body .section .buyer-grid { grid-template-columns: 1fr; max-width: 620px; }
  body .buyer-card { min-height: 0; }
}

/* Homepage project-path cards: centred copy */
body .buyer-card {
  align-items: center;
  text-align: center;
}
body .buyer-card .num { justify-content: center; }
body .buyer-card a { align-self: center; }

/* Homepage project-path cards: centre the whole copy block vertically and horizontally */
body .buyer-card {
  justify-content: center;
  padding-block: 32px 28px;
}
body .buyer-card a {
  margin-top: 0;
  align-self: center;
}

/* Homepage project-path cards: proof line */
body .buyer-proof {
  margin: 0;
  font-family: var(--vr-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--vr-muted-2);
  opacity: .9;
}
body .section-centered .subtext { margin: 14px auto 0; }

/* Keep the three project-path cards on the same row grid */
body .buyer-card h3 { min-height: 2.55em; display: flex; align-items: center; justify-content: center; }
body .buyer-card p:not(.buyer-proof) { min-height: 3.3em; }
body .buyer-proof { min-height: 1.5em; white-space: nowrap; }

/* Process flow: refine the original staggered six-step design */
@media (min-width: 601px) {
  body .factory-flow .flow-grid { position: relative; }
  body .factory-flow .flow-icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--vr-line);
    border-radius: 12px;
    background: #fff;
    color: var(--vr-blue);
    box-shadow: 0 8px 20px -16px rgba(15, 36, 56, .45);
    transition: border-color .2s var(--vr-ease), transform .2s var(--vr-ease), box-shadow .2s var(--vr-ease);
  }
  body .factory-flow .flow-icon svg { color: currentColor; stroke-width: 2; }
  body .factory-flow .flow-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--vr-blue);
    color: #fff;
    font: 600 11px/1 var(--vr-body);
    top: -10px;
    left: -10px;
    box-shadow: 0 3px 8px rgba(31, 99, 196, .35);
  }
  body .factory-flow .flow-step h3 {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--vr-ink);
    min-height: 2.7em;
    margin: 0 0 8px;
  }
  body .factory-flow .flow-step p:not(.flow-number) {
    font-size: 13px;
    line-height: 1.7;
    color: var(--vr-muted);
    min-height: 4.8em;
  }
  body .factory-flow .flow-step:hover .flow-icon {
    border-color: var(--vr-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(15, 85, 127, .5);
  }
}
@media (min-width: 1001px) {
  body .factory-flow .flow-step:not(:last-child)::after { display: none !important; }
  body .factory-flow .flow-step { z-index: 1; }
}

/* Process flow: pure white background instead of the light blue band */
body .factory-flow { background: #fff !important; }

/* Process flow: force pure white on the section (id beats page-level !important) */
body #cooperation-process,
body .factory-flow { background: #ffffff !important; }
body #cooperation-process::before,
body .factory-flow::before { background: transparent !important; }

/* Partner strip: English wordmarks with a logo-like display treatment */
body .partners-track .partner-wordmark {
  font-family: var(--vr-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5b6b7c;
  opacity: .88;
  line-height: 1;
  white-space: nowrap;
}
body .partners-track li:hover .partner-wordmark { opacity: 1; color: var(--vr-ink); }

body .partners-track .partner-wordmark--serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: .04em;
}
body .partners-track .partner-wordmark--mono {
  font-family: var(--vr-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
}

/* Partner strip: optical sizing for mixed logo aspect ratios */
body .partners-track li { width: clamp(124px, 12vw, 168px); }
body .partners-track img {
  width: auto;
  height: auto;
  max-width: 144px;
  max-height: 40px;
  object-fit: contain;
}

body .partners-track li { width: clamp(124px, 12vw, 184px); }
body .partners-track img.partner-logo-wide { max-width: 168px; }

/* Global markets: restore the intended two-column layout (copy + map) */
@media (min-width: 1001px) {
  body #global-markets .gm-layout {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr) !important;
    gap: 56px !important;
    align-items: center !important;
  }
  body #global-markets .gm-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    max-width: none !important;
  }
  body #global-markets .gm-copy > .eyebrow { margin: 0 0 10px !important; }
  body #global-markets .gm-copy > h2 {
    font-size: clamp(34px, 3.1vw, 46px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    margin: 0 0 18px !important;
  }
  body #global-markets .gm-copy > p:not(.eyebrow):not(.gm-origin-note) {
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    color: var(--vr-muted) !important;
    max-width: 42ch !important;
    margin: 0 0 24px !important;
  }
  body #global-markets .gm-main-link { margin-bottom: 0 !important; }
  body #global-markets .gm-services {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100%;
    margin-top: 26px !important;
  }
  body #global-markets .gm-service {
    min-height: 104px;
    padding: 16px !important;
  }
  body #global-markets .gm-origin-note {
    display: block !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
  }
  body #global-markets .gm-visual { width: 100% !important; min-width: 0; }
  body #global-markets .gm-map-scroll {
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  body #global-markets .gm-map {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}
@media (max-width: 1000px) {
  body #global-markets .gm-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  body #global-markets .gm-copy { display: block !important; max-width: none !important; }
}

/* Global markets: let the heading use the full copy column, tidy the service cards */
body #global-markets .gm-copy > h2 {
  max-width: none !important;
  width: 100% !important;
}
body #global-markets .gm-service {
  background: #f8fafc !important;
  border: 1px solid var(--vr-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
body #global-markets .gm-service:hover {
  background: #fff !important;
  border-color: var(--vr-accent) !important;
}
body #global-markets .gm-service > svg {
  width: 24px !important;
  height: 24px !important;
  color: var(--vr-blue) !important;
}
body #global-markets .gm-service > span:first-of-type {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--vr-ink) !important;
  line-height: 1.35 !important;
}
body #global-markets .gm-map-scroll { box-shadow: var(--vr-shadow-2) !important; }

/* Global markets: dark command-screen map with a glowing route network */
body #global-markets .gm-map-scroll {
  position: relative;
  background: #081a2a !important;
  border: 1px solid #24455d !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
body #global-markets .gm-map-scroll::before {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 170, 210, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 210, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
body #global-markets .gm-map-scroll::after {
  content: 'GLOBAL NETWORK';
  display: block !important;
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  font: 600 9px/1 var(--vr-mono);
  letter-spacing: .18em;
  color: #7fa3bd;
  opacity: .8;
  pointer-events: none;
}
body #global-markets .gm-map { position: relative; z-index: 1; }
body #global-markets .gm-map image { opacity: .92; }
body #global-markets .gm-map .gm-route[data-city] { display: block !important; }
body #global-markets .gm-map .gm-route .gm-route-base {
  display: block !important;
  stroke: #6f9bb8 !important;
  stroke-width: .8 !important;
  opacity: .28 !important;
}
body #global-markets .gm-map .gm-route .gm-route-flow {
  display: block !important;
  stroke: #e5b574 !important;
  stroke-width: 1.4 !important;
  opacity: .6 !important;
  stroke-dasharray: 3 97 !important;
  animation: gm-travel 8s linear infinite !important;
  filter: drop-shadow(0 0 2px rgba(229, 181, 116, .55));
}
body #global-markets .gm-city .gm-city-dot {
  fill: #bfd3e3 !important;
  stroke: #0a1c2b !important;
  stroke-width: .8 !important;
  r: 2.2;
}
body #global-markets .gm-city.is-selected .gm-city-dot {
  fill: #2f80b7 !important;
  stroke: #2f80b7 !important;
}
body #global-markets .gm-city-label {
  fill: #e9dcc4 !important;
  stroke: #0a1c2b !important;
  stroke-width: 3px !important;
}
body #global-markets .gm-origin { fill: #2f80b7 !important; }
body #global-markets .gm-origin text {
  fill: #f7e3bd !important;
  stroke: #0a1c2b !important;
  font-size: 20px !important;
}
body #global-markets .gm-map-top .eyebrow { color: #9fc0d6 !important; }

/* Global map: stronger glow to match the command-screen reference */
body #global-markets .gm-map .gm-route .gm-route-base {
  stroke: #7fa8c4 !important;
  opacity: .34 !important;
  filter: drop-shadow(0 0 2px rgba(90, 150, 200, .3));
}
body #global-markets .gm-map .gm-route .gm-route-flow {
  stroke-width: 1.6 !important;
  opacity: .78 !important;
  filter: drop-shadow(0 0 3px rgba(229, 181, 116, .8));
}
body #global-markets .gm-city .gm-city-dot {
  filter: drop-shadow(0 0 2px rgba(191, 211, 227, .65));
}
body #global-markets .gm-origin {
  filter: drop-shadow(0 0 7px rgba(240, 180, 90, .85));
}
body #global-markets .gm-origin-halo {
  fill: #2f80b7 !important;
  opacity: .22 !important;
  r: 14;
}

/* Global markets: photo visual replaces the SVG map.
   2026-11-26：版内视觉换成 .ym-map-wrap（feichuang 式航线地图，样式在 assets/home-map.css），
   这里把它从隐藏名单里排除（旧照片卡 .gm-photo-card 已不在页面里，规则留作回滚用） */
body #global-markets .gm-visual > :not(.gm-photo-card):not(.ym-map-wrap) { display: none !important; }
body #global-markets .gm-photo-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vr-line);
  border-radius: 12px;
  background: #0b1e2f;
  aspect-ratio: 4 / 3;
}
body #global-markets .gm-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
body #global-markets .gm-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 20, 32, 0) 52%, rgba(6, 20, 32, .5));
}
body #global-markets .gm-photo-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #eaf3fb;
  font: 500 10px/1 var(--vr-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
body #global-markets .gm-photo-card figcaption::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f80b7;
  box-shadow: 0 0 8px rgba(240, 180, 90, .8);
}

/* Global markets: cinematic dark band with the photo bleeding in from the right */
body #global-markets {
  position: relative;
  overflow: hidden;
  background: #081a2a !important;
  padding-block: 84px !important;
}
body #global-markets::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #081a2a 0%,
    #081a2a 38%,
    rgba(8, 26, 42, .78) 54%,
    rgba(8, 26, 42, .12) 80%,
    rgba(8, 26, 42, .35) 100%);
}
body #global-markets .gm-layout {
  position: relative;
  z-index: 2;
  align-items: center !important;
}
body #global-markets .gm-photo-card {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 56% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  background: #081a2a;
}
body #global-markets .gm-photo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  opacity: .92;
}
body #global-markets .gm-photo-card::after { display: none !important; }
body #global-markets .gm-photo-card figcaption { display: none !important; }
body #global-markets .gm-copy > .eyebrow {
  color: #2f80b7 !important;
}
body #global-markets .gm-copy > h2 {
  color: #fff !important;
}
body #global-markets .gm-copy > p:not(.eyebrow):not(.gm-origin-note) {
  color: #c9d8e4 !important;
}
body #global-markets .gm-service {
  background: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .14) !important;
}
body #global-markets .gm-service:hover {
  background: rgba(255, 255, 255, .09) !important;
  border-color: rgba(240, 180, 90, .55) !important;
}
body #global-markets .gm-service > svg { color: #8cb9dd !important; }
body #global-markets .gm-service > span:first-of-type { color: #eaf2f9 !important; }
body #global-markets .gm-service > span:last-of-type { color: #9fb9cc !important; }
body #global-markets .gm-origin-note {
  border-color: rgba(255, 255, 255, .14) !important;
  color: #9fb9cc !important;
}
body #global-markets .gm-origin-note small { color: #e8f1f8 !important; }
body #global-markets .gm-disclaimer { color: #8fa9bc !important; }
@media (max-width: 1000px) {
  body #global-markets { padding-block: 56px !important; }
  body #global-markets::before {
    background: linear-gradient(180deg, #081a2a 0%, #081a2a 58%, rgba(8, 26, 42, .55) 100%);
  }
  body #global-markets .gm-photo-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 300px !important;
    margin-top: 28px !important;
  }
}

/* Global markets: full-bleed cinematic band, photo behind, copy on the left */
body #global-markets {
  position: relative;
  overflow: hidden;
  background: #081a2a !important;
  padding-block: 96px !important;
}
body #global-markets::before {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #081a2a url('/wp-content/themes/yiming-air/legacy-static/assets/images/global-network-photo.webp') no-repeat center 38% / cover;
  opacity: .95;
}
body #global-markets::after {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #081a2a 0%,
    rgba(8, 26, 42, .96) 32%,
    rgba(8, 26, 42, .72) 52%,
    rgba(8, 26, 42, .28) 78%,
    rgba(8, 26, 42, .34) 100%);
}
body #global-markets .gm-layout {
  position: relative;
  z-index: 2;
  align-items: center !important;
}
body #global-markets .gm-photo-card { display: none !important; }
body #global-markets .gm-copy { max-width: 520px; }
body #global-markets .gm-copy > .eyebrow { color: #2f80b7 !important; }
body #global-markets .gm-copy > h2 { color: #fff !important; }
body #global-markets .gm-copy > p:not(.eyebrow):not(.gm-origin-note) {
  color: #c9d8e4 !important;
  font-size: 16px !important;
  max-width: 40ch !important;
}
body #global-markets .gm-service {
  background: rgba(255, 255, 255, .055) !important;
  border-color: rgba(255, 255, 255, .15) !important;
  border-radius: 10px !important;
  backdrop-filter: blur(6px);
}
body #global-markets .gm-service:hover {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(240, 180, 90, .6) !important;
}
body #global-markets .gm-service > svg { color: #9cc4e6 !important; }
body #global-markets .gm-service > span:first-of-type { color: #eef5fb !important; }
body #global-markets .gm-service > span:last-of-type { color: #9fb9cc !important; }
body #global-markets .gm-origin-note {
  border-color: rgba(255, 255, 255, .16) !important;
  color: #9fb9cc !important;
}
body #global-markets .gm-origin-note small { color: #eef5fb !important; }
body #global-markets .gm-disclaimer { color: #9fb9cc !important; }
body #global-markets .gm-main-link {
  background: #1f6fb2 !important;
  border-color: #1f6fb2 !important;
}
body #global-markets .gm-main-link:hover {
  background: #2f86cf !important;
  border-color: #2f86cf !important;
}
@media (max-width: 1000px) {
  body #global-markets { padding-block: 64px !important; }
  body #global-markets::before {
    background-position: center 30%;
  }
  body #global-markets::after {
    background: linear-gradient(180deg,
      rgba(8, 26, 42, .97) 0%,
      rgba(8, 26, 42, .88) 52%,
      rgba(8, 26, 42, .55) 78%,
      rgba(8, 26, 42, .72) 100%);
  }
  body #global-markets .gm-copy { max-width: none; }
}

/* Global markets band: bottom scrim so the disclaimer stays readable */
body #global-markets::after {
  background:
    linear-gradient(90deg, #081a2a 0%, rgba(8,26,42,.96) 32%, rgba(8,26,42,.72) 52%, rgba(8,26,42,.28) 78%, rgba(8,26,42,.34) 100%),
    linear-gradient(180deg, rgba(8,26,42,0) 62%, rgba(8,26,42,.62) 100%);
}
body #global-markets .gm-disclaimer {
  color: #b9cddd !important;
  position: relative;
  z-index: 2;
}

/* Global markets: clean light layout, uploaded globe map used as-is */
body #global-markets {
  background: #fff !important;
  padding-block: 88px !important;
  overflow: visible !important;
}
body #global-markets::before,
body #global-markets::after {
  display: none !important;
  content: none !important;
}
body #global-markets .gm-photo-card { display: none !important; }
body #global-markets .gm-origin-pin { display: none !important; }
body #global-markets .gm-visual > .gm-map-figure { display: block !important; }
body #global-markets .gm-map-figure {
  margin: 0;
  border: 0;
  background: transparent;
}
body #global-markets .gm-map-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
body #global-markets .gm-copy > .eyebrow { color: var(--vr-blue) !important; }
body #global-markets .gm-copy > h2 { color: var(--vr-ink) !important; }
body #global-markets .gm-copy > p:not(.eyebrow):not(.gm-origin-note) {
  color: var(--vr-muted) !important;
  font-size: 15.5px !important;
}
body #global-markets .gm-services {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 28px !important;
  margin-top: 34px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--vr-line) !important;
}
body #global-markets .gm-service {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}
body #global-markets .gm-service > svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--vr-blue) !important;
  flex: none;
}
body #global-markets .gm-service > span:first-of-type {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--vr-ink-2) !important;
  line-height: 1.4 !important;
}
body #global-markets .gm-service > span:last-of-type { display: none !important; }
body #global-markets .gm-origin-note {
  border-top: 1px solid var(--vr-line) !important;
  margin-top: 30px !important;
  padding-top: 18px !important;
  font-size: 10px !important;
  color: var(--vr-muted) !important;
}
body #global-markets .gm-origin-note small {
  font-size: 13px !important;
  color: var(--vr-ink-2) !important;
  margin-top: 4px !important;
}
body #global-markets .gm-main-link {
  background: var(--vr-accent) !important;
  border-color: var(--vr-accent) !important;
  color: #fff !important;
  padding: 11px 18px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
}
body #global-markets .gm-disclaimer {
  margin-top: 36px !important;
  font-size: 11px !important;
  color: var(--vr-muted-2) !important;
}

/* Global globe on white: no card, map enlarged */
body #global-markets .gm-map-figure img {
  border-radius: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
body #global-markets .gm-visual { display: flex; justify-content: flex-end; }

body #global-markets .gm-visual { width: 100% !important; }
body #global-markets .gm-map-figure { width: 100% !important; }
body #global-markets .gm-map-figure img { width: 100% !important; }
/* Shared blog article card hover treatment. */
body a.article-card{position:relative;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body a.article-card:hover,body a.article-card:focus-visible{border-bottom:2px solid #9b7836!important;box-shadow:0 8px 20px rgba(20,45,67,.1)!important;transform:translateY(-2px)}
body a.article-card .media{position:relative}
body a.article-card .media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#9b7836;transform:scaleX(0);transform-origin:left center;transition:transform .25s ease;z-index:4}
body a.article-card:hover .media:after,body a.article-card:focus-visible .media:after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){body a.article-card,body a.article-card .media:after{transition:none}}
/* Visible factory announcement */
.notice.ticker .ticker-track{display:flex!important;visibility:visible!important;opacity:1!important;transform:none!important;animation:none!important;width:100%!important;justify-content:center!important}
.notice.ticker .ticker-group{display:flex!important;visibility:visible!important;opacity:1!important;height:100%!important;align-items:center!important;justify-content:center!important;color:#173c56!important}
.notice.ticker .ticker-group[aria-hidden="true"]{display:none!important}
.notice.ticker .ticker-window:before,.notice.ticker .ticker-window:after{display:none!important}
.notice.ticker .ticker-label{color:#b3882f!important;font-weight:800!important;letter-spacing:.08em}
.notice.ticker{background:#fff!important;color:#173c56!important;border-bottom:1px solid #d9e2ea!important}

/* Social profile links use bundled Font Awesome brand logos (CC BY 4.0). */
.ym-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  margin-top: 14px;
}

.ym-social-icons a {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid #5283a2;
  border-radius: 50%;
  background: #153651;
  text-decoration: none;
}

.ym-fabio-card .ym-social-icons a {
  background: transparent;
}

.ym-social-icons a:is(:hover, :focus-visible) {
  border-color: #8fd2ff;
  background: #214d70;
  text-decoration: none;
}

.ym-social-icons a:focus-visible {
  outline: 2px solid #8fd2ff;
  outline-offset: 2px;
}

.ym-social-icons img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
  border-radius: 0;
}
