/* ===== 172hkgf.cn 补充样式：站内快速入口 / 资讯列表 / 文章页 ===== */

.quick-entry {
  padding: 40px 0 72px;
}

.quick-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(23, 26, 32, 0.12);
}

.qc-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.quick-card strong {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.quick-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.quick-card em {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue);
}

/* ---------- 资讯列表 ---------- */

.news-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(23, 26, 32, 0.12);
}

.news-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: var(--paper-deep, #eceae4);
}

.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-date {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.news-card strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.news-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card em {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 列表页 / 文章页 ---------- */

.page-hero {
  padding: 64px 0 44px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin: 0 0 14px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-hero p.lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.article-wrap {
  padding: 46px 0 80px;
}

.article-shell {
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
}

.article-body {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
}

.article-body h2 {
  margin: 44px 0 16px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.35;
}

.article-body h3 {
  margin: 32px 0 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 26px auto;
  border-radius: 6px;
}

.article-figure {
  margin: 30px 0;
  padding: 0;
}

.article-figure img {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 26, 32, 0.1);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
  color: var(--ink-soft);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  background: var(--paper);
  border-left: 3px solid var(--blue);
  color: var(--ink-soft);
}

.article-body a {
  color: var(--blue-deep, #2448c0);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 30px;
  padding-bottom: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.article-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.article-foot a:hover {
  color: var(--blue);
}

/* ---------- 文章页（独立页面版式） ---------- */

.article-hero {
  position: relative;
  padding: 56px 0 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}

.article-kicker span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.article-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.article-lead {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.article-hero .article-meta {
  margin: 24px 0 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.article-card {
  padding: 34px 40px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 26, 32, 0.06);
}

.article-cover {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 28px;
  border-radius: 6px;
}

.article-body h2 {
  padding-top: 8px;
  scroll-margin-top: 90px;
}

.article-body h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #4b74ee, #a04ce8);
  border-radius: 2px;
}

.article-body hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body code {
  padding: 2px 7px;
  background: var(--paper);
  border-radius: 4px;
  font-size: 0.92em;
}

.article-body strong {
  font-weight: 800;
}

.article-toc {
  margin: 0 0 26px;
  padding: 20px 24px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.article-toc-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
}

.article-toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.article-toc a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 30px 34px;
  color: var(--white);
  background: linear-gradient(120deg, #171a20 0%, #24305c 60%, #3a2b6b 100%);
  border-radius: 10px;
}

.article-cta-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.article-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.article-cta p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-cta .button-dark {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.article-nav-item span {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.article-nav-item strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.article-nav-item:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.article-nav-item.is-next {
  text-align: right;
  align-items: flex-end;
}

.article-nav-item.is-empty {
  display: none;
}

.article-related {
  margin-top: 52px;
}

.article-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.article-related-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.article-related-head a {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  text-decoration: none;
}

.article-related-head a:hover {
  color: var(--ink);
}

.article-related .news-grid {
  margin-top: 22px;
}

.article-back {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-back a {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  text-decoration: none;
}

.article-back a:hover {
  color: var(--ink);
}

@media (max-width: 700px) {
  .article-hero {
    padding: 38px 0 28px;
  }

  .article-card {
    padding: 24px 20px 8px;
  }

  .article-cta {
    padding: 24px 20px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-item.is-next {
    text-align: left;
    align-items: flex-start;
  }
}

/* ---------- 分页 ---------- */

.pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 44px;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
}

.pager .is-current {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.pager a:hover {
  border-color: var(--ink);
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .quick-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .quick-entry {
    padding: 20px 0 48px;
  }

  .quick-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .quick-card,
  .news-card {
    padding: 20px 18px;
  }

  .page-hero {
    padding: 40px 0 30px;
  }

  .article-wrap {
    padding: 30px 0 56px;
  }

  .article-shell {
    width: min(calc(100% - 36px), 860px);
  }
}

/* ---------- 内页主标题（h1 与 h2 同款排版） ---------- */
.section-heading h1,
.capability-intro h1,
.group-copy h1,
.agency-cta h1,
.gp-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 55px;
  font-weight: 900;
  line-height: 1.16;
}

@media (max-width: 1200px) {
  .section-heading h1,
  .capability-intro h1,
  .group-copy h1,
  .gp-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 700px) {
  .section-heading h1,
  .capability-intro h1,
  .group-copy h1,
  .gp-hero h1 {
    font-size: 38px;
  }
}
