/*
Theme Name: Baidu SEO Knowledge
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: 面向百度 SEO 知识站的轻量 WordPress 主题，支持动态分类、菜单、专题聚合、FAQ、面包屑与基础结构化数据。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: baidu-seo-knowledge
*/

:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-muted: #f8fafb;
  --text: #17212b;
  --muted: #667085;
  --line: #e3e8ec;
  --brand: #1f5663;
  --brand-dark: #163d47;
  --brand-soft: #eaf3f5;
  --accent: #2f6f87;
  --accent-soft: #edf6f8;
  --warning: #b45309;
  --radius: 4px;
  --shadow: 0 18px 52px rgba(23, 33, 43, 0.055);
  --wrap: 1120px;
  --content: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--brand);
  text-decoration: underline;
}

img {
  height: auto;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  display: block;
  margin: 18px 0;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-muted);
}

.site-wrap {
  min-height: 100vh;
}

.container {
  margin: 0 auto;
  max-width: var(--wrap);
  padding: 0 20px;
  width: 100%;
}

.site-header {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 253, 0.98);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::before {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--accent));
  content: "";
  display: block;
  height: 2px;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 66px;
}

.site-brand {
  border-left: 3px solid var(--brand);
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  line-height: 1.25;
  max-width: 260px;
  padding-left: 10px;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand strong {
  font-size: 18px;
  font-weight: 760;
}

.site-brand span {
  color: #6b7785;
  font-size: 12px;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
}

.primary-nav {
  flex: 1 1 auto;
}

.primary-nav ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  border-radius: 4px;
  color: #263440;
  display: block;
  font-size: 14px;
  font-weight: 540;
  padding: 6px 9px;
  white-space: nowrap;
}

.primary-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.site-search {
  display: flex;
  flex: 0 0 240px;
}

.site-search input[type="search"] {
  background: #fbfcfc;
  border: 1px solid #dfe5e7;
  border-radius: 4px 0 0 4px;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.site-search button,
.button-link,
.wp-block-button__link {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 680;
  justify-content: center;
  line-height: 1.4;
  padding: 9px 14px;
}

.site-search button {
  border-radius: 0 4px 4px 0;
  white-space: nowrap;
  padding-bottom: 7px;
  padding-top: 7px;
}

.button-link:hover,
.wp-block-button__link:hover,
.site-search button:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 28px;
}

.home-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 18px;
}

.home-hero-inner {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.home-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  margin: 0;
}

.home-search-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.home-search-strip a {
  background: var(--brand-soft);
  border: 1px solid #cae8dc;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 14px;
  padding: 7px 12px;
}

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

.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
}

.hero h1,
.page-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 14px;
}

.hero p,
.archive-intro,
.term-description {
  color: var(--muted);
  margin: 0;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.quick-links a {
  background: var(--brand-soft);
  border: 1px solid #cae8dc;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 14px;
  padding: 7px 12px;
}

.quick-links a:hover {
  background: #d8efe6;
  text-decoration: none;
}

.hero-searches {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
}

.hero-searches strong {
  color: var(--text);
}

.topic-mini-list {
  display: grid;
  gap: 10px;
}

.topic-mini-list a {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  padding: 10px 12px;
}

.topic-mini-list a:hover {
  border-color: #b6d7ca;
  text-decoration: none;
}

.topic-mini-list strong,
.topic-mini-list span {
  display: block;
}

.topic-mini-list span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.hero-panel,
.side-card,
.card,
.article-card,
.toc,
.content-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-panel {
  padding: 18px;
}

.hero-panel h2,
.side-card h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.main {
  padding: 26px 0 42px;
}

.home-main {
  padding-top: 18px;
}

.home-index {
  background:
    linear-gradient(180deg, #f3f6f4 0, #f7f8f7 240px, #f7f8f7 100%);
}

.home-library .container {
  max-width: var(--wrap);
}

.home-brief {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface) 62%, #f8fbfa 100%);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(23, 33, 43, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  margin-bottom: 24px;
  overflow: hidden;
}

.home-brief-primary {
  min-width: 0;
  padding: 36px 38px 32px;
  position: relative;
}

.home-brief-primary::before {
  background: var(--brand);
  content: "";
  height: 3px;
  left: 36px;
  position: absolute;
  top: 0;
  width: 88px;
}

.home-label {
  color: #586a73;
  display: inline-block;
  font-size: 13px;
  font-weight: 620;
  margin-bottom: 12px;
}

.home-brief-primary h1 {
  color: #18252d;
  font-size: 27px;
  font-weight: 640;
  line-height: 1.45;
  margin: 0;
  max-width: 720px;
}

.home-brief-primary h1 a {
  color: var(--text);
}

.home-brief-primary h1 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.home-brief-primary p {
  color: #607080;
  font-size: 15px;
  line-height: 1.75;
  margin: 16px 0 0;
  max-width: 700px;
}

.home-brief-meta {
  align-items: center;
  border-top: 1px solid rgba(225, 230, 232, 0.82);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
  padding-top: 14px;
}

.home-brief-meta a {
  color: var(--brand);
  font-weight: 620;
}

.home-brief-meta .home-meta-category {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  padding: 3px 9px;
}

.home-brief-aside {
  background: rgba(248, 251, 250, 0.78);
  border-left: 1px solid rgba(225, 230, 232, 0.82);
  min-width: 0;
  padding: 24px 24px 18px;
}

.home-brief-aside h2,
.home-lookup-block h2 {
  color: #26343e;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
  margin: 0 0 12px;
}

.home-brief-links,
.home-lookup-list {
  display: grid;
}

.home-brief-links a,
.home-lookup-list a {
  border-top: 1px solid rgba(225, 230, 232, 0.82);
  color: #2d3a44;
  font-size: 14.5px;
  font-weight: 520;
  line-height: 1.58;
  padding: 11px 0;
}

.home-brief-links a:hover,
.home-lookup-list a:hover,
.home-flow-item h3 a:hover,
.home-index-links a:hover {
  color: var(--brand);
  text-decoration: none;
}

.home-content-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 312px;
  margin-bottom: 28px;
}

.home-feed-panel,
.home-index-panel,
.home-lookup-block {
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(23, 33, 43, 0.08), 0 16px 36px rgba(23, 33, 43, 0.035);
}

.home-section-title {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(225, 230, 232, 0.88);
  display: flex;
  min-height: 50px;
  padding: 15px 22px;
}

.home-section-title h2 {
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
  margin: 0;
}

.home-article-flow {
  display: grid;
}

.home-flow-item {
  border-bottom: 1px solid rgba(225, 230, 232, 0.78);
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 20px 22px;
}

.home-flow-item:last-child {
  border-bottom: 0;
}

.home-flow-item h3 {
  font-size: 17.5px;
  font-weight: 620;
  grid-column: 2;
  line-height: 1.5;
  margin: 0 0 7px;
}

.home-flow-item h3 a {
  color: #1d2d36;
}

.home-flow-item p {
  color: #687685;
  font-size: 14px;
  grid-column: 2;
  line-height: 1.7;
  margin: 0;
}

.home-flow-meta {
  align-content: start;
  align-items: start;
  color: #7b8794;
  display: grid;
  font-size: 12.5px;
  gap: 4px;
  grid-row: 1 / span 2;
  line-height: 1.5;
  padding-top: 2px;
}

.home-flow-meta a {
  color: var(--brand);
  font-weight: 620;
}

.home-flow-meta time {
  color: #8b96a3;
}

.home-lookup {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.home-lookup-block {
  padding: 20px 20px 18px;
}

.home-lookup .search-form,
.home-lookup form {
  display: flex;
}

.home-lookup input[type="search"] {
  background: #fbfcfc;
  border: 1px solid #dfe5e7;
  border-radius: 4px 0 0 4px;
  min-width: 0;
  padding: 9px 10px;
  width: 100%;
}

.home-lookup button,
.home-lookup input[type="submit"] {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
  font-weight: 680;
  padding: 9px 12px;
  white-space: nowrap;
}

.home-index-panel {
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 43, 0.08), 0 12px 30px rgba(23, 33, 43, 0.025);
  margin-bottom: 8px;
  padding: 0 20px 14px;
}

.home-index-panel .home-section-title {
  background: transparent;
  border-bottom: 1px solid rgba(225, 230, 232, 0.92);
  padding: 16px 0 12px;
}

.home-index-links {
  column-count: 2;
  column-gap: 44px;
  padding: 10px 0 2px;
}

.home-index-links a {
  border-bottom: 1px solid rgba(225, 230, 232, 0.72);
  break-inside: avoid;
  color: #34424e;
  display: block;
  font-size: 14.5px;
  line-height: 1.65;
  padding: 8px 0 8px 12px;
  position: relative;
}

.home-index-links a::before {
  background: #b6c1c7;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 20px;
  width: 5px;
}

.home-cover {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 4px solid #15202b;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  margin-bottom: 12px;
  overflow: hidden;
}

.home-cover-main {
  min-height: 230px;
  padding: 28px 32px 22px;
}

.home-cover-main h1 {
  font-size: 31px;
  font-weight: 850;
  line-height: 1.28;
  margin: 0;
  max-width: 780px;
}

.home-cover-main h1 a {
  color: var(--text);
}

.home-cover-main h1 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-cover-main p {
  color: #475569;
  font-size: 15px;
  line-height: 1.78;
  margin: 16px 0 0;
  max-width: 760px;
}

.home-cover-meta {
  align-items: center;
  border-top: 1px solid #edf1f5;
  color: var(--muted);
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding-top: 13px;
}

.home-cover-meta a {
  color: var(--brand);
  font-weight: 800;
}

.home-cover-side {
  background: #fbfcfd;
  border-left: 1px solid var(--line);
  min-width: 0;
  padding: 18px 18px 12px;
}

.home-cover-side h2 {
  color: #1f2937;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 7px;
}

.home-rank-list {
  display: grid;
}

.home-rank-list a {
  border-top: 1px solid #e7edf4;
  color: var(--text);
  display: grid;
  gap: 5px 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px 0;
}

.home-rank-list a:hover,
.home-read-card a:hover,
.home-question-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-rank-list strong {
  color: #94a3b8;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.home-rank-list span {
  font-weight: 700;
  line-height: 1.45;
  min-width: 0;
}

.home-update-list em {
  align-self: start;
  background: #f4f7fa;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}

.home-featured-reads {
  margin-bottom: 12px;
}

.home-question-bank {
  margin-bottom: 12px;
}

.home-read-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.home-read-card {
  border-right: 1px solid #eef3f7;
  border-top: 1px solid #eef3f7;
  min-width: 0;
  padding: 16px 14px;
}

.home-read-card:nth-child(-n + 3) {
  border-top: 0;
}

.home-read-card:nth-child(3n) {
  border-right: 0;
}

.home-read-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.home-read-card h3 a {
  color: var(--text);
}

.home-read-card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-read-card h3,
.home-read-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.home-read-card h3 {
  -webkit-line-clamp: 2;
}

.home-read-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  -webkit-line-clamp: 2;
}

.home-question-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  display: grid;
  gap: 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px 14px 12px;
}

