.themeOneBody {
  text-align: center;
  background-color: var(--surface-default);
  width: 100%;
  min-height: calc(100vh - 22.6rem);
  padding-top: 40px;
  padding-bottom: var(--space-10);
}

.themeOneBody.theme1-art-page,
.themeOneBody.theme1-cat-page {
  background-color: var(--surface-default);
}

.theme-home-body {
  min-height: auto;
  padding-top: 40px;
  padding-bottom: 36px;
}

.kbBreadCrumb {
  width: 100%;
  display: block;
  margin: 0 0 40px;
  text-align: left !important;
}

.kbBreadCrumb .ui.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-space-2);
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: normal;
  letter-spacing: var(--theme1-card-description-letter-spacing);
}

.kbBreadCrumb .ui.breadcrumb .section,
.kbBreadCrumb .ui.breadcrumb a.section {
  color: var(--theme1-card-description-color);
  font-size: inherit;
  font-weight: var(--font-weight-regular);
}

.kbBreadCrumb .ui.breadcrumb a.section:hover {
  color: var(--theme1-card-title-color);
}

.kbBreadCrumb .ui.breadcrumb .divider {
  margin: 0;
  color: var(--theme1-card-description-color);
  font-size: inherit;
  opacity: 1;
}

.kbBreadCrumb .ui.breadcrumb .active.section {
  color: var(--theme1-card-title-color);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 768px) {
  .kbBreadCrumb .ui.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }

  .kbBreadCrumb .ui.breadcrumb .section,
  .kbBreadCrumb .ui.breadcrumb .divider {
    white-space: nowrap;
  }

  .kbBreadCrumb .ui.breadcrumb .active.section {
    white-space: normal;
  }
}

/* Theme 1 home */
.theme1-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (max-width: 1024px) {
  .theme1-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .kb-card__title {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .theme1-home-grid {
    grid-template-columns: 1fr;
    gap: var(--space-space-5);
  }
}

.kb-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.kb-card__inner {
  background-color: var(--surface-default);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-cta-soft),
    inset 0 0 0 0.2px var(--color-interactions-border);
  padding: var(--space-space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
  .kb-card__inner {
    padding: var(--space-space-4);
  }
}

.kb-card:hover .kb-card__inner {
  box-shadow:
    var(--shadow-cta-soft),
    inset 0 0 0 1px var(--color-brand-helpcenter-primary);
}

.kb-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-space-4);
  width: 100%;
}

.kb-card__content {
  min-width: 0;
  flex: 1;
  width: 100%;
  text-align: left;
}

.kb-card__icon-wrapper {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-brand-selected-10);
  flex-shrink: 0;
}

.kb-card__icon {
  width: 26px;
  height: 27px;
  object-fit: contain;
  opacity: 0.9;
}

.kb-card__title {
  margin: 0;
  display: block;
  width: 100%;
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-exception-md);
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.04em;
  color: var(--theme1-card-title-color);
  text-align: left;
}

.kb-card__meta {
  margin: var(--space-space-1) 0 0;
  color: var(--theme1-card-description-color);
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-exception-xs);
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.04em;
}

.kb-card__description {
  margin: var(--space-space-4) 0 0;
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-sm);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--theme1-card-description-color);
  text-align: left;
}

/* Theme 1 category + article */
.theme1-cat-layout {
  gap: 24px;
}

@media screen and (max-width: 1440px) {
  .theme1-cat-sidebar,
  .theme-sidebar {
    width: 247px;
  }
}

.theme1-cat-breadcrumb {
  margin-top: 0;
}

.theme1-cat-sidebar {
  width: min(21rem, 100%);
}

.theme-sidebar-nav-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.theme1-cat-sidebar-title {
  margin: 0 0 var(--space-6);
  padding: 0 var(--space-4);
  color: var(--typo-heading2-color);
  font-family: var(--typo-heading2-font-family);
  font-size: var(--sidebar-section-title-size);
  font-weight: var(--typo-heading2-font-weight);
  line-height: var(--typo-heading2-line-height);
  letter-spacing: var(--typo-heading2-letter-spacing);
}

