/*
Theme Name: FAWE Astra Child
Theme URI: https://www.fawetech.com
Description: 长春孚艾沃科技有限公司官网子主题，基于 Astra。
Author: FAWETECH
Template: astra
Version: 1.0.0
Text Domain: fawe-child
*/

:root {
  --fawe-blue: #0d5aa9;
  --fawe-blue-d: #0a2f52;
  --fawe-blue-l: #1b8ad6;
  --fawe-ink: #17263a;
  --fawe-muted: #5b6c80;
  --fawe-line: #e3eaf2;
  --fawe-bg: #f5f8fc;
  --fawe-radius: 14px;
  --fawe-shadow: 0 12px 30px rgba(13, 45, 80, .08);
}

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--fawe-ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fawe-blue); }
a:hover { color: var(--fawe-blue-d); }

/* ---------- 页头 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--fawe-line);
  box-shadow: 0 2px 14px rgba(12, 40, 72, .04);
}
.site-header .ast-container { max-width: 1200px; }
.ast-primary-header-bar { min-height: 76px; }
.site-branding img { max-height: 46px; width: auto; }
.ast-site-title-wrap { display: none; }
.main-header-menu > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fawe-ink);
  padding: 0 16px;
}
.main-header-menu > li > a:hover { color: var(--fawe-blue); }
.main-header-menu .sub-menu {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(10, 40, 70, .14);
  border: 1px solid var(--fawe-line);
}
.main-header-menu .sub-menu a { font-size: 14px; }
.ast-header-break-point .main-header-menu { background: #fff; }

/* ---------- 通用容器 ---------- */
.fawe-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.entry-content > .fawe-section,
.entry-content > .fawe-hero,
.entry-content > .fawe-cta { margin-left: -24px; margin-right: -24px; }

/* ---------- 首页全宽 ---------- */
body.home .entry-header { display: none; }
body.home .site-content .ast-container { max-width: 100%; padding: 0; }
body.home .entry-content { margin: 0; }

/* ---------- Hero ---------- */
.fawe-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.fawe-hero .fawe-inner { width: 100%; padding-top: 70px; padding-bottom: 70px; }
.fawe-eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 18px;
}
.fawe-hero h1 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}
.fawe-lead { font-size: 18px; color: rgba(255, 255, 255, .86); margin: 0 0 32px; }
.fawe-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.fawe-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.fawe-btn.primary { background: var(--fawe-blue); color: #fff; box-shadow: 0 8px 22px rgba(13, 90, 169, .3); }
.fawe-btn.primary:hover { background: #0b4d91; color: #fff; transform: translateY(-2px); }
.fawe-btn.ghost { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.fawe-btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.fawe-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}
.fawe-hero-tags li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}
.fawe-hero-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fawe-blue-l);
}

/* ---------- 区块 ---------- */
.fawe-section { padding: 86px 24px; }
.fawe-alt { background: var(--fawe-bg); }
.fawe-head { max-width: 720px; margin: 0 0 46px; }
.fawe-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.fawe-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--fawe-blue);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.fawe-head h2 { font-size: 34px; line-height: 1.3; margin: 0 0 14px; color: var(--fawe-ink); }
.fawe-head p { font-size: 16px; color: var(--fawe-muted); margin: 0; line-height: 1.8; }

