.dc-kb-docs {
	background: #F1F4F7;
	padding: 0;
}

.dc-kb-docs-header {
	background: #1E73BE;
	padding: 18px 16px;
}

.dc-kb-docs-header-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.dc-kb-docs-search {
	position: relative;
	width: 100%;
	max-width: 920px;
}

.dc-kb-docs-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: #50575e;
	pointer-events: none;
}
.dc-kb-article-content {
	margin-top: 40px;
}

.dc-kb-docs-search input[type="search"] {
	width: 100%;
	padding: 12px 12px 12px 40px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 16px;
}

.dc-kb-docs-search-results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	z-index: 100;
	max-height: 320px;
	overflow: auto;
	display: none;
}

.dc-kb-docs-search-results a {
	display: block;
	padding: 10px 12px;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f1;
}

.dc-kb-docs-search-results a:last-child {
	border-bottom: 0;
}

.dc-kb-docs-search-results a:hover {
	background: #f6f7f7;
}

.dc-kb-docs-grid {
	max-width: 1400px;
	margin: 0 auto;
	padding: 16px;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 20px;
}

.dc-kb-docs-grid--single {
	grid-template-columns: 250px 1fr;
}

@media (max-width: 1000px) {
	.dc-kb-docs-grid,
	.dc-kb-docs-grid--single {
		grid-template-columns: 220px 1fr;
	}
}

@media (max-width: 720px) {
	.dc-kb-docs-grid {
		grid-template-columns: 1fr;
	}
	.dc-kb-docs-sidebar {
		order: 2;
	}
}

.dc-kb-docs-sidebar {
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 12px;
	background: #fff;
	height: fit-content;
	position: sticky;
	top: 40px;
}

.dc-kb-docs-sidebar h3 {
	margin: 0 0 10px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.dc-kb-docs-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dc-kb-docs-sidebar details {
	border-top: 1px solid #f0f0f1;
	padding-top: 10px;
	margin-top: 10px;
}

.dc-kb-docs-sidebar details:first-of-type {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

.dc-kb-docs-sidebar summary {
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	list-style: none;
}

.dc-kb-docs-sidebar summary.dc-kb-cat-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.dc-kb-docs-sidebar summary::-webkit-details-marker {
	display: none;
}

.dc-kb-docs-sidebar summary a {
	text-decoration: none;
}

.dc-kb-docs-sidebar summary .dc-kb-cat-link {
	flex: 1;
	min-width: 0;
}

.dc-kb-docs-sidebar summary .dc-kb-cat-toggle {
	width: 10px;
	height: 10px;
	flex: 0 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.9;
}

.dc-kb-docs-sidebar details[open] > summary .dc-kb-cat-toggle {
	transform: rotate(45deg);
}

.dc-kb-docs-sidebar .dc-kb-cat-articles {
	margin-top: 8px;
	padding-left: 16px;
}

.dc-kb-docs-sidebar .dc-kb-cat-articles li {
	margin: 6px 0;
}

.dc-kb-docs-sidebar .dc-kb-cat-articles a {
	font-size: 11px;
}

.dc-kb-docs-sidebar a {
	text-decoration: none;
}

.dc-kb-docs-sidebar .dc-kb-current > a {
	font-weight: 600;
}

.dc-kb-breadcrumbs {
	font-size: 13px;
	margin-bottom: 10px;
	color: #50575e;
}

.dc-kb-breadcrumbs a {
	text-decoration: none;
}

.dc-kb-article {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 16px;
}

.dc-kb-article h1 {
	margin-top: 0;
}

.dc-kb-rating {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

.dc-kb-rating button {
	margin-right: 8px;
	padding: 8px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	background: #f6f7f7;
	cursor: pointer;
}

.dc-kb-rating button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
