/*
Theme Name: JinShang 2025
Theme URI: https://jinshangworld.com/
Author: JinShang IT
Description: 金尚官网定制轻量区块主题（脱离 Elementor）。全局页头/页脚模板、原生区块、内建 SEO/GEO、双语友好。1:1 复刻原站视觉。
Version: 0.1.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: jinshang2025
*/

/* 仅放少量无法通过 theme.json 表达的补充样式；主视觉由 theme.json 驱动 */

:root {
  --js-black: #000000;
  --js-ink: #111111;
  --js-line: rgba(255,255,255,.14);
}

/* 页脚社媒圆形图标 */
.js-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; text-decoration: none; font-size: 18px;
  transition: transform .2s ease, opacity .2s ease;
}
.js-social a:hover { transform: translateY(-2px); opacity: .85; }
.js-social .weibo    { background:#e6162d; }
.js-social .facebook { background:#3b5998; }
.js-social .linkedin { background:#0a66c2; }
.js-social .behance  { background:#1769ff; }
.js-social .pinterest{ background:#e60023; }

/* 页脚门店标题的分隔点用 Georgia，还原原站 */
.js-store-sep { font-family: Georgia, "Times New Roman", serif; }

/* 全站正文字体：对齐原站 = Georgia（拉丁）+ 中文衬线回退 */
body {
  font-family: Georgia, "Songti SC", "SimSun", "宋体", serif;
}
/* 标题：幼圆（跨平台圆体回退） */
h1, h2, h3, .wp-block-heading {
  font-family: "YouYuan", "幼圆", "Yuanti SC", "圆体-简", "Microsoft YaHei", sans-serif;
}

/* 页脚整体：黑底浅字，对齐原站 */
.js-footer { background: var(--js-black); color: #cfcfcf; }
.js-footer h2, .js-footer h3, .js-footer a { color: #ffffff; }
.js-footer a:hover { opacity: .8; }
.js-footer .js-copyright { color: #8a8a8a; font-size: 13px; }

/* 去掉页头与主体之间 WP 默认的 24px 间距（那条白缝），让 hero 直接贴住黑色页头 */
.wp-site-blocks > main,
.wp-site-blocks > main:first-child {
  margin-block-start: 0 !important;
}
/* 页头与紧随其后的主体之间也不留缝 */
.js-header { margin-block-end: 0 !important; }

/* 页头：白底黑字（对齐原站） */
.js-header { background: #ffffff; border-bottom: 1px solid #eee; }
.js-header a { color:#111; text-decoration:none; }
.js-header a:hover { opacity:.6; }
/* EN 语言切换 */
.js-lang { margin:0; font-size:14px; letter-spacing:1px; }
.js-lang a { font-weight:500; }
/* 汉堡图标 + 展开菜单：图标黑色，菜单项黑字 */
.js-header .wp-block-navigation__responsive-container-open,
.js-header .wp-block-navigation__responsive-container-close { color:#111; }
.js-header .wp-block-navigation { --wp--preset--color--white:#111; }
/* logo 高度约束 */
.js-header .wp-block-site-logo img { max-height:44px; width:auto; }
