/* ============================================================
   补充样式：新闻列表服务端分页（不改变模板原有样式）
   ============================================================ */
.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.news-pagination__link {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.news-pagination__link:hover {
  color: var(--ink);
}

.news-pagination__link.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--red);
}

.news-pagination__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.news-pagination__meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .news-pagination__meta {
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================================
   Advantages：常见困扰 / 我们的处理方式
   仅作用于 .compare 表格，不修改模板原有样式
   ============================================================ */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.compare thead th {
  padding: 15px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare thead th:nth-child(1) {
  width: 17%;
  padding-left: 38px;
}
.compare thead th:nth-child(2) { width: 37%; }
.compare thead th:nth-child(3) { width: 46%; }

.compare tbody td {
  padding: 22px 24px;
  vertical-align: top;
  line-height: 1.9;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr {
  transition: background 0.2s var(--ease);
}

.compare tbody tr:hover {
  background: rgba(178, 30, 40, 0.025);
}

.compare tbody td:first-child {
  position: relative;
  padding-left: 38px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.compare tbody td:first-child::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 2px;
  height: 17px;
  background: var(--red);
}

.compare tbody td:nth-child(2) {
  color: var(--muted);
}

.compare tbody td:nth-child(3) {
  background: rgba(178, 30, 40, 0.035);
  color: var(--ink);
}

.compare tbody td:nth-child(3) b {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 760px) {
  .compare {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .compare thead {
    display: none;
  }

  .compare tbody,
  .compare tr,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare tbody tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .compare tbody tr:last-child {
    margin-bottom: 0;
  }

  .compare tbody td {
    padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line-soft);
    overflow-wrap: anywhere;
  }

  .compare tbody td:first-child {
    padding: 16px 20px 2px 34px;
    font-size: 18px;
    white-space: normal;
    border-bottom: 0;
  }

  .compare tbody td:first-child::before {
    left: 20px;
    top: 24px;
  }

  .compare tbody td:nth-child(2)::before,
  .compare tbody td:nth-child(3)::before {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--muted-2);
  }

  .compare tbody td:nth-child(2)::before { content: "常见困扰"; }
  .compare tbody td:nth-child(3)::before { content: "我们的做法"; }

  .compare tbody td:last-child {
    border-bottom: 0;
  }
}

/* ============================================================
   顶部信息条：地址 / 接听时间 / 咨询电话
   ============================================================ */
.top-strip {
  background: var(--ink);
  color: rgba(244, 242, 238, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 38px;
  max-width: calc(var(--wrap-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.top-strip__left,
.top-strip__right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.top-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.top-strip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(178, 30, 40, 0.18);
  flex: none;
}

.top-strip__divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.14);
  flex: none;
}

.top-strip__address {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(244, 242, 238, 0.62);
  transition: color 0.2s var(--ease);
}

.top-strip__address:hover {
  color: #fff;
}

.top-strip__item,
.top-strip__phone,
.top-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-strip__item .icon,
.top-strip__phone .icon {
  --icon: 13px;
}

.top-strip__phone {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: opacity 0.2s var(--ease);
}

.top-strip__phone:hover {
  opacity: 0.78;
}

.top-strip__cta {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}

.top-strip__cta:hover {
  color: #fff;
}

.top-strip__cta span {
  color: var(--red);
}

@media (max-width: 860px) {
  .top-strip__inner {
    height: 34px;
    gap: 12px;
  }

  .top-strip__left,
  .top-strip__right {
    gap: 10px;
  }

  .top-strip__address,
  .top-strip__divider,
  .top-strip__cta {
    display: none;
  }

  .top-strip__item {
    font-size: 10.5px;
  }
}

@media (max-width: 420px) {
  .top-strip__badge {
    display: none;
  }

  .top-strip__inner {
    justify-content: center;
  }
}
