/* 知识中心：独立样式，不覆盖现有站点组件 */
.knowledge-page {
  color: #2c2926;
  background: #f7f2eb;
  line-height: 1.75;
}

.knowledge-page *,
.knowledge-page *::before,
.knowledge-page *::after {
  box-sizing: border-box;
}

.knowledge-page h1,
.knowledge-page h2,
.knowledge-page h3,
.knowledge-page strong {
  font-weight: 600;
}

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

.knowledge-shell {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.knowledge-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .13), transparent 32%),
    linear-gradient(120deg, #781013 0%, #b71920 55%, #d7141c 100%);
}

.knowledge-hero::after {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  content: "";
}

.knowledge-hero .knowledge-shell,
.knowledge-list-hero .knowledge-shell {
  position: relative;
  z-index: 1;
}

.knowledge-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #756e67;
  font-size: 14px;
}

.knowledge-breadcrumb a {
  color: inherit;
}

.knowledge-breadcrumb a:hover {
  color: #d7141c;
}

.knowledge-hero .knowledge-breadcrumb {
  color: rgba(255, 255, 255, .78);
}

.knowledge-eyebrow,
.knowledge-kicker {
  color: #d7141c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-hero .knowledge-eyebrow {
  color: rgba(255, 255, 255, .72);
}

.knowledge-hero h1 {
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
  letter-spacing: .03em;
}

.knowledge-lead {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.knowledge-section {
  padding: 72px 0;
}

.knowledge-section-muted {
  background: #fff;
}

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

.knowledge-section-head h2 {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.3;
}

.knowledge-section-head > p {
  max-width: 460px;
  color: #756e67;
}

.knowledge-section-head-compact {
  align-items: center;
  margin-bottom: 22px;
}

.knowledge-section-head-compact h2 {
  font-size: 25px;
}

.knowledge-more,
.knowledge-card-link {
  color: #b4191f;
  font-weight: 600;
}

.knowledge-more:hover,
.knowledge-card-link:hover {
  color: #7f1014;
}

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

.knowledge-category-card {
  min-height: 252px;
  padding: 28px;
  border: 1px solid #e7ddd2;
  border-radius: 4px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 8px 28px rgba(71, 47, 35, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.knowledge-category-card:hover {
  border-color: rgba(215, 20, 28, .45);
  box-shadow: 0 16px 36px rgba(71, 47, 35, .09);
  transform: translateY(-3px);
}

.knowledge-category-index {
  display: block;
  color: #c8b9aa;
  font-family: Georgia, serif;
  font-size: 16px;
}

.knowledge-category-card h3 {
  margin: 18px 0 10px;
  color: #2c2926;
  font-size: 23px;
}

.knowledge-category-card p {
  min-height: 74px;
  color: #756e67;
  font-size: 15px;
}

.knowledge-category-card .knowledge-card-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
}

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

.knowledge-list-card {
  padding: 26px;
  border-top: 3px solid #d7141c;
  background: #f7f2eb;
}

.knowledge-list-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.knowledge-list-card h3 a:hover,
.knowledge-feature-list h3 a:hover,
.knowledge-article-row h2 a:hover {
  color: #d7141c;
}

.knowledge-list-card > p:not(.knowledge-card-meta),
.knowledge-feature-list article > p:not(.knowledge-card-meta) {
  color: #756e67;
}

.knowledge-list-card .knowledge-card-link {
  display: inline-block;
  margin-top: 16px;
}

.knowledge-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: #8b827a;
  font-size: 13px;
}

.knowledge-card-meta span {
  color: #b4191f;
}

.knowledge-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
  gap: 48px;
}

.knowledge-feature-list article {
  padding: 24px 0;
  border-top: 1px solid #ded4ca;
}

.knowledge-feature-list article:last-child {
  border-bottom: 1px solid #ded4ca;
}

.knowledge-feature-list h3 {
  margin: 8px 0;
  font-size: 21px;
}

.knowledge-question-panel,
.knowledge-aside-box {
  padding: 30px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(71, 47, 35, .07);
}

.knowledge-question-panel h2,
.knowledge-aside-box h2 {
  margin: 4px 0 18px;
  font-size: 24px;
}

.knowledge-question-panel li + li,
.knowledge-aside-box li + li {
  border-top: 1px solid #eee6de;
}

.knowledge-question-panel li a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.knowledge-question-panel li a:hover {
  color: #d7141c;
}

