/* 景风制冷 · 冷库知识栏目与技术出版物级阅读排版 */

/* 首页冷库知识推荐 */
.knowledge-home {
  background: var(--bg-mist);
  border-top: 1px solid var(--line);
}

.knowledge-home .section-head {
  align-items: flex-end;
}

.knowledge-home .section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.knowledge-home .section-head > a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

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

.home-knowledge-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px 24px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.home-knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(26, 126, 200, 0.26);
}

.knowledge-category {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--cryo-soft);
  color: #0e568d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-knowledge-card h3 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-strong);
  margin-top: 16px;
}

.home-knowledge-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-top: 12px;
}

.home-knowledge-card > span:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--cryo);
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.home-knowledge-card > span:last-child b {
  font-weight: 500;
  transition: transform 0.25s var(--ease-out);
}

.home-knowledge-card:hover > span:last-child b {
  transform: translate(2px, -2px);
}

.knowledge-preview-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 22px;
}

/* 知识栏目列表页 */
.knowledge-main {
  background: var(--bg-canvas);
  padding-bottom: 88px;
  min-height: 60vh;
}

.knowledge-hero {
  padding: 40px 0 42px;
  background: linear-gradient(180deg, #edf4fa 0%, var(--bg-canvas) 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

.breadcrumbs a {
  transition: color 0.2s var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--cryo);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumbs > span[aria-hidden] {
  color: rgba(10, 37, 64, 0.28);
}

.knowledge-hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}

.knowledge-hero .eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cryo);
}

.knowledge-hero h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
  margin: 12px 0 16px;
}

.knowledge-hero-copy > p:last-child {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 32em;
}

.knowledge-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.knowledge-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 126, 200, 0.28);
}

.knowledge-banner img {
  width: 136px;
  height: 102px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex: none;
}

.knowledge-banner b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.55;
}

.knowledge-banner p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 8px;
}

/* 检索与分类控制中枢 */
.knowledge-controls {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  padding: 26px 28px;
  margin: 34px 0 28px;
  box-shadow: var(--shadow-card);
}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.search-row > div > b {
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-strong);
}

.search-row > div > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.knowledge-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 520px;
  min-width: 0;
}

.knowledge-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(10, 37, 64, 0.14);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  background: #f7fafc;
  color: var(--ink-strong);
  font-size: 15px;
  line-height: 1.5;
  min-height: 46px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.knowledge-search input:focus {
  background: #fff;
  border-color: var(--cryo);
  box-shadow: 0 0 0 4px rgba(26, 126, 200, 0.12);
  outline: none;
}

.knowledge-search button {
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  padding: 0 24px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.knowledge-search button:hover {
  background: var(--cryo);
  transform: translateY(-1px);
}

.knowledge-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.knowledge-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.knowledge-tabs button:hover {
  border-color: var(--cryo);
  color: var(--ink);
  background: var(--cryo-soft);
}

.knowledge-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(10, 37, 64, 0.55);
}

.knowledge-tabs button > span {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}

.knowledge-result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 22px 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.knowledge-result-bar button {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--cryo);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* 知识列表网格（1 置顶推荐 + 3x3 紧凑极简图卡） */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.knowledge-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(26, 126, 200, 0.26);
}

.knowledge-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.knowledge-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #f4f8fc;
  border-bottom: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out);
}

.knowledge-card:hover .knowledge-card-image {
  transform: scale(1.025);
}

.knowledge-card-copy {
  flex: 1;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
}

.knowledge-card h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.48;
  margin-top: 12px;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  transition: color 0.2s ease;
}

.knowledge-card:hover h2 {
  color: var(--cryo);
}

.knowledge-card-copy > p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 8px;
}

.knowledge-card-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
}

.knowledge-card-meta > b {
  font-size: 17px;
  font-weight: 500;
  color: var(--cryo);
  transition: transform 0.25s var(--ease-out);
}

.knowledge-card:hover .knowledge-card-meta > b {
  transform: translate(2px, -2px);
}

.knowledge-card.featured {
  grid-column: 1 / -1;
}

