/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* ===== HK-FUJI REDESIGN v1: 专业信任风 ===== */
:root{--hk-blue:#0B4F8A;--hk-deep:#0A3A63;--hk-bg:#F5F7FA;--hk-orange:#E87A2E;--hk-green:#1F8A70}
body{font-family:'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background-color:var(--hk-bg)}
a{color:var(--hk-blue)}a:hover{color:var(--hk-deep)}
h1,h2,h3,h4,.entry-content h1,.entry-content h2,.entry-content h3{color:var(--hk-deep)}
.wp-block-button__link,.ct-button,button[type=submit],.wp-block-button.is-style-fill a{background-color:var(--hk-orange)!important;border-color:var(--hk-orange)!important;color:#fff!important;border-radius:4px;font-weight:600}
.wp-block-button a:hover{background-color:#d5671f!important;color:#fff!important}
footer.site-footer,.site-footer{background-color:var(--hk-deep)!important;color:#e8eef5!important}
footer.site-footer a,footer.site-footer .widget a{color:#bcd4ea!important}
.site-footer h2,.site-footer h3,.site-footer h4,.site-footer .widget-title{color:#fff!important}
.ct-header-cart:hover,.ct-language-switcher:hover{color:var(--hk-blue)}
/* ===== HK-FUJI REDESIGN v1.1: Blocksy 级联兼容修正 ===== */
body{background-color:var(--hk-bg)!important;font-family:'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
a{color:var(--hk-blue)!important}a:hover{color:var(--hk-deep)!important}
h1,h2,h3,h4,.stk-block-heading__text,.entry-content h1,.entry-content h2,.entry-content h3{color:var(--hk-deep)!important}
footer.ct-footer,.site-footer{background-color:var(--hk-deep)!important;color:#e8eef5!important}
footer.ct-footer a,footer.ct-footer .widget a,.site-footer a,.site-footer .widget a{color:#bcd4ea!important}
.ct-footer h2,.ct-footer h3,.ct-footer h4,.ct-footer .widget-title,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer .widget-title{color:#fff!important}
h1.stk-block-heading__text.has-text-color,h2.stk-block-heading__text.has-text-color,h3.stk-block-heading__text.has-text-color,h4.stk-block-heading__text.has-text-color{color:var(--hk-deep)!important}
.wp-block-stackable-button.stk-block-button .stk-button{background-color:var(--hk-orange)!important;border-color:var(--hk-orange)!important;color:#fff!important;border-radius:4px!important}
/* ===== HK-FUJI REDESIGN v1.2: Hero 主标题修正(post 626)===== */
.stk-572946e .stk-block-heading__text.has-text-color{color:#ffffff!important;border:none!important}
.stk-572946e .stk-block-heading__text{color:#ffffff!important;border:none!important}

/* ===== HK-FUJI REDESIGN v1.3: 字体统一 Inter ===== */
body{font-family:'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif!important}
h1,h2,h3,h4,h5,h6,.stk-block-heading__text,.entry-title,.widget-title,.site-title{font-family:'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif!important;font-weight:600}

/* ===== v1.4 导航右移 ===== */
/* header 分列 grid:左列(logo)自适应,右列(搜索/购物)保持;菜单容器右移紧邻搜索/购物图标 */
#header [data-column-set="2"] > div.ct-container {
  grid-template-columns: minmax(0, 1fr) auto;
}
#header [data-column-set="2"] [data-column="start"] [data-items] {
  justify-content: space-between;
}
#header [data-column-set="2"] [data-column="start"] [data-items] .header-menu-1 {
  margin-left: 0;
  margin-right: 0;
}
/* ===== v1.5 logo 尺寸 ===== */
.site-branding .site-logo-container img.default-logo{height:65px!important;width:auto!important}

/* ===== v1.6 logo与导航对齐 ===== */
/* v1.5 将 logo 图片强制为 65px,但 .site-logo-container 仍为 Blocksy 默认高度(30px),
   图片向下溢出 35px,logo 视觉中心比导航低约 17.5px;将容器高度与图片同步为 65px,
   logo 整体在 header 列内垂直居中,与导航对齐 */
.site-branding .site-logo-container { height: 65px; }
.site-branding .site-logo-container img.default-logo { display: block; }

/* wordmark logo(logo-hkfuji-wordmark.png)画布内内容整体偏下 17px/200px,
   渲染 65px 时字形视觉中心仍比导航低约 6px,上移补偿使字形中心与导航对齐 */
.site-branding .site-logo-container img.default-logo[src*="logo-hkfuji-wordmark"] {
  transform: translateY(-6px);
}
