/* =====================================================================
   Trust-Freight Visual Upgrade — VI-driven override layer v5 — VI palette + D fusion layout
   Deployed to BOTH sites: ZH main (/) + EN (/en/) — same theme, same section anchors.
   Palette source: 值信国际物流 VI 定稿 (画板 1 副本 2 / 橙色文字 logo)
     - 主色 Primary     #F97316  (VI 文字橙)      按钮/链接/主强调
     - 辅助色 Secondary #FAC307  (VI 渐变顶端金黄) 图标/次级按钮/装饰点/页脚链接
     - 强调色 Accent    #E4312B  (VI 渐变底端红)   CTA-hover/数字/链接 hover
     - 深色 Ink         #031435  (深墨蓝,稳重可信)  标题/导航/页脚  [用户要求: 不用黑]
   VI 渐变: #FAC307 → #F3A124 → #EE842E → #E8612D → #E4312B
   Scope: body.wp-child-theme-gutenify-logistics  (both ZH main + EN site)
   规则: 只动"内容卡片"(has-white-background-color)，绝不碰结构容器
   (is-layout-* / wp-block-column / 无背景 group 一律不改)。
   NO content or theme-file changes. Delete file + mu-plugin to revert.
   Fonts are intentionally left as the theme's originals (Oswald + body).
   ===================================================================== */

/* ---- 1. Unify theme color presets to the real VI palette ---- */
/* secondary: 深墨蓝 #031435 (网站原生色,稳重可信; 用户要求不用黑)
   primary(原#fe1f07偏红): 改为 VI 文字橙
   primary-two(原青绿#0da88c): 改为 VI 强调橙红
   金黄辅助色 #FAC307 不进全局 preset, 只在下方明确规则中使用 */
body.wp-child-theme-gutenify-logistics {
  --wp--preset--color--orange:    #F97316;
  --wp--preset--color--primary:   #F97316;  /* VI 文字橙 */
  --wp--preset--color--secondary: #031435;  /* 深墨蓝(稳重可信,不用黑) */
  --wp--preset--color--primary-two:#E4312B; /* VI 强调橙红 */
  --tf-primary: #F97316;
  --tf-secondary: #FAC307;
  --tf-accent: #E4312B;
  --tf-ink: #031435;
  --tf-grad: linear-gradient(90deg, #FAC307, #F3A124, #EE842E, #E8612D, #E4312B);
}

/* ---- 2. Base canvas: smoothing + ink headings (no font change) ---- */
body.wp-child-theme-gutenify-logistics {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}
body.wp-child-theme-gutenify-logistics h1:not(.wp-block-site-title),
body.wp-child-theme-gutenify-logistics h2:not(.wp-block-site-title),
body.wp-child-theme-gutenify-logistics h3:not(.wp-block-site-title),
body.wp-child-theme-gutenify-logistics h4:not(.wp-block-site-title) {
  color: var(--tf-ink);               /* 深墨蓝 headings */
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-weight: 700;                   /* heavier for "大气" (same Oswald font) */
}
/* v6: 站名/logo 区完全排除视觉层，保持站点原有配色与尺寸（用户明确要求） */
body.wp-child-theme-gutenify-logistics header .wp-block-site-title,
body.wp-child-theme-gutenify-logistics header .wp-block-site-title a {
  color: initial !important;
  letter-spacing: normal !important;
}

/* ---- 3. Header: steadier + VI gradient hairline under nav ---- */
body.wp-child-theme-gutenify-logistics header.wp-block-template-part,
body.wp-child-theme-gutenify-logistics header {
  position: relative;
}
body.wp-child-theme-gutenify-logistics header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--tf-grad);
  opacity: .9;
  z-index: 9;
}
body.wp-child-theme-gutenify-logistics .wp-block-navigation a:hover,
body.wp-child-theme-gutenify-logistics .wp-block-navigation .current-menu-item > a {
  color: #C98A00 !important;          /* 辅助色金黄(darkened for text contrast) */
}