.fawe-grid { display: grid; gap: 22px; }
.fawe-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fawe-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fawe-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 能力卡片 */
.fawe-card {
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: var(--fawe-radius);
  padding: 30px 26px;
  transition: all .25s ease;
}
.fawe-card:hover { transform: translateY(-5px); box-shadow: var(--fawe-shadow); border-color: #cfe0f2; }
.fawe-ico {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e9f2fc, #d5e7fa);
  color: var(--fawe-blue);
  font-size: 20px;
  margin-bottom: 18px;
}
.fawe-card h3 { font-size: 18px; margin: 0 0 10px; color: var(--fawe-ink); }
.fawe-card p { font-size: 14.5px; line-height: 1.8; color: var(--fawe-muted); margin: 0; }

/* 产品卡片 */
.fawe-product {
  display: block;
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: var(--fawe-radius);
  overflow: hidden;
  text-decoration: none;
  transition: all .25s ease;
}
.fawe-product:hover { transform: translateY(-5px); box-shadow: var(--fawe-shadow); }
.fawe-product .ph {
  height: 190px;
  background: #f3f7fc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.fawe-product .ph img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.fawe-product h3 { font-size: 17px; color: var(--fawe-ink); margin: 18px 22px 6px; }
.fawe-product p { font-size: 13.5px; color: var(--fawe-muted); margin: 0 22px 22px; }
.fawe-more { margin-top: 34px; }
.fawe-more a { font-weight: 600; text-decoration: none; font-size: 15px; }

/* 关于区块 */
.fawe-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.fawe-copy h2 { font-size: 32px; margin: 0 0 18px; }
.fawe-copy p { font-size: 16px; line-height: 1.9; color: var(--fawe-muted); }
.fawe-check { list-style: none; padding: 0; margin: 22px 0 28px; }
.fawe-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fawe-ink);
}
.fawe-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background: var(--fawe-blue);
  border-radius: 50%;
}
.fawe-media img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--fawe-shadow); display: block; }

/* 服务/费用卡片 */
.fawe-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: var(--fawe-radius);
  overflow: hidden;
  text-decoration: none;
  transition: all .25s ease;
}
.fawe-feature:hover { transform: translateY(-5px); box-shadow: var(--fawe-shadow); }
.fawe-feature img { width: 100%; height: 200px; object-fit: cover; display: block; }
.fawe-feature .txt { padding: 22px 24px 26px; }
.fawe-feature .txt.no-img { padding-top: 34px; }
.fawe-feature h3 { font-size: 18px; margin: 0 0 10px; color: var(--fawe-ink); }
.fawe-feature p { font-size: 14.5px; line-height: 1.8; color: var(--fawe-muted); margin: 0 0 14px; }
.fawe-link { font-size: 14px; font-weight: 600; color: var(--fawe-blue); }

/* 新闻卡片 */
.fawe-news {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: var(--fawe-radius);
  overflow: hidden;
  text-decoration: none;
  transition: all .25s ease;
}
.fawe-news:hover { transform: translateY(-4px); box-shadow: var(--fawe-shadow); }
.fawe-news .ph { height: 100%; min-height: 160px; overflow: hidden; }
.fawe-news .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fawe-news .txt { padding: 24px 26px; }
.fawe-news .txt span { font-size: 12.5px; color: var(--fawe-blue); letter-spacing: .08em; }
.fawe-news h3 { font-size: 17.5px; line-height: 1.5; margin: 8px 0 8px; color: var(--fawe-ink); }
.fawe-news p { font-size: 14px; line-height: 1.75; color: var(--fawe-muted); margin: 0; }

/* CTA */
.fawe-cta {
  background: linear-gradient(120deg, #0a2f52, #0d5aa9 65%, #1478c8);
  color: #fff;
  padding: 66px 24px;
}
.fawe-cta .fawe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.fawe-cta h2 { font-size: 30px; color: #fff; margin: 0 0 8px; }
.fawe-cta p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.fawe-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 文章/页面排版 ---------- */
.ast-container { max-width: 1200px; }
.entry-content { font-size: 16.5px; line-height: 1.9; color: #3b4a5d; }
.entry-content h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 40px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--fawe-blue);
  color: var(--fawe-ink);
}
.entry-content h3 { font-size: 20px; margin: 30px 0 14px; color: var(--fawe-ink); }
.entry-content p { margin: 0 0 16px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 22px 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--fawe-line); padding: 10px 12px; }

