.article-page {
  --article-side-width: 320px;
  --article-grid-gap: 24px;
  padding: 12px 0 88px;
}

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--article-side-width);
  gap: var(--article-grid-gap);
  align-items: start;
}

.article-primary {
  min-width: 0;
}

.article-hero {
  padding: 0 0 32px;
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.article-breadcrumb a {
  color: #475569;
}

.article-breadcrumb .breadcrumb-current {
  color: #1e293b;
}

.article-title {
  margin: 18px auto 0;
  font-size: clamp(26px, 4.9vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 14em;
  min-width: 0;
  justify-self: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.article-panel {
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.panel-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.article-panel > .panel-grid:first-child,
.article-pager > .pager-grid:first-child {
  margin-top: 0;
}

.panel-item {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(248, 250, 252, 0.78);
}

.panel-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.panel-item strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.article-cover {
  margin-top: 32px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--strong-shadow);
}

.article-cover-media {
  position: relative;
  aspect-ratio: 16 / 7.2;
  max-height: 420px;
  overflow: hidden;
}

.article-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover-media:has(img[src*="news-20260415-website-upgrade"]),
.article-cover-media:has(img[src*="20260421-solid-caha-microspheres-aesthetics"]) {
  aspect-ratio: 16 / 9;
  max-height: none;
  background: #f4f8fb;
}

.article-cover-media:has(img[src*="news-20260415-website-upgrade"]) img,
.article-cover-media:has(img[src*="20260421-solid-caha-microspheres-aesthetics"]) img {
  object-fit: contain;
}

.article-cover-media:has(img[src*="news-20260415-website-upgrade"])::before,
.article-cover-media:has(img[src*="news-20260415-website-upgrade"])::after,
.article-cover-media:has(img[src*="20260421-solid-caha-microspheres-aesthetics"])::before,
.article-cover-media:has(img[src*="20260421-solid-caha-microspheres-aesthetics"])::after {
  display: none;
}

.article-cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(15,23,42,.14) 100%);
}

.article-cover-media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 18px 18px;
  z-index: 1;
}

.article-summary-card {
  margin-top: 20px;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.82);
  box-shadow: var(--soft-shadow);
}

.article-summary-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}

.article-summary-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #075985;
  background: rgba(3, 105, 161, 0.08);
  border: 1px solid rgba(3, 105, 161, 0.1);
  flex: 0 0 auto;
}

.article-summary-card-body {
  margin-top: 10px;
  color: #475569;
  font-size: 16.5px;
  line-height: 1.95;
}

.article-content {
  min-width: 0;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.article-body-heading {
  margin: 0 auto 54px;
  display: block;
  width: 100%;
  max-width: 22ch;
  min-width: 0;
  text-align: center;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #0f172a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.article-rich-body h2 {
  margin: 40px 0 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.article-rich-body h3 {
  margin: 26px 0 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.article-rich-body p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.95;
  font-size: 16px;
}

html[lang="zh-CN"] .article-rich-body h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
}

html[lang="zh-CN"] .article-rich-body h2::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.92;
  background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
  -webkit-mask: center / contain no-repeat url("../brand/junzhuo-logo-mark.svg");
  mask: center / contain no-repeat url("../brand/junzhuo-logo-mark.svg");
}

html[lang="zh-CN"] .article-rich-body p {
  text-indent: 2em;
}

.article-rich-body ul,
.article-rich-body ol {
  margin: 18px 0 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  color: #334155;
  line-height: 1.85;
}

.article-rich-body li {
  padding-left: 4px;
}

.article-rich-body a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-rich-body figure {
  margin: 28px 0 0;
  max-width: 820px;
}

.article-rich-body img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.article-rich-body figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.article-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0 auto;
  width: fit-content;
  color: #64748b;
}

.article-signature-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0%, rgba(148, 163, 184, 0.55) 100%);
  flex: 0 0 auto;
}

.article-signature-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  flex: 0 0 auto;
  position: relative;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.article-signature-mark::before {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  background: #0f172a;
  -webkit-mask: center / contain no-repeat url("../brand/junzhuo-logo-mark.svg");
  mask: center / contain no-repeat url("../brand/junzhuo-logo-mark.svg");
}

.article-signature-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #475569;
}

.article-rich-body .richtext-attachment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(3, 105, 161, 0.14);
  background: rgba(240, 249, 255, 0.8);
  font-weight: 700;
  text-decoration: none;
}

.article-rich-body .richtext-attachment::before {
  content: "ATTACHMENT";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 105, 161, 0.1);
  color: #075985;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.article-rich-body blockquote {
  margin: 38px 0 0;
  padding: 28px 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(238, 247, 255, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.article-rich-body blockquote p {
  margin: 0;
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.article-rich-body blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.article-block {
  margin-top: 40px;
}

.article-block h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.article-block p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.95;
  font-size: 16px;
}

.article-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.article-points li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #f8fbff;
  color: #334155;
  line-height: 1.8;
}

.point-index {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.article-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.side-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.side-actions .btn-dark,
.side-actions .btn-light {
  width: 100%;
}

.article-pager-heading {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #0f172a;
}

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

.pager-card {
  display: block;
  min-height: 100%;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.pager-card h3 {
  margin: 14px 0 0;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pager-card p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.85;
}

.pager-card.is-disabled {
  opacity: 0.65;
}

.not-found-card {
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.not-found-card h1 {
  margin: 20px 0 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.not-found-card p {
  margin: 16px 0 0;
  max-width: 720px;
  color: #475569;
  line-height: 1.9;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .article-page-layout,
  .pager-grid {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
  }
}

@media (max-width: 720px) {
  .article-title {
    font-size: clamp(20px, 5.6vw, 40px);
    max-width: 100%;
  }

  .article-content,
  .article-panel,
  .pager-card,
  .not-found-card {
    padding: 22px;
  }

  .article-body-heading {
    margin-bottom: 42px;
    font-size: 24px;
  }

  .article-summary-card {
    padding: 20px 22px;
  }

  .article-summary-card-body {
    font-size: 16px;
  }

  .article-summary-card-title {
    font-size: 16.5px;
  }

  .pager-card h3 {
    font-size: 20px;
  }

  .article-block h2 {
    font-size: 16px;
  }

  .article-rich-body h2 {
    font-size: 16px;
  }

  html[lang="zh-CN"] .article-rich-body h2 {
    gap: 10px;
    font-size: 15px;
  }

  html[lang="zh-CN"] .article-rich-body h2::before {
    width: 15px;
    height: 15px;
  }

  .article-rich-body h3 {
    font-size: 20px;
  }

  .article-rich-body blockquote {
    padding: 22px;
  }

  .article-rich-body img {
    border-radius: 24px;
  }

  .article-signature {
    margin-top: 28px;
  }

  .article-signature-line {
    width: 42px;
  }

  .article-signature-text {
    font-size: 12px;
  }

  .article-rich-body blockquote p {
    font-size: 17px;
  }

  .article-breadcrumb {
    font-size: 13px;
  }
}
