* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #101828;
  background: #eef6ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.article-page {
  width: 100%;
  min-height: 100vh;
  padding: 22px 0 70px;
  background:
    radial-gradient(circle at 16% 6%, rgba(37, 99, 235, .08), transparent 28%),
    linear-gradient(180deg, #eef6ff 0%, #f7fbff 45%, #ffffff 100%);
}

.article-container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.article-crumb-shell {
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.article-crumb-shell a {
  color: #2563eb;
  text-decoration: none;
}

.article-crumb-shell a:hover {
  color: #1d4ed8;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 24px;
  align-items: start;
}

.article-card {
  width: 100%;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.article-head {
  margin-bottom: 22px;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 700;
}

.news-detail h1 {
  margin: 0;
  max-width: 760px;
  color: #0f172a;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.24;
  letter-spacing: -.04em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: #64748b;
  font-size: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.news-detail .cover {
  display: block;
  width: 100%;
  max-height: 460px;
  margin: 22px 0 24px;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.article-summary {
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  color: #334155;
  background: #f8fbff;
  font-size: 16px;
  line-height: 1.9;
}

.article-content {
  color: #243044;
  font-size: 17px;
  line-height: 2;
  word-break: break-word;
}

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

.article-content h2 {
  position: relative;
  margin: 34px 0 16px;
  padding-left: 14px;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.35;
}

.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 5px;
  height: 1.05em;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f80ed, #60a5fa);
}

.article-content h3 {
  margin: 26px 0 12px;
  color: #172033;
  font-size: 21px;
  line-height: 1.42;
}

.article-content h4 {
  margin: 22px 0 10px;
  color: #172033;
  font-size: 18px;
}

.article-content ul,
.article-content ol {
  margin: 12px 0 22px;
  padding-left: 1.4em;
}

.article-content li {
  margin: 7px 0;
}

.article-content a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, .28);
}

.article-content a:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 16px;
}

.article-content iframe {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 405px;
  margin: 26px 0;
  border: 0;
  border-radius: 16px;
  background: #0f172a;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid #2f80ed;
  border-radius: 12px;
  color: #334155;
  background: #f6f9ff;
}

.article-content table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  font-size: 15px;
}

.article-content th,
.article-content td {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.article-content th {
  background: #f1f5f9;
  color: #0f172a;
}

.article-back {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}

.article-back a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-back a:hover {
  background: #dbeafe;
}

.article-sidebar {
  position: sticky;
  top: 90px;
}

.aside-box {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.aside-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.aside-title::after {
  content: "→";
  color: #2563eb;
  font-size: 15px;
}

.aside-news {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-news li {
  padding: 13px 0;
  border-top: 1px solid #edf2f7;
}

.aside-news li:first-child {
  border-top: 0;
}

.aside-news .d {
  margin-bottom: 5px;
  color: #94a3b8;
  font-size: 12px;
}

.aside-news .t {
  display: block;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.aside-news .t:hover {
  color: #2563eb;
}

.muted {
  color: #94a3b8;
  font-size: 14px;
}

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

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.3;
}

.section-head a {
  color: #2563eb;
  font-size: 14px;
  text-decoration: none;
}

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

.article-related-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-related-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 30px rgba(15, 23, 42, .09);
}

.article-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

.related-body {
  padding: 14px;
}

.related-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-body p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-body span {
  color: #94a3b8;
  font-size: 12px;
}

.home-aside-floating {
  display: none !important;
}

.page-narrow {
  max-width: none;
}

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

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .article-page {
    padding: 14px 0 46px;
  }

  .article-container {
    width: min(100% - 24px, 1180px);
  }

  .article-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .news-detail h1 {
    font-size: 27px;
  }

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

  .article-content h2 {
    font-size: 22px;
  }

  .article-content iframe {
    height: calc((100vw - 60px) * .5625);
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}