/* 规格清单 */
.fawe-spec-list {
  list-style: none;
  padding: 0 !important;
  margin: 26px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  border-top: 1px solid var(--fawe-line);
}
.fawe-spec-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--fawe-line);
  font-size: 15.5px;
  line-height: 1.75;
}
.fawe-spec-list .k { flex: 0 0 132px; color: var(--fawe-blue-d); font-weight: 600; }
.fawe-spec-list .v { color: #43536a; }

/* 招聘列表 */
.fawe-job-list { margin: 12px 0 26px; padding-left: 22px !important; }
.fawe-job-list li { margin-bottom: 8px; line-height: 1.8; }

/* 联系信息 */
.fawe-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.fawe-contact-item {
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: 12px;
  padding: 22px 24px;
}
.fawe-contact-item .k { font-size: 13px; color: var(--fawe-muted); letter-spacing: .06em; margin-bottom: 6px; }
.fawe-contact-item .v { font-size: 17px; font-weight: 600; color: var(--fawe-ink); }
.fawe-contact-item .v a { text-decoration: none; }
.fawe-muted { color: var(--fawe-muted); font-size: 15px; }

/* 归档列表卡片 */
.ast-archive-description { font-size: 15px; color: var(--fawe-muted); }
.ast-article-post {
  background: #fff;
  border: 1px solid var(--fawe-line);
  border-radius: var(--fawe-radius);
  overflow: hidden;
  transition: all .25s ease;
}
.ast-article-post:hover { transform: translateY(-4px); box-shadow: var(--fawe-shadow); }
.ast-article-post .post-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ast-article-post .ast-post-format- .entry-content { font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-below-footer-wrap,
.site-footer { display: none !important; }
.fawe-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 13.5px;
  color: var(--fawe-muted);
}
.fawe-breadcrumb a { color: var(--fawe-muted); text-decoration: none; }
.fawe-breadcrumb a:hover { color: var(--fawe-blue); }
.fawe-breadcrumb .separator { margin: 0 6px; color: #a9b7c7; }
.fawe-footer { background: #08243f; color: rgba(255, 255, 255, .78); padding: 56px 0 26px; margin-top: 0; }
.fawe-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.fawe-footer h3 { color: #fff; font-size: 19px; margin: 0 0 10px; }
.fawe-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: .04em; }
.fawe-footer p { margin: 0 0 8px; font-size: 14px; line-height: 1.8; }
.fawe-footer ul { list-style: none; margin: 0; padding: 0; }
.fawe-footer li { margin-bottom: 8px; }
.fawe-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px; }
.fawe-footer a:hover { color: #fff; }
.fawe-copy { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); padding-top: 22px; }

/* ---------- 留言表单 ---------- */
.wpcf7-form p { margin: 0 0 18px; font-size: 15px; color: var(--fawe-ink); }
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--fawe-line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--fawe-ink);
  background: #fff;
  transition: border-color .2s;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus { border-color: var(--fawe-blue); outline: none; }
.wpcf7 input.wpcf7-submit {
  background: var(--fawe-blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.wpcf7 input.wpcf7-submit:hover { background: #0b4d91; }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .fawe-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fawe-split { grid-template-columns: 1fr; gap: 34px; }
  .fawe-spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .fawe-hero { min-height: 460px; }
  .fawe-hero h1 { font-size: 30px; }
  .fawe-lead { font-size: 16px; }
  .fawe-section { padding: 56px 18px; }
  .fawe-head h2, .fawe-copy h2 { font-size: 25px; }
  .fawe-grid.cols-3, .fawe-grid.cols-2 { grid-template-columns: 1fr; }
  .fawe-news { grid-template-columns: 1fr; }
  .fawe-news .ph { min-height: 170px; }
  .fawe-contact-grid { grid-template-columns: 1fr; }
  .fawe-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .fawe-spec-list .k { flex: 0 0 96px; }
  .fawe-cta h2 { font-size: 23px; }
}