.home-question-list a {
  border-bottom: 1px solid #edf1f5;
  color: var(--text);
  display: block;
  font-weight: 700;
  line-height: 1.5;
  min-height: 38px;
  overflow: hidden;
  padding: 7px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-lead {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  margin-bottom: 14px;
}

.home-lead-main,
.home-lead-side,
.home-topic-nav,
.home-updates {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.home-lead-main {
  min-height: 230px;
  padding: 28px 30px 24px;
}

.home-kicker {
  color: var(--brand);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.home-lead-main h1 {
  font-size: 30px;
  line-height: 1.32;
  margin: 0;
  max-width: 760px;
}

.home-lead-main h1 a {
  color: var(--text);
}

.home-lead-main h1 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-lead-main p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 14px 0 18px;
  max-width: 760px;
}

.home-read-more {
  align-items: center;
  background: var(--brand);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 36px;
  padding: 7px 14px;
}

.home-read-more:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.home-lead-side {
  min-width: 0;
  padding: 14px 16px;
}

.home-lead-side h2 {
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  padding-bottom: 9px;
}

.home-pick-list {
  display: grid;
}

.home-pick-list a {
  border-bottom: 1px solid #edf1f5;
  color: var(--text);
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 0;
}

.home-pick-list a:last-child {
  border-bottom: 0;
}

.home-pick-list span,
.home-update-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-pick-list em {
  background: var(--surface-muted);
  border: 1px solid #e7edf4;
  border-radius: 999px;
  color: #66768b;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  padding: 4px 7px;
}

.home-topic-nav {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-bottom: 14px;
  overflow: hidden;
}

.home-topic-nav a {
  border-right: 1px solid var(--line);
  color: var(--text);
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
}

.home-topic-nav a:last-child {
  border-right: 0;
}

.home-topic-nav a:hover {
  background: #fbfcfd;
  text-decoration: none;
}

.home-topic-nav strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-topic-nav span {
  color: var(--muted);
  font-size: 12px;
}

.home-updates {
  overflow: hidden;
}

.home-updates .home-section-title {
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  border-top: 0;
}

.home-update-list {
  display: grid;
  gap: 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 6px 14px 12px;
}

.home-update-list a {
  align-items: center;
  border-bottom: 1px solid #edf1f5;
  color: var(--text);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 36px;
  padding: 6px 0;
}

.home-update-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-index-head {
  align-items: end;
  background: transparent;
  border-bottom: 1px solid #d2dce8;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 2px 0 10px;
}

.home-index-head h1 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

.home-index-head p {
  color: var(--muted);
  flex: 1 1 auto;
  font-size: 13px;
  margin: 0 0 1px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-directory,
.home-feed {
  background: transparent;
  border: 0;
}

.home-directory {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.home-directory-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid #2f7d6a;
  border-radius: 6px;
  min-width: 0;
  padding: 9px 11px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.home-directory-name {
  align-items: center;
  color: var(--text);
  display: flex;
  font-weight: 800;
  gap: 6px;
  justify-content: space-between;
  line-height: 1.35;
  margin-bottom: 6px;
}

.home-directory-name span,
.home-category-block h3 span,
.feed-cat {
  color: #66768b;
  font-size: 12px;
  font-weight: 500;
}

.home-directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.home-directory-links a,
.home-side-links a,
.home-category-list a {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.45;
}

.home-directory-row:hover {
  background: #fbfcfd;
  border-color: #b8c9db;
}

.home-section-title {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  display: flex;
  min-height: 38px;
  padding: 8px 12px;
}

.home-section-title h2 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.home-featured-list {
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.home-featured-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe5ef;
  border-radius: 6px;
  min-width: 0;
  padding: 12px 13px;
}

.home-featured-cat {
  color: var(--brand);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 7px;
}

.home-featured-item h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.home-featured-item h3 a {
  color: var(--text);
}

.home-featured-item h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.home-featured-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 7px 0 0;
}

.home-feed-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  display: grid;
  gap: 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 6px 12px 10px;
}

.home-feed-list a {
  align-items: center;
  border-bottom: 1px solid #edf1f5;
  color: var(--text);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 36px;
  padding: 6px 0;
  transition: color 0.16s ease;
}

.home-feed-list a:nth-child(odd) {
  border-right: 0;
}

.home-feed-list a {
  border-right: 0;
}

.home-feed-list a:nth-child(3n) {
  border-right: 0;
}

.home-feed-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.feed-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-cat {
  background: var(--surface-muted);
  border: 1px solid #e7edf4;
  border-radius: 999px;
  line-height: 1;
  padding: 4px 7px;
}

.home-title {
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.home-title h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 4px;
}

.home-title p {
  color: var(--muted);
  margin: 0;
}

.knowledge-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.knowledge-primary,
.knowledge-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.plain-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.plain-head {
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
}

.plain-head h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

.category-rows {
  display: grid;
}

.category-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 10px 14px;
}

.category-row:last-child {
  border-bottom: 0;
}

.category-name {
  color: var(--text);
  font-weight: 800;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.category-links a,
.side-link-list a {
  color: var(--accent);
  font-size: 14px;
}

.compact-list,
.side-link-list {
  display: grid;
}

.compact-list a,
.side-link-list a,
.empty-inline {
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
}

.compact-list a {
  align-items: center;
  color: var(--text);
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.compact-list a:last-child,
.side-link-list a:last-child {
  border-bottom: 0;
}

.compact-list time {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 13px;
}

.section {
  margin-bottom: 28px;
}

.compact-section {
  margin-bottom: 22px;
}

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

.section-head h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0;
}

.compact-head {
  margin-bottom: 10px;
}

.compact-head h2 {
  font-size: 20px;
}

.section-head p {
  color: var(--muted);
  margin: 4px 0 0;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  min-width: 0;
  padding: 18px;
}

.card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.topic-card,
.faq-card {
  min-height: 132px;
}

.directory-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 14px;
}

.directory-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-links a,
.topic-index a,
.question-grid a {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  padding: 6px 9px;
}

.mini-links a:hover,
.topic-index a:hover,
.question-grid a:hover,
.home-search-strip a:hover {
  border-color: #b6d7ca;
  color: var(--brand);
  text-decoration: none;
}

.topic-index {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

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

.empty-inline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 14px;
}

.card-meta {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

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

.content-column {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: 88px;
}

.side-card {
  padding: 16px;
}

.side-card ul,
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-card li,
.link-list li {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.side-card li:last-child,
.link-list li:last-child {
  border-bottom: 0;
}

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

.article-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
}

.article-thumb {
  background: var(--surface-muted);
  min-height: 130px;
}

.article-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-body {
  padding: 16px 16px 16px 0;
}

.article-card.no-thumbnail .article-body {
  grid-column: 1 / -1;
  padding-left: 16px;
}

.article-body h2,
.article-body h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.excerpt {
  color: var(--muted);
  margin: 0;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.content-box {
  padding: 28px;
}

.entry-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.entry-summary {
  background: var(--surface-muted);
  border-left: 4px solid var(--brand);
  color: #334155;
  margin: 18px 0 0;
  padding: 12px 14px;
}

.entry-thumbnail {
  background: #f4f7f6;
  border: 1px solid rgba(225, 230, 232, 0.92);
  border-radius: var(--radius);
  margin: 0 0 24px;
  max-width: var(--content);
  overflow: hidden;
}

.entry-thumbnail img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.entry-thumbnail figcaption,
.entry-content figcaption,
.wp-caption-text {
  color: #778391;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  padding: 9px 12px;
}

.entry-content {
  max-width: var(--content);
}

.entry-content img {
  background: #f4f7f6;
  border: 1px solid rgba(225, 230, 232, 0.92);
  border-radius: var(--radius);
  display: block;
  height: auto;
  max-width: 100%;
}

.entry-content figure,
.wp-caption {
  margin: 22px 0;
  max-width: 100%;
}

.entry-content .wp-block-image,
.entry-content .wp-caption {
  background: #fbfcfc;
  border-radius: var(--radius);
}

.entry-content .wp-block-image img,
.entry-content .wp-caption img {
  width: 100%;
}

.entry-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.entry-content h2 {
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  line-height: 1.35;
  margin: 32px 0 14px;
  padding-bottom: 8px;
}

.entry-content h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 24px 0 10px;
}

.entry-content p {
  margin: 0 0 16px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content blockquote {
  background: var(--surface-muted);
  border-left: 4px solid var(--accent);
  margin: 18px 0;
  padding: 12px 16px;
}

.toc {
  margin: 18px 0 24px;
  max-width: var(--content);
  padding: 16px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 1.3em;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 12px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.post-nav {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  padding-top: 18px;
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.pagination .page-numbers {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  padding: 7px 11px;
}

.pagination .current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 24px 0 16px;
}

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

.footer-simple {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: space-between;
}

.footer-brand {
  flex: 0 0 280px;
  min-width: 0;
}

.footer-brand > a {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}

.footer-brand > a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-brand p {
  color: #9fb0c4;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.footer-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-nav ul,
.footer-inline-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.site-footer h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.site-footer a {
  color: #dbeafe;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.18);
  color: #94a3b8;
  font-size: 13px;
  margin-top: 20px;
  padding-top: 14px;
}

.footer-links {
  display: inline-flex;
  gap: 12px;
  margin-left: 14px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

@media (max-width: 960px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .site-brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    align-items: center;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    display: inline-flex;
    font-weight: 800;
    padding: 8px 11px;
  }

  .primary-nav,
  .site-search {
    display: none;
    flex: 0 0 100%;
  }

  .site-header.is-open .primary-nav {
    display: block;
  }

  .site-header.is-open .site-search {
    display: flex;
  }

  .primary-nav ul {
    align-items: stretch;
    display: grid;
  }

  .site-search {
    display: none;
  }

  .hero-grid,
  .layout,
  .footer-grid,
  .home-content-layout,
  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .footer-simple {
    align-items: flex-start;
    display: grid;
    gap: 14px;
  }

  .footer-brand {
    flex-basis: auto;
  }

  .footer-nav ul,
  .footer-inline-nav ul {
    justify-content: flex-start;
  }

  .home-search-strip {
    justify-content: flex-start;
  }

  .sidebar {
    position: static;
  }

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

  .directory-grid,
  .topic-index,
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-index-head {
    align-items: start;
    display: grid;
    gap: 4px;
  }

  .home-index-head p {
    text-align: left;
  }

  .home-lead {
    grid-template-columns: 1fr;
  }

  .home-cover {
    grid-template-columns: 1fr;
  }

  .home-brief {
    grid-template-columns: 1fr;
  }

  .home-brief-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-cover-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

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

  .home-read-card:nth-child(-n + 3) {
    border-top: 1px solid #edf1f5;
  }

  .home-read-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .home-read-card:nth-child(3n) {
    border-right: 1px solid #edf1f5;
  }

  .home-read-card:nth-child(2n) {
    border-right: 0;
  }

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

  .home-topic-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-topic-nav a:nth-child(4n) {
    border-right: 0;
  }

  .home-topic-nav a:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

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

  .home-directory,
  .home-featured-list,
  .home-feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-directory-row:nth-child(-n + 4) {
    border-top: 1px solid var(--line);
  }

  .home-directory-row:nth-child(-n + 2) {
    border-top: 0;
  }

  .home-directory-row:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .home-directory-row:nth-child(2n),
  .home-feed-list a:nth-child(2n) {
    border-right: 0;
  }

  .home-feed-list a:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 14px;
  }

  .hero {
    padding: 24px 0;
  }

  .grid-3,
  .grid-4,
  .directory-grid,
  .topic-index,
  .question-grid,
  .home-directory,
  .home-featured-list,
  .home-feed-list,
  .article-card,
  .post-nav {
    grid-template-columns: 1fr;
  }

  .footer-simple {
    gap: 16px;
  }

  .footer-nav ul,
  .footer-inline-nav ul {
    gap: 8px 14px;
  }

  .home-index-head h1 {
    font-size: 22px;
  }

  .home-index-head p {
    white-space: normal;
  }

  .home-lead-main {
    min-height: 0;
    padding: 22px 18px 20px;
  }

  .home-lead-main h1 {
    font-size: 23px;
  }

  .home-lead-main p {
    font-size: 14px;
    line-height: 1.65;
  }

  .home-cover-main {
    min-height: 0;
    padding: 24px 18px 20px;
  }

  .home-brief-primary {
    padding: 24px 18px 20px;
  }

  .home-brief-primary h1 {
    font-size: 25px;
  }

  .home-brief-primary p {
    font-size: 14px;
    line-height: 1.68;
  }

  .home-brief-meta {
    align-items: flex-start;
    display: grid;
    gap: 6px;
  }

  .home-brief-aside,
  .home-lookup-block {
    padding: 14px;
  }

  .home-cover-main h1 {
    font-size: 25px;
  }

  .home-cover-main p {
    font-size: 14px;
    line-height: 1.68;
  }

  .home-cover-meta {
    align-items: flex-start;
    display: grid;
    gap: 6px;
  }

  .home-cover-side {
    padding: 15px 16px 8px;
  }

  .home-rank-list a {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .home-read-grid {
    grid-template-columns: 1fr;
  }

  .home-read-card,
  .home-read-card:nth-child(-n + 2),
  .home-read-card:nth-child(2n),
  .home-read-card:nth-child(3n) {
    border-right: 0;
  }

  .home-read-card:nth-child(n + 2) {
    border-top: 1px solid #edf1f5;
  }

  .home-question-list,
  .home-update-list,
  .home-index-links {
    grid-template-columns: 1fr;
  }

  .home-flow-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 14px;
  }

  .home-flow-item h3 {
    font-size: 17px;
    grid-column: auto;
  }

  .home-flow-item p {
    grid-column: auto;
  }

  .home-flow-meta {
    grid-row: auto;
  }

  .home-topic-nav {
    grid-template-columns: 1fr;
  }

  .home-topic-nav a,
  .home-topic-nav a:nth-child(4n) {
    border-right: 0;
  }

  .home-topic-nav a:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .home-directory-row,
  .home-directory-row:nth-child(-n + 2),
  .home-directory-row:nth-child(2n),
  .home-directory-row:nth-child(4n),
  .home-feed-list a,
  .home-feed-list a:nth-child(2n),
  .home-feed-list a:nth-child(3n) {
    border-right: 0;
  }

  .home-directory-row:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .article-body,
  .article-card.no-thumbnail .article-body {
    padding: 14px;
  }

  .article-thumb {
    min-height: 180px;
  }

  .content-box {
    padding: 18px;
  }

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

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

/* Meta Knowledge System v1.3.0 */
:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-muted: #f8fafb;
  --text: #17212b;
  --heading: #13242d;
  --muted: #667085;
  --line: #e3e8ec;
  --brand: #1f5663;
  --brand-dark: #163d47;
  --brand-soft: #eaf3f5;
  --accent: #2f6f87;
  --accent-soft: #edf6f8;
  --radius: 3px;
  --shadow: 0 18px 48px rgba(20, 36, 44, 0.055);
  --wrap: 1160px;
  --content: 760px;
}

body {
  background:
    linear-gradient(180deg, #eef4f6 0, #f5f7f8 290px, #f5f7f8 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--accent);
}

.container {
  max-width: var(--wrap);
  padding-left: 22px;
  padding-right: 22px;
}

.site-header {
  backdrop-filter: blur(14px) saturate(135%);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 36, 44, 0.08);
  box-shadow: 0 8px 26px rgba(20, 36, 44, 0.04);
}

.site-header::before {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--accent));
  height: 3px;
}

.topbar {
  gap: 28px;
  min-height: 70px;
}

.site-brand {
  border-left: 3px solid var(--brand);
  max-width: 282px;
  padding-left: 12px;
}

.site-brand strong {
  color: var(--heading);
  font-size: 18px;
  font-weight: 720;
}

.site-brand span {
  color: #6a7784;
  font-size: 12px;
  line-height: 1.45;
}

.primary-nav ul {
  gap: 2px;
}

.primary-nav a {
  color: #26343d;
  font-size: 14px;
  font-weight: 520;
  padding: 7px 9px;
}

.primary-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.site-search {
  flex-basis: 246px;
}

.site-search input[type="search"] {
  background: #ffffff;
  border-color: #dce5e2;
  color: var(--text);
  min-height: 38px;
}

.site-search button,
.button-link,
.wp-block-button__link {
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 650;
  min-height: 38px;
}

.main {
  padding: 30px 0 50px;
}

.home-main {
  padding-top: 22px;
}

.knowledge-hero {
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 62%, #eaf3f5 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 310px;
  margin-bottom: 26px;
  overflow: hidden;
  padding: 38px 40px 34px;
  position: relative;
}

.knowledge-hero::before {
  background: var(--brand);
  content: "";
  height: 3px;
  left: 40px;
  position: absolute;
  top: 0;
  width: 110px;
}

.knowledge-kicker,
.home-label {
  color: #5a6a72;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  margin-bottom: 13px;
}

.knowledge-hero h1 {
  color: var(--heading);
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 650;
  line-height: 1.22;
  margin: 0;
}

.knowledge-hero p {
  color: #5f6f7b;
  font-size: 16px;
  line-height: 1.75;
  margin: 15px 0 22px;
  max-width: 650px;
}

.knowledge-search .site-search {
  display: flex;
  flex-basis: auto;
  max-width: 610px;
  width: 100%;
}

.knowledge-search .site-search input[type="search"] {
  font-size: 15px;
  min-height: 46px;
  padding-left: 14px;
}

.knowledge-search .site-search button {
  min-height: 46px;
  padding-left: 18px;
  padding-right: 18px;
}

.knowledge-hero-aside {
  align-self: end;
  border-left: 1px solid rgba(37, 88, 102, 0.14);
  padding-left: 28px;
}

.knowledge-hero-aside > span {
  color: #6a7784;
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 12px;
}

.knowledge-hero-aside div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.knowledge-hero-aside a,
.home-meta-category,
.entry-label {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.25;
  padding: 6px 10px;
}

.knowledge-hero-aside a:hover,
.home-meta-category:hover,
.entry-label:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

.home-brief {
  background: var(--surface);
  border: 0;
  box-shadow: 0 1px 0 rgba(20, 36, 44, 0.08), 0 14px 34px rgba(20, 36, 44, 0.035);
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-bottom: 28px;
}

.home-brief-primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px 28px;
}

.home-brief-primary::before {
  display: none;
}

.home-brief-primary h1 {
  color: var(--heading);
  font-size: 25px;
  font-weight: 640;
  line-height: 1.48;
  max-width: 690px;
}

.home-brief-primary h1 a {
  color: var(--heading);
}

.home-brief-primary p {
  color: #637381;
  font-size: 15px;
  max-width: 690px;
}

.home-brief-meta {
  border-top-color: rgba(223, 230, 228, 0.92);
  margin-top: 20px;
}

.home-brief-aside {
  background: #f8faf8;
  border-left: 1px solid rgba(223, 230, 228, 0.95);
  padding: 26px 26px 20px;
}

.home-brief-aside h2,
.home-lookup-block h2,
.side-card h2 {
  color: var(--heading);
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 13px;
}

.home-brief-links a,
.home-lookup-list a,
.side-card li {
  border-color: rgba(223, 230, 228, 0.92);
}

.home-brief-links a,
.home-lookup-list a {
  color: #2f3d46;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
  padding: 10px 0;
}

.home-content-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 310px;
  margin-bottom: 30px;
}

.home-feed-panel,
.home-index-panel,
.home-lookup-block,
.content-box,
.side-card {
  background: var(--surface);
  border: 0;
  box-shadow: 0 1px 0 rgba(20, 36, 44, 0.08), 0 12px 30px rgba(20, 36, 44, 0.032);
}

.home-section-title {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(223, 230, 228, 0.95);
  min-height: 52px;
  padding: 16px 22px 14px;
}

.home-section-title h2 {
  color: var(--heading);
  font-size: 15px;
  font-weight: 650;
}

.home-flow-item {
  border-bottom-color: rgba(223, 230, 228, 0.9);
  gap: 22px;
  grid-template-columns: 104px minmax(0, 1fr);
  padding: 23px 24px;
}

.home-flow-meta {
  color: #84919b;
  font-size: 12.5px;
}

.home-flow-meta a {
  color: var(--brand);
  font-weight: 650;
}

.home-flow-item h3 {
  color: var(--heading);
  font-size: 18px;
  font-weight: 620;
  line-height: 1.5;
}

.home-flow-item h3 a {
  color: var(--heading);
}

.home-flow-item p {
  color: #667683;
  font-size: 14.5px;
  line-height: 1.76;
}

.home-lookup {
  gap: 18px;
}

.home-lookup-block {
  padding: 22px 22px 18px;
}

.home-lookup .site-search {
  display: flex;
  flex-basis: auto;
  width: 100%;
}

.home-index-panel {
  padding: 0 24px 18px;
}

.home-index-panel .home-section-title {
  padding-left: 0;
  padding-right: 0;
}

.home-index-links {
  column-count: 2;
  column-gap: 46px;
  padding-top: 10px;
}

.home-index-links a {
  border-bottom: 1px solid rgba(223, 230, 228, 0.82);
  color: #33424c;
  display: block;
  font-size: 14.5px;
  line-height: 1.68;
  padding: 8px 0 8px 13px;
  position: relative;
}

.home-index-links a::before {
  background: #a9b6ba;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 21px;
  width: 5px;
}

.layout {
  gap: 28px;
  grid-template-columns: minmax(0, 806px) 310px;
}

.content-box {
  padding: 34px 36px;
}

