/*
 * 查证页模板（单件、主体）：基础。
 * 三个原型共有的重置规则；各页的颜色变量、正文行高与组件样式在各自的页面样式中。
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* 吸顶页头 68px 加留白；手机见 site-frame.css */
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper, #faf9f6);
  color: var(--body, #3a4655);
  font: 15px/1.7 var(--sans, "Inter", "Noto Sans SC", -apple-system, sans-serif);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid #7595bd;
  outline-offset: 2px;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- WordPress 接入 ---------- */

/* 主题经 wp_footer 输出的回到顶部、手机菜单、正文目录浮层等，查证页不使用。 */
.action,
#mobile_menu,
#search_filtered,
dl.catalog,
.model,
#J-catalog-tip,
#J-catalog-button-fixed,
#J-gotop {
  display: none !important;
}

/* 品牌色（Gloproof VIS V3 tokens）：藏青固定，不跟随主站主题色；变量名沿用 --gp-blue。
   按钮、链接、当前导航、记录卡片强调线用品牌色；“已核验”用绿色；WWO 深蓝只留给 WWO 区块与标识。 */
:root {
  --gp-blue: #24365F;
  --gp-blue-hover: #182543;
  --gp-blue-line: #C8D0DF;
  --gp-ink: #181F2A;
  --gp-ok: #1F6B45;
  --wwo-navy: #1E437F;
}