.knowledge-card.featured > a {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.knowledge-card.featured .knowledge-card-image {
  height: 100%;
  max-height: 288px;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #f4f8fc;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.knowledge-card.featured .knowledge-card-copy {
  padding: 28px 34px 24px;
}

.knowledge-card.featured h2 {
  font-size: 24px;
}

.knowledge-card.featured .knowledge-card-copy > p {
  font-size: 15px;
}

.empty-results {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg-surface);
}

.empty-results h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-strong);
}

.empty-results p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
}

.empty-results button {
  margin-top: 24px;
  padding: 11px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.knowledge-help {
  background:
    radial-gradient(circle at 86% 20%, rgba(45, 146, 224, 0.25), transparent 52%),
    linear-gradient(155deg, var(--bg-abyss) 0%, #0b2946 100%);
  border-radius: var(--r-lg);
  padding: 34px 38px;
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.knowledge-help h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.knowledge-help p {
  font-size: 14px;
  color: rgba(212, 229, 242, 0.84);
  line-height: 1.85;
  margin-top: 8px;
}

.knowledge-help > a {
  background: #fff;
  color: var(--ink-strong);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.knowledge-help > a:hover {
  background: var(--cryo-soft);
  transform: translateY(-1px);
}

/* 文章阅读页：技术出版物级体验 */
.article-main {
  background: var(--bg-surface);
  padding-bottom: 84px;
}

.article-heading {
  background: linear-gradient(180deg, #edf4fa 0%, #f6f9fc 100%);
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--line);
}

.article-heading .breadcrumbs {
  margin-bottom: 24px;
}

.article-category-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.article-category-row > a {
  font-size: 12px;
  font-weight: 600;
  background: var(--cryo-soft);
  color: #0e568d;
  border: 1px solid rgba(26, 126, 200, 0.16);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  transition: background 0.2s var(--ease-out);
}

.article-category-row > a:hover {
  background: #d7ebfa;
}

.sample-label {
  font-size: 12px;
  color: var(--text-muted);
}

.article-heading h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  max-width: 960px;
  margin-top: 18px;
  text-wrap: pretty;
}

.article-heading .article-summary {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 820px;
  margin-top: 16px;
}

.article-meta {
  display: flex;
  gap: 12px 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 22px;
}

.article-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid rgba(26, 126, 200, 0.25);
  color: var(--cryo-hover);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.article-jump:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: clamp(32px, 5vw, 68px);
  padding-top: 44px;
  align-items: start;
}

.article-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
}

.article-sidebar {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--hd) + 24px);
  min-width: 0;
}

.article-toc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-canvas);
  padding: 20px 22px;
}

.article-toc summary {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-strong);
}

.article-toc ol {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-toc a {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding-left: 10px;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--ink-strong);
  border-left-color: var(--cryo);
  font-weight: 500;
}

.article-consult {
  background:
    radial-gradient(circle at 85% 15%, rgba(45, 146, 224, 0.25), transparent 55%),
    linear-gradient(160deg, var(--bg-abyss) 0%, #0b2946 100%);
  color: #e6f0f8;
  border-radius: var(--r-md);
  padding: 26px 24px;
  margin-top: 18px;
  box-shadow: var(--shadow-card);
}

.article-consult > p:first-child {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cryo-bright);
}

.article-consult h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin-top: 12px;
}

.article-consult > p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(212, 229, 242, 0.84);
  margin-top: 10px;
}

.article-consult > a:first-of-type {
  display: block;
  background: #fff;
  color: var(--ink-strong);
  border-radius: var(--r-pill);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.article-consult > a:first-of-type:hover {
  background: var(--cryo-soft);
  transform: translateY(-1px);
}

.article-consult button {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  color: #e6f0f8;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
  transition: background 0.2s var(--ease-out);
}

.article-consult button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.article-consult > a:last-child {
  display: block;
  text-align: center;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cryo-bright);
  margin-top: 18px;
}

.article-cover {
  margin: 0 0 28px;
}

.article-cover img {
  width: 100%;
  height: auto;
  max-height: 295px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #f4f8fc;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.article-cover figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.75;
}

