/*
Theme Name: IKVE Industrial
Theme URI: https://www.szikve.cn
Description: 深圳市埃克韦斯科技有限公司 - 工业科技蓝白风 WordPress 主题（磁编码器/磁栅尺产品与新闻）
Version: 1.0.0
Author: CodeBuddy Rebuild
Tags: industrial, blue, white, responsive, custom-post-type
Text Domain: ikve
*/

:root {
  --blue-900: #0a2c52;
  --blue-800: #0d3a6b;
  --blue-700: #11487f;
  --blue-600: #1565b0;
  --blue-500: #1e6fc8;
  --blue-400: #3a93e0;
  --cyan-400: #21b3d6;
  --cyan-300: #5fd0e6;
  --ink: #1f2a36;
  --gray-700: #465563;
  --gray-500: #7b8896;
  --gray-300: #d4dde8;
  --gray-100: #eef3f9;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 58, 107, 0.10);
  --shadow-sm: 0 4px 14px rgba(13, 58, 107, 0.08);
  --radius: 14px;
  --maxw: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Han Sans", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--blue-900); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section__eyebrow {
  display: inline-block; letter-spacing: 3px; text-transform: uppercase;
  font-size: 13px; font-weight: 700; color: var(--cyan-400); margin-bottom: 10px;
}
.section__title { font-size: 32px; margin: 0 0 12px; }
.section__sub { color: var(--gray-500); font-size: 16px; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue-900); font-size: 19px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: 11px; color: var(--gray-500); font-weight: 500; letter-spacing: 1px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue-500); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--blue-800); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--blue-700); border: 1.5px solid var(--blue-500); }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(33,179,214,.25), transparent 60%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700) 60%, var(--blue-500));
  color: #fff;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 86px 0 96px; }