.theme1-cat-sidebar-nav {
  gap: var(--space-2);
}

.theme1-cat-sidebar-link {
  display: block;
  text-decoration: none;
}

.theme1-cat-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--space-3);
  padding: 8px var(--space-4);
  color: var(--theme1-card-description-color);
  background-color: transparent;
}

.theme1-cat-sidebar-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--typo-text-regular-font-family);
  font-size: var(--sidebar-item-text-size);
  font-weight: var(--typo-text-regular-font-weight);
  line-height: var(--typo-text-regular-line-height);
  letter-spacing: var(--typo-text-regular-letter-spacing);
  color: var(--typo-text-regular-color);
}

.theme1-cat-sidebar-arrow {
  margin-left: var(--space-2);
  color: var(--theme1-card-description-color);
  font-size: var(--font-size-700);
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
}

.theme1-cat-sidebar-item:hover,
.theme1-cat-sidebar-item.active {
  background-color: color-mix(in srgb, var(--brand-color), white 90%);
}

.theme1-cat-sidebar-item.active,
.theme1-cat-sidebar-item.active .theme1-cat-sidebar-label,
.theme1-cat-sidebar-item.active .theme1-cat-sidebar-arrow {
  color: var(--brand-color);
}

.theme1-cat-main-card {
  padding: var(--space-space-7);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-card);
  border: none;
  box-shadow: var(--shadow-cta-soft), inset 0 0 0 0.2px var(--color-interactions-border);
}

@media screen and (max-width: 1024px) {
  .theme1-cat-main-card {
    padding: var(--space-space-6);
  }
}

@media screen and (max-width: 768px) {
  .theme1-cat-main-card {
    padding: var(--space-space-5);
  }
}

.theme1-cat-card-header {
  margin-bottom: var(--space-space-10);
}

.theme1-cat-card-title {
  margin: 0 !important;
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-lg-2);
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.04em;
  color: var(--color-text-heading-neutral);
}

@media screen and (max-width: 1024px) {
  .theme1-cat-card-title {
    font-size: var(--typography-font-size-exception-lg);
    color: var(--color-text-heading-3);
  }
}

@media screen and (max-width: 768px) {
  .theme1-cat-card-title {
    font-size: var(--typography-font-size-md);
    color: var(--color-text-heading-3);
  }
}

.theme1-cat-card-subtitle {
  margin: 0;
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-md);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  color: var(--color-text-regular);
}

@media screen and (max-width: 1024px) {
  .theme1-cat-card-subtitle {
    font-size: var(--typography-font-size-exception-sm);
  }
}

@media screen and (max-width: 768px) {
  .theme1-cat-card-subtitle {
    font-size: var(--typography-font-size-sm);
  }
}

.theme1-cat-article-list {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-space-2);
}

.theme1-cat-article-link {
  display: block;
  text-decoration: none;
}

.theme1-cat-article-item {
  border-radius: var(--space-space-2);
  background: transparent;
  padding: var(--space-space-2);
  transition: background-color 0.2s;
}

.theme1-cat-article-title {
  margin: 0;
  font-family: var(--typography-font-family-base);
  font-size: var(--typography-font-size-sm);
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  color: #4a4a4a;
}

.theme1-cat-article-item:hover,
.theme1-cat-article-item.active {
  background: var(--color-brand-selected-10);
}

.theme1-cat-article-item:hover .theme1-cat-article-title,
.theme1-cat-article-item.active .theme1-cat-article-title {
  color: var(--brand-color);
}

.theme1-cat-cta-wrap {
  width: 100%;
  margin-top: var(--space-6);
}

@media (max-width: 1024px) {
  .theme1-cat-sidebar {
    width: 100%;
  }

  .theme1-art-sidebar {
    display: none;
  }
}