/* 通晓集团 · SEO 文章页样式 */
:root {
  --ink: #1f2328;
  --ink-2: #4a5158;
  --ink-3: #7a828a;
  --line: #e8eaed;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --brand: #185fa5;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.hd {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.hd .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 56px;
}
.logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .5px;
}
.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.nav a:hover { color: var(--brand); }

/* 面包屑 */
.crumb {
  font-size: 13px;
  color: var(--ink-3);
  margin: 22px 0 10px;
  line-height: 1.6;
  word-break: break-all;
}
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 6px; }
.crumb em { font-style: normal; color: var(--ink-2); }

/* 文章 */
.post h1 {
  font-size: 26px;
  line-height: 1.45;
  font-weight: 600;
  margin: 6px 0 14px;
  letter-spacing: -.2px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.tag {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 8px;
  color: var(--ink-2);
}

/* 正文 */
.cnt { font-size: 17px; }
.cnt p { margin: 0 0 18px; }
.cnt h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 34px 0 14px;
  padding-left: 11px;
  border-left: 3px solid var(--brand);
  line-height: 1.5;
}
.cnt h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--ink);
}
.cnt h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}
.cnt img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 4px;
  display: block;
}
.cnt ul, .cnt ol { margin: 0 0 18px; padding-left: 24px; }
.cnt li { margin-bottom: 8px; }
.cnt blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  background: var(--bg-2);
  border-left: 3px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
}
.cnt strong, .cnt b { font-weight: 600; }
.cnt a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(24,95,165,.3); }
.cnt a:hover { border-bottom-color: var(--brand); }
.cnt hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cnt table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  min-width: 480px;
}
.cnt th, .cnt td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.cnt th { background: var(--bg-2); font-weight: 600; white-space: nowrap; }
.cnt tr:last-child td { border-bottom: 0; }
.cnt td:last-child, .cnt th:last-child { border-right: 0; }

/* 相关推荐 */
.rel {
  margin: 46px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.rel h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
}
.rel ul { list-style: none; margin: 0; padding: 0; }
.rel li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.6;
}
.rel li:last-child { border-bottom: 0; }
.rel a { color: var(--ink-2); text-decoration: none; }
.rel a:hover { color: var(--brand); }

/* 列表页 */
.list-h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 8px 0 8px;
}
.list-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 24px;
}
.arc-list { list-style: none; margin: 0; padding: 0; }
.arc-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.arc-list a {
  display: block;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 6px;
}
.arc-list a:hover { color: var(--brand); }
.li-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.li-meta em {
  font-style: normal;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 7px;
}

/* 分页 */
.pg {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 30px 0 50px;
  font-size: 14px;
}
.pg a, .pg span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  text-decoration: none;
}
.pg a:hover { border-color: var(--brand); color: var(--brand); }
.pg .on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 页脚 */
.ft {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 40px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.ft p { margin: 4px 0; }
.ft a { color: var(--ink-3); text-decoration: none; }
.ft a:hover { color: var(--brand); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .post h1 { font-size: 21px; }
  .cnt h2 { font-size: 18px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 12px; }
  .nav a { font-size: 13px; }
}