.hero__eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: 13px; color: var(--cyan-300); font-weight: 700; }
.hero h1 { color: #fff; font-size: 46px; margin: 14px 0 18px; }
.hero p.lead { font-size: 18px; color: #d7e6f6; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat .n { font-size: 30px; font-weight: 800; color: #fff; }
.hero__stat .l { font-size: 13px; color: #b9d2ec; }
.hero__visual {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
}
.hero__chip { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.hero__chip:last-child { border-bottom: 0; }
.hero__chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(33,179,214,.25); }
.hero__chip span { color: #eaf3fb; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--blue-800); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; text-align: center; }
.stats-band .n { font-size: 34px; font-weight: 800; color: #fff; }
.stats-band .l { color: #bcd4ee; font-size: 14px; }

/* ---------- Product grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--gray-100), #fff); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { font-size: 30px; font-weight: 800; color: var(--blue-400); }
.card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__cat { font-size: 12px; color: var(--cyan-400); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.card__title { font-size: 18px; margin: 6px 0 10px; }
.card__excerpt { color: var(--gray-700); font-size: 14px; flex: 1; }
.card__more { margin-top: 14px; font-weight: 700; color: var(--blue-600); font-size: 14px; }
.news__meta { font-size: 13px; color: var(--gray-500); margin-top: 8px; }

/* ---------- About / Applications ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.about__text p { color: var(--gray-700); }
.about__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--blue-700), var(--cyan-400)); min-height: 320px; display: grid; place-items: center; color: #fff; padding: 30px; text-align: center; }
.app-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.app-card:hover { transform: translateY(-5px); }
.app-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gray-100); color: var(--blue-600); display: grid; place-items: center; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.app-card h3 { font-size: 18px; margin: 0 0 8px; }
.app-card p { color: var(--gray-700); font-size: 14px; margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact__info { list-style: none; padding: 0; margin: 0; }
.contact__info li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.contact__info .k { font-weight: 700; color: var(--blue-800); min-width: 64px; }
.contact__info .v { color: var(--gray-700); }
.contact__form { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact__form label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; color: var(--blue-800); }
.contact__form input, .contact__form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 10px; font: inherit; color: var(--ink);
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,111,200,.15); }
.map-note { color: var(--gray-500); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #cfe0f2; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 54px 20px 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.site-footer a { color: #cfe0f2; }
.site-footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 18px; font-size: 13px; color: #9fb8d4; }

/* ---------- Single / archive ---------- */
.single__hero { background: linear-gradient(135deg, var(--blue-800), var(--blue-500)); color: #fff; padding: 54px 0; }
.single__hero h1 { color: #fff; font-size: 34px; margin: 0; }
.single__hero .crumb { font-size: 13px; color: var(--cyan-300); margin-bottom: 10px; }
.single__body { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 50px 0; }
.single__content { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); max-width: 860px; margin: 0 auto; width: 100%; }
.single__content img { border-radius: 10px; margin: 14px 0; }
.single__content table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.single__content th, .single__content td { border: 1px solid var(--gray-300); padding: 9px 12px; font-size: 14px; }
.single__content th { background: var(--gray-100); }
.entry-meta { color: var(--gray-500); font-size: 14px; margin-bottom: 18px; }
.page__title { background: linear-gradient(135deg, var(--blue-800), var(--blue-500)); color:#fff; padding: 50px 0; }
.page__title h1 { color:#fff; margin:0; }
.page__content { max-width: 860px; margin: 0 auto; padding: 46px 20px; }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin: 0 0 6px; }
.breadcrumb a { color: var(--blue-600); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
/* 抽屉断点 760px（原 720px）：与桌面导航 761px 下限无缝衔接。
   原 720px 会在 721-760px 留下一段「横排导航 + 无汉堡按钮」的空档。 */
@media (max-width: 760px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 0; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 20px; width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav__toggle { display: block; }
  .hero h1 { font-size: 34px; }
  .section { padding: 54px 0; }
  .section__title { font-size: 26px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
}

/* IKVE custom brand assets */
.brand .custom-logo-link { display: flex; align-items: center; }
.brand .custom-logo { display: block; width: auto; height: 56px; max-width: 235px; object-fit: contain; }
.brand__fallback { display: flex; align-items: center; gap: 12px; color: inherit; }
@media (max-width: 720px) {
  .brand .custom-logo { height: 48px; max-width: 190px; }
}

/* IKVE centered nav */
@media (min-width: 721px) {
  .site-header__inner { position: relative; }
  .site-header .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}

/* IKVE homepage hero image */
.hero {
  background-image:
    linear-gradient(90deg, rgba(4, 30, 58, .97) 0%, rgba(6, 48, 87, .90) 39%, rgba(8, 52, 88, .50) 68%, rgba(4, 23, 42, .24) 100%),
    url("https://szikve.com/wp-content/uploads/2026/09/ikve-industrial-robot-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero__visual {
  background: rgba(4, 30, 58, .62);
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}
@media (max-width: 980px) {
  .hero {
    background-position: 62% center;
  }
}
@media (max-width: 720px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(4, 30, 58, .94) 0%, rgba(6, 48, 87, .84) 62%, rgba(4, 23, 42, .72) 100%),
      url("https://szikve.com/wp-content/uploads/2026/09/ikve-industrial-robot-hero.jpg");
    background-position: 64% center;
  }
  .hero__visual { background: rgba(4, 30, 58, .72); }
}

/* IKVE wider homepage hero */
@media (min-width: 981px) {
  .hero .container { max-width: 1380px; }
  .hero__inner {
    grid-template-columns: 1.05fr .72fr;
    gap: 54px;
    padding-top: 96px;
    padding-bottom: 104px;
  }
}

/* IKVE exact 1920x800 hero */
@media (min-width: 981px) {
  .hero { height: 800px; }
  .hero__inner { height: 800px; padding-top: 0; padding-bottom: 0; }
}

/* ---------- Hero 右侧面板标题（2026-09-23 新增） ---------- */
.hero__visual-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  margin: 0 0 12px;
  padding: 0 0 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, .28);
}
@media (max-width: 560px) {
  .hero__visual-title { font-size: 17px; letter-spacing: 2px; }
}

/* ---------- Hero 大图底部居中徽标（2026-09-23 新增） ---------- */
.hero__badge {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  line-height: 0;
}
.hero__badge img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .30);
}
@media (max-width: 980px) {
  .hero__badge { bottom: 24px; }
  .hero__badge img { width: 200px; }
}
@media (max-width: 720px) {
  .hero__badge { bottom: 18px; }
  .hero__badge img { width: 160px; }
}

/* ============================================================
   技术支持页（/support/）  2026-09-23 新增
   结构：.support-hero 横幅 + .support 工具条 + .faq-item 折叠列表 + .doclist 下载列表
   ============================================================ */
.support-hero {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(4, 30, 58, .95) 0%, rgba(6, 48, 87, .88) 42%, rgba(8, 52, 88, .58) 72%, rgba(4, 23, 42, .40) 100%),
    url("https://szikve.com/wp-content/uploads/2026/09/ikve-industrial-robot-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 84px 0;
}
.support-hero__eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cyan-300);
  font-weight: 700;
}
.support-hero__title { color: #fff; font-size: 44px; margin: 12px 0 0; line-height: 1.15; }

.support { background: var(--bg-soft); }
.support__head {
  display: flex; flex-wrap: wrap; gap: 20px 26px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 26px;
}
.support__eyebrow { font-size: 13px; color: var(--gray-500); letter-spacing: 1px; }
.support__title { font-size: 34px; margin: 6px 0 0; color: var(--blue-900); }
.support__head-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.support__search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gray-300); border-radius: 99px;
  padding: 4px 4px 4px 18px; min-width: 320px;
}
.support__search input {
  border: 0; outline: 0; flex: 1; min-width: 90px;
  font-size: 14px; padding: 9px 0; background: transparent;
  color: var(--ink); font-family: inherit;
}
.support__search button {
  border: 0; border-radius: 99px; padding: 10px 20px;
  background: var(--gray-100); color: var(--gray-700);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background .18s;
}
.support__search button:hover { background: var(--gray-300); }

.support__tabs { display: flex; gap: 10px; }
.support__tab {
  background: #fff; border: 1px solid var(--gray-300); color: var(--blue-900);
  border-radius: 99px; padding: 11px 24px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: .18s;
}
.support__tab:hover { border-color: var(--blue-400); color: var(--blue-600); }
.support__tab.is-active {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- 常见问题折叠项 ---------- */
.faq-item {
  background: #fff; border: 1px solid var(--gray-100); border-radius: 12px;
  margin: 0 0 12px; overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; font-size: 15.5px; font-weight: 600; color: var(--blue-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "?"; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.faq-item summary::after {
  content: "+"; margin-left: auto; flex: 0 0 26px; height: 26px;
  border: 1px solid var(--gray-300); border-radius: 50%; color: var(--gray-500);
  display: grid; place-items: center; font-size: 17px; line-height: 1; font-weight: 400;
  transition: .18s;
}
.faq-item[open] summary::after {
  content: "−"; background: var(--blue-600); border-color: var(--blue-600); color: #fff;
}
.faq-item[open] summary { border-bottom: 1px dashed var(--gray-100); }
.faq-a { padding: 16px 22px 20px 60px; color: var(--gray-700); font-size: 14.5px; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

.support__empty { color: var(--gray-500); font-size: 14px; text-align: center; padding: 22px 0 0; }

/* ---------- 文件下载 ---------- */
.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doclist__item a {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--gray-100); border-radius: 12px;
  padding: 18px 20px; text-decoration: none;
  color: var(--blue-900); font-weight: 600; font-size: 15px;
  transition: .18s;
}
.doclist__item a:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.doclist__meta { margin-left: auto; color: var(--gray-500); font-size: 13px; font-weight: 400; white-space: nowrap; }
.doclist__dl { color: var(--blue-600); font-size: 14px; white-space: nowrap; }

.support__empty-box {
  background: #fff; border: 1px dashed var(--gray-300); border-radius: 12px;
  padding: 30px 24px; text-align: center; color: var(--gray-700); font-size: 14.5px;
}
.support__empty-box p { margin: 0 0 10px; }
.support__empty-box p:last-child { margin-bottom: 0; }
.support__empty-actions { color: var(--gray-500); font-size: 14px; }
.support__empty-actions strong { color: var(--blue-900); }
.support__empty-actions a { color: var(--blue-600); font-weight: 600; }

@media (max-width: 980px) {
  .support-hero { padding: 62px 0; }
  .support-hero__title { font-size: 34px; }
}
@media (max-width: 720px) {
  .support-hero { padding: 48px 0; background-position: 64% center; }
  .support-hero__title { font-size: 28px; }
  .support__title { font-size: 26px; }
  .support__head-right { width: 100%; }
  .support__search { min-width: 0; width: 100%; }
  .faq-item summary { font-size: 15px; padding: 16px 16px; gap: 12px; }
  .faq-a { padding: 14px 16px 18px 16px; }
  .doclist__item a { flex-wrap: wrap; gap: 8px 14px; }
  .doclist__meta { margin-left: 0; }
  .doclist__dl { margin-left: auto; }
}

/* ============================================================
   首页产品中心 · 分类板块版式（2026-09-23 新增）
   参考：蓝色全高板块 + 产品图 + 底部白色分类名
   注意：站上产品图有白底也有近黑底，故图片放在白色卡内，
        不用 mix-blend-mode 叠加（否则黑底图会变成大黑块）
   ============================================================ */
.catwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.catwall__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 376px;
  padding: 32px 26px 30px;
  background: var(--blue-800);
  color: #fff;
  text-decoration: none;
  transition: filter .22s;
}
.catwall__item:nth-child(3n+2) { background: #2f74b8; }
.catwall__item:hover { filter: brightness(1.08); }
.catwall__media {
  flex: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  min-height: 190px;
}
.catwall__media img {
  display: block;
  max-width: 100%;
  max-height: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.catwall__ph { color: var(--blue-900); font-size: 26px; font-weight: 800; letter-spacing: 3px; }
.catwall__label {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
}
.catwall__more { text-align: center; margin-top: 34px; }

@media (max-width: 980px) {
  .catwall { grid-template-columns: 1fr; }
  .catwall__item { min-height: 0; gap: 18px; padding: 22px; }
  .catwall__media { min-height: 150px; padding: 14px; }
  .catwall__media img { max-height: 150px; }
  .catwall__label { font-size: 16px; }
}

@media (max-width: 720px) {
  .catwall__media { min-height: 130px; }
  .catwall__media img { max-height: 130px; }
}

/* ---------- 新闻卡片配图：完整显示并按比例缩小（2026-09-23 新增）
   原图是 600x267（2.25:1）的 IKVE 字样图，卡片媒体框是 4:3 且原来用 object-fit:cover，
   会被放大约 1.7 倍并从两侧裁掉，导致只看见巨大的“IKV”字母。
   改为 contain + 缩到 70%，图片完整可见且明显变小。 ---------- */
.card--news .card__media img {
  object-fit: contain;
  width: 70%;
  height: auto;
}
@media (max-width: 720px) {
  .card--news .card__media img { width: 78%; }
}

/* ---------- 应用场景卡片配图（2026-09-23 新增） ---------- */
.app-card--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.app-card--img .app-card__media { aspect-ratio: 3/2; overflow: hidden; background: var(--gray-100); }
.app-card--img .app-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card--img .app-card__body { padding: 20px 24px 24px; flex: 1; }

/* ============================================================
   应用场景页 page-applications.php（2026-09-24 新增）
   横幅 + 行业覆盖卡片 + 场景详情（图文左右交替）+ 结尾 CTA
   复用主题既有变量：--blue-900/--cyan-400/--bg-soft/--radius/--shadow
   ============================================================ */

/* ---------- 顶部横幅：沿用技术支持页横幅的视觉语言 ---------- */
.app-hero {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(4, 30, 58, .95) 0%, rgba(6, 48, 87, .88) 42%, rgba(8, 52, 88, .58) 72%, rgba(4, 23, 42, .40) 100%),
    url("https://szikve.com/wp-content/uploads/2026/09/ikve-app-line.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 84px 0;
}
.app-hero__eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cyan-300);
  font-weight: 700;
}
.app-hero__title { color: #fff; font-size: 44px; margin: 12px 0 0; line-height: 1.15; }
.app-hero__sub {
  color: #d9e8f6;
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 16px 0 0;
}

/* ---------- 行业覆盖 ---------- */
.app-overview { background: #fff; }

/* ---------- 应用领域全景图（磁环 / 磁栅尺）并排 ----------
   要求：保持全景图原始配色，不得出现背景发白的「白斑」（2026-09-25 重做）。
   要点：
   1) 直接引用 PNG 原图，不加 filter / mix-blend-mode，配色 100% 保真；
   2) 图片完整显示，不做圆角裁切、不裁边，不产生露白的缺角；
   3) 卡片底色取全景图自身的浅蓝灰，圆角处与画面无缝，不留白色亮边；
   4) 两图宽高比不同（0.958 / 1.262），列宽按宽高比分配 → 显示高度一致，
      消除并排时矮图下方的大片空白。 */
.app-maps {
  display: grid;
  grid-template-columns: 958.08fr 1262.32fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto 46px;
}
.app-map {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ebf1f7;              /* 与全景图自带底色一致，避免色差白边 */
  border: 1px solid #dce6f1;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.app-map:hover { box-shadow: var(--shadow); }

.app-map__frame {
  display: block;
  flex: 1;
  background: #ebf1f7;
}
/* 关键：不加 object-fit / filter / blend-mode，宽度自适应、高度按原始比例，
   图片完整无裁切，配色与设计稿一致。 */
.app-map__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-map__cap {
  padding: 14px 18px 16px;
  background: #fff;
  border-top: 1px solid #e4ecf5;
  text-align: center;
}
.app-map__cap-t {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: .5px;
}
.app-map__cap-s {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
@media (max-width: 980px) {
  .app-maps { grid-template-columns: 1fr; gap: 20px; }
}

.app-card--img .app-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}
a.app-card { text-decoration: none; color: inherit; }
a.app-card:hover .app-card__more { color: var(--cyan-400); }

/* 卡片上方的小标题（应用实例）：与详情区的「行业痛点」标签同款视觉语言，
   即 短横线 + 加粗文字，形成一套统一的分节语气。 */
.app-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.app-subhead__label {
  position: relative;
  padding-left: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: .5px;
}
.app-subhead__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 4px;
  height: .92em;
  border-radius: 2px;
  background: var(--cyan-400);
}
.app-subhead__hint {
  font-size: 13px;
  color: var(--gray-500);
}

/* ---------- 场景详情 ---------- */
.app-detail { background: #fff; }
.app-detail--soft { background: var(--bg-soft); }
.app-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
/* 偶数条左右交替，阅读节奏更自然 */
.app-detail--soft .app-detail__grid { direction: rtl; }
.app-detail--soft .app-detail__grid > * { direction: ltr; }

.app-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-100);
  aspect-ratio: 3/2;
}
.app-detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-detail__index {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan-400);
}
.app-detail__title {
  font-size: 30px;
  margin: 6px 0 10px;
  color: var(--blue-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-detail__ico { font-size: 26px; }
.app-detail__lead { color: var(--gray-500); font-size: 16px; margin: 0 0 22px; }

.app-detail__block { margin-bottom: 18px; }
.app-detail__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue-700);
  margin-bottom: 6px;
}
.app-detail__label--inline { display: block; margin-bottom: 10px; }
.app-detail__block p { color: var(--gray-700); font-size: 15px; line-height: 1.85; margin: 0; }

.app-detail__points {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.app-detail__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}
.app-detail__points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
}

.app-detail__prods {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}
.app-detail--soft .app-detail__prods { border-top-color: var(--gray-300); }
.app-pill {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--gray-300);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.app-pill:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
  transform: translateY(-2px);
}

/* ---------- 结尾 CTA ---------- */
.app-cta { background: #fff; padding-top: 0; }
.app-cta__box {
  border-radius: var(--radius);
  padding: 46px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(900px 320px at 80% -20%, rgba(33, 179, 214, .32), transparent 62%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700) 60%, var(--blue-500));
  box-shadow: var(--shadow);
}
.app-cta__box h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.app-cta__box p { color: #d9e8f6; font-size: 15px; line-height: 1.8; max-width: 620px; margin: 0 auto 26px; }
.app-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .app-detail__grid { grid-template-columns: 1fr; gap: 26px; }
  /* 窄屏取消左右交替，统一图片在上 */
  .app-detail--soft .app-detail__grid { direction: ltr; }
  .app-hero { padding: 62px 0; }
  .app-hero__title { font-size: 34px; }
  .app-detail__title { font-size: 25px; }
  /* 全景图改为上下堆叠，各自放宽 */
  .app-maps { flex-direction: column; gap: 30px; }
  .app-map__frame { padding: 12px; }
}
@media (max-width: 720px) {
  .app-subhead { margin-bottom: 16px; padding-bottom: 12px; }
  .app-subhead__label { font-size: 17px; }
  .app-subhead__hint { display: none; }   /* 窄屏隐藏提示，避免换行占位 */
  .app-maps { margin-bottom: 34px; gap: 24px; }
  .app-map__frame { padding: 10px; }
  .app-map__cap { padding: 0 16px 16px; }
  .app-map__cap-t { font-size: 15px; }
  .app-map__cap-s { font-size: 12.5px; }
  .app-hero__title { font-size: 28px; }
  .app-hero__sub { font-size: 15px; }
  .app-cta__box { padding: 34px 22px; }
  .app-cta__box h2 { font-size: 22px; }
  .app-cta__actions { flex-direction: column; }
  .app-cta__actions .btn { width: 100%; justify-content: center; }
}
/* ============================================================
   页头放大（2026-09-24）
   用户反馈 logo 偏小。原值：头部 68px / logo 高 56px / 导航 15px。
   新值：80px / 72px / 16px。logo 原图 760x320，放大后仍清晰。
   注意 --header-h 是全局变量，导航、锚点偏移、移动端抽屉都依赖它，
   这里只在 :root 覆盖一次即可带动全站。
   ============================================================ */
:root {
  --header-h: 80px;
}
.brand .custom-logo,
.custom-logo {
  height: 72px;
  max-width: 300px;
}
.nav a {
  font-size: 16px;
}
.nav {
  gap: 30px;
}
/* 页头变高后，首屏 hero 顶部留白同步略增，避免视觉上被压 */
@media (min-width: 981px) {
  .hero__inner {
    padding-top: 104px;
    padding-bottom: 110px;
  }
}

/* 移动端：头部高度用 68px 更省空间，logo 相应收小 */
@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }
  .brand .custom-logo,
  .custom-logo {
    height: 54px;
    max-width: 210px;
  }
  .nav a {
    font-size: 15.5px;
  }
}