.article-review-note {
  font-size: 12px;
  color: var(--text-muted);
  border-left: 2px solid var(--line-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 16px;
  background: var(--bg-canvas);
  line-height: 1.85;
  margin-bottom: 30px;
}

.article-content section {
  scroll-margin-top: calc(var(--hd) + 24px);
  margin-top: 38px;
}

.article-content section > h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  padding-left: 14px;
  margin-bottom: 18px;
}

.article-content section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 0.9em;
  border-radius: 2px;
  background: var(--cryo);
}

.article-content section p {
  margin-top: 15px;
}

.article-content section ul {
  padding-left: 0;
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.article-content section li {
  position: relative;
  padding: 13px 16px 13px 40px;
  margin-top: 0;
  background: var(--bg-canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.article-content section li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--cryo);
  border-bottom: 2px solid var(--cryo);
  transform: rotate(-45deg);
}

.article-checklist {
  background: var(--bg-canvas);
  border: 1px solid rgba(26, 126, 200, 0.2);
  border-radius: var(--r-md);
  padding: 28px;
  margin-top: 38px;
  box-shadow: var(--shadow-sm);
}

.article-checklist h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-strong);
  padding-left: 0 !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.article-checklist h2::before {
  display: none !important;
}

.article-checklist > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-top: 10px;
}

.article-checklist button {
  background: var(--ink);
  border: 0;
  border-radius: var(--r-pill);
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.article-checklist button:hover {
  background: var(--cryo);
  transform: translateY(-1px);
}

.article-checklist textarea {
  width: 100%;
  min-height: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-strong);
  resize: vertical;
  margin-top: 16px;
}

.article-checklist textarea:focus {
  border-color: var(--cryo);
  box-shadow: 0 0 0 4px rgba(26, 126, 200, 0.12);
  outline: none;
}

#checklist-status {
  font-size: 13px;
  color: var(--cryo-hover);
  line-height: 1.8;
  margin-top: 12px;
}

.article-next-step {
  margin-top: 38px;
  padding: 28px;
  background: var(--bg-mist);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-md);
}

.article-next-step h2 {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-strong);
  padding-left: 0 !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.article-next-step h2::before {
  display: none !important;
}

.article-next-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-top: 10px;
}