.knowledge-question-panel .knowledge-more {
  display: inline-block;
  margin-top: 22px;
}

.knowledge-hub-section {
  padding-top: 0;
}

.knowledge-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #8d1217;
}

.knowledge-hub-grid > a {
  display: flex;
  min-height: 220px;
  padding: 34px;
  flex-direction: column;
  color: #fff;
}

.knowledge-hub-grid > a + a {
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.knowledge-hub-grid span,
.knowledge-hub-grid em {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.knowledge-hub-grid strong {
  margin: 24px 0 auto;
  font-size: 21px;
  line-height: 1.55;
}

.knowledge-hub-grid em {
  margin-top: 26px;
  font-style: normal;
}

.knowledge-list-hero {
  padding: 48px 0 52px;
  border-top: 1px solid #eadfd5;
  background: #fff;
}

.knowledge-list-hero h1 {
  margin: 7px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
}

.knowledge-list-hero > .knowledge-shell > p:last-child {
  max-width: 760px;
  color: #756e67;
  font-size: 17px;
}

.knowledge-category-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-top: 1px solid #eee5dc;
  border-bottom: 1px solid #eee5dc;
  background: rgba(247, 242, 235, .96);
  backdrop-filter: blur(8px);
}

.knowledge-category-nav .knowledge-shell {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.knowledge-category-nav a {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
}

.knowledge-category-nav a:hover,
.knowledge-category-nav a.is-current {
  color: #fff;
  background: #d7141c;
}

.knowledge-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
}

.knowledge-article-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #ded4ca;
}

.knowledge-article-row:last-child {
  border-bottom: 1px solid #ded4ca;
}

.knowledge-row-thumb {
  width: 180px;
  height: 120px;
  overflow: hidden;
  background: #eee5dc;
}

.knowledge-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-article-row h2 {
  margin: 8px 0;
  font-size: 23px;
  line-height: 1.45;
}

.knowledge-article-row > div > p:not(.knowledge-card-meta) {
  color: #756e67;
}

.knowledge-article-row .knowledge-card-link {
  display: inline-block;
  margin-top: 12px;
}

.knowledge-pagination {
  margin-top: 32px;
}

.knowledge-pagination a,
.knowledge-pagination span,
.knowledge-pagination b {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  margin: 0 4px 8px 0;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded4ca;
  background: #fff;
}

.knowledge-pagination a:hover,
.knowledge-pagination .active,
.knowledge-pagination b {
  color: #fff;
  border-color: #d7141c;
  background: #d7141c;
}

.knowledge-list-aside {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 20px;
}

.knowledge-aside-box li {
  padding: 13px 0;
}

.knowledge-aside-box li a {
  display: block;
  margin-bottom: 3px;
}

.knowledge-aside-box li time {
  color: #8b827a;
  font-size: 12px;
}

.knowledge-aside-links a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #eee6de;
}

.knowledge-aside-links a:hover {
  color: #d7141c;
}

.knowledge-article-page {
  padding: 30px 0 76px;
}

.knowledge-article-breadcrumb {
  margin: 0 0 28px;
}

.knowledge-article {
  padding: 54px 66px 62px;
  border: 1px solid #eadfd5;
  background: #fff;
  box-shadow: 0 18px 48px rgba(71, 47, 35, .06);
}

.knowledge-article-header {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.knowledge-article-header h1 {
  margin: 10px 0 18px;
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.3;
}

.knowledge-article-summary {
  max-width: 780px;
  margin: 0 auto;
  color: #625c56;
  font-size: 17px;
}

.knowledge-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 26px;
  color: #837a72;
  font-size: 13px;
}

.knowledge-article-meta div {
  display: flex;
  gap: 7px;
}

.knowledge-article-meta dt {
  color: #aaa098;
}

.knowledge-article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: 46px;
}

.knowledge-toc {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 20px 0;
  border-top: 2px solid #d7141c;
  border-bottom: 1px solid #ded4ca;
}

.knowledge-toc > p {
  margin-bottom: 10px;
  font-weight: 600;
}

.knowledge-toc li {
  margin: 7px 0;
  font-size: 14px;
}

.knowledge-toc li.is-h3 {
  padding-left: 14px;
}

.knowledge-toc a {
  color: #756e67;
}

.knowledge-toc a:hover {
  color: #d7141c;
}

.knowledge-body {
  color: #37332f;
  font-size: 17px;
}

