/* WEPO 全站导航栏修正（site-overrides.css）
   1) logo 品牌区左移，拉开与菜单的间距
   2) lg~xl 视口（1024–1279px）压缩菜单项字号与内边距，
      防止 11 个 nowrap 菜单项向左溢出压住 logo */
header nav > a[href="/"] { margin-left: -10px; }

@media (min-width: 1024px) and (max-width: 1279.98px) {
  header nav > div:first-of-type {
    padding-left: 0 !important;
    margin-right: 0 !important;
  }
  header nav > div:first-of-type > a {
    padding-left: 2px !important;
    padding-right: 2px !important;
    font-size: 10px !important;
  }
}



/* ═══════════ 首页「全球形象大使」横幅（原生 React 节点 · 网站同风格） ═══════════ */
.wpo-amb{position:relative;background:#f3f0e5;border-top:1px solid rgba(31,50,44,.08);border-bottom:1px solid rgba(31,50,44,.08);color:#1f322c;overflow:hidden}
.wpo-amb::before{content://;position:absolute;inset:0;pointer-events:none;background:radial-gradient(560px 240px at 92% 8%,rgba(176,141,58,.10),transparent 62%)}
.wpo-amb-link{display:flex;align-items:center;gap:40px;max-width:1200px;margin:0 auto;padding:52px 28px;color:inherit;text-decoration:none;position:relative}
.wpo-amb-media{flex:none;width:200px;height:200px;border-radius:18px;overflow:hidden;box-shadow:0 16px 40px -16px rgba(31,50,44,.35),0 0 0 1px rgba(31,50,44,.08);transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
.wpo-amb-media img{width:100%;height:100%;object-fit:cover;display:block}
.wpo-amb-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.wpo-amb-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 14px;border-radius:99px;font-size:12px;font-weight:600;letter-spacing:.14em;color:#7a6428;background:rgba(176,141,58,.12);border:1px solid rgba(176,141,58,.35)}
.wpo-amb-title{margin:0;font-family:Cormorant Garamond,"Noto Serif SC",Georgia,serif;font-weight:600;font-size:clamp(24px,3vw,36px);line-height:1.3;color:#1f322c;letter-spacing:.01em}
.wpo-amb-sub{margin:0;font-size:15px;color:rgba(31,50,44,.62);letter-spacing:.04em}
.wpo-amb-cta{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:11px 24px;border-radius:99px;font-size:13.5px;font-weight:600;letter-spacing:.05em;color:#f4f1e6;background:#283f36;transition:background .3s,transform .3s,box-shadow .3s}
.wpo-amb-link:hover .wpo-amb-media{transform:scale(1.03);box-shadow:0 22px 48px -16px rgba(31,50,44,.45),0 0 0 1px rgba(176,141,58,.4)}
.wpo-amb-link:hover .wpo-amb-cta{background:#1f322c;transform:translateY(-2px);box-shadow:0 10px 24px -10px rgba(31,50,44,.5)}
/* 暗色模式跟随站点 */
html.dark .wpo-amb{background:#16241e;border-color:rgba(244,241,230,.08);color:#f4f1e6}
html.dark .wpo-amb-badge{color:#e0cd8f;background:rgba(212,175,55,.10);border-color:rgba(212,175,55,.3)}
html.dark .wpo-amb-title{color:#f4f1e6}
html.dark .wpo-amb-sub{color:rgba(244,241,230,.6)}
html.dark .wpo-amb-cta{color:#16241e;background:#e0cd8f}
html.dark .wpo-amb-link:hover .wpo-amb-cta{background:#d4af37}
/* 响应式 */
@media (max-width:640px){
  .wpoa11y-fab{right:14px;bottom:118px;width:48px;height:48px}
  .wpoa11y-panel{left:10px;right:10px;top:auto;bottom:12px;width:auto;max-height:62vh;transform:translateY(14px)}
  .wpoa11y-panel.open{transform:translateY(0)}
  .wpoa11y-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .wpo-amb-link{flex-direction:column;align-items:center;text-align:center;gap:20px;padding:36px 18px}
  .wpo-amb-media{width:min(240px,64vw);height:min(240px,64vw)}
  .wpo-amb-body{align-items:center}
}


/* ═══════════ 无障碍模式（site-overrides.js 注入 · 用户主动开启） ═══════════ */
/* 悬浮按钮 */
.wpoa11y-fab{position:fixed;right:18px;bottom:150px;z-index:99990;width:52px;height:52px;border-radius:50%;border:1px solid rgba(244,241,230,.25);background:#283f36;color:#f4f1e6;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 28px -8px rgba(31,50,44,.5);transition:transform .3s,background .3s,box-shadow .3s}
.wpoa11y-fab:hover{transform:scale(1.08);background:#1f322c;box-shadow:0 14px 34px -8px rgba(31,50,44,.6)}
.wpoa11y-fab::after{content://;position:absolute;inset:-5px;border-radius:50%;border:1.5px solid rgba(40,63,54,.35);animation:wpoa11y-pulse 2.6s ease-out infinite}
html.dark .wpoa11y-fab{background:#e0cd8f;color:#16241e;border-color:transparent}
html.dark .wpoa11y-fab:hover{background:#d4af37}
.wpoa11y-fab.active{background:#e0cd8f;color:#16241e;border-color:rgba(212,175,55,.5)}
.wpoa11y-fab.active::after{border-color:rgba(212,175,55,.55)}
html.dark .wpoa11y-fab.active{background:#283f36;color:#e0cd8f}
@keyframes wpoa11y-pulse{0%{transform:scale(.85);opacity:1}70%{transform:scale(1.25);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.wpoa11y-fab::after{animation:none}}
/* 面板 */
.wpoa11y-panel{position:fixed;right:82px;top:50%;transform:translateY(-50%) translateX(16px);z-index:99991;width:318px;max-height:82vh;overflow:auto;background:#fbfaf6;border:1px solid rgba(31,50,44,.12);border-radius:18px;box-shadow:0 24px 64px -16px rgba(31,50,44,.35);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s,transform .3s,visibility .3s}
.wpoa11y-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) translateX(0)}
.wpoa11y-head{display:flex;align-items:center;gap:9px;padding:15px 18px 12px;border-bottom:1px solid rgba(31,50,44,.08)}
.wpoa11y-head-ico{display:flex;color:#283f36}
.wpoa11y-head b{font-size:14.5px;color:#1f322c;font-family:Cormorant Garamond,"Noto Serif SC",Georgia,serif}
.wpoa11y-head-sub{font-size:9.5px;color:rgba(31,50,44,.45);letter-spacing:.08em}
.wpoa11y-x{margin-left:auto;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:none;background:transparent;color:rgba(31,50,44,.55);cursor:pointer;transition:background .2s}
.wpoa11y-x:hover{background:rgba(31,50,44,.07)}
.wpoa11y-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:14px 16px 6px}
.wpoa11y-btn{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 8px 11px;border-radius:12px;border:1px solid rgba(31,50,44,.1);background:#fff;color:#1f322c;cursor:pointer;transition:border-color .25s,background .25s,transform .2s;font-family:inherit}
.wpoa11y-btn span{font-size:11.5px;letter-spacing:.02em}
.wpoa11y-btn:hover{border-color:rgba(40,63,54,.4);transform:translateY(-1px)}
.wpoa11y-btn.active{background:#283f36;color:#f4f1e6;border-color:#283f36}
.wpoa11y-tip{margin:8px 16px 14px;font-size:10.5px;line-height:1.6;color:rgba(31,50,44,.5)}
html.dark .wpoa11y-panel{background:#16241e;border-color:rgba(244,241,230,.1)}
html.dark .wpoa11y-head b{color:#f4f1e6}
html.dark .wpoa11y-head-ico{color:#e0cd8f}
html.dark .wpoa11y-head-sub,html.dark .wpoa11y-tip{color:rgba(244,241,230,.45)}
html.dark .wpoa11y-x{color:rgba(244,241,230,.55)}
html.dark .wpoa11y-x:hover{background:rgba(244,241,230,.08)}
html.dark .wpoa11y-btn{background:#1c2f26;color:#f4f1e6;border-color:rgba(244,241,230,.1)}
html.dark .wpoa11y-btn.active{background:#e0cd8f;color:#16241e;border-color:#e0cd8f}
.wpoa11y-quit{display:flex;align-items:center;justify-content:center;gap:7px;margin:6px 16px 14px;padding:10px;width:calc(100% - 32px);border-radius:11px;border:1px solid rgba(180,60,45,.35);background:rgba(180,60,45,.06);color:#a03d30;font-size:12.5px;font-weight:600;letter-spacing:.04em;cursor:pointer;transition:background .25s,color .25s;font-family:inherit}
.wpoa11y-quit:hover{background:#a03d30;color:#fff;border-color:#a03d30}
html.dark .wpoa11y-quit{color:#e8a396;border-color:rgba(232,163,150,.35);background:rgba(232,163,150,.07)}
html.dark .wpoa11y-quit:hover{background:#a03d30;color:#fff}
/* 阅读辅助线 */
.wpoa11y-guide-line{position:fixed;left:0;right:0;top:0;height:2.5px;z-index:99989;pointer-events:none;background:linear-gradient(90deg,transparent,#d4af37 18%,#283f36 50%,#d4af37 82%,transparent);box-shadow:0 0 8px rgba(212,175,55,.55)}
/* ── 无障碍状态样式（纯 CSS，低开销） ── */
/* 字号缩放：Tailwind 全 rem 体系，改 html font-size 即全局缩放 */
html.wpoa11y-fs75{font-size:75%}html.wpoa11y-fs87\.5{font-size:87.5%}html.wpoa11y-fs112\.5{font-size:112.5%}html.wpoa11y-fs125{font-size:125%}html.wpoa11y-fs137\.5{font-size:137.5%}html.wpoa11y-fs150{font-size:150%}
/* 高对比黑白 */
html.wpoa11y-ink body{background:#fff!important}
html.wpoa11y-ink body *:not(svg):not(img):not(video):not(picture):not(source):not(canvas):not(.wpoa11y-fab):not(.wpoa11y-panel *):not(.wpoa11y-guide-line){background:#fff!important;color:#000!important;border-color:#000!important;box-shadow:none!important;text-shadow:none!important}
html.wpoa11y-ink body *:not(svg):not(img):not(video):not(canvas){font-weight:500}
html.wpoa11y-ink img{filter:contrast(1.15)}
/* 黑底黄字 */
html.wpoa11y-yellow body{background:#000!important}
html.wpoa11y-yellow body *:not(svg):not(img):not(video):not(picture):not(source):not(canvas):not(.wpoa11y-fab):not(.wpoa11y-panel *):not(.wpoa11y-guide-line){background:#000!important;color:#ffde00!important;border-color:#887000!important;box-shadow:none!important;text-shadow:none!important}
/* 蓝底白字 */
html.wpoa11y-blue body{background:#00318c!important}
html.wpoa11y-blue body *:not(svg):not(img):not(video):not(picture):not(source):not(canvas):not(.wpoa11y-fab):not(.wpoa11y-panel *):not(.wpoa11y-guide-line){background:#00318c!important;color:#fff!important;border-color:#7ea6ff!important;box-shadow:none!important;text-shadow:none!important}
/* 大光标 */
html.wpoa11y-cursor-on body,html.wpoa11y-cursor-on body *{cursor:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='%231f322c' stroke='%23fbfaf6' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5 18 12l-5.2 1L15 20l-2.8 1.2-2.2-6.8-4 3.4V3.5Z'/%3E%3C/svg%3E") 4 4,auto!important}
/* 链接下划线 */
html.wpoa11y-ul-on body a{text-decoration:underline!important;text-underline-offset:3px}
/* 朗读模式可视提示 */
html.wpoa11y-speak-on body{cursor:help}


/* ═══════════ 伙伴机构首字母变色徽章 ═══════════ */
.wpo-logo-badge{color:#f4f1e6!important;background:#283f36}
/* 七色轮换：轨道上的卡片是父容器的第 n 个子元素 */
.wpo-logo-badge:nth-child(7n+1){background:#1f5c45}
.wpo-logo-badge:nth-child(7n+2){background:#0e7490}
.wpo-logo-badge:nth-child(7n+3){background:#b45309}
.wpo-logo-badge:nth-child(7n+4){background:#6d28d9}
.wpo-logo-badge:nth-child(7n+5){background:#be3b5c}
.wpo-logo-badge:nth-child(7n+6){background:#3f6212}
.wpo-logo-badge:nth-child(7n+7){background:#334155}
html.dark .wpo-logo-badge{color:#16241e!important}
html.dark .wpo-logo-badge:nth-child(7n+1){background:#5cc9a3}
html.dark .wpo-logo-badge:nth-child(7n+2){background:#67e0f0}
html.dark .wpo-logo-badge:nth-child(7n+3){background:#f5b95f}
html.dark .wpo-logo-badge:nth-child(7n+4){background:#c4a7f5}
html.dark .wpo-logo-badge:nth-child(7n+5){background:#f58aa4}
html.dark .wpo-logo-badge:nth-child(7n+6){background:#b5d977}
html.dark .wpo-logo-badge:nth-child(7n+7){background:#a5c0e8}


/* ═══════════ Footer 官方社交媒体图标 ═══════════ */
.wpo-soc-link{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(31,50,44,.18);color:#283f36;transition:all .3s cubic-bezier(.2,.8,.2,1)}
.wpo-soc-link:hover{transform:translateY(-3px);color:#f4f1e6;background:#283f36;border-color:#283f36;box-shadow:0 8px 20px -6px rgba(31,50,44,.45)}
html.dark .wpo-soc-link{color:#e0cd8f;border-color:rgba(224,205,143,.3)}
html.dark .wpo-soc-link:hover{color:#16241e;background:#e0cd8f;border-color:#e0cd8f}