.article-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.article-next-links a {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.article-next-links a:hover {
  border-color: var(--ink);
}

.article-next-links a:first-child {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.article-next-links a:first-child:hover {
  background: var(--cryo);
  border-color: var(--cryo);
}

.article-sources {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 38px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

.article-sources summary {
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.article-sources ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
}

.article-sources a {
  color: var(--cryo);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.article-related {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.article-related h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 20px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.article-related-grid > a {
  background: var(--bg-canvas);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.article-related-grid > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(26, 126, 200, 0.26);
}

.article-related-grid h3 {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink-strong);
  margin-top: 12px;
}

.article-related-grid a > span:last-child {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--cryo);
  margin-top: 14px;
}

@media (max-width: 1050px) {
  .knowledge-hero-grid {
    gap: 28px;
    grid-template-columns: 1fr 380px;
  }
  .knowledge-banner {
    gap: 16px;
    padding: 14px 16px;
  }
  .knowledge-banner img {
    width: 108px;
    height: 90px;
  }
  .knowledge-banner b {
    font-size: 15px;
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .knowledge-card-copy {
    padding: 20px 20px 18px;
  }
  .knowledge-card h2 {
    font-size: 18px;
  }
  .article-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .article-sidebar {
    top: calc(var(--hd) + 18px);
  }
  .article-consult {
    padding: 20px 18px;
  }
  .article-toc {
    padding: 18px;
  }
  .home-knowledge-grid {
    gap: 16px;
  }
  .home-knowledge-card {
    padding: 22px 20px;
  }
}

@media (max-width: 800px) {
  .knowledge-hero-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-banner {
    max-width: 580px;
  }
  .search-row {
    display: block;
  }
  .knowledge-search {
    margin-top: 16px;
    max-width: none;
  }
  .knowledge-card > a {
    display: flex;
    flex-direction: column;
  }
  .knowledge-card-image {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .knowledge-card.featured > a {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
  }
  .knowledge-card.featured .knowledge-card-copy {
    padding: 26px;
  }
  .knowledge-card.featured h2 {
    font-size: 22px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
  }
  .article-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }
  .article-content {
    grid-column: 1;
    grid-row: 2;
  }
  .article-consult {
    display: none;
  }
  .article-toc ol {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
  .article-cover img {
    height: auto;
  }
  .home-knowledge-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-home .section-head {
    display: block;
  }
  .knowledge-home .section-head > a {
    margin-top: 18px;
  }
}

@media (max-width: 650px) {
  .knowledge-hero .knowledge-banner {
    display: none;
  }
  .knowledge-main {
    padding-bottom: 52px;
  }
  .knowledge-hero {
    padding: 24px 0 26px;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 6px;
  }
  .knowledge-hero-grid {
    margin-top: 18px;
    gap: 20px;
  }
  .knowledge-hero h1 {
    font-size: 32px;
    margin: 10px 0 12px;
  }
  .knowledge-hero .eyebrow {
    font-size: 10px;
  }
  .knowledge-hero-copy > p:last-child {
    font-size: 14px;
  }
  .knowledge-controls {
    padding: 20px 16px;
    border-radius: var(--r-md);
    margin: 22px 0 20px;
  }
  .search-row > div > b {
    font-size: 17px;
  }
  .search-row > div > p {
    font-size: 12px;
  }
  .knowledge-search {
    gap: 8px;
    margin-top: 14px;
  }
  .knowledge-search input {
    font-size: 16px;
    padding: 10px 14px;
    min-height: 44px;
  }
  .knowledge-search button {
    font-size: 13px;
    padding: 0 18px;
    min-height: 44px;
  }
  .knowledge-tabs {
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
  }
  .knowledge-tabs button {
    font-size: 12px;
    padding: 7px 12px;
    gap: 6px;
  }
  .knowledge-result-bar {
    font-size: 12px;
    margin: 18px 0 14px;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .knowledge-card.featured > a {
    display: flex;
    flex-direction: column;
  }
  .knowledge-card.featured .knowledge-card-image,
  .knowledge-card-image {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .knowledge-card.featured .knowledge-card-copy,
  .knowledge-card-copy {
    padding: 20px 18px;
  }
  .knowledge-card h2,
  .knowledge-card.featured h2 {
    font-size: 20px;
    line-height: 1.45;
  }
  .knowledge-card-copy > p,
  .knowledge-card.featured .knowledge-card-copy > p {
    font-size: 13px;
  }
  .knowledge-help {
    padding: 26px 20px;
    border-radius: var(--r-md);
    margin-top: 28px;
    display: block;
  }
  .knowledge-help h2 {
    font-size: 21px;
  }
  .knowledge-help p {
    font-size: 13px;
  }
  .knowledge-help > a {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    padding: 11px 22px;
  }
  .article-main {
    padding-bottom: 48px;
  }
  .article-heading {
    padding: 24px 0 28px;
  }
  .article-heading .breadcrumbs {
    margin-bottom: 18px;
  }
  .article-heading h1 {
    font-size: 26px;
    line-height: 1.4;
    margin-top: 14px;
  }
  .article-heading .article-summary {
    font-size: 14px;
    margin-top: 14px;
  }
  .article-meta {
    font-size: 11px;
    margin-top: 16px;
  }
  .article-layout {
    gap: 24px;
    padding-top: 22px;
  }
  .article-toc {
    padding: 16px 18px;
  }
  .article-toc ol {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
  }
  .article-cover {
    margin-bottom: 22px;
  }
  .article-cover img {
    height: auto;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.9;
  }
  .article-content section {
    margin-top: 28px;
  }
  .article-content section > h2 {
    font-size: 20px;
    padding-left: 12px;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }
  .article-content section li {
    padding: 11px 14px 11px 36px;
    font-size: 14px;
  }
  .article-content section li::before {
    left: 14px;
    top: 18px;
  }
  .article-checklist,
  .article-next-step {
    padding: 20px 18px;
    margin-top: 28px;
  }
  .article-checklist h2,
  .article-next-step h2 {
    font-size: 19px;
  }
  .article-related {
    margin-top: 34px;
    padding-top: 22px;
  }
  .article-related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
