:root {
  color-scheme: light;
  --qws-ink: #183b32;
  --qws-green: #274f43;
  --qws-deep: #102c25;
  --qws-gold: #a78345;
  --qws-paper: #f7f3e9;
  --qws-mist: #e7ece5;
  --qws-line: rgba(39, 79, 67, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.knowledge-page {
  margin: 0;
  color: var(--qws-ink);
  background: var(--qws-paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.knowledge-page a,
.knowledge-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.knowledge-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--qws-line);
  background: rgba(247, 243, 233, 0.94);
  backdrop-filter: blur(14px);
}

.knowledge-header__inner,
.knowledge-main,
.knowledge-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.knowledge-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.knowledge-logo {
  text-decoration: none;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.18rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.knowledge-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  font-size: 0.92rem;
}

.knowledge-nav a {
  text-decoration: none;
}

.knowledge-nav a[aria-current="page"] {
  color: var(--qws-gold);
}

.knowledge-breadcrumbs {
  margin-bottom: 24px;
  color: rgba(24, 59, 50, 0.62);
  font-size: 0.86rem;
}

.knowledge-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(24, 59, 50, 0.32);
}

.knowledge-main {
  padding: 72px 0 104px;
}

.knowledge-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: clamp(32px, 7vw, 80px);
  border: 1px solid var(--qws-line);
  background:
    linear-gradient(120deg, rgba(16, 44, 37, 0.96), rgba(39, 79, 67, 0.76)),
    url("../images/misty-mountains.png") center / cover;
  color: #fffdf7;
}

.knowledge-hero--image {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  background: linear-gradient(130deg, #15382f, #2f5b4e);
}

.knowledge-hero__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  aspect-ratio: 4 / 5;
}

.knowledge-eyebrow {
  margin: 0 0 14px;
  color: var(--qws-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.knowledge-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.05em;
}

.knowledge-hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 253, 247, 0.8);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.knowledge-section__heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--qws-line);
}

.knowledge-section h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.35;
}

.knowledge-section__intro {
  max-width: 720px;
  margin: 0;
  color: rgba(24, 59, 50, 0.76);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.knowledge-card {
  padding: 28px;
  border: 1px solid var(--qws-line);
  background: rgba(255, 255, 255, 0.4);
}

.knowledge-card h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.knowledge-card p,
.knowledge-card ul {
  margin: 0;
  color: rgba(24, 59, 50, 0.74);
}

.knowledge-card ul {
  padding-left: 1.2em;
}

.knowledge-facts {
  margin: 28px 0 0;
  border-top: 1px solid var(--qws-line);
}

.knowledge-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--qws-line);
}

.knowledge-facts dt {
  color: rgba(24, 59, 50, 0.6);
}

.knowledge-facts dd {
  margin: 0;
  font-weight: 500;
}

.knowledge-qa {
  margin-top: 28px;
}

.knowledge-qa details {
  border-bottom: 1px solid var(--qws-line);
}

.knowledge-qa summary {
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.18rem;
  list-style-position: outside;
}

.knowledge-qa details p {
  max-width: 820px;
  margin: -4px 0 24px;
  color: rgba(24, 59, 50, 0.75);
}

.knowledge-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--qws-gold);
  background: rgba(167, 131, 69, 0.08);
  color: rgba(24, 59, 50, 0.78);
}

.knowledge-updated {
  margin: 30px 0 0;
  color: rgba(24, 59, 50, 0.58);
  font-size: 0.86rem;
}

.knowledge-article {
  max-width: 900px;
  margin: 0 auto;
}

.knowledge-article__header {
  padding: clamp(42px, 8vw, 88px);
  border: 1px solid var(--qws-line);
  background: linear-gradient(135deg, var(--qws-deep), var(--qws-green));
  color: #fffdf7;
}

.knowledge-article__header h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.04em;
}

.knowledge-article__lead {
  margin: 24px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.9;
}

.knowledge-article section {
  padding-top: 56px;
}

.knowledge-article section h2 {
  margin: 0 0 20px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
}

.knowledge-article section p,
.knowledge-article section li {
  color: rgba(24, 59, 50, 0.78);
}

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

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

.knowledge-sources {
  padding: 24px;
  border: 1px solid var(--qws-line);
  background: rgba(255, 255, 255, 0.36);
}

.knowledge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.knowledge-list article {
  padding: 30px;
  border: 1px solid var(--qws-line);
  background: rgba(255, 255, 255, 0.42);
}

.knowledge-list h2 {
  margin: 0 0 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.36rem;
  font-weight: 500;
}

.knowledge-list p {
  color: rgba(24, 59, 50, 0.72);
}

.seo-home-fallback {
  min-height: 100vh;
  padding: 28px clamp(24px, 6vw, 88px) 80px;
  color: var(--qws-ink);
  background: var(--qws-paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", sans-serif;
}

.seo-home-fallback__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-home-fallback__header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.seo-home-fallback__article {
  max-width: 920px;
  margin: 15vh auto 0;
}

.seo-home-fallback__article h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.2;
}

.seo-home-fallback__article h2 {
  margin-top: 54px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 500;
}

.seo-home-fallback__article p {
  max-width: 760px;
  line-height: 2;
}

.knowledge-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  padding: 32px;
  background: var(--qws-deep);
  color: #fffdf7;
}

.knowledge-cta p {
  margin: 0;
}

.knowledge-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  text-decoration: none;
}

.knowledge-footer {
  background: var(--qws-deep);
  color: #fffdf7;
}

.knowledge-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 0;
}

.knowledge-footer__brand {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0.12em;
}

.knowledge-footer__summary {
  margin: 8px 0 0;
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.9rem;
}

.knowledge-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .knowledge-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
  }

  .knowledge-nav {
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .knowledge-main {
    padding-top: 28px;
  }

  .knowledge-hero,
  .knowledge-hero--image {
    min-height: 480px;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .knowledge-hero__image {
    max-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .knowledge-section__heading,
  .knowledge-grid,
  .knowledge-list {
    grid-template-columns: 1fr;
  }

  .knowledge-section__heading {
    gap: 12px;
  }

  .knowledge-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .knowledge-footer__inner {
    flex-direction: column;
  }

  .knowledge-footer__nav {
    justify-content: flex-start;
  }

  .seo-home-fallback__header {
    align-items: flex-start;
    flex-direction: column;
  }
}
