/*
Theme Name: CSAT Exams Corporate
Theme URI: https://www.csatexams.com/
Author: Shenzhen CSAT Sensor Technology Co., Ltd.
Author URI: https://www.csatexams.com/
Description: 一款专为中国工业制造与B2B企业官网打造的简体中文WordPress主题，内置幻灯片首屏、产品中心、行业应用、关于我们、新闻资讯及在线留言模块，启用后自动创建演示内容，适用于传感器、仪器仪表等工业设备制造企业官网建设。Designed for Chinese industrial manufacturing corporate websites with slider homepage, product showcase, industry application, about and news modules, auto-installs demo content on activation.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: csatexams
Domain Path: /languages
Tags: custom-menu, custom-logo, custom-colors, featured-images, full-width-template, translation-ready, threaded-comments, theme-options, e-commerce, two-columns, three-columns, four-columns

CSAT Exams Corporate WordPress Theme, Copyright 2024 Shenzhen CSAT Sensor Technology Co., Ltd.
CSAT Exams Corporate is distributed under the terms of the GNU GPL v2 or later.
*/

/* 基础样式 Reset & Base */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}
a {
  color: #0a5aa8;
  text-decoration: none;
}
a:hover {
  color: #084889;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 布局容器 */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部信息条 / 头部导航 */
.top-bar {
  background: #003a70;
  color: #e5e9ef;
  font-size: 12px;
}
.top-bar .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 80px;
}
.main-navigation ul {
  display: flex;
  gap: 36px;
}
.main-navigation a {
  color: #444;
  font-size: 15px;
  font-weight: 500;
}
.main-navigation .current-menu-item > a {
  color: #0a5aa8;
}

/* 首页幻灯片（中图/无标题） */
.hero-slider {
  background: #eef2f6;
  padding: 0;
}
.hero-slider .slides-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero-slider .slide {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: none;
}
.hero-slider .slide.active {
  display: block;
}

/* 栏目标题 */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .en {
  font-size: 12px;
  letter-spacing: 4px;
  color: #999;
  font-weight: 600;
}
.section-title .zh {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-top: 8px;
}
.section-title .bar {
  width: 40px;
  height: 4px;
  background: #0a5aa8;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* 产品网格 / 应用网格 */
.product-grid,
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .product-grid,
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.product-card .card-body {
  padding: 18px;
}

/* 页脚 */
.site-footer {
  background: #061d33;
  color: #c9d2dc;
  padding: 56px 0 0;
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 12px;
  color: #8694a3;
  text-align: center;
}
.site-footer .footer-bottom p {
  margin: 4px 0;
}

/* 响应式工具类 */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
