body .xqd-article {
  --blue: #071f87;
  --blue-dark: #061663;
  --yellow: #f2b233;
  --yellow-dark: #d89512;
  --ink: #1f2f3d;
  --muted: #667481;
  --line: #d9e2ea;
  --soft: #f4f7fa;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body.single-post .site-content > .ast-container,
body.single-post #content > .ast-container,
body.single-post .content-area,
body.single-post #primary,
body.single-post .site-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .xqd-article,
body .xqd-article * {
  box-sizing: border-box;
}

body .xqd-article a {
  color: inherit;
  text-decoration: none;
}

body .xqd-article img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

body .xqd-article-head {
  padding: 34px 0 30px;
  background:
    linear-gradient(90deg, rgba(6, 22, 99, 0.98), rgba(7, 31, 135, 0.9)),
    #071f87;
  border-bottom: 0;
}

body .xqd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

body .xqd-breadcrumb a:hover {
  color: var(--yellow);
}

body .xqd-label {
  display: none;
}

body .xqd-article-head h1 {
  max-width: 820px;
  margin: 0 0 10px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
  color: #fff;
  font-size: 26px;
  line-height: 1.38;
  letter-spacing: 0;
  font-weight: 700;
}

body .xqd-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

body .xqd-article-meta span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

body .xqd-article-body {
  padding: 18px 0 52px;
}

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

body .xqd-article-content,
body .xqd-related,
body .xqd-side-box {
  border: 1px solid var(--line);
  background: #fff;
}

body .xqd-featured-image {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

body .xqd-featured-image img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

body .xqd-content {
  padding: 28px 34px 30px;
  color: #263849;
  font-size: 14px;
  line-height: 1.9;
}

body .xqd-content > *:first-child {
  margin-top: 0;
}

body .xqd-content p {
  margin: 0 0 14px;
}

body .xqd-content h2,
body .xqd-content h3,
body .xqd-content h4 {
  color: var(--blue-dark);
  letter-spacing: 0;
}

body .xqd-content h2 {
  margin: 26px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
  font-size: 20px;
  line-height: 1.42;
}

body .xqd-content h3 {
  margin: 20px 0 10px;
  font-size: 17px;
  line-height: 1.42;
}

body .xqd-content h4 {
  margin: 16px 0 8px;
  font-size: 16px;
}

body .xqd-content ul,
body .xqd-content ol {
  margin: 0 0 18px 20px;
  padding: 0;
}

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

body .xqd-content a {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 178, 51, 0.65);
}

body .xqd-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
  background: #fff7e6;
  color: var(--blue-dark);
}

body .xqd-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 13px;
}

body .xqd-content th,
body .xqd-content td {
  border: 1px solid var(--line);
  padding: 8px 9px;
  text-align: left;
}

body .xqd-content th {
  background: #f5f8fb;
  color: var(--blue-dark);
}

body .xqd-page-links,
body .xqd-article-footer {
  padding: 0 34px 26px;
}

body .xqd-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

body .xqd-article-tags a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: #f7fafc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

body .xqd-prev-next {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

body .xqd-prev-next a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

body .xqd-prev-next span {
  color: var(--yellow-dark);
  font-weight: 900;
}

body .xqd-prev-next strong {
  margin-left: 6px;
  color: var(--blue-dark);
  font-weight: 700;
}

body .xqd-related {
  grid-column: 1 / 2;
  grid-row: 2;
  padding: 18px 20px 20px;
}

body .xqd-related h2,
body .xqd-side-box h2 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.35;
}

body .xqd-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  padding-top: 12px;
}

body .xqd-related-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f6;
}

body .xqd-related-list strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

body .xqd-related-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

body .xqd-article-sidebar {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 16px;
  align-self: start;
}

body .xqd-side-box {
  padding: 16px;
}

body .xqd-rank-list,
body .xqd-side-links {
  display: grid;
  padding-top: 10px;
}

body .xqd-rank-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f6;
  align-items: start;
}

body .xqd-rank-list b {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: #f1f5f8;
  color: var(--blue);
  font-size: 12px;
}

body .xqd-rank-list span,
body .xqd-side-links a {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

body .xqd-side-links a {
  padding: 9px 0;
  border-bottom: 1px solid #edf2f6;
}

body .xqd-rank-list a:hover span,
body .xqd-side-links a:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  body .xqd-article-grid {
    grid-template-columns: 1fr;
  }

  body .xqd-article-sidebar {
    display: none !important;
  }

  body .xqd-related {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  body.single-post {
    overflow-x: hidden !important;
  }

  body .xqd-article {
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  body .xqd-article-container {
    width: calc(100% - 24px) !important;
  }

  body .xqd-article-head {
    padding: 20px 0 0;
  }

  body .xqd-article-head h1 {
    font-size: 23px;
  }

  body .xqd-article-body {
    padding: 14px 0 42px;
  }

  body .xqd-content {
    padding: 22px 18px 24px;
    font-size: 14px;
    line-height: 1.82;
  }

  body .xqd-content h2 {
    font-size: 19px;
  }

  body .xqd-content h3 {
    font-size: 17px;
  }

  body .xqd-page-links,
  body .xqd-article-footer {
    padding: 0 18px 22px;
  }

  body .xqd-related {
    display: none !important;
  }
}