/* 超窄屏再收一档 */
@media (max-width: 420px) {
  .brand .custom-logo,
  .custom-logo {
    height: 48px;
    max-width: 180px;
  }
}

/* 锚点跳转自动避让固定页头（跟随 --header-h 变量，改页头尺寸无需再改这里） */
.app-nav,
[id^="app-"] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ============================================================
   页头导航：字号放大 + 单行不换行（2026-09-24 定型）
   背景：用户先反馈"字太小"，放大后又在窄窗口下折成两行。
   根因：.nav a 原本没有 white-space:nowrap → 空间不足时文字被逐字折行。
   方案：nowrap 保证单行；用断点逐级收紧 gap 与字号，而不是折行。
        实测（容器内宽 1160，logo 显示宽 171px）各档均有余量，见注释。
   ============================================================ */
.nav {
  gap: 26px;
  flex-wrap: nowrap;
}
.nav a {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;      /* 关键：禁止菜单项内部折行 */
}

/* ≤1320px：收间距，字号保持 18px（实测余量 ≥60px） */
@media (max-width: 1320px) and (min-width: 1041px) {
  .site-header .nav {
    gap: 15px;
  }
}

/* ≤1040px 且 ≥761px：脱离绝对居中改为右对齐静态排布，字号 17px
   实测（logo 171px + 导航 520px + 容器 padding 40px = 731px 是临界值），
   若下限留到 721px，721-730px 之间 logo 会被压到 94%。抬到 761px 后有 29px 余量。 */