/* ---- 4. Buttons: primary / secondary / accent roles ---- */
/* 4a. Primary button: VI orange capsule, hover deepens toward accent red */
body.wp-child-theme-gutenify-logistics .wp-block-button__link {
  background: var(--tf-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 13px 30px !important;
  font-weight: 600;
  border: none;
  box-shadow: 0 8px 20px rgba(249,115,22,.25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.wp-child-theme-gutenify-logistics .wp-block-button__link:hover {
  background: var(--tf-accent) !important;   /* 强调色橙红 on hover */
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(228,49,43,.32);
}

/* ---- 5. Content cards ONLY: rounded + elevation + VI gradient top edge ---- */
/* 精确命中: 主题内容卡片都带 has-white-background-color(含服务卡/特性卡) */
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color {
  position: relative;
  border-radius: 16px !important;            /* 覆盖 inline border-radius:0px */
  box-shadow: 0 10px 30px rgba(3,20,53,.09) !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(3,20,53,.14) !important;
}
/* VI 渐变顶饰(金黄→红): 叠加层,不覆盖卡片底色 */
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tf-grad);
  border-radius: 16px 16px 0 0;
  z-index: 2;
  pointer-events: none;
}
/* 辅助色金黄列表 marker */
body.wp-child-theme-gutenify-logistics .entry-content li::marker,
body.wp-child-theme-gutenify-logistics li::marker {
  color: #C98A00;
}

/* ---- 6. Images / media: rounded, soft shadow ---- */
body.wp-child-theme-gutenify-logistics .wp-block-image img,
body.wp-child-theme-gutenify-logistics figure.wp-block-image img {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(3,20,53,.08);
}

/* ---- 7. Footer: deep-navy ink + gradient hairline on top + gold links ---- */
body.wp-child-theme-gutenify-logistics footer.wp-block-template-part,
body.wp-child-theme-gutenify-logistics footer {
  position: relative;
  background: var(--tf-ink) !important;
  color: #C9C6C2 !important;
}
body.wp-child-theme-gutenify-logistics footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--tf-grad);
  z-index: 9;
}
body.wp-child-theme-gutenify-logistics footer a,
body.wp-child-theme-gutenify-logistics footer * {
  color: inherit;
}
body.wp-child-theme-gutenify-logistics footer a {
  color: var(--tf-secondary) !important;     /* 辅助色金黄 links on dark footer */
}
body.wp-child-theme-gutenify-logistics footer a:hover { color: #fff !important; }
body.wp-child-theme-gutenify-logistics footer h1,
body.wp-child-theme-gutenify-logistics footer h2,
body.wp-child-theme-gutenify-logistics footer h3,
body.wp-child-theme-gutenify-logistics footer h4,
body.wp-child-theme-gutenify-logistics footer h5,
body.wp-child-theme-gutenify-logistics footer .wp-block-heading {
  color: #fff !important;
}

/* ---- 8. Links: primary orange, hover accent red ---- */
body.wp-child-theme-gutenify-logistics .entry-content a:not(.wp-block-button__link) {
  color: var(--tf-primary);
}
body.wp-child-theme-gutenify-logistics .entry-content a:not(.wp-block-button__link):hover {
  color: var(--tf-accent);
}

/* =====================================================================
   v5 APPEND — D 融合版式骨架 (大气 GLOBAL SCALE + 科技 TECH GRID + 克制 EDITORIAL)
   来源: /tmp/tf_upgrade/upgrade_D.css （已在真实首页渲染验证）
   说明: 本段位于配色层之后，冲突规则(圆角/按钮/图片)以本段 !important 为准。
         仅动版式骨架与装饰层，不改任何结构容器、不改内容、不改字体族。
   ===================================================================== */
/* D · SIGNATURE — 三者同时到位，推荐主方案 */
body.wp-child-theme-gutenify-logistics {
  --wp--style--global--wide-size: 1340px;
}
/* 顶部：压薄、留白规整 */
body.wp-child-theme-gutenify-logistics header .wp-block-group[class*="gutenify-section-7957ba50"]{ padding-top:5px !important; padding-bottom:5px !important; }
body.wp-child-theme-gutenify-logistics header .wp-block-group[class*="gutenify-section-7957ba50"] p{ font-size:11px !important; letter-spacing:.1em; text-transform:uppercase; opacity:.75; }
/* v6: 用户要求左上角 logo 区完全原样——撤销 D 段的 padding 压缩与 220px 缩小，
       站名/logo 尺寸/留白全部保持主题默认，视觉层不碰 header 的 logo 组。 */
/* 玻璃质感导航（科技） */
body.wp-child-theme-gutenify-logistics .gutenify-sticky-enabled{
  background:rgba(3,20,53,.88) !important;
  backdrop-filter:blur(16px) saturate(1.3); -webkit-backdrop-filter:blur(16px) saturate(1.3);
  border-bottom:1px solid rgba(249,115,22,.32) !important;
}
body.wp-child-theme-gutenify-logistics .gutenify-sticky-enabled nav a{ font-size:12px !important; letter-spacing:.07em; text-transform:uppercase; }
/* Hero：深墨蓝蒙版 + 橙色光晕 + 细网格（科技） */
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"]{ position:relative; isolation:isolate; background:#031435 !important; }
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] .wp-block-cover__background{
  background:
    radial-gradient(700px 420px at 80% 26%, rgba(249,115,22,.32), transparent 72%),
    linear-gradient(90deg,rgba(3,20,53,.94) 0%,rgba(3,20,53,.76) 48%,rgba(3,20,53,.38) 100%) !important;
  opacity:1 !important;
}
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] .wp-block-cover__image-background{ opacity:.5 !important; filter:saturate(.8) contrast(1.08); }
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"]::after{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.1) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.75) 62%,transparent 94%);
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.75) 62%,transparent 94%);
}
/* Hero 字阶：大尺度 + 全大写（大气），字距收紧（克制） */
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] .wp-block-cover__inner-container{ position:relative; z-index:3; padding:128px 56px 148px !important; }
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] .wp-block-cover__inner-container::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:5px;
  background:linear-gradient(90deg,#FAC307,#F3A124,#EE842E,#E8612D,#E4312B);
}
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] h2{
  font-size:clamp(44px,5.6vw,82px) !important; font-weight:600 !important;
  letter-spacing:-.03em !important; line-height:1.04 !important;
  max-width:17ch; text-transform:uppercase !important;
  text-shadow:0 4px 40px rgba(3,20,53,.5);
}
/* 眉标细线：克制的几何装饰，不新增文案 */
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] h2::before{
  content:""; display:block; width:76px; height:3px; margin-bottom:32px; border-radius:99px;
  background:linear-gradient(90deg,#FAC307,#F3A124,#EE842E,#E8612D,#E4312B);
  box-shadow:0 0 20px rgba(249,115,22,.7);
}
body.wp-child-theme-gutenify-logistics .wp-block-cover[class*="gutenify-section-44a65e80"] p{ font-size:15px !important; letter-spacing:.035em; max-width:52ch; opacity:.9; }
/* 卡片：细描边 + 渐变顶饰 + 悬浮（三者平衡） */
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color{
  border-radius:14px !important; border:1px solid rgba(3,20,53,.08) !important;
  box-shadow:0 10px 30px rgba(3,20,53,.09) !important;
}
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color::before{ height:3px !important; border-radius:14px 14px 0 0 !important; }
body.wp-child-theme-gutenify-logistics .wp-block-group.has-white-background-color:hover{ transform:translateY(-5px) !important; box-shadow:0 20px 44px rgba(3,20,53,.15) !important; }
/* 按钮：VI 橙胶囊 + 发光 */
body.wp-child-theme-gutenify-logistics .wp-block-button__link{
  padding:15px 34px !important; font-size:14.5px !important; letter-spacing:.02em;
  box-shadow:0 8px 24px rgba(249,115,22,.4), inset 0 0 0 1px rgba(255,255,255,.13) !important;
}
body.wp-child-theme-gutenify-logistics .wp-block-image img{ border-radius:14px; }

/* ===== v7（2026-11-16）：logo 原色 / 导航留白 / 页脚二维码卡片 ===== */
/* 1) logo 恢复原色：主题 duotone（fe1f07→ffffff）把红橙 logo 染成粉色，撤掉滤镜 */
body.wp-child-theme-gutenify-logistics .wp-block-site-logo img{
  filter:none !important;
  -webkit-filter:none !important;
}
/* 2) 导航整体右移：内层 alignfull 负边距抵消了 7vw 页边距，给菜单自身补留白 */
body.wp-child-theme-gutenify-logistics .gutenify-sticky-enabled nav.wp-block-navigation{
  padding-left: clamp(18px, 2.5vw, 40px) !important;
}
/* 3) 页脚二维码：白卡底 + 圆角 + 柔和投影，融进深墨蓝页脚 */
body.wp-child-theme-gutenify-logistics .wp-block-column[class*="gutenify-section-443e74f0"] figure.wp-block-image{
  float:none !important;
  background:#fff !important;
  padding:12px !important;
  border-radius:16px !important;
  max-width:300px !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-shadow:0 12px 30px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.10);
}
body.wp-child-theme-gutenify-logistics .wp-block-column[class*="gutenify-section-443e74f0"] figure.wp-block-image img{
  width:100% !important;
  height:auto !important;
  border-radius:8px !important;
}