.knowledge-body h2,
.knowledge-article-main > section > h2,
.knowledge-references h2 {
  margin: 38px 0 14px;
  color: #2c2926;
  font-size: 26px;
  line-height: 1.4;
}

.knowledge-body h2:first-child {
  margin-top: 0;
}

.knowledge-body h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.knowledge-body p,
.knowledge-body ul,
.knowledge-body ol {
  margin: 13px 0;
}

.knowledge-body ul,
.knowledge-body ol {
  padding-left: 1.35em;
}

.knowledge-body ul,
.knowledge-body ul li {
  list-style: disc;
}

.knowledge-body ol,
.knowledge-body ol li {
  list-style: decimal;
}

.knowledge-body a,
.knowledge-references a {
  color: #b4191f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.knowledge-body blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 3px solid #d7141c;
  background: #f7f2eb;
}

.knowledge-faq-answer,
.knowledge-scope,
.knowledge-medical-notice {
  margin-bottom: 28px;
  padding: 24px 26px;
  border-left: 3px solid #d7141c;
  background: #fbf7f2;
}

.knowledge-faq-answer h2,
.knowledge-scope h2 {
  margin-top: 0 !important;
}

.knowledge-medical-notice {
  margin-top: 36px;
  border-left-color: #a77726;
  background: #fff8e8;
}

.knowledge-medical-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #7a551a;
}

.knowledge-references {
  margin-top: 38px;
  padding-top: 2px;
  border-top: 1px solid #ded4ca;
}

.knowledge-references ol,
.knowledge-references ul {
  padding-left: 1.3em;
}

.knowledge-references li {
  margin: 8px 0;
  list-style: decimal;
}

.knowledge-related {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid #ded4ca;
}

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

.knowledge-related-grid > a {
  display: flex;
  min-height: 170px;
  padding: 22px;
  flex-direction: column;
  border: 1px solid #e3d8ce;
  background: #fbf7f2;
}

.knowledge-related-grid > a:hover {
  border-color: rgba(215, 20, 28, .55);
}

.knowledge-related-grid span,
.knowledge-related-grid em {
  color: #9a746e;
  font-size: 12px;
  font-style: normal;
}

.knowledge-related-grid strong {
  margin: 12px 0 auto;
  font-size: 17px;
  line-height: 1.55;
}

.knowledge-related-grid em {
  margin-top: 18px;
  color: #b4191f;
}

.knowledge-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid #ded4ca;
}

.knowledge-prev-next div:last-child {
  text-align: right;
}

.knowledge-prev-next span {
  display: block;
  margin-bottom: 4px;
  color: #9c928a;
  font-size: 12px;
}

.knowledge-prev-next a:hover {
  color: #d7141c;
}

.knowledge-inline-entry {
  width: 92%;
  max-width: 1100px;
  margin: 24px auto 44px;
  padding: 20px 24px;
  border-left: 3px solid #d7141c;
  background: #fff;
  color: #5e5751;
}

.knowledge-inline-entry strong {
  display: block;
  margin-bottom: 4px;
  color: #2c2926;
  font-weight: 600;
}

.knowledge-inline-entry a {
  color: #b4191f;
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .knowledge-category-grid,
  .knowledge-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-list-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .knowledge-article {
    padding-right: 38px;
    padding-left: 38px;
  }

  .knowledge-article-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
  }
}

