:root {
  --knowledge-bg: #f7efe3;
  --knowledge-panel: rgba(255, 252, 246, 0.92);
  --knowledge-line: rgba(42, 49, 58, 0.15);
  --knowledge-muted: #65707e;
  --knowledge-ink: #1d2530;
}

body {
  background: var(--knowledge-bg);
}

.knowledge-main {
  color: var(--knowledge-ink);
}

.knowledge-hero {
  padding: 42px 0 30px;
}

.knowledge-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.knowledge-panel,
.knowledge-card,
.knowledge-section {
  min-width: 0;
  border: 1px solid var(--knowledge-line);
  border-radius: 24px;
  background: var(--knowledge-panel);
  box-shadow: 0 18px 50px rgba(43, 32, 18, 0.08);
}

.knowledge-panel {
  padding: clamp(28px, 4vw, 52px);
}

.knowledge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange);
  font-weight: 650;
}

.knowledge-kicker::before {
  content: "";
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.knowledge-panel h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.knowledge-panel .article-lede {
  max-width: 760px;
  margin: 0;
  color: var(--knowledge-muted);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.78;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.knowledge-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.knowledge-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.knowledge-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 670;
}

.knowledge-card p,
.article-card p,
.knowledge-section p,
.guide-box p,
.guide-step p,
.guide-reference p,
.template-card p,
.guide-list li,
.checklist-table td {
  margin: 0;
  color: var(--knowledge-muted);
  line-height: 1.7;
  font-weight: 500;
}

.knowledge-section {
  padding: clamp(26px, 4vw, 44px);
  margin-top: 24px;
}

.knowledge-section > h2,
.section-heading h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 680;
  line-height: 1.1;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 520px;
}

.article-grid,
.seo-faq-grid,
.guide-steps,
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card,
.seo-faq-card,
.guide-box,
.guide-step,
.guide-reference,
.template-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--knowledge-line);
  border-radius: 18px;
  background: #fff;
}

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-left: 4px solid rgba(221, 128, 18, 0.56);
}

.article-card h3,
.seo-faq-card h3,
.guide-box h3,
.guide-step h3,
.guide-reference h3,
.template-card h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
  font-weight: 670;
  line-height: 1.3;
}

.article-card .article-kicker {
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 0.88rem;
  font-weight: 680;
}

.article-nav-links {
  margin-top: auto;
  padding-top: 18px;
}

.article-card a,
.reference-list a {
  color: var(--orange-dark);
  font-weight: 650;
  text-decoration: none;
}

.article-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(221, 128, 18, 0.28);
  border-radius: 999px;
  background: rgba(255, 246, 230, 0.72);
}

.article-card a::after {
  content: "→";
}

.guide-article {
  display: grid;
  gap: 28px;
}

.guide-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.36fr);
  gap: 18px;
  align-items: stretch;
}

.guide-list,
.reference-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.guide-list {
  padding-left: 20px;
}

.reference-list {
  padding: 0;
  list-style: none;
}

.checklist-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--knowledge-line);
  border-radius: 18px;
  background: #fff;
}

.checklist-table th,
.checklist-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--knowledge-line);
  text-align: left;
  vertical-align: top;
}

.checklist-table th {
  background: #fff8ed;
  font-weight: 680;
}

.checklist-table tr:last-child th,
.checklist-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .knowledge-strip,
  .article-grid,
  .seo-faq-grid,
  .guide-steps,
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .knowledge-hero {
    padding-top: 26px;
  }

  .knowledge-panel h1 {
    font-size: clamp(1.82rem, 8vw, 2.22rem);
  }

  .knowledge-panel,
  .knowledge-section {
    padding: 22px;
    border-radius: 20px;
  }

  .knowledge-strip,
  .article-grid,
  .seo-faq-grid,
  .guide-steps,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .checklist-table,
  .checklist-table tbody,
  .checklist-table tr,
  .checklist-table th,
  .checklist-table td {
    display: block;
  }

  .checklist-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }
}
