/* ==========================================================================
   公司页 /about
   沿用 blog.css 的页头页脚与排版基线，这里只加「档案表格」这一层
   ========================================================================== */

.ab-sec {
  padding: 46px 0 34px;
  border-top: 1px solid var(--line);
}
.ab-sec:first-of-type { border-top: none; padding-top: 8px; }

.ab-sec__head { max-width: 68ch; margin-bottom: 22px; }
.ab-sec__head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-d3);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ab-sec__head p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.62;
  margin: 0;
}

/* 事实表：左标签右值，值保持可读长度 */
.ab-rows { margin: 0; }
.ab-rows div {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 8px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ab-rows div:first-child { border-top: 1px solid var(--line); }
.ab-rows dt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 2px;
}
.ab-rows dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-800);
}

/* 正文段落：行长控制在 62–68 字符，别铺满整屏 */
.ab-prose { max-width: 66ch; }
.ab-prose p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-700);
  margin: 0 0 18px;
}
.ab-prose p:first-child {
  font-size: 1.0625rem;
  color: var(--ink-900);
}

.ab-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.ab-link:hover { border-bottom-color: var(--accent); }

/* 证书墙：这里比首页宽松，三列 */
.ab-certs.cert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1000px) {
  .ab-certs.cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ab-rows div { grid-template-columns: 1fr; gap: 4px; }
  .ab-certs.cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 证书卡（与首页同一套，独立页不加载 site.css 故内联一份） ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.cert { margin: 0; }

.cert__frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-000);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.cert__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.cert:hover .cert__frame {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px -18px rgba(20, 23, 15, 0.55);
}

.cert__blank {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: var(--s-3);
  text-align: center;
  color: var(--text-faint);
}

.cert__cap {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}
.cert__cap b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.cert__meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  word-break: break-word;
}
.cert__auth {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-muted);
}
.cert__state {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pine-700);
}
.cert--expiring .cert__state { color: var(--ochre-500); }
.cert--current .cert__state { color: var(--text-faint); }
.cert__entity {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ochre-500);
}