.breadcrumb {
  border-bottom: 1px solid rgba(223, 230, 228, 0.9);
  color: #74818a;
  font-size: 13px;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.entry-header {
  border-bottom: 0;
  margin-bottom: 22px;
  padding-bottom: 0;
}

.entry-label-row {
  align-items: center;
  color: #7b8790;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  margin-bottom: 14px;
}

.page-title {
  color: var(--heading);
  font-size: 30px;
  font-weight: 660;
  line-height: 1.35;
  margin: 0;
}

.entry-summary {
  background: #f7faf8;
  border-left: 3px solid var(--brand);
  color: #41515c;
  font-size: 15.5px;
  line-height: 1.78;
  margin: 18px 0 16px;
  padding: 13px 16px;
}

.meta {
  color: #7a8791;
  font-size: 13px;
  gap: 8px 16px;
}

.entry-thumbnail {
  background: #f7faf8;
  border-color: rgba(223, 230, 228, 0.95);
  margin: 0 0 28px;
  max-width: var(--content);
}

.entry-thumbnail img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-thumbnail figcaption,
.entry-content figcaption,
.wp-caption-text {
  color: #7a8791;
  font-size: 13px;
}

.entry-content {
  color: #26343d;
  font-size: 16px;
  line-height: 1.86;
  max-width: var(--content);
}

.entry-content p {
  margin-bottom: 18px;
}

.entry-content h2 {
  border-bottom: 1px solid rgba(223, 230, 228, 0.95);
  color: var(--heading);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.45;
  margin: 36px 0 16px;
}

.entry-content h3 {
  color: var(--heading);
  font-size: 19px;
  font-weight: 650;
  margin: 26px 0 10px;
}

.toc {
  background: #f8faf8;
  border: 1px solid rgba(223, 230, 228, 0.95);
  box-shadow: none;
}

.sidebar {
  gap: 18px;
  top: 92px;
}

.side-card {
  padding: 20px 20px 16px;
}

.side-card .site-search {
  display: grid;
  flex-basis: auto;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 72px;
  width: 100%;
}

.side-card .site-search input[type="search"] {
  border-radius: var(--radius);
  min-height: 42px;
  padding: 9px 10px;
}

.side-card .site-search button {
  border-radius: var(--radius);
  min-height: 42px;
  padding: 8px 10px;
  white-space: nowrap;
}

.side-card .wp-block-search__label {
  color: var(--heading);
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 10px;
}

.side-card .wp-block-search__inside-wrapper {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 72px;
}

.side-card .wp-block-search__input {
  background: #ffffff;
  border: 1px solid #dce5e2;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  min-height: 42px;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.side-card .wp-block-search__button {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  min-height: 42px;
  padding: 8px 10px;
  white-space: nowrap;
}

.side-card ul {
  display: grid;
}

.side-card li {
  color: #65737e;
  font-size: 14px;
  line-height: 1.65;
  padding: 9px 0;
}

.site-footer {
  background: #13242c;
  color: #bfccd2;
  padding-top: 28px;
}

.footer-brand > a {
  font-weight: 700;
}

@media (max-width: 960px) {
  .knowledge-hero,
  .home-brief,
  .home-content-layout,
  .layout {
    grid-template-columns: 1fr;
  }

  .knowledge-hero-aside {
    align-self: stretch;
    border-left: 0;
    border-top: 1px solid rgba(37, 88, 102, 0.14);
    padding-left: 0;
    padding-top: 20px;
  }

  .home-brief-aside {
    border-left: 0;
    border-top: 1px solid rgba(223, 230, 228, 0.95);
  }

  .site-search {
    display: none;
  }

  .knowledge-search .site-search,
  .home-lookup .site-search {
    display: flex;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .main {
    padding-top: 18px;
  }

  .knowledge-hero {
    gap: 22px;
    margin-bottom: 18px;
    padding: 28px 18px 22px;
  }

  .knowledge-hero::before {
    left: 18px;
  }

  .knowledge-hero h1 {
    font-size: 29px;
  }

  .knowledge-hero p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .knowledge-search .site-search {
    display: grid;
  }

  .knowledge-search .site-search input[type="search"],
  .knowledge-search .site-search button {
    border-radius: var(--radius);
    width: 100%;
  }

  .knowledge-search .site-search button {
    margin-top: 8px;
  }

  .home-brief-primary,
  .home-brief-aside,
  .home-lookup-block,
  .content-box,
  .side-card {
    padding: 18px;
  }

  .home-brief-primary h1 {
    font-size: 22px;
  }

  .home-flow-item {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 17px 18px;
  }

  .home-flow-item h3,
  .home-flow-item p {
    grid-column: auto;
  }

  .home-flow-meta {
    display: flex;
    gap: 10px;
    grid-row: auto;
  }

  .home-index-links {
    column-count: 1;
  }

  .page-title {
    font-size: 26px;
  }

  .entry-content {
    font-size: 16px;
  }
}

/* Knowledge Center Layout v1.4.0 */
.home-library .container {
  max-width: 1180px;
}

.kb-hero {
  background: #fff;
  border-top: 3px solid var(--brand);
  box-shadow: 0 1px 0 rgba(19, 36, 45, 0.08), 0 16px 42px rgba(19, 36, 45, 0.045);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.52fr);
  margin-bottom: 18px;
}

.kb-hero-copy {
  min-width: 0;
  padding: 30px 34px 26px;
}

.kb-kicker {
  color: #60727c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 10px;
}

.kb-hero h1 {
  color: var(--heading);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0;
}

.kb-hero p {
  color: #657582;
  font-size: 15px;
  line-height: 1.72;
  margin: 12px 0 0;
  max-width: 620px;
}

.kb-hero-search {
  align-self: center;
  border-left: 1px solid rgba(227, 232, 236, 0.95);
  min-width: 0;
  padding: 30px 34px;
}

.kb-hero-search .site-search {
  display: flex;
  flex-basis: auto;
  width: 100%;
}

.kb-hero-search .site-search input[type="search"] {
  border-color: #d7e2e7;
  font-size: 15px;
  min-height: 44px;
  padding-left: 13px;
}

.kb-hero-search .site-search button {
  min-height: 44px;
  padding-left: 18px;
  padding-right: 18px;
}

.kb-hotwords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.kb-hotwords a {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
  padding: 6px 10px;
}

.kb-hotwords a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

.kb-category-strip {
  border-top: 1px solid rgba(227, 232, 236, 0.95);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.kb-category-strip a {
  border-right: 1px solid rgba(227, 232, 236, 0.95);
  color: var(--heading);
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 14px 16px;
}

.kb-category-strip a:last-child {
  border-right: 0;
}

.kb-category-strip a:hover {
  background: #f8fafb;
  color: var(--brand);
  text-decoration: none;
}

.kb-category-strip strong {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-category-strip span {
  color: #7b8791;
  font-size: 12px;
}

.kb-feature-board {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
  margin-bottom: 20px;
}

.kb-feature-main,
.kb-question-stack {
  background: #fff;
  box-shadow: 0 1px 0 rgba(19, 36, 45, 0.08), 0 12px 30px rgba(19, 36, 45, 0.032);
}

.kb-feature-main {
  min-height: 210px;
  padding: 26px 30px;
}

.kb-feature-main h2 {
  color: var(--heading);
  font-size: 24px;
  font-weight: 630;
  line-height: 1.45;
  margin: 0;
}

.kb-feature-main h2 a {
  color: var(--heading);
}

.kb-feature-main h2 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.kb-feature-main p {
  color: #647482;
  font-size: 15px;
  line-height: 1.75;
  margin: 14px 0 0;
  max-width: 760px;
}

.kb-question-stack {
  padding: 22px 24px 16px;
}

.kb-question-stack h2 {
  color: var(--heading);
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 12px;
}

.home-content-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.home-feed-panel,
.home-index-panel,
.home-lookup-block {
  border-radius: 0;
}

.home-section-title {
  min-height: 48px;
}

.home-flow-item {
  padding-bottom: 21px;
  padding-top: 21px;
}

@media (max-width: 960px) {
  .kb-hero,
  .kb-feature-board,
  .home-content-layout {
    grid-template-columns: 1fr;
  }

  .kb-hero-search {
    border-left: 0;
    border-top: 1px solid rgba(227, 232, 236, 0.95);
  }

  .kb-category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kb-category-strip a:nth-child(3n) {
    border-right: 0;
  }

  .kb-category-strip a:nth-child(n + 4) {
    border-top: 1px solid rgba(227, 232, 236, 0.95);
  }
}

@media (max-width: 640px) {
  .kb-hero-copy,
  .kb-hero-search,
  .kb-feature-main,
  .kb-question-stack {
    padding: 18px;
  }

  .kb-hero h1 {
    font-size: 25px;
  }

  .kb-hero-search .site-search {
    display: grid;
    gap: 8px;
  }

  .kb-hero-search .site-search input[type="search"],
  .kb-hero-search .site-search button {
    border-radius: var(--radius);
    width: 100%;
  }

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

  .kb-category-strip a,
  .kb-category-strip a:nth-child(3n) {
    border-right: 1px solid rgba(227, 232, 236, 0.95);
  }

  .kb-category-strip a:nth-child(2n) {
    border-right: 0;
  }

  .kb-category-strip a:nth-child(n + 3) {
    border-top: 1px solid rgba(227, 232, 236, 0.95);
  }

  .kb-feature-main h2 {
    font-size: 21px;
  }
}

/* Document Center Homepage v1.5.0 */
:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-muted: #f7fafb;
  --text: #17212b;
  --heading: #10212b;
  --muted: #66737e;
  --line: #dfe7eb;
  --brand: #1b5b68;
  --brand-dark: #123f49;
  --brand-soft: #e7f2f4;
  --accent: #246f8f;
  --accent-soft: #edf6f9;
  --radius: 6px;
  --shadow: 0 20px 46px rgba(16, 33, 43, 0.055);
  --wrap: 1180px;
}

body {
  background: #f4f7f8;
  color: var(--text);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 33, 43, 0.08);
  box-shadow: 0 8px 24px rgba(16, 33, 43, 0.035);
}

.site-header::before {
  display: none;
}

.topbar {
  min-height: 68px;
}

.site-brand {
  border-left: 0;
  max-width: 300px;
  padding-left: 0;
}

.site-brand strong {
  color: var(--heading);
  font-size: 18px;
  font-weight: 760;
}

.site-brand span {
  color: #6b7883;
  max-width: 260px;
}

.primary-nav a {
  border-radius: 6px;
  color: #263640;
  font-weight: 560;
  padding: 8px 10px;
}

.primary-nav a:hover {
  background: var(--brand-soft);
}

body.home .site-header .site-search {
  display: none;
}

.doc-home {
  background:
    linear-gradient(180deg, #eef5f6 0, #f4f7f8 360px, #f4f7f8 100%);
  padding-top: 0;
}

.doc-home .container {
  max-width: var(--wrap);
}

.doc-hero {
  background:
    linear-gradient(180deg, rgba(231, 242, 244, 0.92), rgba(244, 247, 248, 0.96));
  border-bottom: 1px solid rgba(16, 33, 43, 0.07);
  margin-bottom: 28px;
}

.doc-hero-inner {
  margin: 0 auto;
  max-width: 900px;
  padding: 58px 0 44px;
  text-align: center;
}

.doc-kicker {
  color: var(--brand);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 12px;
}

.doc-hero h1 {
  color: var(--heading);
  font-size: 42px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
}

.doc-hero p {
  color: #5d6d78;
  font-size: 16px;
  line-height: 1.78;
  margin: 14px auto 24px;
  max-width: 720px;
}

.doc-search {
  margin: 0 auto;
  max-width: 720px;
}

.doc-search .site-search {
  background: #fff;
  border: 1px solid #cfdde2;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 63, 73, 0.09);
  display: flex;
  flex-basis: auto;
  overflow: hidden;
  width: 100%;
}

.doc-search .site-search input[type="search"] {
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--heading);
  font-size: 16px;
  min-height: 54px;
  padding: 0 18px;
}

.doc-search .site-search input[type="search"]:focus {
  outline: 2px solid rgba(36, 111, 143, 0.24);
  outline-offset: -2px;
}

.doc-search .site-search button {
  background: var(--brand);
  border: 0;
  border-radius: 0;
  font-size: 16px;
  min-height: 54px;
  padding: 0 28px;
}

.doc-search .site-search button:hover {
  background: var(--brand-dark);
}

.doc-hotwords {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin: 16px auto 0;
  max-width: 760px;
}

.doc-hotwords span {
  color: #6c7a85;
  font-size: 13px;
}

.doc-hotwords a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(207, 221, 226, 0.86);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.2;
  padding: 7px 11px;
}

.doc-hotwords a:hover {
  background: #fff;
  border-color: rgba(27, 91, 104, 0.28);
  color: var(--brand);
  text-decoration: none;
}

.doc-meta-row {
  color: #66737e;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 18px;
}

.doc-meta-row span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.doc-meta-row span::before {
  background: #8aa6ad;
  border-radius: 999px;
  content: "";
  height: 4px;
  width: 4px;
}

.doc-featured,
.doc-latest,
.doc-side-block,
.doc-directory,
.doc-index {
  background: var(--surface);
  border: 1px solid rgba(223, 231, 235, 0.96);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 33, 43, 0.035);
}

.doc-featured,
.doc-directory,
.doc-index {
  margin-bottom: 24px;
}

.doc-section-head {
  align-items: baseline;
  border-bottom: 1px solid rgba(223, 231, 235, 0.96);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 56px;
  padding: 16px 22px 14px;
}

.doc-section-head span {
  color: var(--brand);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 720;
}

