/* ==========================================================================
   OLD —— coepowers.com 现状风格复刻
   还原"经典 Elementor 模板站"观感：12px 正文、密排、方块卡片、
   悬浮菜单 + Cookie 条、深蓝页头、橙色强调。
   ========================================================================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  background: #fff;
}
a { color: #2f7fd1; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 1200px; max-width: 96%; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: #14304f; color: #b9c8d8; font-size: 11px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 30px; }
.topbar a { color: #b9c8d8; }
.topbar .langs span { margin-left: 8px; }
.topbar .langs span:hover { color: #fff; cursor: pointer; }

/* ---------- 页头 + 导航 ---------- */
.header { background: #fff; border-bottom: 3px solid #1a4f8a; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 3px;
  background: linear-gradient(160deg, #2f7fd1, #123a63);
  color: #fff; font-weight: bold; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  font-style: italic;
}
.logo-txt { font-size: 22px; font-weight: bold; color: #123a63; letter-spacing: .5px; }
.logo-txt small { display: block; font-size: 9px; font-weight: normal; color: #8a97a5; letter-spacing: 1.5px; }
.nav { display: flex; flex-wrap: wrap; }
.nav a {
  display: block; padding: 0 11px; line-height: 72px;
  font-size: 12.5px; font-weight: bold; color: #333;
  border-right: 1px solid #eee; text-transform: uppercase;
}
.nav a:first-child { border-left: 1px solid #eee; }
.nav a:hover { color: #fff; background: #2f7fd1; text-decoration: none; }
.nav a.on { color: #fff; background: #1a4f8a; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 320px;
  background: #123a63 center/cover no-repeat;
  color: #fff; text-align: center; padding: 54px 0 46px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(8, 26, 46, .62); }
.hero .wrap { position: relative; }
.hero h1 { font-size: 30px; line-height: 1.3; margin: 0 0 10px; font-weight: bold; }
.hero p { font-size: 13px; color: #d6e2ef; margin: 0 0 18px; }
.hero-tags { margin: 0 0 16px; }
.hero-tags span {
  display: inline-block; padding: 3px 10px; margin: 0 3px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  font-size: 11px; border-radius: 2px;
}
.btn {
  display: inline-block; padding: 9px 22px; border-radius: 2px;
  background: #f60; color: #fff; font-size: 13px; font-weight: bold;
  border: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .5px;
}
.btn:hover { background: #e05500; color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ---------- 通用区块 ---------- */
.section { padding: 34px 0; }
.section.alt { background: #f4f6f8; border-top: 1px solid #e6eaee; border-bottom: 1px solid #e6eaee; }
.sec-head { margin-bottom: 18px; }
.sec-head h2 {
  font-size: 20px; color: #123a63; margin: 0 0 6px; padding-left: 10px;
  border-left: 4px solid #f60; line-height: 1.2;
}
.sec-head p { font-size: 12px; color: #777; margin: 0; padding-left: 10px; }
.sec-head.center { text-align: center; }
.sec-head.center h2 { border-left: 0; padding-left: 0; }
.lead { font-size: 13px; color: #555; margin: 0 0 14px; }
.lead-2col { column-count: 2; column-gap: 34px; font-size: 12.5px; color: #555; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 14px; }
.grid.g5 { grid-template-columns: repeat(5, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid #dde3e9; background: #fff; padding: 14px;
  transition: border-color .2s;
}
.card:hover { border-color: #2f7fd1; }
.card .ico {
  width: 38px; height: 38px; border-radius: 3px; margin-bottom: 8px;
  background: #eaf2fa; color: #1a4f8a; font-size: 18px; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 14px; margin: 0 0 6px; color: #123a63; }
.card p { font-size: 12px; color: #666; margin: 0 0 8px; }
.card .more { font-size: 11.5px; }

/* 产品卡（旧站风格：图片 + 蓝色下划线标题） */
.prod-card { border: 1px solid #e0e5ea; background: #fff; text-align: center; padding: 10px; }
.prod-card .ph { background: #fafbfc; border: 1px solid #eef1f4; height: 190px; display: flex; align-items: center; justify-content: center; }
.prod-card .ph img { max-height: 175px; width: auto; }
.prod-card h3 { font-size: 12.5px; line-height: 1.45; margin: 9px 0 4px; font-weight: normal; }
.prod-card h3 a { color: #2f7fd1; }
.prod-card .meta { font-size: 11px; color: #999; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.stat { background: #1a4f8a; color: #fff; padding: 16px 8px; }
.stat b { display: block; font-size: 26px; line-height: 1.1; }
.stat span { font-size: 11px; color: #cfe0f0; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.tbl th, .tbl td { border: 1px solid #dde3e9; padding: 7px 9px; text-align: left; vertical-align: top; }
.tbl th { background: #eef3f8; color: #123a63; font-size: 11.5px; }
.tbl tr:nth-child(even) td { background: #fbfcfd; }

/* ---------- 图文两栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.split.rev .txt { order: 2; }

/* ---------- 列表 ---------- */
.ticks { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.ticks li { position: relative; padding: 3px 0 3px 16px; color: #555; }
.ticks li::before { content: "▪"; position: absolute; left: 0; color: #f60; }
.links-list { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.links-list li { padding: 5px 0; border-bottom: 1px dotted #e2e7ec; }

/* ---------- 表单 ---------- */
.form { background: #f7f9fb; border: 1px solid #e2e7ec; padding: 18px; }
.form h3 { margin: 0 0 4px; font-size: 16px; color: #123a63; }
.form p.sub { margin: 0 0 12px; font-size: 11.5px; color: #888; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: block; font-size: 11.5px; color: #555; margin: 0 0 3px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 7px 8px; border: 1px solid #ccd5de; background: #fff;
  font-family: inherit; font-size: 12.5px; color: #333; border-radius: 2px;
}
.form .field { margin-bottom: 10px; }
.form textarea { min-height: 74px; resize: vertical; }
.form .req { color: #e00; }

/* ---------- 面包屑 ---------- */
.crumb { background: #f2f5f8; border-bottom: 1px solid #e2e7ec; font-size: 11.5px; color: #888; }
.crumb .wrap { padding: 8px 0; }

/* ---------- 侧栏布局 ---------- */
.with-side { display: grid; grid-template-columns: 216px 1fr; gap: 24px; align-items: start; }
.side-box { border: 1px solid #dde3e9; background: #fff; margin-bottom: 14px; }
.side-box h3 {
  margin: 0; padding: 9px 12px; font-size: 13px; color: #fff;
  background: #1a4f8a; font-weight: bold;
}
.side-box ul { list-style: none; margin: 0; padding: 6px 0; }
.side-box li a { display: block; padding: 6px 12px; font-size: 12px; color: #444; border-bottom: 1px dotted #eee; }
.side-box li a:hover { background: #f4f8fc; color: #2f7fd1; text-decoration: none; }

/* ---------- 锚点目录 ---------- */
.toc { border: 1px solid #dde3e9; background: #fbfcfd; padding: 12px 14px; margin-bottom: 18px; }
.toc h4 { margin: 0 0 6px; font-size: 12.5px; color: #123a63; }
.toc ol { margin: 0; padding-left: 18px; font-size: 12px; column-count: 2; }

/* ---------- 文章列表 ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post { border: 1px solid #e0e5ea; background: #fff; }
.post .thumb { height: 128px; background: #eef2f6 center/cover no-repeat; }
.post .body { padding: 10px 12px; }
.post h3 { font-size: 12.5px; margin: 0 0 6px; line-height: 1.45; }
.post time { font-size: 10.5px; color: #999; }

/* ---------- 页脚 ---------- */
.footer { background: #2b2f33; color: #9aa4ad; font-size: 11.5px; padding: 26px 0 12px; margin-top: 10px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 24px; }
.footer h4 { color: #fff; font-size: 12.5px; margin: 0 0 8px; text-transform: uppercase; }
.footer a { color: #9aa4ad; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 2.5px 0; }
.footer .bottom { border-top: 1px solid #3c4146; margin-top: 16px; padding-top: 9px; font-size: 10.5px; color: #7d868e; display: flex; justify-content: space-between; }
.socials span {
  display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: #3c4146; color: #c8d0d7; margin-right: 4px; border-radius: 2px; font-size: 10px;
}

/* ---------- 悬浮元素（真实站的 float-menu / cookie 条） ---------- */
.floatmenu { position: fixed; left: 0; top: 42%; z-index: 90; display: flex; flex-direction: column; }
.floatmenu a {
  width: 34px; padding: 9px 4px; background: #1a4f8a; color: #fff; font-size: 10px;
  text-align: center; writing-mode: vertical-rl; letter-spacing: 1px; margin-bottom: 2px;
}
.floatmenu a:nth-child(2) { background: #f60; }
.floatmenu a:nth-child(3) { background: #25d366; }
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: #1d2226; color: #cfd6dc; font-size: 11px; padding: 9px 14px;
  display: flex; gap: 12px; align-items: center; justify-content: center;
}
.cookiebar button { background: #f60; color: #fff; border: 0; padding: 5px 12px; font-size: 11px; cursor: pointer; }

/* ---------- 移动端：旧站的典型表现 ---------- */
@media (max-width: 1024px) {
  .nav a { padding: 0 7px; font-size: 11px; }
  .grid.g5, .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .grid.g3, .posts { grid-template-columns: repeat(2, 1fr); }
  .with-side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 20px; }
  .grid.g5, .grid.g4, .grid.g3, .grid.g2, .stats, .split, .form .row, .posts, .footer .cols {
    grid-template-columns: 1fr;
  }
  .lead-2col { column-count: 1; }
  .header .wrap { height: auto; flex-direction: column; gap: 6px; padding: 8px 0; }
  .nav { justify-content: center; }
  .nav a { line-height: 30px; border: 0; padding: 0 6px; font-size: 11px; }
  .topbar .wrap { height: auto; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0; font-size: 10px; line-height: 1.4; }
  .topbar .langs { display: none; }
  .hero { padding: 30px 0 26px; min-height: 0; }
  .hero p { font-size: 12px; padding: 0 6px; }
  .hero-tags span { font-size: 10px; margin-bottom: 4px; }
  .btn { padding: 8px 16px; font-size: 12px; }
  .floatmenu { display: none; }
  .cookiebar { font-size: 10px; flex-wrap: wrap; gap: 6px; text-align: center; }
  .prod-card .ph { height: 150px; }
  .wrap { max-width: 94%; }
}



