.kb-hero-brand {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 22px 0 26px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111111 0%, #1e1e1e 50%, #2b2b2b 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.kb-hero-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.18), transparent 35%);
  pointer-events: none;
}

.kb-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 10px;
}

.kb-hero-brand-copy h1 {
  margin: 0 0 10px;
  font-size: 2.3rem;
  line-height: 1.05;
}

.kb-hero-brand-copy p {
  margin: 0;
  max-width: 48ch;
  color: #f3f4f6;
}

.kb-hero-brand-logo-wrap {
  text-align: center;
}

.kb-hero-brand-logo {
  max-width: 100%;
  max-height: 220px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.3));
}

.kb-search-panel {
  margin-bottom: 22px;
}

.kb-category-grid,
.kb-card-grid {
  display: grid;
  gap: 18px;
}

.kb-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 24px;
}

.kb-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.kb-category-tile,
.kb-article-card {
  display: block;
  background: #fffef8;
  border: 1px solid #ece3c2;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
}

.kb-category-tile strong,
.kb-article-card h3 {
  display: block;
  margin: 0 0 8px;
}

.kb-category-tile span,
.kb-article-card p {
  color: #4b5563;
}

.kb-article-card.featured {
  border-color: #e5c75e;
  background: linear-gradient(180deg, #fffdf2, #fffef8);
}

.kb-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.kb-category-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a6a00;
}

.kb-tags {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #6b7280;
}

.kb-card-meta {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #6b7280;
}

.kb-section {
  margin: 24px 0;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0 0 4px;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
}

.kb-empty-state {
  text-align: left;
}

.kb-article-view {
  margin-top: 20px;
}

.kb-article-topline {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8a6a00;
  font-weight: 700;
  margin-bottom: 14px;
}

.kb-article-topline a {
  color: #8a6a00;
  text-decoration: none;
}

.kb-article-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.kb-article-summary {
  font-size: 1.05rem;
  color: #374151;
}

.kb-inline-logo {
  width: 110px;
  max-width: 100%;
}

.kb-article-body {
  font-size: 1rem;
  line-height: 1.7;
}

.kb-article-body h2,
.kb-article-body h3 {
  margin-top: 24px;
}

.kb-article-body ul,
.kb-article-body ol {
  padding-left: 22px;
}

.kb-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  margin-top: 36px;
  background: #111111;
  color: #ffffff;
  border-top: 3px solid #facc15;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  flex-wrap: wrap;
}

.site-footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer-logo {
  width: 54px;
  height: auto;
}

.site-footer-meta {
  color: #facc15;
  font-size: 0.92rem;
}

.site-footer-credit {
  font-weight: 700;
  color: #f3f4f6;
}

@media (max-width: 900px) {
  .kb-hero-brand,
  .kb-article-header {
    grid-template-columns: 1fr;
  }

  .kb-hero-brand-copy h1 {
    font-size: 1.9rem;
  }

  .kb-inline-logo {
    width: 88px;
  }
}