@media screen and (max-width: 768px) {
  .knowledge-shell {
    width: calc(100% - 28px);
  }

  .knowledge-hero {
    padding: 44px 0 52px;
  }

  .knowledge-section {
    padding: 52px 0;
  }

  .knowledge-section-head {
    display: block;
  }

  .knowledge-section-head > p,
  .knowledge-section-head > .knowledge-more {
    display: inline-block;
    margin-top: 12px;
  }

  .knowledge-category-grid,
  .knowledge-list-grid,
  .knowledge-two-column,
  .knowledge-hub-grid,
  .knowledge-list-layout,
  .knowledge-article-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-category-card {
    min-height: auto;
  }

  .knowledge-category-card p {
    min-height: auto;
  }

  .knowledge-hub-grid > a {
    min-height: 180px;
  }

  .knowledge-hub-grid > a + a {
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-left: 0;
  }

  .knowledge-category-nav {
    position: static;
  }

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

  .knowledge-article {
    padding: 34px 22px 42px;
  }

  .knowledge-article-header {
    margin-bottom: 30px;
    text-align: left;
  }

  .knowledge-article-meta {
    justify-content: flex-start;
  }

  .knowledge-toc {
    position: static;
    padding: 18px 20px;
    background: #fbf7f2;
  }

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

@media screen and (max-width: 560px) {
  .knowledge-hero h1,
  .knowledge-list-hero h1,
  .knowledge-article-header h1 {
    font-size: 30px;
  }

  .knowledge-lead,
  .knowledge-list-hero > .knowledge-shell > p:last-child,
  .knowledge-body {
    font-size: 16px;
  }

  .knowledge-category-grid,
  .knowledge-list-grid,
  .knowledge-list-aside,
  .knowledge-related-grid,
  .knowledge-prev-next {
    grid-template-columns: 1fr;
  }

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

  .knowledge-row-thumb {
    width: 100%;
    height: 180px;
  }

  .knowledge-prev-next div:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-category-card {
    transition: none;
  }
}

/* Phase II: audited brand entity page. */
.brand-entity-hero {
  padding: 64px 0 54px;
  color: #fff;
  background: linear-gradient(135deg, #39261d 0%, #74523c 58%, #9b7658 100%);
}

.brand-entity-hero .knowledge-breadcrumb,
.brand-entity-hero .knowledge-breadcrumb a {
  color: rgba(255, 255, 255, .76);
}

.brand-entity-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
}

.brand-entity-hero > .knowledge-shell > p:last-of-type {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .86);
}

.brand-entity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 28px 0 0;
}

.brand-entity-meta div { display: grid; gap: 4px; }
.brand-entity-meta dt { font-size: 12px; color: rgba(255, 255, 255, .6); }
.brand-entity-meta dd { margin: 0; font-size: 14px; }

.brand-entity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
  padding-top: 54px;
  padding-bottom: 64px;
}

.brand-entity-content {
  min-width: 0;
  padding: 8px 42px 38px;
  background: #fff;
  border: 1px solid #ece4dc;
}

.brand-entity-section {
  padding: 34px 0;
  border-bottom: 1px solid #eee7e0;
}

.brand-entity-section:last-child { border-bottom: 0; }
.brand-entity-section h2 { margin: 0 0 18px; font-size: 26px; color: #34261f; }
.brand-entity-section h3 { margin: 0 0 12px; font-size: 19px; }
.brand-entity-section p,
.brand-entity-section li,
.brand-entity-section dd { font-size: 16px; line-height: 1.85; color: #555; }

.brand-entity-facts { margin: 0; }
.brand-entity-facts > div {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed #e5ddd5;
}
.brand-entity-facts > div:last-child { border-bottom: 0; }
.brand-entity-facts dt { font-weight: 600; color: #362820; }
.brand-entity-facts dd { margin: 0; overflow-wrap: anywhere; }
.brand-entity-facts a,
.brand-entity-sources a { color: #8c5f3d; text-decoration: underline; text-underline-offset: 3px; }

.brand-entity-pending,
.brand-entity-note {
  padding: 16px 18px;
  border-left: 3px solid #bd9b78;
  background: #fbf7f2;
}

.brand-entity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.brand-entity-tags li { padding: 8px 14px; border: 1px solid #dfd1c4; background: #fcfaf7; }

.brand-credential-list { display: grid; gap: 16px; }
.brand-credential-list article { padding: 22px; background: #faf7f3; }

.brand-entity-faq details { padding: 16px 0; border-bottom: 1px solid #ebe3db; }
.brand-entity-faq summary { cursor: pointer; font-weight: 600; color: #362820; }
.brand-entity-faq details p { margin: 12px 0 0; }
.brand-entity-sources { padding-left: 22px; }

.brand-entity-aside { align-self: start; position: sticky; top: 96px; }
.brand-entity-aside nav { display: grid; }
.brand-entity-aside nav a { padding: 10px 0; border-bottom: 1px solid #eee5dd; color: #4d382b; }
.brand-entity-aside nav a:last-child { border-bottom: 0; }
.brand-entity-rule { margin-top: 18px; }

@media screen and (max-width: 900px) {
  .brand-entity-layout { grid-template-columns: 1fr; }
  .brand-entity-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media screen and (max-width: 560px) {
  .brand-entity-hero { padding: 42px 0; }
  .brand-entity-content { padding: 4px 20px 26px; }
  .brand-entity-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .brand-entity-aside { grid-template-columns: 1fr; }
}
