:root {
  --article-ink: #17201d;
  --article-muted: #65706b;
  --article-line: #dfe5e1;
  --article-paper: #ffffff;
  --article-green: #0a6f5a;
  --article-green-soft: #e8f5f0;
  --article-rust: #ad4a17;
}

* {
  box-sizing: border-box;
}

.gx-global-footer .container {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

html {
  color: var(--article-ink);
  background: var(--article-paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

body {
  min-width: 320px;
  margin: 0;
}

.article-translation-notice {
  width: min(900px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 12px 15px;
  color: #734214;
  background: #fff6e8;
  border: 1px solid #efd6ae;
  border-radius: 6px;
  font-size: 14px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.article-container {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

.article-header {
  border-bottom: 1px solid var(--article-line);
  background: rgb(251 252 250 / 96%);
}

.article-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

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

.article-brand span {
  display: grid;
  gap: 1px;
}

.article-brand strong {
  font-size: 19px;
}

.article-brand small {
  color: var(--article-muted);
  font-size: 12px;
}

.article-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #47524d;
  font-size: 14px;
  font-weight: 650;
}

.article-nav a:hover,
.article-nav a[aria-current="page"] {
  color: var(--article-green);
}

.article-header-cta,
.article-primary-button,
.article-secondary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.article-header-cta,
.article-primary-button {
  color: #fff;
  background: var(--article-green);
}

.article-secondary-button {
  color: var(--article-ink);
  background: #fff;
  border-color: var(--article-line);
}

.article-index-hero {
  padding: 68px 0 50px;
  background:
    linear-gradient(135deg, #f3f7f3 0%, #f8f5ef 62%, #edf5f3 100%);
  border-bottom: 1px solid var(--article-line);
}

.article-index-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 50px;
}

.article-eyebrow {
  color: var(--article-rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-index-hero h1 {
  max-width: 820px;
  margin: 12px 0 15px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.article-index-hero p {
  max-width: 760px;
  margin: 0;
  color: #4e5b55;
  font-size: 17px;
}

.article-index-note {
  padding-left: 24px;
  border-left: 3px solid var(--article-green);
}

.article-index-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.article-index-note p {
  color: var(--article-muted);
  font-size: 14px;
}

.article-index-main {
  padding: 42px 0 72px;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.article-toolbar h2 {
  margin: 0;
  font-size: 24px;
}

.article-count {
  color: var(--article-muted);
  font-size: 14px;
}

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

.article-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgb(27 46 38 / 9%);
}

.article-card-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1ed;
}

.article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.article-card:hover .article-card-cover img {
  transform: scale(1.025);
}

.article-card-body {
  padding: 19px 20px 21px;
}

.article-card-meta,
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  color: var(--article-muted);
  font-size: 13px;
}

.article-card-meta span:first-child,
.article-category {
  color: var(--article-green);
  font-weight: 750;
}

.article-card h3 {
  margin: 10px 0 9px;
  font-size: 20px;
  line-height: 1.35;
}

.article-card h3 a:hover {
  color: var(--article-green);
}

.article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #56615c;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-empty {
  padding: 70px 24px;
  color: var(--article-muted);
  background: #fff;
  border: 1px dashed var(--article-line);
  border-radius: 8px;
  text-align: center;
}

.article-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--article-ink);
  font-size: 20px;
}

.article-breadcrumb {
  padding: 15px 0;
  color: var(--article-muted);
  background: #fff;
  border-bottom: 1px solid var(--article-line);
  font-size: 13px;
}

.article-breadcrumb .article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-detail-hero {
  padding: 58px 0 40px;
  background: #fff;
}

.article-detail-heading {
  max-width: 1020px;
}

.article-detail-heading h1 {
  margin: 12px 0 17px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-detail-heading > p {
  max-width: 880px;
  margin: 0;
  color: #4e5a55;
  font-size: 18px;
}

.article-detail-meta {
  margin-top: 22px;
}

.article-cover {
  width: min(1440px, calc(100% - 40px));
  max-height: 680px;
  margin: 0 auto 48px;
  overflow: hidden;
  background: #e9eeea;
  border-radius: 8px;
}

.article-cover img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 320px);
  justify-content: center;
  gap: 66px;
  padding-bottom: 78px;
}

.article-prose {
  min-width: 0;
  color: #26312c;
  font-size: 17px;
  line-height: 1.85;
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose h2 {
  margin: 42px 0 16px;
  font-size: 30px;
  line-height: 1.24;
}

.article-prose h3 {
  margin: 32px 0 12px;
  font-size: 23px;
}

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

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

.article-prose li + li {
  margin-top: 7px;
}

.article-prose blockquote {
  margin: 28px 0;
  padding: 16px 20px;
  color: #3d4b44;
  background: var(--article-green-soft);
  border-left: 4px solid var(--article-green);
}

.article-prose pre {
  padding: 18px;
  overflow: auto;
  color: #f4f7f5;
  background: #1d2924;
  border-radius: 6px;
}

.article-prose code {
  padding: 2px 5px;
  background: #eef2ef;
  border-radius: 3px;
  font-size: 0.92em;
}

.article-prose pre code {
  padding: 0;
  background: transparent;
}

.article-prose a {
  color: var(--article-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.article-prose figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e9eeea;
  border-radius: 6px;
}

.article-prose figure figcaption {
  margin-top: 8px;
  color: var(--article-muted);
  font-size: 13px;
  text-align: center;
}

.article-faq {
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid #dce4df;
}

.article-faq h2 {
  margin-top: 0;
}

.article-faq details {
  padding: 16px 0;
  border-bottom: 1px solid #e2e8e4;
}

.article-faq summary {
  color: #1f2d26;
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
}

.article-faq p {
  margin: 10px 0 0;
  color: #53615a;
  font-size: 15px;
  line-height: 1.75;
}

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 24px;
}

.article-sidebar-section {
  padding: 22px;
  background: #f2f6f3;
  border-top: 3px solid var(--article-green);
}

.article-sidebar-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.article-sidebar-list {
  display: grid;
  gap: 12px;
}

.article-sidebar-list a {
  padding-bottom: 12px;
  border-bottom: 1px solid #d9e2dd;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.article-sidebar-list a:hover {
  color: var(--article-green);
}

.article-cta {
  margin-top: 18px;
  padding: 24px;
  color: #fff;
  background: #163d32;
}

.article-cta strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
}

.article-cta p {
  margin: 9px 0 18px;
  color: #dce8e2;
  font-size: 14px;
}

.article-cta a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #163d32;
  background: #fff;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.article-not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 60px 0;
}

.article-not-found > div {
  max-width: 640px;
  text-align: center;
}

.article-not-found h1 {
  margin: 0 0 12px;
  font-size: 42px;
}

.article-not-found p {
  color: var(--article-muted);
}

@media (max-width: 980px) {
  .article-nav {
    display: none;
  }

  .article-header-cta {
    margin-left: auto;
  }

  .article-index-hero-grid,
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .article-index-note {
    max-width: 620px;
  }

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

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-container,
  .article-cover {
    width: min(100% - 24px, 1440px);
  }

  .gx-global-footer .container {
    width: calc(100% - 24px);
  }

  .article-translation-notice {
    width: calc(100% - 24px);
  }

  .article-header-inner {
    min-height: 66px;
  }

  .article-brand small {
    display: none;
  }

  .article-header-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .article-index-hero {
    padding: 46px 0 38px;
  }

  .article-index-hero h1,
  .article-detail-heading h1 {
    font-size: 36px;
  }

  .article-index-hero p,
  .article-detail-heading > p {
    font-size: 16px;
  }

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

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

  .article-cover {
    margin-bottom: 32px;
  }

  .article-detail-layout {
    gap: 38px;
    padding-bottom: 54px;
  }

  .article-prose {
    font-size: 16px;
  }

  .article-prose h2 {
    font-size: 26px;
  }
}
