/*
Theme Name: Kandinsky Child
Theme URI: https://github.com/Teplitsa/Kandinsky-Child-Theme
Author: Teplitsa
Author URI: https://te-st.ru/
Description: Child theme for Kandinsky
Template: kandinsky
Version: 1.0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: knd
*/

.single-doc .the-content h2:first-child,
.single-doc .the-content h3:first-child {
	margin-top: 0;
}

.knd-docs-menu {
	font-size: 20px;
	line-height: 1.2;
	margin-top: 10px;
}
.knd-docs-menu li {
	margin-bottom: 15px;
	position: relative;
}
.knd-docs-menu li.active:before {
	content: '';
	display: block;
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: -15px;
	width: 2px;
	background-color: var(--knd-color-main);
}
.knd-docs-menu a {
	color: var(--knd-color-base);
}
.knd-docs-menu a:hover {
	color: var(--knd-color-main);
}
.knd-docs-menu .active a {
	color: var(--knd-color-main);
}

.single-doc .wp-block-image > a[data-fancybox] img {
	transition: box-shadow .3s;
}
.single-doc .wp-block-image > a[data-fancybox]:hover img {
	box-shadow: 2px -2px 10px rgba(0,0,0,.1);
}