.doc-section-head h2 {
  color: var(--heading);
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.doc-featured-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.doc-feature-card {
  border-bottom: 1px solid rgba(223, 231, 235, 0.86);
  min-width: 0;
}

.doc-feature-card:nth-child(2),
.doc-feature-card:nth-child(3),
.doc-feature-card:nth-child(4) {
  border-left: 1px solid rgba(223, 231, 235, 0.86);
}

.doc-feature-card:last-child {
  border-bottom: 0;
}

.doc-feature-card.is-primary {
  border-bottom: 0;
  display: grid;
  grid-row: span 3;
  grid-template-rows: auto minmax(0, 1fr);
}

.doc-feature-thumb {
  aspect-ratio: 16 / 7;
  background: var(--surface-muted);
  display: block;
  overflow: hidden;
}

.doc-feature-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.doc-card-body {
  padding: 20px 22px;
}

.doc-feature-card.is-primary .doc-card-body {
  padding: 24px 26px 28px;
}

.doc-card-meta,
.doc-list-meta {
  align-items: center;
  color: #7d8a94;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 12px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.doc-card-meta a,
.doc-list-meta a {
  color: var(--brand);
  font-weight: 700;
}

.doc-feature-card h3,
.doc-list-item h3 {
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.48;
  margin: 0;
}

.doc-feature-card.is-primary h3 {
  font-size: 24px;
  line-height: 1.42;
}

.doc-feature-card h3 a,
.doc-list-item h3 a,
.doc-topic-head h3 a,
.doc-index-links a {
  color: var(--heading);
}

.doc-feature-card h3 a:hover,
.doc-list-item h3 a:hover,
.doc-topic-head h3 a:hover,
.doc-topic-posts a:hover,
.doc-quick-links a:hover,
.doc-index-links a:hover {
  color: var(--brand);
  text-decoration: none;
}

.doc-feature-card p,
.doc-list-item p {
  color: #647480;
  font-size: 14.5px;
  line-height: 1.72;
  margin: 9px 0 0;
}

.doc-main-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-bottom: 24px;
}

.doc-list {
  display: grid;
}

.doc-list-item {
  border-bottom: 1px solid rgba(223, 231, 235, 0.86);
  padding: 19px 22px;
}

.doc-list-item:last-child {
  border-bottom: 0;
}

.doc-list-item h3 {
  font-size: 18px;
}

.doc-side {
  display: grid;
  gap: 18px;
  min-width: 0;
  position: sticky;
  top: 88px;
}

.doc-side-block {
  padding: 20px;
}

.doc-side-block h2 {
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 13px;
}

.doc-search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.doc-search-links a {
  background: var(--accent-soft);
  border: 1px solid rgba(36, 111, 143, 0.13);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  padding: 7px 11px;
}

.doc-search-links a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.doc-quick-links {
  display: grid;
}

.doc-quick-links a {
  border-top: 1px solid rgba(223, 231, 235, 0.86);
  color: #2f3f49;
  display: block;
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.58;
  padding: 11px 0;
}

.doc-quick-links a:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc-quick-links a:last-child {
  padding-bottom: 0;
}

.doc-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-topic-card {
  border-right: 1px solid rgba(223, 231, 235, 0.86);
  border-top: 1px solid rgba(223, 231, 235, 0.86);
  min-width: 0;
  padding: 20px 22px;
}

.doc-topic-card:nth-child(1),
.doc-topic-card:nth-child(2),
.doc-topic-card:nth-child(3) {
  border-top: 0;
}

.doc-topic-card:nth-child(3n) {
  border-right: 0;
}

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

.doc-topic-head h3 {
  color: var(--heading);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.doc-topic-head span {
  color: #7b8994;
  flex: 0 0 auto;
  font-size: 13px;
}

.doc-topic-posts {
  display: grid;
  gap: 7px;
}

.doc-topic-posts a {
  color: #33444f;
  font-size: 14.5px;
  line-height: 1.6;
  overflow: hidden;
  padding-left: 12px;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-topic-posts a::before,
.doc-index-links a::before {
  background: #9badb4;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0.84em;
  width: 5px;
}

.doc-index {
  padding-bottom: 12px;
}

.doc-index-links {
  column-count: 3;
  column-gap: 36px;
  padding: 14px 22px 2px;
}

.doc-index-links a {
  border-bottom: 1px solid rgba(223, 231, 235, 0.72);
  break-inside: avoid;
  display: block;
  font-size: 14.2px;
  line-height: 1.62;
  padding: 8px 0 8px 12px;
  position: relative;
}

.site-footer {
  background: #10212b;
  padding-top: 28px;
}

.footer-brand > a {
  letter-spacing: 0;
}

@media (max-width: 1080px) {
  .doc-featured-grid,
  .doc-main-grid {
    grid-template-columns: 1fr;
  }

  .doc-feature-card:nth-child(2),
  .doc-feature-card:nth-child(3),
  .doc-feature-card:nth-child(4) {
    border-left: 0;
  }

  .doc-feature-card.is-primary {
    border-bottom: 1px solid rgba(223, 231, 235, 0.86);
    grid-row: auto;
  }

  .doc-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

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

  .doc-topic-card:nth-child(3) {
    border-top: 1px solid rgba(223, 231, 235, 0.86);
  }

  .doc-topic-card:nth-child(3n) {
    border-right: 1px solid rgba(223, 231, 235, 0.86);
  }

  .doc-topic-card:nth-child(2n) {
    border-right: 0;
  }

  .doc-index-links {
    column-count: 2;
  }
}

@media (max-width: 960px) {
  body.home .site-header .site-search {
    display: none;
  }

  .doc-hero-inner {
    padding: 42px 0 34px;
  }

  .doc-hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .doc-home {
    background: #f4f7f8;
  }

  .doc-hero {
    margin-bottom: 18px;
  }

  .doc-hero-inner {
    padding: 34px 0 28px;
    text-align: left;
  }

  .doc-kicker {
    font-size: 13px;
  }

  .doc-hero h1 {
    font-size: 29px;
  }

  .doc-hero p {
    font-size: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  .doc-search .site-search {
    border-radius: 7px;
    display: grid;
    overflow: visible;
  }

  .doc-search .site-search input[type="search"],
  .doc-search .site-search button {
    border-radius: 7px;
    width: 100%;
  }

  .doc-search .site-search input[type="search"] {
    min-height: 48px;
  }

  .doc-search .site-search button {
    min-height: 46px;
  }

  .doc-hotwords,
  .doc-meta-row {
    justify-content: flex-start;
  }

  .doc-section-head {
    align-items: flex-start;
    display: grid;
    gap: 4px;
    min-height: 0;
    padding: 15px 16px 13px;
  }

  .doc-section-head span {
    font-size: 12.5px;
  }

  .doc-section-head h2 {
    font-size: 17px;
  }

  .doc-card-body,
  .doc-feature-card.is-primary .doc-card-body,
  .doc-list-item,
  .doc-side-block,
  .doc-topic-card {
    padding: 17px 16px;
  }

  .doc-feature-card.is-primary h3 {
    font-size: 21px;
  }

  .doc-list-item h3 {
    font-size: 17px;
  }

  .doc-side,
  .doc-directory-grid {
    grid-template-columns: 1fr;
  }

  .doc-topic-card,
  .doc-topic-card:nth-child(2n),
  .doc-topic-card:nth-child(3n) {
    border-right: 0;
  }

  .doc-topic-card:nth-child(2) {
    border-top: 1px solid rgba(223, 231, 235, 0.86);
  }

  .doc-index-links {
    column-count: 1;
    padding: 10px 16px 2px;
  }
}

/* Knowledge Center Homepage v1.7.0 */
body.home {
  --kc-bg: #f4f8ff;
  --kc-surface: #ffffff;
  --kc-surface-soft: #f8fbff;
  --kc-text: #12233d;
  --kc-muted: #667790;
  --kc-line: #dbe7f7;
  --kc-blue: #1f75ff;
  --kc-blue-deep: #155bd8;
  --kc-blue-soft: #eaf3ff;
  --kc-cyan: #14a8c8;
  --kc-green: #18a779;
  --kc-rose: #e2557a;
  --kc-indigo: #536dfe;
  --kc-shadow: 0 18px 44px rgba(31, 117, 255, 0.11);
  background:
    linear-gradient(180deg, #f6faff 0, #f3f7ff 360px, #ffffff 760px);
  color: var(--kc-text);
}

body.home .container,
.site-header .container,
.site-footer .container {
  max-width: 1180px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 231, 247, 0.92);
  box-shadow: 0 10px 30px rgba(20, 58, 110, 0.06);
}

.site-header::before {
  display: none;
}

.topbar {
  gap: 22px;
  min-height: 74px;
}

.site-brand {
  align-items: center;
  color: #12233d;
  display: flex;
  flex: 0 0 auto;
  gap: 11px;
  min-width: 218px;
}

.site-brand:hover {
  color: #12233d;
  text-decoration: none;
}

.site-brand-mark,
.footer-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #1f75ff 0%, #14a8c8 100%);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 117, 255, 0.24);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.site-brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.site-brand strong {
  color: #12233d;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.2;
}

.site-brand span span,
.site-brand-text > span {
  color: #75849a;
  font-size: 12px;
  line-height: 1.3;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-nav {
  flex: 1 1 auto;
  justify-content: center;
}

.primary-nav ul {
  gap: 4px;
}

.primary-nav a {
  border-radius: 8px;
  color: #415168;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 11px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-cat > a {
  background: #eef6ff;
  color: #1f75ff;
  text-decoration: none;
}

.header-quick-link {
  align-items: center;
  background: #1f75ff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 117, 255, 0.2);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
}

.header-quick-link:hover {
  background: #155bd8;
  color: #fff;
  text-decoration: none;
}

body.home .site-header .site-search {
  display: none;
}

.kb-center-home a {
  text-decoration: none;
}

.kb-center-home a:hover {
  color: var(--kc-blue);
  text-decoration: none;
}

.kb-center-hero {
  background:
    radial-gradient(circle at 74% 18%, rgba(64, 157, 255, 0.15), transparent 28%),
    linear-gradient(135deg, #edf6ff 0%, #f8fbff 54%, #ffffff 100%);
  border-bottom: 1px solid rgba(219, 231, 247, 0.9);
  overflow: hidden;
  padding: 58px 0 54px;
}

.kb-center-hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
}

.kb-center-hero-copy {
  max-width: 660px;
}

.kb-center-eyebrow,
.kb-center-section-head span {
  color: var(--kc-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.kb-center-hero-copy h1 {
  color: #0e2342;
  font-size: clamp(36px, 4.1vw, 52px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 12px 0 18px;
}

.kb-center-hero-copy p {
  color: #5c6f8a;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 26px;
  max-width: 620px;
}

.kb-center-search {
  max-width: 640px;
}

.kb-center-search .site-search {
  align-items: center;
  background: #fff;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(31, 117, 255, 0.13);
  display: flex;
  gap: 0;
  height: 62px;
  overflow: hidden;
  padding: 6px;
  position: relative;
}

.kb-center-search .site-search::before {
  color: #8da4c2;
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-left: 16px;
  width: 18px;
  background:
    radial-gradient(circle at 42% 42%, transparent 0 6px, #8da4c2 6.5px 8px, transparent 8.5px),
    linear-gradient(45deg, transparent 0 60%, #8da4c2 61% 76%, transparent 77%);
}

.kb-center-search .site-search input[type="search"] {
  border: 0;
  color: #14253f;
  flex: 1 1 auto;
  font-size: 16px;
  min-height: 48px;
  min-width: 0;
  outline: 0;
  padding: 0 16px;
}

.kb-center-search .site-search input[type="search"]::placeholder {
  color: #91a3ba;
}

.kb-center-search .site-search button {
  background: linear-gradient(135deg, #1f75ff, #155bd8);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(31, 117, 255, 0.24);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  height: 48px;
  min-width: 108px;
  padding: 0 22px;
}

.kb-center-search .site-search button:hover {
  background: #155bd8;
}

.kb-center-hotwords {
  align-items: center;
  color: #6b7d96;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kb-center-hotwords span {
  color: #415168;
  font-size: 13px;
  font-weight: 800;
}

.kb-center-hotwords a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(207, 224, 246, 0.92);
  border-radius: 999px;
  color: #52657d;
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
}

.kb-center-hotwords a:hover {
  background: #fff;
  border-color: rgba(31, 117, 255, 0.35);
  color: var(--kc-blue);
}

.kb-center-hero-art {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 310px;
  position: relative;
}

.kb-center-hero-art img {
  display: block;
  filter: drop-shadow(0 24px 34px rgba(31, 85, 158, 0.18));
  height: auto;
  max-width: 100%;
}

.kb-center-dashboard-illus {
  aspect-ratio: 1.45 / 1;
  background: linear-gradient(180deg, #f9fcff 0, #eef6ff 100%);
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  box-shadow: var(--kc-shadow);
  position: relative;
  width: 100%;
}

.kb-center-dashboard-illus::before {
  background: #1f75ff;
  border-radius: 8px 8px 0 0;
  content: "";
  height: 52px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.kb-center-illus-window,
.kb-center-illus-chart,
.kb-center-illus-card {
  background: #fff;
  border: 1px solid #d8e7f9;
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(31, 117, 255, 0.12);
  position: absolute;
}

.kb-center-illus-window {
  height: 46%;
  left: 8%;
  top: 24%;
  width: 38%;
}

.kb-center-illus-chart {
  height: 38%;
  right: 8%;
  top: 24%;
  width: 38%;
}

.kb-center-illus-card {
  bottom: 9%;
  height: 20%;
  right: 16%;
  width: 28%;
}

.kb-center-cats {
  background: #fff;
  padding: 36px 0 28px;
}

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

.kb-center-section-head h2 {
  color: #14253f;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 5px 0 0;
}

.kb-center-head-link,
.kb-center-updates .kb-center-section-head > strong {
  align-items: center;
  background: #f1f6ff;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  color: #315070;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  min-height: 36px;
  padding: 0 13px;
}

.kb-center-cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kb-center-cat-card {
  background: #fff;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(29, 78, 137, 0.055);
  color: #14253f;
  display: grid;
  gap: 8px;
  min-height: 166px;
  padding: 18px;
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.kb-center-cat-card:hover {
  border-color: rgba(31, 117, 255, 0.34);
  box-shadow: 0 18px 38px rgba(31, 117, 255, 0.12);
  transform: translateY(-2px);
}

.kb-center-cat-icon {
  background: linear-gradient(135deg, #1f75ff, #14a8c8);
  border-radius: 8px;
  height: 42px;
  position: relative;
  width: 42px;
}

.kb-center-cat-icon::before,
.kb-center-cat-icon::after {
  background: rgba(255, 255, 255, 0.86);
  content: "";
  position: absolute;
}

.kb-center-cat-icon::before {
  border-radius: 999px;
  height: 8px;
  left: 10px;
  top: 11px;
  width: 22px;
}

.kb-center-cat-icon::after {
  border-radius: 999px;
  bottom: 11px;
  height: 8px;
  left: 10px;
  width: 15px;
}

.kb-center-cat-card.tone-2 .kb-center-cat-icon {
  background: linear-gradient(135deg, #18a779, #14a8c8);
}

.kb-center-cat-card.tone-3 .kb-center-cat-icon {
  background: linear-gradient(135deg, #536dfe, #1f75ff);
}

.kb-center-cat-card.tone-4 .kb-center-cat-icon {
  background: linear-gradient(135deg, #e2557a, #ff7da2);
}

.kb-center-cat-card.tone-5 .kb-center-cat-icon {
  background: linear-gradient(135deg, #14a8c8, #5bc6ea);
}

.kb-center-cat-card.tone-6 .kb-center-cat-icon {
  background: linear-gradient(135deg, #4f8cff, #7c9cff);
}

.kb-center-cat-card strong {
  color: #14253f;
  font-size: 17px;
  line-height: 1.25;
}

.kb-center-cat-card em {
  color: #1f75ff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.kb-center-cat-card small {
  color: #6a7a91;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kb-center-shell {
  align-items: start;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) 316px;
  padding-bottom: 56px;
  padding-top: 30px;
}

.kb-center-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.kb-center-featured,
.kb-center-articles,
.kb-center-updates,
.kb-center-side-card {
  background: #fff;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(29, 78, 137, 0.055);
}

.kb-center-featured,
.kb-center-articles,
.kb-center-updates {
  padding: 22px;
}

.kb-center-topic-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kb-center-topic-card {
  background: #f9fcff;
  border: 1px solid #e1ebf7;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kb-center-topic-card:hover {
  box-shadow: 0 14px 28px rgba(31, 117, 255, 0.1);
  transform: translateY(-2px);
}

.kb-center-topic-thumb {
  aspect-ratio: 16 / 10;
  background: #eef6ff;
  display: block;
  overflow: hidden;
}

.kb-center-topic-thumb img,
.kb-center-article-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.kb-center-topic-card:hover img,
.kb-center-article-card:hover img {
  transform: scale(1.035);
}

.kb-center-topic-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.kb-center-pill {
  color: var(--kc-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.kb-center-topic-body h3,
.kb-center-article-body h3,
.kb-center-update-item h3 {
  margin: 0;
}

.kb-center-topic-body h3 a {
  color: #14253f;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.kb-center-article-card {
  background: #fff;
  border: 1px solid #e1ebf7;
  border-radius: 8px;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.kb-center-article-card:hover {
  border-color: rgba(31, 117, 255, 0.35);
  box-shadow: 0 18px 34px rgba(31, 117, 255, 0.1);
  transform: translateY(-2px);
}

.kb-center-article-thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(31, 117, 255, 0.08), rgba(20, 168, 200, 0.08)),
    #eef6ff;
  display: block;
  overflow: hidden;
}

.kb-center-article-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.kb-center-article-card.no-image .kb-center-article-body {
  min-height: 210px;
}

.kb-center-card-meta {
  align-items: center;
  color: #7c8ca3;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
}

.kb-center-card-meta a {
  color: var(--kc-blue);
}

.kb-center-card-meta time::before {
  color: #c2cfde;
  content: "/";
  margin-right: 8px;
}

.kb-center-article-body h3 a {
  color: #14253f;
  display: -webkit-box;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kb-center-article-body p {
  color: #62748c;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.kb-center-update-list {
  border-top: 1px solid #e1ebf7;
}

.kb-center-update-item {
  align-items: center;
  border-bottom: 1px solid #eaf1fa;
  display: grid;
  gap: 12px;
  grid-template-columns: 54px 88px minmax(0, 1fr);
  min-height: 54px;
  padding: 12px 0;
}

.kb-center-update-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kb-center-update-item time {
  color: #8a9ab0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.kb-center-update-cat {
  background: #eff6ff;
  border-radius: 999px;
  color: #1f75ff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  padding: 7px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-center-update-item h3 a {
  color: #20324b;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-center-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.kb-center-side-card {
  padding: 18px;
}

.kb-center-side-card h2 {
  color: #14253f;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.kb-center-side-list,
.kb-center-rank-list,
.kb-center-collection-list,
.kb-center-faq-list {
  display: grid;
  gap: 0;
}

.kb-center-side-list a,
.kb-center-rank-list li,
.kb-center-collection-list a {
  border-top: 1px solid #eaf1fa;
}

.kb-center-side-list a {
  color: #31445e;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  padding: 11px 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kb-center-rank-list {
  counter-reset: rank;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kb-center-rank-list li {
  align-items: start;
  counter-increment: rank;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 11px 0;
}

.kb-center-rank-list li::before {
  align-items: center;
  background: #eef6ff;
  border-radius: 6px;
  color: #1f75ff;
  content: counter(rank);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.kb-center-rank-list a {
  color: #31445e;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kb-center-collection-list a {
  align-items: center;
  color: #31445e;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 0;
}

.kb-center-collection-list em {
  background: #f1f6ff;
  border-radius: 999px;
  color: #6a7a91;
  font-size: 12px;
  font-style: normal;
  padding: 3px 8px;
}

.kb-center-tag-cloud,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kb-center-tag-cloud a,
.footer-tags a {
  background: #f5f9ff;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  color: #52657d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.kb-center-tag-cloud a:hover,
.footer-tags a:hover {
  background: #eef6ff;
  color: #1f75ff;
}

.kb-center-faq-list {
  gap: 10px;
}

.kb-center-faq-list details {
  background: #f8fbff;
  border: 1px solid #e1ebf7;
  border-radius: 8px;
  padding: 12px 13px;
}

.kb-center-faq-list summary {
  color: #213550;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.kb-center-faq-list p {
  color: #64758d;
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 8px;
}

.kb-center-faq-list details > a {
  color: #1f75ff;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border-top: 1px solid #dbe7f7;
  color: #52657d;
  padding: 42px 0 22px;
}

.footer-knowledge-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 1fr));
}

.footer-brand a {
  align-items: center;
  color: #14253f;
  display: inline-flex;
  gap: 10px;
}

.footer-brand a:hover {
  color: #14253f;
  text-decoration: none;
}

.footer-brand strong {
  font-size: 20px;
}

.footer-brand p {
  color: #64758d;
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 18px;
  max-width: 390px;
}

.footer-search {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  display: flex;
  max-width: 360px;
  overflow: hidden;
  padding: 4px;
}

.footer-search input {
  border: 0;
  color: #14253f;
  flex: 1 1 auto;
  font-size: 14px;
  min-height: 38px;
  min-width: 0;
  outline: 0;
  padding: 0 12px;
}

.footer-search button {
  background: #1f75ff;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  padding: 0 15px;
}

.footer-column h2 {
  color: #14253f;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 14px;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column a {
  color: #52657d;
  font-size: 14px;
  font-weight: 700;
}

.footer-column a:hover {
  color: #1f75ff;
}

.footer-widget-grid {
  border-top: 1px solid #dbe7f7;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  padding-top: 22px;
}

.footer-widget-column {
  min-width: 0;
}

.footer-widget {
  color: #52657d;
  font-size: 14px;
  line-height: 1.7;
}

.footer-widget + .footer-widget {
  margin-top: 16px;
}

.footer-widget h3 {
  color: #14253f;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 10px;
}

.footer-widget ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget a {
  color: #52657d;
  font-weight: 700;
}

.footer-widget a:hover {
  color: #1f75ff;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid #dbe7f7;
  color: #75849a;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 14px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
}

.footer-links {
  display: inline-flex;
  gap: 14px;
}

.footer-links a {
  color: #52657d;
}

@media (max-width: 1080px) {
  .topbar {
    gap: 14px;
  }

  .site-brand {
    min-width: auto;
  }

  .site-brand-text > span {
    display: none;
  }

  .kb-center-hero-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  }

  .kb-center-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kb-center-shell {
    grid-template-columns: 1fr;
  }

  .kb-center-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

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

@media (max-width: 960px) {
  .topbar {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 12px 0;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .header-quick-link {
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav,
  .site-header .site-search {
    grid-column: 1 / -1;
  }

  .site-header.is-open .primary-nav {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 6px;
    padding-top: 10px;
  }

  body.home .site-header.is-open .site-search {
    display: none;
  }

  .kb-center-hero {
    padding: 38px 0 34px;
  }

  .kb-center-hero-grid {
    grid-template-columns: 1fr;
  }

  .kb-center-hero-art {
    min-height: 0;
  }

  .kb-center-hero-art img {
    max-width: 520px;
  }

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

@media (max-width: 700px) {
  body.home {
    background: #f5f9ff;
  }

  .site-brand-mark {
    height: 36px;
    width: 36px;
  }

  .site-brand strong {
    font-size: 16px;
  }

  .header-quick-link {
    display: none;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    grid-column: 2;
  }

  .kb-center-hero {
    padding: 30px 0 28px;
  }

  .kb-center-hero-copy h1 {
    font-size: 34px;
  }

  .kb-center-hero-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .kb-center-search .site-search {
    display: grid;
    height: auto;
    padding: 8px;
  }

  .kb-center-search .site-search::before {
    display: none;
  }

  .kb-center-search .site-search input[type="search"],
  .kb-center-search .site-search button {
    width: 100%;
  }

  .kb-center-cat-grid,
  .kb-center-topic-row,
  .kb-center-article-grid,
  .kb-center-sidebar,
  .footer-knowledge-grid {
    grid-template-columns: 1fr;
  }

  .kb-center-cat-card {
    min-height: 0;
  }

  .kb-center-shell {
    gap: 20px;
    padding-top: 22px;
  }

  .kb-center-featured,
  .kb-center-articles,
  .kb-center-updates,
  .kb-center-side-card {
    padding: 16px;
  }

  .kb-center-section-head {
    align-items: start;
    display: grid;
    gap: 10px;
  }

  .kb-center-section-head h2 {
    font-size: 21px;
  }

  .kb-center-update-item {
    align-items: start;
    gap: 8px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .kb-center-update-cat {
    justify-content: start;
    width: max-content;
  }

  .kb-center-update-item h3 {
    grid-column: 1 / -1;
  }

  .kb-center-update-item h3 a {
    white-space: normal;
  }

  .footer-bottom {
    align-items: start;
    display: grid;
  }
}

/* Knowledge Base Directory Homepage v1.6.0 */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --text: #182631;
  --heading: #101d27;
  --muted: #667481;
  --line: #dfe7ee;
  --brand: #1d5f70;
  --brand-dark: #133f4b;
  --brand-soft: #e9f4f6;
  --accent: #256f8c;
  --accent-soft: #eef7fa;
  --radius: 6px;
  --shadow: 0 12px 30px rgba(16, 29, 39, 0.035);
  --wrap: 1180px;
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 29, 39, 0.08);
  box-shadow: none;
}

.site-header::before {
  display: none;
}

.topbar {
  min-height: 64px;
}

.site-brand {
  border-left: 0;
  max-width: 300px;
  padding-left: 0;
}

.site-brand strong {
  color: var(--heading);
  font-size: 18px;
  font-weight: 760;
}

.site-brand span {
  color: #6d7a86;
  font-size: 12px;
}

.primary-nav a {
  border-radius: 5px;
  color: #24343f;
  font-size: 14px;
  font-weight: 560;
  padding: 7px 10px;
}

.primary-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

body.home .site-header .site-search {
  display: none;
}

.kb-docs-home {
  background: var(--bg);
  padding-top: 0;
}

.kb-docs-home .container {
  max-width: var(--wrap);
}

.kb-docs-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.kb-docs-hero-grid {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: 34px 0 30px;
}

.kb-docs-intro {
  min-width: 0;
}

.kb-docs-eyebrow {
  color: var(--brand);
  display: inline-flex;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  margin-bottom: 10px;
}

.kb-docs-intro h1 {
  color: var(--heading);
  font-size: 34px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
}

.kb-docs-intro p {
  color: #5f6f7c;
  font-size: 15.5px;
  line-height: 1.78;
  margin: 12px 0 20px;
  max-width: 720px;
}

.kb-docs-search {
  max-width: 700px;
}

.kb-docs-search .site-search {
  background: #fff;
  border: 1px solid #cfdce3;
  border-radius: 6px;
  display: flex;
  flex-basis: auto;
  overflow: hidden;
  width: 100%;
}

.kb-docs-search .site-search input[type="search"] {
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--heading);
  font-size: 15.5px;
  min-height: 50px;
  padding: 0 16px;
}

.kb-docs-search .site-search input[type="search"]:focus {
  outline: 2px solid rgba(37, 111, 140, 0.22);
  outline-offset: -2px;
}

.kb-docs-search .site-search button {
  background: var(--brand);
  border: 0;
  border-radius: 0;
  font-size: 15px;
  min-height: 50px;
  padding: 0 24px;
}

.kb-docs-search .site-search button:hover {
  background: var(--brand-dark);
}

.kb-docs-hotwords {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.kb-docs-hotwords span {
  color: #73808c;
  font-size: 13px;
}

.kb-docs-hotwords a {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #234753;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.2;
  padding: 6px 10px;
}

.kb-docs-hotwords a:hover {
  background: var(--brand-soft);
  border-color: rgba(29, 95, 112, 0.24);
  color: var(--brand-dark);
  text-decoration: none;
}

.kb-docs-status {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 20px 20px 18px;
}

.kb-docs-status h2,
.kb-route-panel h2 {
  color: var(--heading);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.35;
  margin: 0 0 13px;
}

.kb-docs-status dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.kb-docs-status dl > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 11px 0;
}

.kb-docs-status dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.kb-docs-status dl > div:last-child {
  padding-bottom: 0;
}

.kb-docs-status dt {
  color: #6f7d88;
  font-size: 13px;
}

.kb-docs-status dd {
  color: var(--heading);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.kb-topic-library,
.kb-update-panel,
.kb-route-panel,
.kb-all-docs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kb-topic-library,
.kb-all-docs {
  margin-bottom: 22px;
}

.kb-doc-section-head {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  min-height: 54px;
  padding: 15px 20px 13px;
}

.kb-doc-section-head span {
  color: var(--brand);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.kb-doc-section-head h2 {
  color: var(--heading);
  font-size: 18px;
  font-weight: 740;
  line-height: 1.35;
  margin: 0;
}

.kb-topic-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kb-topic-panel {
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  min-width: 0;
  padding: 20px;
}

.kb-topic-panel:nth-child(1),
.kb-topic-panel:nth-child(2),
.kb-topic-panel:nth-child(3) {
  border-top: 0;
}

.kb-topic-panel:nth-child(3n) {
  border-right: 0;
}

.kb-topic-panel-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kb-topic-panel h3 {
  color: var(--heading);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
}

.kb-topic-panel h3 a {
  color: var(--heading);
}

.kb-topic-panel h3 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.kb-topic-panel p {
  color: #6a7884;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.kb-topic-count {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1.2;
  padding: 6px 9px;
}

.kb-topic-count:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.kb-topic-docs {
  display: grid;
  gap: 0;
}

.kb-topic-docs a,
.kb-question-list a,
.kb-all-docs-links a {
  color: #2d3f4b;
  display: block;
  font-size: 14.2px;
  line-height: 1.58;
  min-width: 0;
  overflow: hidden;
  padding: 7px 0 7px 13px;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-topic-docs a::before,
.kb-question-list a::before,
.kb-all-docs-links a::before {
  background: #9aabb4;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 18px;
  width: 5px;
}

.kb-topic-docs a:hover,
.kb-question-list a:hover,
.kb-all-docs-links a:hover,
.kb-update-item h3 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.kb-docs-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-bottom: 22px;
}

.kb-update-list {
  display: grid;
}

.kb-update-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 138px minmax(0, 1fr);
  padding: 15px 20px;
}

.kb-update-item:last-child {
  border-bottom: 0;
}

.kb-update-meta {
  color: #7a8792;
  display: grid;
  font-size: 12.5px;
  gap: 3px;
  line-height: 1.45;
}

.kb-update-meta a {
  color: var(--brand);
  font-weight: 700;
}

.kb-update-meta time {
  color: #8b97a1;
}

.kb-update-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.kb-update-item h3 a {
  color: var(--heading);
}

.kb-route-panel {
  display: grid;
  gap: 0;
  position: sticky;
  top: 84px;
}

.kb-route-panel section {
  border-top: 1px solid var(--line);
  padding: 20px;
}

.kb-route-panel section:first-child {
  border-top: 0;
}

.kb-route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kb-route-tags a {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #254651;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  padding: 7px 10px;
}

.kb-route-tags a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.kb-question-list {
  display: grid;
}

.kb-all-docs {
  padding-bottom: 12px;
}

.kb-all-docs-links {
  column-count: 3;
  column-gap: 38px;
  padding: 12px 20px 0;
}

.kb-all-docs-links a {
  border-bottom: 1px solid rgba(223, 231, 238, 0.82);
  break-inside: avoid;
}

@media (max-width: 1080px) {
  .kb-docs-hero-grid,
  .kb-docs-layout {
    grid-template-columns: 1fr;
  }

  .kb-docs-status dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kb-docs-status dl > div {
    border-left: 1px solid var(--line);
    border-top: 0;
    display: block;
    padding: 0 16px;
  }

  .kb-docs-status dl > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .kb-route-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .kb-route-panel section {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .kb-route-panel section:first-child {
    border-left: 0;
  }

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

  .kb-topic-panel:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .kb-topic-panel:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .kb-topic-panel:nth-child(2n) {
    border-right: 0;
  }

  .kb-all-docs-links {
    column-count: 2;
  }
}

@media (max-width: 700px) {
  .topbar {
    min-height: auto;
  }

  .kb-docs-hero {
    margin-bottom: 16px;
  }

  .kb-docs-hero-grid {
    gap: 18px;
    padding: 28px 0 22px;
  }

  .kb-docs-intro h1 {
    font-size: 29px;
  }

  .kb-docs-intro p {
    font-size: 15px;
  }

  .kb-docs-search .site-search {
    display: grid;
    overflow: visible;
  }

  .kb-docs-search .site-search input[type="search"],
  .kb-docs-search .site-search button {
    border-radius: 6px;
    width: 100%;
  }

  .kb-docs-search .site-search input[type="search"] {
    min-height: 48px;
  }

  .kb-docs-search .site-search button {
    min-height: 46px;
  }

  .kb-docs-status,
  .kb-topic-panel,
  .kb-route-panel section {
    padding: 16px;
  }

  .kb-docs-status dl,
  .kb-route-panel,
  .kb-topic-library-grid {
    grid-template-columns: 1fr;
  }

  .kb-docs-status dl > div {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    padding: 10px 0;
  }

  .kb-docs-status dl > div:first-child {
    border-top: 0;
  }

  .kb-route-panel section,
  .kb-route-panel section:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .kb-route-panel section:first-child {
    border-top: 0;
  }

  .kb-doc-section-head {
    display: grid;
    gap: 4px;
    min-height: 0;
    padding: 14px 16px 12px;
  }

  .kb-doc-section-head h2 {
    font-size: 17px;
  }

  .kb-topic-panel,
  .kb-topic-panel:nth-child(2n),
  .kb-topic-panel:nth-child(3n) {
    border-right: 0;
  }

  .kb-topic-panel:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .kb-topic-panel-head {
    gap: 10px;
  }

  .kb-update-item {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .kb-update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .kb-all-docs-links {
    column-count: 1;
    padding: 8px 16px 0;
  }
}

/* Knowledge Center Homepage v1.7.1 final visual overrides */
body.home .site-header .topbar {
  align-items: center;
}

body.home .site-header .site-brand {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 11px;
  max-width: 320px;
  min-width: 218px;
}

body.home .site-header .site-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #1f75ff 0%, #14a8c8 100%);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 117, 255, 0.24);
  color: #fff;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 18px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

body.home .site-header .site-brand-text {
  display: grid;
  flex: 1 1 auto;
  gap: 1px;
  min-width: 0;
}

body.home .site-header .site-brand-text strong {
  color: #12233d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body.home .site-header .site-brand-text > span {
  color: #75849a;
  display: block;
  font-size: 12px;
  line-height: 1.3;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .kb-center-home,
body.home .kb-center-hero {
  overflow-x: hidden;
}

@media (max-width: 700px) {
  body.home .site-header .site-brand {
    justify-content: center;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body.home .site-header .site-brand-mark {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  body.home .site-header .site-brand-text > span {
    display: none;
  }

  body.home .kb-center-hotwords {
    flex-wrap: nowrap;
    margin-left: -2px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.home .kb-center-hotwords::-webkit-scrollbar {
    display: none;
  }

  body.home .kb-center-hotwords span,
  body.home .kb-center-hotwords a {
    flex: 0 0 auto;
  }

  body.home .kb-center-hero-art {
    justify-content: center;
    overflow: hidden;
    width: 100%;
  }

  body.home .kb-center-hero-art img {
    max-width: 100%;
    width: 100%;
  }
}

/* Knowledge Center Homepage v1.7.2 mobile text fit */
@media (max-width: 700px) {
  body.home .kb-center-hero-copy {
    max-width: 100%;
    min-width: 0;
  }

  body.home .kb-center-hero-copy h1,
  body.home .kb-center-hero-copy p {
    max-width: 100%;
  }

  body.home .kb-center-hero-copy p {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-all;
  }
}

/* Knowledge Center Homepage v1.7.3 mobile overflow lock */
@media (max-width: 700px) {
  body.home .kb-center-hero .container {
    overflow: hidden;
  }

  body.home .kb-center-hero-grid {
    display: block;
    max-width: 100%;
    min-width: 0;
  }

  body.home .kb-center-hero-copy {
    display: block;
    width: 100%;
  }

  body.home .kb-center-hero-copy p {
    display: block;
    max-width: calc(100vw - 40px);
    overflow: visible;
    text-wrap: wrap;
    word-break: break-word;
  }

  body.home .kb-center-hero-art {
    margin-top: 28px;
  }

  body.home .kb-center-hero-art img {
    display: block;
    margin: 0 auto;
    max-width: calc(100vw - 40px);
    width: 360px;
  }
}

/* Reference Knowledge Center Homepage v1.8.0 */
body.home {
  --ref-blue: #2d7df7;
  --ref-blue-dark: #1d5fd3;
  --ref-blue-soft: #eef6ff;
  --ref-text: #1d2b3f;
  --ref-muted: #718198;
  --ref-line: #e5edf7;
  --ref-bg: #f6f9fd;
  --ref-card: #ffffff;
  --ref-shadow: 0 8px 20px rgba(38, 91, 160, 0.055);
  background: #f6f9fd;
  color: var(--ref-text);
}

body.home .container {
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
}

body.home .site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e8eef7;
  box-shadow: 0 2px 12px rgba(38, 91, 160, 0.04);
}

body.home .site-header .topbar {
  align-items: center;
  display: flex;
  gap: 22px;
  min-height: 58px;
}

body.home .site-header .site-brand {
  align-items: center;
  display: flex;
  flex: 0 0 178px;
  gap: 9px;
  max-width: 178px;
  min-width: 178px;
}

body.home .site-header .site-brand-mark,
body.home .footer-brand-mark {
  background:
    radial-gradient(circle at 50% 22%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 28% 50%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 72% 50%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 78%, #ffffff 0 3px, transparent 3.5px),
    linear-gradient(135deg, #236ff2 0%, #23b3ff 100%);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(45, 125, 247, 0.18);
  color: transparent;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0;
  height: 28px;
  width: 28px;
}

body.home .site-header .site-brand-text {
  display: grid;
  min-width: 0;
}

body.home .site-header .site-brand-text strong {
  color: #17243a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body.home .site-header .site-brand-text > span {
  display: none;
}

body.home .site-header .primary-nav {
  flex: 1 1 auto;
  justify-content: center;
}

body.home .site-header .primary-nav ul {
  align-items: center;
  display: flex;
  gap: 18px;
}

body.home .site-header .primary-nav a {
  background: transparent;
  border-radius: 0;
  color: #26364d;
  font-size: 13px;
  font-weight: 700;
  line-height: 58px;
  padding: 0 0;
  position: relative;
}

body.home .site-header .primary-nav a::after {
  background: var(--ref-blue);
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 24px;
}

body.home .site-header .primary-nav a:hover,
body.home .site-header .primary-nav .current-menu-item > a,
body.home .site-header .primary-nav .current-cat > a {
  background: transparent;
  color: var(--ref-blue);
}

body.home .site-header .primary-nav a:hover::after,
body.home .site-header .primary-nav .current-menu-item > a::after,
body.home .site-header .primary-nav .current-cat > a::after {
  opacity: 1;
}

body.home .site-header .site-search {
  display: none;
}

body.home .header-search-link {
  align-items: center;
  color: #7b8aa0;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-height: 32px;
}

body.home .header-search-link::before {
  border: 2px solid #98a7ba;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 12px;
  position: relative;
  width: 12px;
}

body.home .header-quick-link {
  background: var(--ref-blue);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(45, 125, 247, 0.18);
  color: #fff;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 16px;
}

body.home .kb-ref-home a {
  text-decoration: none;
}

body.home .kb-ref-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(45, 125, 247, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  border-bottom: 1px solid #dfeaf8;
  padding: 34px 0 30px;
}

body.home .kb-ref-hero-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 430px;
}

body.home .kb-ref-hero-copy h1 {
  color: #14243d;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 11px;
}

body.home .kb-ref-hero-copy p {
  color: #66768c;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 18px;
}

body.home .kb-ref-search {
  max-width: 570px;
}

body.home .kb-ref-search .site-search {
  align-items: center;
  background: #fff;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 91, 160, 0.08);
  display: flex;
  height: 48px;
  overflow: hidden;
  padding: 4px;
}

body.home .kb-ref-search .site-search input[type="search"] {
  border: 0;
  color: #1d2b3f;
  flex: 1 1 auto;
  font-size: 14px;
  min-width: 0;
  outline: 0;
  padding: 0 14px;
}

body.home .kb-ref-search .site-search button {
  background: var(--ref-blue);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  min-width: 80px;
  padding: 0 16px;
}

body.home .kb-ref-hotwords {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

body.home .kb-ref-hotwords span,
body.home .kb-ref-hotwords a {
  color: #6f7f95;
  font-size: 12px;
  font-weight: 700;
}

body.home .kb-ref-hotwords a:hover {
  color: var(--ref-blue);
}

body.home .kb-ref-hero-art {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

body.home .kb-ref-hero-art img {
  display: block;
  filter: drop-shadow(0 18px 30px rgba(45, 125, 247, 0.16));
  max-width: 420px;
  width: 100%;
}

body.home .kb-ref-entry-band {
  background: #fff;
  padding: 24px 0 22px;
}

body.home .kb-ref-entry-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.home .kb-ref-entry-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 8px;
  box-shadow: var(--ref-shadow);
  color: #1d2b3f;
  display: grid;
  gap: 11px;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  min-height: 88px;
  padding: 14px 13px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

body.home .kb-ref-entry-card:hover {
  border-color: rgba(45, 125, 247, 0.34);
  box-shadow: 0 14px 28px rgba(45, 125, 247, 0.12);
  transform: translateY(-1px);
}

body.home .kb-ref-entry-icon {
  background: linear-gradient(135deg, #2d7df7, #52a7ff);
  border-radius: 8px;
  height: 38px;
  position: relative;
  width: 38px;
}

body.home .kb-ref-entry-icon::before,
body.home .kb-ref-entry-icon::after {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  content: "";
  left: 10px;
  position: absolute;
}

body.home .kb-ref-entry-icon::before {
  height: 7px;
  top: 10px;
  width: 18px;
}

body.home .kb-ref-entry-icon::after {
  bottom: 10px;
  height: 7px;
  width: 13px;
}

body.home .kb-ref-entry-card.tone-2 .kb-ref-entry-icon { background: linear-gradient(135deg, #22b98f, #20cfb5); }
body.home .kb-ref-entry-card.tone-3 .kb-ref-entry-icon { background: linear-gradient(135deg, #377cf6, #5da2ff); }
body.home .kb-ref-entry-card.tone-4 .kb-ref-entry-icon { background: linear-gradient(135deg, #7b65f2, #9b8cff); }
body.home .kb-ref-entry-card.tone-5 .kb-ref-entry-icon { background: linear-gradient(135deg, #5a6ff2, #776eff); }
body.home .kb-ref-entry-card.tone-6 .kb-ref-entry-icon { background: linear-gradient(135deg, #2d7df7, #25b7ff); }
body.home .kb-ref-entry-card.tone-7 .kb-ref-entry-icon { background: linear-gradient(135deg, #ff8b30, #ffb449); }
body.home .kb-ref-entry-card.tone-8 .kb-ref-entry-icon { background: linear-gradient(135deg, #1faadf, #3bc7ea); }
body.home .kb-ref-entry-card.tone-9 .kb-ref-entry-icon { background: linear-gradient(135deg, #23bd76, #28d99c); }
body.home .kb-ref-entry-card.tone-10 .kb-ref-entry-icon { background: linear-gradient(135deg, #8b63f6, #b083ff); }

body.home .kb-ref-entry-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.home .kb-ref-entry-body strong {
  color: #1d2b3f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

body.home .kb-ref-entry-body small {
  color: #77869a;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .kb-ref-entry-body em {
  color: var(--ref-blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

body.home .kb-ref-arrow {
  color: #8d9bb0;
  font-size: 15px;
  font-weight: 900;
}

body.home .kb-ref-shell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 290px;
  padding-bottom: 36px;
  padding-top: 12px;
}

body.home .kb-ref-shell-full {
  grid-template-columns: minmax(0, 1fr);
}

body.home .kb-ref-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

body.home .kb-ref-panel,
body.home .kb-ref-side-card {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 8px;
  box-shadow: var(--ref-shadow);
}

body.home .kb-ref-panel {
  padding: 16px;
}

body.home .kb-ref-section-head,
body.home .kb-ref-side-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

body.home .kb-ref-section-head h2,
body.home .kb-ref-side-head h2 {
  color: #1d2b3f;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

body.home .kb-ref-section-head span {
  color: #8a98aa;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

body.home .kb-ref-section-head a,
body.home .kb-ref-side-head a {
  color: var(--ref-blue);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
}

body.home .kb-ref-topic-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.home .kb-ref-topic-card {
  background: #f9fbff;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

body.home .kb-ref-topic-thumb {
  aspect-ratio: 16 / 10;
  background: #edf5ff;
  display: block;
  overflow: hidden;
}

body.home .kb-ref-topic-thumb img,
body.home .kb-ref-article-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.home .kb-ref-topic-card > div {
  display: grid;
  gap: 5px;
  padding: 10px;
}

body.home .kb-ref-pill {
  color: var(--ref-blue);
  font-size: 11px;
  font-weight: 900;
}

body.home .kb-ref-topic-card h3,
body.home .kb-ref-article-card h3,
body.home .kb-ref-update-row h3 {
  margin: 0;
}

body.home .kb-ref-topic-card h3 a {
  color: #1d2b3f;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .kb-ref-topic-card span {
  color: #8a98aa;
  font-size: 11px;
  font-weight: 700;
}

body.home .kb-ref-article-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home .kb-ref-article-card {
  background: #fff;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  overflow: hidden;
}

body.home .kb-ref-article-thumb {
  aspect-ratio: 16 / 8.7;
  background: #edf5ff;
  display: block;
  overflow: hidden;
}

body.home .kb-ref-article-body {
  display: grid;
  gap: 7px;
  padding: 12px;
}

body.home .kb-ref-meta {
  align-items: center;
  color: #94a1b2;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
}

body.home .kb-ref-meta a {
  color: var(--ref-blue);
}

body.home .kb-ref-article-card h3 a {
  color: #1d2b3f;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.48;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .kb-ref-article-card p {
  color: #728197;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .kb-ref-update-table {
  border-top: 1px solid #e9eff7;
}

body.home .kb-ref-update-row {
  align-items: center;
  border-bottom: 1px solid #eef3f9;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 86px 92px 68px;
  min-height: 35px;
  padding: 8px 0;
}

body.home .kb-ref-update-row:last-child {
  border-bottom: 0;
}

body.home .kb-ref-update-row h3 a {
  color: #26364d;
  display: block;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .kb-ref-update-cat,
body.home .kb-ref-update-row time,
body.home .kb-ref-update-row > span {
  color: #8997aa;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .kb-ref-update-cat {
  color: var(--ref-blue);
}

body.home .kb-ref-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 72px;
}

body.home .kb-ref-side-card {
  padding: 14px;
}

body.home .kb-ref-side-head {
  margin-bottom: 8px;
}

body.home .kb-ref-side-head h2 {
  font-size: 16px;
}

body.home .kb-ref-date-list,
body.home .kb-ref-collection-list,
body.home .kb-ref-faq-list {
  display: grid;
}

body.home .kb-ref-date-list a,
body.home .kb-ref-collection-list a {
  align-items: center;
  border-top: 1px solid #eef3f9;
  color: #32435b;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 36px;
}

body.home .kb-ref-date-list span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .kb-ref-date-list time,
body.home .kb-ref-collection-list em {
  color: #8d9bb0;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

body.home .kb-ref-rank-list {
  counter-reset: rank;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.home .kb-ref-rank-list li {
  align-items: start;
  border-top: 1px solid #eef3f9;
  counter-increment: rank;
  display: grid;
  gap: 9px;
  grid-template-columns: 20px minmax(0, 1fr);
  padding: 9px 0;
}

body.home .kb-ref-rank-list li::before {
  align-items: center;
  background: #eef6ff;
  border-radius: 5px;
  color: var(--ref-blue);
  content: counter(rank);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 19px;
  justify-content: center;
  line-height: 1;
  width: 19px;
}

body.home .kb-ref-rank-list a {
  color: #32435b;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .kb-ref-collection-list a {
  font-size: 13px;
  font-weight: 800;
}

body.home .kb-ref-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.home .kb-ref-tag-cloud a {
  background: #f6f9fd;
  border: 1px solid #e2ebf6;
  border-radius: 6px;
  color: #65748a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

body.home .kb-ref-faq-list {
  gap: 8px;
}

body.home .kb-ref-faq-list details {
  border-top: 1px solid #eef3f9;
  padding-top: 8px;
}

body.home .kb-ref-faq-list summary {
  color: #32435b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

body.home .kb-ref-faq-list p {
  color: #75849a;
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
}

body.home .site-footer {
  background: #fff;
  border-top: 1px solid #e5edf7;
  padding: 30px 0 16px;
}

body.home .footer-knowledge-grid {
  gap: 30px;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 1fr));
}

body.home .footer-brand strong {
  color: #1d2b3f;
  font-size: 16px;
}

body.home .footer-brand p,
body.home .footer-column a {
  color: #718198;
  font-size: 12px;
}

body.home .footer-column h2 {
  color: #1d2b3f;
  font-size: 13px;
}

body.home .footer-search {
  border-radius: 6px;
  max-width: 320px;
}

body.home .footer-bottom {
  font-size: 12px;
  margin-top: 24px;
}

@media (max-width: 1080px) {
  body.home .site-header .primary-nav ul {
    gap: 12px;
  }

  body.home .kb-ref-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  body.home .kb-ref-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home .kb-ref-shell {
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}

@media (max-width: 900px) {
  body.home .site-header .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 10px 0;
  }

  body.home .site-header .nav-toggle {
    grid-column: 2;
  }

  body.home .header-search-link {
    display: none;
  }

  body.home .header-quick-link {
    grid-column: 3;
  }

  body.home .site-header .primary-nav {
    grid-column: 1 / -1;
  }

  body.home .site-header .primary-nav ul {
    display: grid;
    gap: 6px;
    padding-top: 8px;
  }

  body.home .site-header .primary-nav a {
    line-height: 1.4;
    padding: 8px 0;
  }

  body.home .kb-ref-hero-grid {
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-hero-art {
    justify-content: center;
  }

  body.home .kb-ref-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  body.home .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.home .site-header .site-brand {
    flex-basis: auto;
    max-width: none;
    min-width: 0;
  }

  body.home .site-header .site-brand-text strong {
    font-size: 15px;
  }

  body.home .header-quick-link {
    display: none;
  }

  body.home .site-header .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.home .kb-ref-hero {
    padding: 26px 0 24px;
  }

  body.home .kb-ref-hero-copy h1 {
    font-size: 28px;
  }

  body.home .kb-ref-hero-copy p {
    font-size: 13px;
    word-break: break-word;
  }

  body.home .kb-ref-search .site-search {
    display: grid;
    height: auto;
    padding: 6px;
  }

  body.home .kb-ref-search .site-search input[type="search"],
  body.home .kb-ref-search .site-search button {
    width: 100%;
  }

  body.home .kb-ref-hotwords {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.home .kb-ref-hotwords::-webkit-scrollbar {
    display: none;
  }

  body.home .kb-ref-hotwords span,
  body.home .kb-ref-hotwords a {
    flex: 0 0 auto;
  }

  body.home .kb-ref-hero-art img {
    max-width: 330px;
  }

  body.home .kb-ref-entry-grid,
  body.home .kb-ref-topic-grid,
  body.home .kb-ref-article-grid,
  body.home .kb-ref-sidebar,
  body.home .footer-knowledge-grid {
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-entry-card {
    min-height: 80px;
  }

  body.home .kb-ref-section-head {
    align-items: start;
    display: grid;
  }

  body.home .kb-ref-section-head span {
    display: block;
    margin: 4px 0 0;
  }

  body.home .kb-ref-update-row {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.home .kb-ref-update-row h3 a {
    white-space: normal;
  }
}

/* Reference Knowledge Center Homepage fine tune v1.8.1 */
body.home {
  --ref-blue: #2378f4;
  --ref-blue-dark: #145ec5;
  --ref-blue-soft: #eef6ff;
  --ref-cyan: #33c0d7;
  --ref-text: #17243a;
  --ref-muted: #697a90;
  --ref-soft-muted: #8d9caf;
  --ref-line: #dfe9f6;
  --ref-bg: #f5f8fc;
  --ref-card: #ffffff;
  --ref-shadow: 0 8px 22px rgba(31, 87, 153, 0.05);
  background: var(--ref-bg);
}

body.home .container {
  max-width: 1180px;
}

body.home .site-header {
  border-bottom-color: #e6edf7;
  box-shadow: 0 1px 0 rgba(18, 47, 91, 0.02);
}

body.home .site-header .topbar {
  gap: 20px;
  min-height: 52px;
}

body.home .site-header .site-brand {
  flex-basis: 170px;
  gap: 8px;
  max-width: 170px;
  min-width: 170px;
}

body.home .site-header .site-brand-mark,
body.home .footer-brand-mark {
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(35, 120, 244, 0.18);
  flex-basis: 27px;
  height: 27px;
  width: 27px;
}

body.home .site-header .site-brand-text strong {
  color: #14223a;
  font-size: 15px;
  font-weight: 850;
}

body.home .site-header .primary-nav ul {
  gap: 17px;
}

body.home .site-header .primary-nav a {
  color: #22334b;
  font-size: 13px;
  font-weight: 750;
  line-height: 52px;
}

body.home .site-header .primary-nav a::after {
  bottom: 7px;
  height: 2px;
  width: 20px;
}

body.home .header-search-link {
  color: #73849a;
  font-size: 13px;
  min-height: 30px;
}

body.home .header-search-link::before {
  height: 11px;
  width: 11px;
}

body.home .header-search-link::after {
  background: #98a7ba;
  border-radius: 999px;
  content: "";
  height: 2px;
  margin-left: -8px;
  margin-top: 10px;
  transform: rotate(45deg);
  width: 6px;
}

body.home .header-quick-link {
  align-items: center;
  border-radius: 5px;
  box-shadow: 0 6px 14px rgba(35, 120, 244, 0.2);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  min-height: 32px;
  padding: 0 15px;
}

body.home .kb-ref-hero {
  background:
    radial-gradient(circle at 82% 10%, rgba(35, 120, 244, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
  padding: 23px 0 21px;
}

body.home .kb-ref-hero-grid {
  align-items: center;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 402px;
}

body.home .kb-ref-hero-copy {
  padding-top: 1px;
}

body.home .kb-ref-hero-copy h1 {
  color: #13223b;
  font-size: 34px;
  line-height: 1.14;
  margin-bottom: 10px;
}

body.home .kb-ref-hero-copy p {
  color: #65768d;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 660px;
}

body.home .kb-ref-search {
  max-width: 570px;
}

body.home .kb-ref-search .site-search {
  border-color: #c8dcf3;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(31, 87, 153, 0.075);
  height: 46px;
  padding: 4px;
}

body.home .kb-ref-search .site-search input[type="search"] {
  color: #20344f;
  font-size: 13px;
  padding: 0 14px;
}

body.home .kb-ref-search .site-search button {
  border-radius: 5px;
  height: 36px;
  min-width: 78px;
}

body.home .kb-ref-hotwords {
  gap: 10px;
  margin-top: 10px;
}

body.home .kb-ref-hotwords span,
body.home .kb-ref-hotwords a {
  font-size: 12px;
}

body.home .kb-ref-hero-art {
  justify-content: flex-end;
  min-height: 218px;
}

body.home .kb-ref-hero-art img {
  filter: drop-shadow(0 15px 26px rgba(35, 120, 244, 0.14));
  max-width: 396px;
}

body.home .kb-ref-entry-band {
  padding: 18px 0 18px;
}

body.home .kb-ref-entry-grid {
  gap: 12px 13px;
}

body.home .kb-ref-entry-card {
  border-color: #dfe8f5;
  border-radius: 7px;
  box-shadow: 0 7px 18px rgba(31, 87, 153, 0.045);
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  min-height: 74px;
  padding: 11px 12px;
}

body.home .kb-ref-entry-card:hover {
  box-shadow: 0 12px 24px rgba(35, 120, 244, 0.12);
}

body.home .kb-ref-entry-icon {
  border-radius: 7px;
  height: 34px;
  width: 34px;
}

body.home .kb-ref-entry-icon::before {
  height: 6px;
  left: 9px;
  top: 9px;
  width: 16px;
}

body.home .kb-ref-entry-icon::after {
  bottom: 9px;
  height: 6px;
  left: 9px;
  width: 12px;
}

body.home .kb-ref-entry-body {
  gap: 2px;
}

body.home .kb-ref-entry-body strong {
  color: #1a2b45;
  font-size: 13px;
  line-height: 1.25;
}

body.home .kb-ref-entry-body small {
  color: #76869a;
  font-size: 11px;
  line-height: 1.3;
}

body.home .kb-ref-entry-body em {
  font-size: 11px;
  line-height: 1.25;
}

body.home .kb-ref-shell {
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 290px;
  padding-bottom: 34px;
  padding-top: 10px;
}

body.home .kb-ref-main {
  gap: 16px;
}

body.home .kb-ref-panel,
body.home .kb-ref-side-card {
  border-color: #dfe8f5;
  box-shadow: 0 7px 18px rgba(31, 87, 153, 0.045);
}

body.home .kb-ref-panel {
  padding: 14px;
}

body.home .kb-ref-section-head,
body.home .kb-ref-side-head {
  margin-bottom: 10px;
}

body.home .kb-ref-section-head h2,
body.home .kb-ref-side-head h2 {
  color: #172840;
  font-size: 16px;
  line-height: 1.22;
}

body.home .kb-ref-section-head span {
  color: #8b9aab;
  font-size: 12px;
  margin-left: 8px;
}

body.home .kb-ref-topic-grid {
  gap: 10px;
}

body.home .kb-ref-topic-card,
body.home .kb-ref-article-card {
  border-color: #dfe8f5;
  border-radius: 7px;
}

body.home .kb-ref-topic-thumb {
  aspect-ratio: 16 / 9.2;
}

body.home .kb-ref-topic-card > div {
  gap: 4px;
  padding: 8px 9px 9px;
}

body.home .kb-ref-pill {
  font-size: 10px;
  line-height: 1.2;
}

body.home .kb-ref-topic-card h3 a {
  color: #1b2d46;
  font-size: 12px;
  line-height: 1.36;
}

body.home .kb-ref-topic-card span {
  font-size: 10px;
}

body.home .kb-ref-article-grid {
  gap: 12px;
}

body.home .kb-ref-article-thumb {
  aspect-ratio: 16 / 8.8;
}

body.home .kb-ref-article-body {
  gap: 6px;
  padding: 11px;
}

body.home .kb-ref-article-card h3 a {
  color: #1b2d46;
  font-size: 14px;
  line-height: 1.45;
}

body.home .kb-ref-article-card p {
  color: #718198;
  font-size: 12px;
  line-height: 1.58;
}

body.home .kb-ref-sidebar {
  gap: 14px;
  top: 64px;
}

body.home .kb-ref-side-card {
  padding: 13px;
}

body.home .kb-ref-side-head {
  margin-bottom: 7px;
}

body.home .kb-ref-side-head h2 {
  font-size: 15px;
}

body.home .kb-ref-date-list a,
body.home .kb-ref-collection-list a {
  min-height: 34px;
}

body.home .kb-ref-date-list span,
body.home .kb-ref-rank-list a,
body.home .kb-ref-collection-list a {
  font-size: 12px;
}

body.home .kb-ref-rank-list li {
  gap: 8px;
  grid-template-columns: 19px minmax(0, 1fr);
  padding: 8px 0;
}

body.home .kb-ref-rank-list li::before {
  border-radius: 4px;
  height: 18px;
  width: 18px;
}

body.home .kb-ref-tag-cloud {
  gap: 7px;
}

body.home .kb-ref-tag-cloud a {
  border-radius: 5px;
  font-size: 11px;
  padding: 6px 8px;
}

body.home .kb-ref-faq-list summary {
  font-size: 12px;
}

body.home .kb-ref-faq-list p {
  font-size: 12px;
}

body.home .site-footer {
  padding: 25px 0 15px;
}

body.home .footer-knowledge-grid {
  gap: 26px;
}

@media (max-width: 1080px) {
  body.home .kb-ref-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  body.home .kb-ref-hero-art img {
    max-width: 340px;
  }
}

@media (max-width: 900px) {
  body.home .site-header .topbar {
    min-height: auto;
    padding: 9px 0;
  }

  body.home .site-header .primary-nav a {
    line-height: 1.4;
  }

  body.home .kb-ref-hero {
    padding: 24px 0 22px;
  }

  body.home .kb-ref-hero-art {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body.home .kb-ref-hero {
    padding: 22px 0 20px;
  }

  body.home .kb-ref-hero-copy h1 {
    font-size: 27px;
  }

  body.home .kb-ref-hero-copy p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  body.home .kb-ref-hero-art img {
    max-width: 320px;
  }

  body.home .kb-ref-entry-band {
    padding: 14px 0;
  }

  body.home .kb-ref-entry-card {
    min-height: 72px;
  }
}

/* Reference Knowledge Center Homepage mobile repair v1.8.2 */
@media (max-width: 900px) {
  body.home .site-header .topbar {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: auto;
    padding: 9px 0;
  }

  body.home .site-header .site-brand {
    flex-basis: auto;
    max-width: none;
    min-width: 0;
  }

  body.home .site-header .nav-toggle {
    grid-column: 2;
  }

  body.home .header-search-link {
    display: none;
  }

  body.home .header-quick-link {
    grid-column: 3;
  }

  body.home .site-header .primary-nav {
    grid-column: 1 / -1;
  }

  body.home .kb-ref-hero-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-hero-art {
    justify-content: center;
    min-height: 0;
  }

  body.home .kb-ref-hero-art img {
    max-width: min(360px, 92vw);
  }
}

@media (max-width: 640px) {
  body.home .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.home .site-header .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.home .site-header .site-brand {
    gap: 8px;
  }

  body.home .site-header .site-brand-mark {
    flex-basis: 27px;
    height: 27px;
    width: 27px;
  }

  body.home .site-header .site-brand-text strong {
    font-size: 15px;
  }

  body.home .header-quick-link {
    display: none;
  }

  body.home .kb-ref-hero {
    padding: 22px 0 18px;
  }

  body.home .kb-ref-hero-grid {
    gap: 15px;
  }

  body.home .kb-ref-hero-copy {
    min-width: 0;
  }

  body.home .kb-ref-hero-copy h1 {
    font-size: 28px;
    line-height: 1.16;
    max-width: 330px;
    word-break: normal;
  }

  body.home .kb-ref-hero-copy p {
    font-size: 13px;
    line-height: 1.62;
    max-width: 350px;
  }

  body.home .kb-ref-search {
    max-width: none;
    width: 100%;
  }

  body.home .kb-ref-search .site-search {
    display: grid;
    gap: 6px;
    height: auto;
    padding: 6px;
  }

  body.home .kb-ref-search .site-search input[type="search"],
  body.home .kb-ref-search .site-search button {
    width: 100%;
  }

  body.home .kb-ref-search .site-search input[type="search"] {
    min-height: 34px;
  }

  body.home .kb-ref-search .site-search button {
    height: 36px;
  }

  body.home .kb-ref-hotwords {
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.home .kb-ref-hotwords::-webkit-scrollbar {
    display: none;
  }

  body.home .kb-ref-hotwords span,
  body.home .kb-ref-hotwords a {
    flex: 0 0 auto;
  }

  body.home .kb-ref-hero-art img {
    max-width: min(320px, 92vw);
  }

  body.home .kb-ref-entry-grid,
  body.home .kb-ref-topic-grid,
  body.home .kb-ref-article-grid,
  body.home .kb-ref-sidebar,
  body.home .footer-knowledge-grid {
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-entry-card {
    min-height: 72px;
  }

  body.home .kb-ref-section-head {
    align-items: start;
    display: grid;
  }

  body.home .kb-ref-section-head span {
    display: block;
    margin: 4px 0 0;
  }
}

/* Reference Knowledge Center Homepage link and media polish v1.8.3 */
body.home .site-header .topbar {
  gap: 16px;
}

body.home .site-header .site-brand {
  flex-basis: 164px;
  max-width: 164px;
  min-width: 164px;
}

body.home .site-header .primary-nav ul {
  gap: 13px;
}

body.home .site-header .primary-nav a {
  font-size: 12px;
  font-weight: 800;
}

body.home .kb-ref-topic-thumb,
body.home .kb-ref-article-thumb {
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.94), rgba(250, 253, 255, 0.88)),
    #eff6ff;
  position: relative;
}

body.home .kb-ref-topic-thumb::before,
body.home .kb-ref-article-thumb::before {
  background:
    linear-gradient(135deg, rgba(35, 120, 244, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(221, 237, 255, 0.2));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

body.home .kb-ref-topic-thumb::after,
body.home .kb-ref-article-thumb::after {
  border-top: 2px solid rgba(35, 120, 244, 0.78);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

body.home .kb-ref-topic-thumb img,
body.home .kb-ref-article-thumb img {
  filter: saturate(0.72) contrast(0.94) brightness(1.04);
  opacity: 0.84;
  position: relative;
  z-index: 1;
}

body.home .kb-ref-article-card:hover .kb-ref-article-thumb img,
body.home .kb-ref-topic-card:hover .kb-ref-topic-thumb img {
  filter: saturate(0.84) contrast(0.98) brightness(1.04);
  opacity: 0.9;
}

body.home .kb-ref-update-row {
  grid-template-columns: minmax(0, 1fr) 86px 94px;
}

body.home .kb-ref-update-row time {
  text-align: right;
}

body.home #latest-articles,
body.home #topic-collections {
  scroll-margin-top: 72px;
}

@media (max-width: 1120px) {
  body.home .site-header .primary-nav ul {
    gap: 10px;
  }

  body.home .site-header .primary-nav a {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  body.home .site-header .primary-nav ul {
    gap: 6px;
  }

  body.home .site-header .primary-nav a {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  body.home .kb-ref-update-row {
    grid-template-columns: 1fr;
  }

  body.home .kb-ref-update-row time {
    text-align: left;
  }
}

/* Archive knowledge list page v1.8.4 */
.bsk-list-main {
  background:
    linear-gradient(180deg, #f3f8ff 0, #f8fbff 360px, #f6f8fb 100%);
  padding: 0 0 52px;
}

.bsk-list-hero {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(238, 246, 255, 0.9));
  border-bottom: 1px solid rgba(59, 130, 246, 0.14);
  padding: 30px 0 22px;
}

.bsk-list-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
}

.bsk-list-hero-copy {
  min-width: 0;
}

.bsk-list-hero .breadcrumb {
  margin-bottom: 12px;
}

.bsk-list-kicker {
  color: #2563eb;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.bsk-list-hero h1 {
  color: #102033;
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: 0;
  line-height: 1.14;
  margin: 0 0 14px;
}

.bsk-list-hero p {
  color: #536477;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  max-width: 640px;
}

.bsk-list-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bsk-list-hero-stats span {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  color: #31516f;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  min-height: 32px;
  padding: 6px 12px;
}

.bsk-list-hero-art {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 210px;
}

.bsk-list-hero-art img {
  display: block;
  filter: saturate(0.78) contrast(0.96) brightness(1.04);
  max-height: 250px;
  object-fit: contain;
  width: min(100%, 480px);
}

.bsk-list-hero-fallback {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(30, 64, 175, 0.08);
  display: grid;
  gap: 12px;
  padding: 22px;
  width: min(100%, 420px);
}

.bsk-list-hero-fallback span {
  background: linear-gradient(90deg, #dbeafe, #eff6ff);
  border-radius: 999px;
  display: block;
  height: 16px;
}

.bsk-list-hero-fallback span:nth-child(2) {
  width: 78%;
}

.bsk-list-hero-fallback span:nth-child(3) {
  width: 56%;
}

.bsk-list-filter {
  margin-top: -1px;
  position: relative;
  z-index: 2;
}

.bsk-list-filter-inner {
  align-items: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(210, 224, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 14px;
  grid-template-columns: 190px minmax(230px, 1fr) minmax(260px, 1.05fr) 260px;
  margin-top: -16px;
  padding: 14px;
}

.bsk-filter-field,
.bsk-filter-group {
  min-width: 0;
}

.bsk-filter-field label,
.bsk-filter-group > span {
  color: #667085;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.bsk-filter-field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #54708a 50%) calc(100% - 16px) calc(50% - 3px) / 6px 6px no-repeat,
    linear-gradient(135deg, #54708a 50%, transparent 50%) calc(100% - 10px) calc(50% - 3px) / 6px 6px no-repeat,
    #f8fbff;
  border: 1px solid #d7e2ef;
  border-radius: 6px;
  color: #1f344a;
  cursor: pointer;
  font-size: 14px;
  height: 42px;
  padding: 0 32px 0 12px;
  width: 100%;
}

.bsk-filter-field select:focus,
.bsk-filter-search input[type="search"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: 0;
}

.bsk-filter-group {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsk-filter-group > span {
  flex: 0 0 100%;
}

.bsk-filter-pill {
  align-items: center;
  background: #f7faff;
  border: 1px solid #d8e4f2;
  border-radius: 999px;
  color: #3a5269;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.bsk-filter-pill:hover {
  background: #eef6ff;
  border-color: #a8c7ee;
  color: #174ea6;
  text-decoration: none;
}

.bsk-filter-pill.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.bsk-filter-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.bsk-filter-search input[type="search"] {
  background: #f8fbff;
  border: 1px solid #d7e2ef;
  border-radius: 6px 0 0 6px;
  color: #102033;
  font-size: 14px;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
}

.bsk-filter-search button {
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 0 6px 6px 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 15px;
}

.bsk-filter-search button:hover {
  background: #153fae;
  border-color: #153fae;
}

.bsk-list-shell {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 310px;
  padding-top: 24px;
}

.bsk-list-content,
.bsk-side-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(214, 225, 238, 0.95);
  border-radius: 8px;
}

.bsk-list-content {
  min-width: 0;
  padding: 20px;
}

.bsk-list-head {
  align-items: end;
  border-bottom: 1px solid #e5eef7;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.bsk-list-head span {
  color: #2563eb;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.bsk-list-head h2 {
  color: #102033;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.bsk-list-head p {
  color: #6b7c8f;
  font-size: 13px;
  margin: 0 0 2px;
  white-space: nowrap;
}

.bsk-list-cards {
  display: grid;
  gap: 14px;
}

.bsk-list-card {
  background: #ffffff;
  border: 1px solid #e1eaf4;
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 168px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bsk-list-card:hover {
  border-color: #b7d0ee;
  box-shadow: 0 16px 34px rgba(15, 53, 103, 0.08);
  transform: translateY(-1px);
}

.bsk-list-thumb {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.94), rgba(250, 253, 255, 0.88)),
    #edf6ff;
  color: #386089;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 168px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.bsk-list-thumb::after {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(219, 234, 254, 0.18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.bsk-list-thumb img {
  display: block;
  filter: saturate(0.72) contrast(0.95) brightness(1.04);
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.bsk-list-thumb span {
  position: relative;
  z-index: 1;
}

.bsk-list-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 16px;
}

.bsk-list-meta {
  align-items: center;
  color: #738295;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.bsk-list-meta a {
  color: #2563eb;
  font-weight: 750;
}

.bsk-list-card h2 {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.38;
  margin: 0 0 8px;
}

.bsk-list-card h2 a {
  color: #132638;
}

.bsk-list-card h2 a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.bsk-list-card p {
  color: #5f7082;
  font-size: 14px;
  line-height: 1.72;
  margin: 0;
}

.bsk-list-foot {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.bsk-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.bsk-list-tags a {
  background: #f3f7fc;
  border: 1px solid #dfe9f4;
  border-radius: 999px;
  color: #496176;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  padding: 5px 9px;
}

.bsk-list-tags a:hover {
  background: #eaf3ff;
  color: #174ea6;
  text-decoration: none;
}

.bsk-card-action {
  align-items: center;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
}

.bsk-card-action:hover {
  background: #153fae;
  color: #ffffff;
  text-decoration: none;
}

.bsk-list-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.bsk-side-panel {
  padding: 16px;
}

.bsk-side-head {
  align-items: center;
  border-bottom: 1px solid #e5eef7;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.bsk-side-head h2 {
  color: #132638;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

.bsk-side-head a {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.bsk-side-category-list,
.bsk-side-posts,
.bsk-side-topics,
.bsk-side-faq {
  display: grid;
  gap: 8px;
}

.bsk-side-category-list a {
  align-items: center;
  background: #f7faff;
  border: 1px solid #e1ebf6;
  border-radius: 6px;
  color: #28435c;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
}

.bsk-side-category-list a:hover,
.bsk-side-posts a:hover,
.bsk-side-topics a:hover,
.bsk-side-faq a:hover {
  border-color: #b7d0ee;
  color: #174ea6;
  text-decoration: none;
}

.bsk-side-category-list em {
  background: #eaf3ff;
  border-radius: 999px;
  color: #2563eb;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  min-width: 28px;
  padding: 2px 7px;
  text-align: center;
}

.bsk-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsk-side-tags a {
  background: #f7faff;
  border: 1px solid #e1ebf6;
  border-radius: 999px;
  color: #435a70;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  padding: 6px 10px;
}

.bsk-side-tags a:hover {
  background: #eaf3ff;
  color: #174ea6;
  text-decoration: none;
}

.bsk-side-posts a,
.bsk-side-topics a,
.bsk-side-faq a {
  border: 1px solid transparent;
  border-bottom-color: #e5eef7;
  border-radius: 6px;
  color: #273f56;
  display: block;
  padding: 8px 6px;
}

.bsk-side-posts a:last-child,
.bsk-side-topics a:last-child,
.bsk-side-faq a:last-child {
  border-bottom-color: transparent;
}

.bsk-side-posts strong,
.bsk-side-topics strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.bsk-side-posts span,
.bsk-side-topics span {
  color: #748397;
  display: block;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 3px;
}

.bsk-side-faq a {
  font-size: 14px;
  line-height: 1.55;
}

.bsk-widget-panel {
  color: #52677c;
  font-size: 14px;
  line-height: 1.65;
}

.bsk-widget-panel p {
  margin: 0 0 10px;
}

.bsk-widget-panel p:last-child {
  margin-bottom: 0;
}

.bsk-widget-panel ul,
.bsk-widget-panel ol {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsk-widget-panel li {
  border-bottom: 1px solid #eef3f8;
  padding-bottom: 8px;
}

.bsk-widget-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bsk-widget-panel a {
  color: #294057;
  font-weight: 800;
}

.bsk-widget-panel a:hover {
  color: #1d5fd2;
}

.bsk-list-content .empty-inline {
  background: #f7faff;
  border: 1px dashed #bdd2ed;
  border-radius: 8px;
  color: #496176;
  padding: 22px;
  text-align: center;
}

@media (max-width: 1120px) {
  .bsk-list-filter-inner {
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
  }

  .bsk-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .bsk-list-hero-grid,
  .bsk-list-shell {
    grid-template-columns: 1fr;
  }

  .bsk-list-hero {
    padding-top: 24px;
  }

  .bsk-list-hero-art {
    min-height: 120px;
  }

  .bsk-list-hero-art img {
    max-height: 190px;
  }

  .bsk-list-filter-inner {
    margin-top: 0;
  }

  .bsk-list-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .bsk-list-hero h1 {
    font-size: 32px;
  }

  .bsk-list-hero p {
    font-size: 14px;
  }

  .bsk-list-filter-inner {
    border-radius: 0;
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .bsk-filter-search {
    grid-template-columns: 1fr;
  }

  .bsk-filter-search input[type="search"] {
    border-radius: 6px 6px 0 0;
  }

  .bsk-filter-search button {
    border-radius: 0 0 6px 6px;
    width: 100%;
  }

  .bsk-list-content {
    padding: 14px;
  }

  .bsk-list-head {
    align-items: flex-start;
    display: grid;
  }

  .bsk-list-head p {
    white-space: normal;
  }

  .bsk-list-card {
    grid-template-columns: 1fr;
  }

  .bsk-list-thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .bsk-list-body {
    padding: 15px;
  }

  .bsk-list-card h2 {
    font-size: 19px;
  }

  .bsk-list-foot {
    align-items: flex-start;
    display: grid;
  }

  .bsk-card-action {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .bsk-list-main .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bsk-list-hero {
    padding-bottom: 16px;
  }

  .bsk-list-hero-art {
    display: none;
  }

  .bsk-list-hero-stats {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .bsk-list-hero-stats::-webkit-scrollbar {
    display: none;
  }

  .bsk-list-hero-stats span {
    flex: 0 0 auto;
  }

  .bsk-filter-group {
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .bsk-filter-group::-webkit-scrollbar {
    display: none;
  }

  .bsk-filter-group > span {
    flex: 0 0 100%;
  }

  .bsk-filter-pill {
    flex: 0 0 auto;
  }

  .bsk-side-panel {
    padding: 14px;
  }
}

/* Shared header normalization v1.8.5 */
body .site-header {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5edf7;
  box-shadow: 0 2px 12px rgba(38, 91, 160, 0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

body .site-header::before {
  display: none;
}

body .site-header .container {
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
}

body .site-header .topbar {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 52px;
  padding: 0;
}

body .site-header .site-brand {
  align-items: center;
  border-left: 0;
  color: #14223a;
  display: flex;
  flex: 0 0 164px;
  flex-direction: row;
  gap: 8px;
  line-height: 1.2;
  max-width: 164px;
  min-width: 164px;
  padding-left: 0;
}

body .site-header .site-brand:hover {
  color: #14223a;
  text-decoration: none;
}

body .site-header .site-brand-mark {
  align-items: center;
  background:
    radial-gradient(circle at 50% 22%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 28% 50%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 72% 50%, #ffffff 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 78%, #ffffff 0 3px, transparent 3.5px),
    linear-gradient(135deg, #236ff2 0%, #23b3ff 100%);
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(35, 120, 244, 0.18);
  color: transparent;
  display: inline-flex;
  flex: 0 0 27px;
  font-size: 0;
  height: 27px;
  justify-content: center;
  line-height: 1;
  width: 27px;
}

body .site-header .site-brand-text {
  display: grid;
  min-width: 0;
}

body .site-header .site-brand-text strong,
body .site-header .site-brand strong {
  color: #14223a;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

body .site-header .site-brand-text > span,
body .site-header .site-brand span span {
  display: none;
}

body .site-header .primary-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

body .site-header .primary-nav ul {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .site-header .primary-nav a {
  background: transparent;
  border-radius: 0;
  color: #22334b;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 52px;
  padding: 0;
  position: relative;
  white-space: nowrap;
}

body .site-header .primary-nav a::after {
  background: #2378f4;
  border-radius: 999px;
  bottom: 7px;
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 20px;
}

body .site-header .primary-nav a:hover,
body .site-header .primary-nav .current-menu-item > a,
body .site-header .primary-nav .current-cat > a {
  background: transparent;
  color: #2378f4;
  text-decoration: none;
}

body .site-header .primary-nav a:hover::after,
body .site-header .primary-nav .current-menu-item > a::after,
body .site-header .primary-nav .current-cat > a::after {
  opacity: 1;
}

body .site-header .site-search {
  display: none;
}

body .header-search-link {
  align-items: center;
  color: #73849a;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-height: 30px;
  position: relative;
  text-decoration: none;
}

body .header-search-link::before {
  border: 2px solid #98a7ba;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 11px;
  width: 11px;
}

body .header-search-link::after {
  background: #98a7ba;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 12px;
  position: absolute;
  top: 20px;
  transform: rotate(45deg);
  width: 6px;
}

body .header-search-link:hover {
  color: #2378f4;
  text-decoration: none;
}

body .header-quick-link {
  align-items: center;
  background: #2378f4;
  border-radius: 5px;
  box-shadow: 0 6px 14px rgba(35, 120, 244, 0.2);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 32px;
  padding: 0 15px;
}

body .header-quick-link:hover {
  background: #145ec5;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 1120px) {
  body .site-header .primary-nav ul {
    gap: 10px;
  }

  body .site-header .primary-nav a {
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  body .site-header .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 52px;
    padding: 10px 0;
  }

  body .site-header .site-brand {
    flex-basis: auto;
    max-width: none;
    min-width: 0;
  }

  body .site-header .nav-toggle {
    align-items: center;
    background: #f7faff;
    border: 1px solid #d8e4f2;
    border-radius: 6px;
    color: #22334b;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
  }

  body .site-header .primary-nav {
    display: none;
    grid-column: 1 / -1;
  }

  body .site-header.is-open .primary-nav {
    display: block;
  }

  body .site-header .primary-nav ul {
    align-items: stretch;
    display: grid;
    gap: 4px;
  }

  body .site-header .primary-nav a {
    border-radius: 6px;
    line-height: 1.35;
    padding: 9px 10px;
  }

  body .site-header .primary-nav a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  body .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body .site-header .topbar {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body .site-header .site-brand-mark {
    flex-basis: 27px;
    height: 27px;
    width: 27px;
  }

  body .site-header .site-brand-text strong {
    font-size: 15px;
  }

  body .header-search-link,
  body .header-quick-link {
    display: none;
  }
}

/* Homepage hero search button alignment v1.8.6 */
body.home .kb-ref-search .site-search {
  align-items: center;
}

body.home .kb-ref-search .site-search button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding-bottom: 0;
  padding-top: 0;
  text-align: center;
}

/* Article detail layout v1.9.0 */
body.single-post {
  background: #f5f8fc;
  color: #1b2a3d;
}

body.single-post .site-wrap {
  background:
    linear-gradient(180deg, #f7fbff 0, #f5f8fc 360px, #f5f8fc 100%);
}

.bsk-article-main {
  padding: 0 0 34px;
}

.bsk-article-hero {
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(240, 247, 255, 0.86)),
    #f4f9ff;
  border-bottom: 1px solid #e1ebf7;
  overflow: hidden;
  position: relative;
}

.bsk-article-hero::before {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.04), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(30, 64, 175, 0.035) 0, rgba(30, 64, 175, 0.035) 1px, transparent 1px, transparent 56px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.bsk-article-hero-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: 230px;
  padding-bottom: 30px;
  padding-top: 30px;
  position: relative;
}

.bsk-article-hero-copy {
  max-width: 710px;
  min-width: 0;
}

.bsk-article-kicker {
  align-items: center;
  color: #53708f;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 9px;
  margin-bottom: 11px;
}

.bsk-article-kicker a,
.bsk-article-kicker span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe8f7;
  border-radius: 999px;
  color: #2d62c8;
  display: inline-flex;
  font-weight: 800;
  line-height: 1.25;
  min-height: 28px;
  padding: 5px 10px;
}

.bsk-article-kicker span {
  color: #61758c;
  font-weight: 750;
}

.bsk-article-hero-title {
  color: #142336;
  display: block;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
  margin: 0;
  max-width: 680px;
}

.bsk-article-hero p {
  color: #586f88;
  font-size: 14px;
  line-height: 1.82;
  margin: 15px 0 0;
  max-width: 690px;
}

.bsk-article-hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 190px;
  min-width: 0;
  position: relative;
}

.bsk-article-hero-visual img {
  aspect-ratio: 16 / 9;
  display: block;
  filter: saturate(0.74) contrast(0.96) brightness(1.06);
  max-height: 218px;
  object-fit: contain;
  width: 100%;
}

.bsk-article-hero-fallback {
  background:
    linear-gradient(135deg, rgba(226, 239, 255, 0.82), rgba(255, 255, 255, 0.86)),
    #eef6ff;
  border: 1px solid #dbe8f7;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(39, 91, 165, 0.09);
  height: 190px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.bsk-article-hero-fallback span {
  background: #d6e7fb;
  border-radius: 6px;
  position: absolute;
}

.bsk-article-hero-fallback span:nth-child(1) {
  height: 112px;
  left: 78px;
  top: 42px;
  width: 170px;
}

.bsk-article-hero-fallback span:nth-child(2) {
  background: #2f7df2;
  height: 76px;
  left: 284px;
  top: 78px;
  width: 18px;
}

.bsk-article-hero-fallback span:nth-child(3) {
  background: #8fc4ff;
  height: 114px;
  left: 314px;
  top: 40px;
  width: 18px;
}

.bsk-article-hero-fallback span:nth-child(4) {
  background: #c8dcfb;
  border-radius: 999px;
  bottom: 24px;
  height: 42px;
  left: 244px;
  width: 42px;
}

.bsk-article-shell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 300px;
  max-width: 1210px;
  padding-top: 24px;
}

.bsk-article-content-card,
.bsk-article-side-panel {
  background: #ffffff;
  border: 1px solid #e1eaf5;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 55, 103, 0.045);
}

.bsk-article-content-card {
  min-width: 0;
  overflow: hidden;
  padding: 22px 28px 26px;
}

.bsk-article-content-card .breadcrumb {
  border-bottom: 1px solid #edf2f8;
  color: #7b8da1;
  font-size: 13px;
  margin: -2px 0 18px;
  padding-bottom: 13px;
}

.bsk-article-content-card .breadcrumb a {
  color: #5d7894;
}

.bsk-article-head {
  border-bottom: 1px solid #edf2f8;
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.bsk-article-label-row {
  align-items: center;
  color: #73869a;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 9px;
  margin-bottom: 10px;
}

.bsk-article-label {
  align-items: center;
  background: #edf6ff;
  border: 1px solid #d4e7fb;
  border-radius: 999px;
  color: #1f67d6;
  display: inline-flex;
  font-weight: 800;
  line-height: 1.25;
  min-height: 26px;
  padding: 4px 10px;
}

.bsk-article-title-row {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.bsk-article-title {
  color: #16283a;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

.bsk-article-save {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce7f3;
  border-radius: 6px;
  color: #415871;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  min-width: 66px;
  padding: 7px 12px;
}

.bsk-article-save:hover,
.bsk-article-save.is-copied {
  background: #eef6ff;
  border-color: #bcd7f7;
  color: #1d5fd2;
}

.bsk-article-meta {
  align-items: center;
  color: #71859b;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 9px 18px;
  margin-top: 12px;
}

.bsk-article-meta span,
.bsk-article-meta time {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.bsk-article-meta span::before,
.bsk-article-meta time::before {
  background: #2b7bf0;
  border-radius: 999px;
  content: "";
  height: 6px;
  width: 6px;
}

.bsk-article-meta span:nth-child(3)::before {
  background: #7aa6df;
}

.bsk-article-meta span:nth-child(4)::before {
  background: #90a7bf;
}

.bsk-article-featured {
  background: #f3f8ff;
  border: 1px solid #dbe9f8;
  border-radius: 8px;
  margin: 0 0 20px;
  overflow: hidden;
}

.bsk-article-featured img {
  aspect-ratio: 16 / 7.6;
  display: block;
  filter: saturate(0.76) contrast(0.95) brightness(1.04);
  object-fit: cover;
  width: 100%;
}

.bsk-article-featured figcaption {
  color: #77889b;
  font-size: 13px;
  line-height: 1.6;
  padding: 9px 14px;
}

.bsk-article-body {
  color: #2d4055;
  font-size: 15px;
  line-height: 1.92;
  max-width: none;
}

.bsk-article-body > .toc {
  display: none;
}

.bsk-article-body h2 {
  border-bottom: 0;
  color: #16283b;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 30px 0 12px;
  padding: 0 0 0 15px;
  position: relative;
}

.bsk-article-body h2::before {
  background: #2c7bf0;
  border-radius: 999px;
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  top: 7px;
  width: 4px;
}

.bsk-article-body h3 {
  color: #1f3650;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 24px 0 9px;
}

.bsk-article-body p {
  margin: 0 0 15px;
}

.bsk-article-body a {
  color: #1d63d8;
  font-weight: 700;
}

.bsk-article-body ul,
.bsk-article-body ol {
  margin: 0 0 16px;
  padding-left: 1.45em;
}

.bsk-article-body li {
  margin: 5px 0;
}

.bsk-article-body blockquote {
  background: #f3f8ff;
  border: 1px solid #dbe9f8;
  border-left: 4px solid #2b7bf0;
  border-radius: 7px;
  color: #315372;
  margin: 20px 0;
  padding: 15px 18px;
}

.bsk-article-body table {
  background: #ffffff;
  border: 1px solid #dce7f3;
  border-radius: 7px;
  display: table;
  overflow: hidden;
  width: 100%;
}

.bsk-article-body th {
  background: #eef6ff;
  color: #1f3f67;
  font-weight: 800;
}

.bsk-article-body th,
.bsk-article-body td {
  border-color: #dce7f3;
  font-size: 14px;
  padding: 10px 12px;
}

.bsk-article-body pre {
  background: #142336;
  border-radius: 8px;
  color: #eaf3ff;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  padding: 16px 18px;
}

.bsk-article-body code {
  background: #edf6ff;
  border-radius: 4px;
  color: #1854b7;
  padding: 2px 5px;
}

.bsk-article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.bsk-article-body img {
  border: 1px solid #dce7f3;
  border-radius: 8px;
  filter: saturate(0.82) contrast(0.98) brightness(1.03);
}

.bsk-article-actions {
  border-top: 1px solid #edf2f8;
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
}

.bsk-article-helpful {
  align-items: center;
  color: #61758c;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
}

.bsk-article-helpful span {
  font-weight: 800;
}

.bsk-article-helpful button,
.bsk-side-share button,
.bsk-side-share a {
  align-items: center;
  background: #f5f9ff;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  color: #2c5fa8;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.3;
  min-height: 32px;
  padding: 6px 12px;
}

.bsk-article-helpful button:hover,
.bsk-article-helpful button.is-copied,
.bsk-side-share button:hover,
.bsk-side-share button.is-copied,
.bsk-side-share a:hover {
  background: #e9f3ff;
  border-color: #bad5f6;
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsk-article-tag-row a {
  background: #f6f9fd;
  border: 1px solid #dfe9f4;
  border-radius: 999px;
  color: #526b85;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  padding: 6px 10px;
}

.bsk-article-content-card .section {
  border-top: 1px solid #edf2f8;
  margin-top: 24px;
  padding-top: 22px;
}

.bsk-article-content-card .section-head {
  margin-bottom: 14px;
}

.bsk-article-content-card .section-head h2 {
  color: #16283b;
  font-size: 20px;
  letter-spacing: 0;
}

.bsk-article-content-card .section-head p {
  color: #71859b;
  font-size: 13px;
}

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

.bsk-article-content-card .card {
  border-color: #dfe9f4;
  border-radius: 8px;
  box-shadow: none;
  padding: 16px;
}

.bsk-article-content-card .card h3 {
  font-size: 16px;
  line-height: 1.48;
}

.bsk-article-content-card .card p {
  color: #667b91;
  font-size: 13px;
}

.bsk-article-post-nav {
  border-top-color: #edf2f8;
}

.bsk-article-post-nav a {
  color: #285fba;
  font-weight: 800;
}

.bsk-article-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
  position: sticky;
  top: 84px;
}

.bsk-article-side-panel {
  padding: 16px;
}

.bsk-author-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.bsk-author-mark {
  align-items: center;
  background:
    linear-gradient(135deg, #1d6ff2, #45a1ff);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(29, 111, 242, 0.22);
  color: #ffffff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.bsk-author-card h2,
.bsk-article-side-head h2 {
  color: #16283b;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

.bsk-author-card p {
  color: #71859b;
  font-size: 12px;
  line-height: 1.55;
  margin: 4px 0 0;
}

.bsk-author-stats {
  border-bottom: 1px solid #edf2f8;
  border-top: 1px solid #edf2f8;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin: 15px 0 12px;
  padding: 12px 0;
  text-align: center;
}

.bsk-author-stats span {
  color: #71859b;
  display: grid;
  font-size: 12px;
  gap: 2px;
}

.bsk-author-stats strong {
  color: #1b3b64;
  font-size: 16px;
  line-height: 1.2;
}

.bsk-author-link {
  align-items: center;
  border: 1px solid #dce8f5;
  border-radius: 6px;
  color: #2865ca;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
}

.bsk-author-link:hover {
  background: #eef6ff;
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-article-side-head {
  align-items: center;
  border-bottom: 1px solid #edf2f8;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.bsk-article-side-head a {
  color: #2567d6;
  font-size: 12px;
  font-weight: 800;
}

.bsk-side-toc,
.bsk-side-recommend-list,
.bsk-side-question-list {
  display: grid;
  gap: 8px;
}

.bsk-side-toc a {
  align-items: start;
  border-radius: 6px;
  color: #435d76;
  display: grid;
  font-size: 13px;
  gap: 8px;
  grid-template-columns: 24px minmax(0, 1fr);
  line-height: 1.55;
  padding: 6px;
}

.bsk-side-toc a:hover {
  background: #f3f8ff;
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-side-toc span {
  color: #9aaac0;
  font-size: 12px;
  font-weight: 900;
}

.bsk-side-recommend-list a {
  align-items: center;
  border: 1px solid transparent;
  border-bottom-color: #edf2f8;
  border-radius: 7px;
  color: #243b54;
  display: grid;
  gap: 9px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 7px 5px;
}

.bsk-side-recommend-list a:last-child {
  border-bottom-color: transparent;
}

.bsk-side-recommend-list a:hover {
  background: #f6faff;
  border-color: #d8e8f8;
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-side-rec-thumb {
  align-items: center;
  background: #edf6ff;
  border: 1px solid #d9e9f8;
  border-radius: 6px;
  display: flex;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  width: 58px;
}

.bsk-side-rec-thumb img {
  display: block;
  filter: saturate(0.76) contrast(0.96) brightness(1.06);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.bsk-side-rec-thumb em {
  color: #2d67c8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.bsk-side-recommend-list strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.bsk-side-recommend-list small {
  color: #8798aa;
  display: block;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 3px;
}

.bsk-side-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsk-side-keywords a {
  background: #f5f9ff;
  border: 1px solid #dfe9f4;
  border-radius: 999px;
  color: #4e6680;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  padding: 6px 10px;
}

.bsk-side-keywords a:hover {
  background: #eaf3ff;
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-side-question-list a {
  align-items: center;
  border-bottom: 1px solid #edf2f8;
  color: #384f67;
  display: grid;
  font-size: 13px;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  line-height: 1.55;
  padding: 8px 2px;
}

.bsk-side-question-list a::after {
  color: #9aabc0;
  content: ">";
  font-weight: 900;
}

.bsk-side-question-list a:last-child {
  border-bottom: 0;
}

.bsk-side-question-list a:hover {
  color: #1d5fd2;
  text-decoration: none;
}

.bsk-side-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1120px) {
  .bsk-article-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .bsk-article-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 960px) {
  .bsk-article-hero-grid,
  .bsk-article-shell {
    grid-template-columns: 1fr;
  }

  .bsk-article-hero-grid {
    gap: 22px;
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .bsk-article-hero-visual {
    justify-content: start;
    min-height: 120px;
  }

  .bsk-article-hero-visual img {
    max-height: 180px;
    max-width: 520px;
  }

  .bsk-article-sidebar {
    position: static;
  }

  .bsk-article-content-card .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bsk-article-main {
    padding-bottom: 22px;
  }

  .bsk-article-hero-title {
    font-size: 25px;
    line-height: 1.34;
  }

  .bsk-article-hero p {
    font-size: 13px;
  }

  .bsk-article-shell {
    gap: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 14px;
  }

  .bsk-article-content-card,
  .bsk-article-side-panel {
    border-radius: 7px;
  }

  .bsk-article-content-card {
    padding: 17px 15px 20px;
  }

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

  .bsk-article-title {
    font-size: 23px;
  }

  .bsk-article-save {
    justify-self: start;
  }

  .bsk-article-featured img {
    aspect-ratio: 16 / 9;
  }

  .bsk-article-body {
    font-size: 14.5px;
    line-height: 1.86;
  }

  .bsk-article-body h2 {
    font-size: 20px;
  }

  .bsk-author-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile footer refinement v1.9.1 */
@media (max-width: 700px) {
  body .site-footer {
    background: #ffffff;
    border-top: 1px solid #dfe8f3;
    padding: 22px 0 14px;
  }

  body .site-footer .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body .footer-knowledge-grid,
  body.home .footer-knowledge-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  body .footer-brand {
    border-bottom: 1px solid #e7eef7;
    padding-bottom: 16px;
  }

  body .footer-brand > a,
  body .footer-brand a {
    align-items: center;
    gap: 10px;
  }

  body .footer-brand-mark {
    border-radius: 10px;
    flex: 0 0 40px;
    font-size: 18px;
    height: 40px;
    width: 40px;
  }

  body .footer-brand strong,
  body.home .footer-brand strong {
    color: #14243a;
    font-size: 18px;
    line-height: 1.25;
  }

  body .footer-brand p,
  body.home .footer-brand p {
    color: #60738b;
    font-size: 13px;
    line-height: 1.75;
    margin: 12px 0 14px;
    max-width: none;
  }

  body .footer-search,
  body.home .footer-search {
    border-color: #d8e4f2;
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: none;
    padding: 4px;
    width: 100%;
  }

  body .footer-search input {
    font-size: 13px;
    min-height: 40px;
    padding: 0 12px;
  }

  body .footer-search button {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    font-size: 13px;
    height: 40px;
    justify-content: center;
    min-width: 64px;
    padding: 0 12px;
  }

  body .footer-column {
    border-top: 1px solid #e7eef7;
    min-width: 0;
    padding-top: 14px;
  }

  body .footer-topic-nav {
    display: none;
  }

  body .footer-column h2,
  body.home .footer-column h2 {
    color: #14243a;
    font-size: 15px;
    margin: 0 0 10px;
  }

  body .footer-column ul {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .footer-column li {
    min-width: 0;
  }

  body .footer-column a,
  body.home .footer-column a,
  body .footer-tags a {
    align-items: center;
    background: #f6f9fd;
    border: 1px solid #dfe8f3;
    border-radius: 7px;
    color: #314760;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.35;
    min-height: 36px;
    padding: 7px 8px;
    text-align: center;
  }

  body .footer-column a:hover,
  body .footer-tags a:hover {
    background: #edf5ff;
    border-color: #bfd7f5;
    color: #1d5fd2;
    text-decoration: none;
  }

  body .footer-tags {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .footer-widget-grid {
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding-top: 14px;
  }

  body .footer-widget {
    font-size: 13px;
  }

  body .footer-widget h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  body .footer-bottom,
  body.home .footer-bottom {
    align-items: start;
    border-top-color: #e7eef7;
    display: grid;
    font-size: 12px;
    gap: 10px;
    justify-items: start;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 14px;
  }

  body .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  body .footer-links a {
    background: transparent;
    border: 0;
    color: #52657d;
    display: inline;
    font-size: 12px;
    min-height: auto;
    padding: 0;
  }
}

/* Hide sidebars on mobile v1.9.2 */
@media (max-width: 760px) {
  body .bsk-article-sidebar,
  body .bsk-list-sidebar,
  body .layout > .sidebar {
    display: none !important;
  }

  body .bsk-article-shell,
  body .bsk-list-shell,
  body .layout {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile homepage hard guard for Baidu App / older WebView v1.10.2 */
@media (max-width: 760px) {
  html,
  body,
  body.home,
  body.home .site-wrap {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.home .container,
  body.home .kb-ref-shell,
  body.home .kb-ref-main,
  body.home .kb-ref-panel {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.home .kb-ref-shell {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home .kb-ref-main {
    display: grid;
    gap: 14px;
  }

  body.home .kb-ref-sidebar {
    display: none !important;
  }

  body.home .kb-ref-entry-grid,
  body.home .kb-ref-topic-grid,
  body.home .kb-ref-article-grid,
  body.home .footer-knowledge-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
