/* MN Fault Management Knowledge Base – Custom Styles */

:root {
  --theme-color: #124191;  /* Nokia blue */
  --sidebar-width: 300px;
  --sidebar-nav-link-color--active: #124191;
  --sidebar-nav-link-font-weight--active: bold;
}

/* Sidebar */
.sidebar {
  font-size: 13.5px;
}

.sidebar ul li {
  margin: 2px 0;
}

.sidebar ul li a {
  color: #333;
  text-decoration: none;
}

.sidebar ul li a:hover {
  color: #124191;
}

/* Content */
.markdown-section {
  max-width: 960px;
}

.markdown-section h1 {
  border-bottom: 2px solid #124191;
  padding-bottom: 10px;
  color: #124191;
}

.markdown-section h2 {
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-top: 2em;
}

.markdown-section h3 {
  color: #333;
  margin-top: 1.5em;
}

/* File list */
.markdown-section ul li {
  line-height: 1.8;
}

/* Inline code (file sizes) */
.markdown-section code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: #666;
}

/* Blockquote (source info / stats) */
.markdown-section blockquote {
  background: #f8f9fa;
  border-left: 4px solid #124191;
  padding: 10px 15px;
  margin: 10px 0;
}

/* Table styling */
.markdown-section table {
  border-collapse: collapse;
  width: 100%;
}

.markdown-section table th {
  background: #124191;
  color: white;
  padding: 8px 12px;
  text-align: left;
}

.markdown-section table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
}

.markdown-section table tr:nth-child(even) {
  background: #f8f9fa;
}

/* Pre/code blocks (process flow diagram) */
.markdown-section pre {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
}

/* Search highlight */
.search .matching-post {
  border-bottom: 1px solid #eee;
}
