/* ============================================================
   kc.css — Styles for Knowledge Center (Confluence) converted pages
   ============================================================ */

/* Content container */
.kc-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #2d2d2d;
}

/* Headings */
.kc-content h1 { font-size: 1.75rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.kc-content h2 { font-size: 1.4rem; font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.75rem; border-bottom: 2px solid #e9ecef; padding-bottom: 0.25rem; }
.kc-content h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.kc-content h4 { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: 0.4rem; }

/* Paragraphs and lists */
.kc-content p { margin-bottom: 0.9rem; }
.kc-content ul, .kc-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* Confluence-converted indented paragraphs */
.kc-indent { padding-left: 1.5rem; }
.kc-indent-2 { padding-left: 3rem; }
.kc-indent-3 { padding-left: 4.5rem; }
.kc-content li { margin-bottom: 0.3rem; }

/* Images */
.kc-content img.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  margin: 1.25rem 0;
  display: block;
}

.kc-img-wrap {
  margin: 1.5rem 0;
  text-align: center;
}

.kc-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* Tables */
.kc-content .table {
  font-size: 0.9rem;
}

.kc-content .table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.kc-content .table-responsive {
  margin: 1.25rem 0;
  border-radius: 6px;
  overflow: hidden;
}

/* Code blocks */
.kc-content pre, .kc-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
  background: #f6f8fa;
  border-radius: 4px;
}

.kc-content pre {
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid #e9ecef;
  margin: 1rem 0;
}

.kc-content code {
  padding: 0.15em 0.4em;
  color: #d63384;
}

.kc-content pre code {
  padding: 0;
  color: inherit;
  background: none;
}

/* Info / note panels */
.kc-content .panel {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background: #f8f9fa;
}

.kc-content .panel-heading {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Horizontal rules */
.kc-content hr {
  margin: 2rem 0;
  border-color: #e9ecef;
}

/* Links */
.kc-content a {
  color: #0d6efd;
  text-decoration: none;
}

.kc-content a:hover {
  text-decoration: underline;
}

/* Confluence note/warning/info macros */
.kc-content .confluence-information-macro {
  border-left: 4px solid #0d6efd;
  background: #f0f4ff;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0 6px 6px 0;
}

.kc-content .confluence-information-macro-note {
  border-color: #ffc107;
  background: #fffbf0;
}

.kc-content .confluence-information-macro-warning {
  border-color: #dc3545;
  background: #fff5f5;
}

.kc-content .confluence-information-macro-tip {
  border-color: #198754;
  background: #f0fff4;
}

.kc-content .confluence-information-macro-body p:last-child {
  margin-bottom: 0;
}

/* Expander macros */
.kc-content .expand-container {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 0.75rem 0;
}

/* Expander blocks (converted from Confluence expand macros) */
.kc-expand-block {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 0.75rem 0;
  overflow: hidden;
}

.kc-expand-body {
  padding: 0.75rem 1rem;
}

/* Section labels and breadcrumbs */
.kc-breadcrumb {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.kc-breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}

.kc-breadcrumb a:hover {
  color: #0d6efd;
}