@media (max-width: 1040px) and (min-width: 761px) {
  .site-header .nav {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 0 0 auto;
    gap: 13px;
  }
  .nav a {
    font-size: 17px;
  }
}

/* 移动端抽屉：竖排（阈值同步抬到 760px，与上一档无缝衔接，中间不留空档） */
@media (max-width: 760px) {
  .nav a {
    font-size: 17px;
  }
}

/* ---------- 产品类配图（宽幅白底产品照，2026-09-25 新增）----------
   新增的「游标磁栅尺 / 绝对式磁栅尺」实例用的是白底产品照，比例为 2.09 / 2.97，
   远宽于媒体框的 3:2。若沿用 object-fit:cover 会被放大并裁掉两端（标签文字被切）。
   这里改为完整显示（contain），并把框底色设为白色 —— 产品图本身是白底，
   上下留白与画面融合，看不出边界。 */
.app-card--img .app-card__media--fit { background: #fff; }
.app-card--img .app-card__media--fit img { object-fit: contain; }

/* ============================================================
   产品详情正文排版（2026-09-25 新增）
   供 page 内容区 post_content 使用。全部以 .pd- 前缀隔离，
   只影响显式使用这些类名的内容，不改动已有 8 个产品页的展示。
   ============================================================ */
.single__content .pd-lead {
	background: var(--bg-soft);
	border-left: 4px solid var(--cyan-400);
	border-radius: 0 10px 10px 0;
	color: var(--gray-700);
	font-size: 15.5px;
	line-height: 1.95;
	margin: 0 0 10px;
	padding: 16px 20px;
}
.single__content h2.pd-h2 {
	border-bottom: 1px solid var(--gray-100);
	color: var(--blue-900);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .5px;
	margin: 34px 0 14px;
	padding-bottom: 10px;
	position: relative;
}
.single__content h2.pd-h2::before {
	background: var(--cyan-400);
	border-radius: 2px;
	bottom: -1px;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	width: 54px;
}
.single__content h3.pd-h3 {
	color: var(--blue-800);
	font-size: 17px;
	font-weight: 700;
	margin: 24px 0 10px;
}
.single__content p.pd-p {
	color: var(--gray-700);
	font-size: 15px;
	line-height: 1.95;
	margin: 0 0 18px;
}
.single__content p.pd-p strong { color: var(--blue-900); }
.single__content ul.pd-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}
.single__content ul.pd-list li {
	color: var(--gray-700);
	font-size: 15px;
	line-height: 1.85;
	margin: 0 0 10px;
	padding: 0 0 0 24px;
	position: relative;
}
.single__content ul.pd-list li::before {
	background: var(--cyan-400);
	border-radius: 50%;
	content: "";
	height: 7px;
	left: 6px;
	position: absolute;
	top: .72em;
	width: 7px;
}
.single__content ul.pd-list li strong { color: var(--blue-900); }
.single__content table.pd-table {
	font-size: 14px;
	margin: 4px 0 22px;
}
.single__content table.pd-table th {
	background: var(--bg-soft);
	color: var(--blue-900);
	font-weight: 700;
	white-space: nowrap;
}
.single__content table.pd-table td:first-child {
	background: #fafcfe;
	color: var(--blue-900);
	font-weight: 600;
}
.single__content .pd-fig {
	margin: 6px 0 24px;
	text-align: center;
}
.single__content .pd-fig img {
	border: 1px solid var(--gray-100);
	box-shadow: var(--shadow-sm);
	margin: 0;
}
.single__content .pd-fig figcaption {
	color: var(--gray-500);
	font-size: 13px;
	line-height: 1.7;
	margin-top: 10px;
}
.single__content .pd-note {
	background: var(--bg-soft);
	border-radius: 10px;
	color: var(--gray-500);
	font-size: 13.5px;
	line-height: 1.85;
	margin: 26px 0 0;
	padding: 14px 18px;
}
.single__content ul.pd-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}
.single__content ul.pd-tags li {
	background: var(--gray-100);
	border-radius: 999px;
	color: var(--blue-700);
	font-size: 13.5px;
	margin: 0;
	padding: 6px 14px;
}
.single__content ul.pd-tags li::before { content: none; }
.single__content .pd-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 22px;
}
.single__content .pd-links a {
	background: var(--bg-soft);
	border: 1px solid var(--gray-100);
	border-radius: 999px;
	color: var(--blue-700);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 18px;
	transition: background .2s, color .2s, border-color .2s;
}
.single__content .pd-links a:hover {
	background: var(--blue-600);
	border-color: var(--blue-600);
	color: #fff;
}
@media (max-width: 640px) {
	.single__content h2.pd-h2 { font-size: 18px; }
	.single__content .pd-lead { font-size: 14.5px; padding: 14px 16px; }
	.single__content table.pd-table { font-size: 13px; }
}

/* ---------- footer: ICP / police beian ---------- */
.footer__beian { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.footer__beian a { color: #9fb8d4; text-decoration: none; }
.footer__beian a:hover { color: #fff; text-decoration: underline; }
