:root {
  --navy: #071b33;
  --navy-2: #0b284b;
  --blue: #1685e6;
  --red: #e6403a;
  --ink: #142235;
  --muted: #627184;
  --line: #dce5ed;
  --soft: #f2f6fa;
  --white: #fff;
  --max: 1220px;
  --shadow: 0 24px 70px rgba(4, 22, 42, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #63b9ff; outline-offset: 3px; }
.article-container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 14px; color: #fff; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.article-header { position: relative; z-index: 20; height: 82px; background: #fff; border-bottom: 1px solid var(--line); }
.article-nav { width: min(calc(100% - 48px), 1360px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: #fff; box-shadow: 0 5px 18px rgba(7,27,51,.12); }
.brand img { width: 88%; height: 88%; object-fit: contain; }
.brand > div { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.article-nav nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.article-nav nav > a { position: relative; color: #435166; font-size: 14px; }
.article-nav nav > a:hover,
.article-nav nav > a.is-current { color: var(--blue); }
.article-nav nav > a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -31px; height: 3px; background: var(--blue); }
.article-nav .nav-contact { padding: 10px 18px; color: #fff; background: var(--blue); border-radius: 4px; font-weight: 700; }
.article-nav .nav-contact:hover { color: #fff; background: #0877d5; }

.article-hero { min-height: 475px; padding: 64px 0 140px; color: #fff; background: radial-gradient(circle at 82% 10%, rgba(31,139,236,.3), transparent 30%), linear-gradient(125deg, var(--navy), var(--navy-2)); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: rgba(255,255,255,.54); font-size: 13px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb b { color: rgba(255,255,255,.78); font-weight: 400; }
.article-title-block { max-width: 1120px; margin-top: 54px; }
.article-category { margin: 0 0 16px; color: #61baff; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.article-category::before { content: ""; width: 28px; height: 3px; margin-right: 12px; display: inline-block; vertical-align: middle; background: var(--red); }
.article-title-block h1 { margin: 0; max-width: 1120px; font-size: clamp(42px, 4.3vw, 58px); line-height: 1.2; letter-spacing: -.045em; }
.article-summary { max-width: 780px; margin: 24px 0 0; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.85; }
.article-meta { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.46); font-size: 13px; }
.article-meta span { width: 28px; height: 1px; background: rgba(255,255,255,.28); }
.article-meta b { font-weight: 400; }

.cover-wrap { position: relative; z-index: 2; margin-top: -88px; }
.article-cover { height: 570px; margin: 0; overflow: hidden; background: #dfe7ee; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { padding: 76px 0 110px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 94px; }
.article-content { min-width: 0; font-size: 18px; line-height: 2.05; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 28px; color: #344459; white-space: pre-line; }
.article-content p:first-child { color: var(--ink); font-size: 20px; line-height: 1.95; }
.article-content h2 { position: relative; margin: 58px 0 20px; padding-left: 22px; font-size: 28px; line-height: 1.45; letter-spacing: -.02em; }
.article-content h2::before { content: ""; position: absolute; left: 0; top: .25em; width: 5px; height: 1.1em; background: linear-gradient(var(--blue), var(--red)); }
.article-content img { width: auto; max-width: 100%; height: auto; margin: 28px auto; border-radius: 2px; }
.article-content figure { margin: 32px 0; }
.article-content ul,
.article-content ol { margin: 0 0 28px; padding-left: 1.5em; color: #344459; }
.article-content li { margin: 7px 0; }
.article-content blockquote { margin: 32px 0; padding: 18px 24px; color: #344459; background: #f2f6fa; border-left: 4px solid var(--blue); }
.article-content table { width: 100%; margin: 30px 0; border-collapse: collapse; font-size: 15px; }
.article-content th,
.article-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-content section,
.article-content div { max-width: 100%; }
.loading-copy { color: var(--muted) !important; }

.article-aside { position: sticky; top: 28px; display: grid; gap: 20px; }
.aside-card { padding: 28px; border: 1px solid var(--line); background: #fff; }
.aside-card > p { margin: 0 0 4px; color: var(--blue); font-family: Georgia, serif; font-size: 12px; font-style: italic; letter-spacing: .14em; }
.aside-card h2 { margin: 0 0 22px; font-size: 20px; }
.aside-card dl { margin: 0; }
.aside-card dl > div { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.aside-card dt { color: var(--muted); }
.aside-card dd { margin: 0; font-weight: 700; }
.back-link { margin-top: 20px; display: inline-flex; color: var(--blue); font-size: 14px; font-weight: 700; }

.consult-card { padding: 30px 28px; color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-2)); }
.consult-card > p { margin: 0 0 7px; color: #61baff; font-size: 13px; }
.consult-card h2 { margin: 0; font-size: 21px; line-height: 1.55; }
.consult-card > a:not(.consult-action) { margin-top: 24px; display: flex; flex-direction: column; }
.consult-card small { color: rgba(255,255,255,.5); font-size: 12px; }
.consult-card strong { margin-top: 3px; font-family: Arial, sans-serif; font-size: 22px; }
.consult-action { min-height: 44px; margin-top: 22px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); background: #fff; font-size: 14px; font-weight: 700; }
.consult-action:hover { color: #fff; background: var(--blue); }

.related-section { padding: 88px 0 100px; background: var(--soft); }
.related-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.related-heading p { margin: 0; color: var(--blue); font-family: Georgia, serif; font-size: 12px; font-style: italic; letter-spacing: .14em; }
.related-heading h2 { margin: 3px 0 0; font-size: 34px; }
.related-heading > a { color: var(--blue); font-size: 14px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.related-card > a:first-child { height: 210px; display: block; overflow: hidden; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover img { transform: scale(1.04); }
.related-copy { padding: 24px; }
.related-copy time { color: #8a97a5; font-family: Arial, sans-serif; font-size: 12px; }
.related-copy h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.55; }
.related-copy h3 a:hover { color: var(--blue); }

.article-error { min-height: calc(100vh - 160px); padding: 100px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.article-error[hidden] { display: none; }
.article-error > span { width: 62px; height: 62px; display: grid; place-items: center; color: var(--red); background: #fff0ef; border-radius: 50%; font-size: 28px; font-weight: 800; }
.article-error h1 { margin: 20px 0 0; font-size: 30px; }
.article-error p { max-width: 520px; margin: 10px 0 24px; color: var(--muted); }
.article-error a { padding: 11px 20px; color: #fff; background: var(--blue); border-radius: 4px; font-weight: 700; }

.article-footer { color: rgba(255,255,255,.5); background: #041322; }
.article-footer > div { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.article-footer p { margin: 0; }
.article-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .article-nav nav > a:not(.nav-contact) { display: none; }
  .article-hero { min-height: 430px; padding-bottom: 125px; }
  .article-layout { grid-template-columns: 1fr; gap: 54px; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-card:last-child { display: none; }
}

@media (max-width: 640px) {
  .article-container { width: min(calc(100% - 32px), var(--max)); }
  .article-header { height: 72px; }
  .article-nav { width: calc(100% - 32px); }
  .brand > span { width: 40px; height: 40px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .article-nav .nav-contact { padding: 8px 12px; font-size: 13px; }
  .article-hero { min-height: 390px; padding: 42px 0 105px; }
  .article-title-block { margin-top: 38px; }
  .article-title-block h1 { font-size: 36px; }
  .article-summary { font-size: 16px; }
  .cover-wrap { width: 100%; margin-top: -64px; }
  .article-cover { height: 270px; box-shadow: none; }
  .article-layout { padding: 54px 0 72px; gap: 44px; }
  .article-content { font-size: 17px; line-height: 1.95; }
  .article-content p:first-child { font-size: 18px; }
  .article-content h2 { margin-top: 42px; font-size: 24px; }
  .article-aside { grid-template-columns: 1fr; }
  .related-section { padding: 66px 0 74px; }
  .related-heading h2 { font-size: 28px; }
  .related-heading > a { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card:last-child { display: block; }
  .related-card > a:first-child { height: 220px; }
  .article-footer > div { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 5px; }
}
