/*
Theme Name: Jiemei Industrial
Theme URI: https://www.jiemeidq.com.cn
Author: Guangdong Jiemei Technology Co., Ltd.
Author URI: https://www.jiemeidq.com.cn
Description: English corporate site for Guangdong Jiemei Technology Co., Ltd. Industrial layout, product post type, enquiry form, header and footer settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jiemei
Tags: business, industrial, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   WordPress 兼容补充（主样式在 assets/css/style.css）
   ============================================================ */

/* 导航当前页高亮：与静态版 .is-active 一致 */
.nav > li.is-active > a{font-weight:600;color:var(--ink)}
.nav > li.is-active > a::after{transform:scaleX(1)}

/* 固定页头让开 WP 管理条 */
body.admin-bar .site-head{top:32px}
body.admin-bar .mobile-nav{top:144px}
@media(max-width:782px){
  body.admin-bar .site-head{top:46px}
  body.admin-bar .mobile-nav{top:158px}
}

/* 表单提示 */
.form-ok.is-on{display:block}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#C0453C}

/* 后台编辑器常用对齐类 */
.alignleft{float:left;margin:0 24px 18px 0}
.alignright{float:right;margin:0 0 18px 24px}
.aligncenter{display:block;margin:18px auto}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:12.5px;color:var(--txt-3);padding-top:8px}
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;
  overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important;
}
body{overflow-x:hidden}

/* 询价留言列表 */
.jm-inquiry-meta{display:grid;grid-template-columns:120px 1fr;gap:6px 16px;margin:16px 0}
.jm-inquiry-meta dt{color:#646970}
