/* CanSpace knowledgebase article styling. Loaded on KB article pages. */

.article-content img.kb-screenshot {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.07);
}

.article-content figure {
  margin: 20px 0 40px;
}

.article-content ol > li,
.article-content ul > li {
  margin-bottom: 8px;
}

.article-content ol > li {
  padding-left: 4px;
  margin-bottom: 32px;
}

.article-content ol > li:last-child,
.article-content ul > li:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content .alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
  padding: 14px 16px;
}

.article-content .alert > i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 1.1em;
}

.article-content .alert > div {
  flex: 1;
}

.article-content p {
  margin-bottom: 12px;
}

.article-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-content kbd {
  background: #f5f5f5;
  border: 1px solid #d1d5db;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.85em;
  font-family: inherit;
}
