/**
 * 技术架构页 · 表格与区块排版
 * 品牌色沿用 --hq-*（见 brand-theme.css）
 */

.architecture-page {
  background-color: var(--hq-bg-page, #fff);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

.architecture-page .arch-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--hq-after-banner-gap, 48px) 0 0;
}

.architecture-page .arch-section:last-of-type {
  padding-bottom: 64px;
}

.architecture-page .arch-section__head {
  text-align: center;
  margin-bottom: 28px;
}

.architecture-page .arch-section__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--hq-text-title, #1a1d21);
}

.architecture-page .arch-section__desc {
  margin: 0 auto;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--hq-text-muted, #5c6370);
}

.architecture-page .arch-table-wrap {
  overflow-x: auto;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  background: #fff;
}

.architecture-page .arch-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hq-text-title, #333);
}

.architecture-page .arch-table th,
.architecture-page .arch-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef1f6;
  vertical-align: top;
  text-align: left;
}

.architecture-page .arch-table thead th {
  background: var(--hq-bg-section, #f7f9fc);
  color: var(--hq-text-title, #1a1d21);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e4e9f2;
  white-space: nowrap;
}

.architecture-page .arch-table tbody tr:last-child th,
.architecture-page .arch-table tbody tr:last-child td {
  border-bottom: none;
}

.architecture-page .arch-table tbody tr:hover td,
.architecture-page .arch-table tbody tr:hover th {
  background: #fafbfd;
}

.architecture-page .arch-table .arch-table__label {
  width: 18%;
  font-weight: 600;
  color: var(--hq-primary, #284e9d);
  background: #fbfcfe;
  white-space: nowrap;
}

.architecture-page .arch-table--kv .arch-table__label {
  width: 15%;
}

.architecture-page .arch-table--kv td {
  width: 35%;
}

.architecture-page .arch-table--pair .arch-table__label {
  width: 18%;
}

@media (max-width: 768px) {
  .architecture-page .arch-section {
    width: calc(100% - 32px);
  }

  .architecture-page .arch-section:last-of-type {
    padding-bottom: 48px;
  }

  .architecture-page .arch-table {
    min-width: 520px;
    font-size: 13px;
  }

  .architecture-page .arch-table th,
  .architecture-page .arch-table td {
    padding: 12px 14px;
  }
}
