:root {
  --article-text: #25333a;
  --article-heading: #15313d;
  --article-muted: #60727b;
  --article-line: #dce9e7;
  --article-teal: #2f9f87;
  --article-teal-dark: #177d69;
  --article-teal-soft: #eef8f5;
  --article-purple: #88619a;
  --article-yellow: #e4ae3a;
  --article-blue: #4298b4;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--article-text);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.article-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(28px, 5.2vw, 78px);
  border-bottom: 1px solid #e7ecef;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 0 rgba(37, 51, 58, .03);
  backdrop-filter: blur(16px);
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--article-text);
  text-decoration: none;
  white-space: nowrap;
}

.article-brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.article-brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.article-brand-word b {
  font-weight: 900;
}

.logo-purple {
  color: var(--article-purple);
}

.logo-green {
  color: #33a474;
}

.logo-yellow {
  color: var(--article-yellow);
}

.logo-blue {
  color: var(--article-blue);
}

.article-site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
}

.article-site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 2px;
  color: #2f3d44;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.article-site-header nav a:hover,
.article-site-header nav a:focus-visible {
  color: #229a83;
  outline: none;
}

.article-site-header nav a:hover::after,
.article-site-header nav a:focus-visible::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #229a83;
}

.article-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--article-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.article-header-cta:hover,
.article-header-cta:focus-visible {
  background: var(--article-teal-dark);
  color: #fff;
  outline: none;
}

.article-page-hero {
  padding: 76px 22px 68px;
  background: linear-gradient(180deg, #f3faf8 0%, #fff 100%);
  text-align: center;
}

.article-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #829097;
  font-size: 13px;
}

.article-breadcrumb a {
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--article-teal-dark);
}

.article-category {
  display: block;
  color: var(--article-teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.article-page-hero h1 {
  max-width: 900px;
  margin: 15px auto 18px;
  color: var(--article-heading);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.article-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--article-muted);
  font-size: 18px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  color: #8a979d;
  font-size: 13px;
}

.article-page-shell {
  width: min(100% - 36px, 1040px);
  margin: 0 auto;
  padding: 58px 0 84px;
}

.article-detail {
  max-width: 880px;
  margin: 0 auto;
}

.article-body {
  color: #4f626b;
  font-size: 17px;
  line-height: 1.92;
}

.article-body h2 {
  margin: 52px 0 15px;
  color: var(--article-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 36px 0 12px;
  color: #18313d;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.4;
}

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

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

.article-body li {
  margin: 6px 0;
}

.article-body blockquote {
  margin: 34px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--article-teal);
  border-radius: 0 6px 6px 0;
  background: var(--article-teal-soft);
  color: #3f5f5c;
}

.article-body a {
  color: var(--article-teal-dark);
}

.article-note {
  margin: 54px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: #f8fbfa;
}

.article-note strong {
  color: var(--article-teal-dark);
  font-size: 15px;
}

.article-note p {
  margin: 6px 0 0;
  color: #5d706f;
  font-size: 14px;
  line-height: 1.8;
}

.article-related {
  padding: 76px 0 0;
}

.article-section-heading {
  margin-bottom: 24px;
}

.article-section-heading span {
  color: var(--article-teal);
  font-size: 14px;
  font-weight: 900;
}

.article-section-heading h2 {
  margin: 7px 0 0;
  color: var(--article-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-related-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(32, 70, 76, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-related-card:hover,
.article-related-card:focus-visible {
  border-color: rgba(47, 159, 135, .45);
  box-shadow: 0 22px 48px rgba(32, 70, 76, .09);
  outline: none;
  transform: translateY(-2px);
}

.article-related-card span {
  color: var(--article-teal);
  font-size: 13px;
  font-weight: 900;
}

.article-related-card strong {
  display: block;
  margin: 13px 0 10px;
  color: #18313d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.article-related-card p {
  margin: 0;
  color: #62727a;
  font-size: 14px;
  line-height: 1.75;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding: 28px 30px;
  border-radius: 8px;
  background: var(--article-teal-soft);
}

.article-cta span {
  color: var(--article-teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.article-cta h2 {
  margin: 7px 0 0;
  color: var(--article-heading);
  font-size: 24px;
  font-weight: 900;
}

.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 46px;
  border-radius: 6px;
  background: var(--article-teal);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.article-cta a:hover,
.article-cta a:focus-visible {
  background: var(--article-teal-dark);
  outline: none;
}

.article-site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100% - 1040px) / 2));
  border-top: 1px solid var(--article-line);
  background: #fff;
  color: #7d8b91;
  font-size: 12px;
}

.article-site-footer p {
  margin: 0;
}

.article-site-footer a {
  text-decoration: none;
}

.article-not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
}

.article-not-found strong {
  color: var(--article-teal);
  font-size: 80px;
}

.article-not-found h1 {
  margin: 0;
}

.article-not-found a {
  margin-top: 16px;
  color: var(--article-teal-dark);
}

@media (max-width: 900px) {
  .article-site-header {
    padding: 0 18px;
  }

  .article-site-header nav {
    gap: 12px;
  }

  .article-site-header nav a {
    font-size: 13px;
  }

  .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-site-header {
    min-height: 54px;
    gap: 10px;
    padding: 0 14px;
  }

  .article-brand {
    gap: 6px;
    min-width: 0;
  }

  .article-brand img {
    width: 26px;
    height: 26px;
  }

  .article-brand-word {
    font-size: 20px;
  }

  .article-site-header nav {
    display: none;
  }

  .article-header-cta {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
  }

  .article-page-hero {
    padding: 48px 20px 46px;
  }

  .article-breadcrumb {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .article-page-hero h1 {
    margin-top: 12px;
    font-size: 31px;
    line-height: 1.24;
  }

  .article-page-hero p {
    font-size: 15px;
    line-height: 1.78;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 17px;
    font-size: 12px;
  }

  .article-page-shell {
    width: min(100% - 36px, 1040px);
    padding: 42px 0 62px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .article-body h2 {
    margin-top: 42px;
    font-size: 25px;
  }

  .article-body h3 {
    margin-top: 30px;
    font-size: 20px;
  }

  .article-body p {
    margin-bottom: 19px;
  }

  .article-note {
    margin-top: 42px;
    padding: 19px 20px;
  }

  .article-related {
    padding-top: 54px;
  }

  .article-section-heading h2 {
    font-size: 29px;
  }

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

  .article-related-card {
    min-height: auto;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
    margin-top: 42px;
    padding: 24px;
  }

  .article-cta h2 {
    font-size: 21px;
  }

  .article-cta a {
    width: 100%;
  }

  .article-site-footer {
    align-items: center;
    flex-direction: column;
    padding: 24px 18px;
    text-align: center;
  }
}
