

/* Start:/local/templates/artvolume/styles.css?1793205432179*/
/* Стили для визуального редактора */
.lead { font-size: 19px; }
.warning { border-left: 4px solid #c0262d; background: #fdf3f3; padding: 12px 16px; }

/* End */


/* Start:/local/templates/artvolume/template_styles.css?179558288911496*/
/* art-volume — шаблон справочного сайта
   Идея: «рабочий справочник» с цветовой кодировкой разделов, как вырезной индекс на краю страниц. */

:root {
	--ink: #1d2731;          /* основной текст, графит */
	--ink-soft: #4f5b66;     /* второстепенный текст */
	--paper: #f3f5f6;        /* фон страницы, холодный светло-серый */
	--sheet: #ffffff;        /* «лист» со статьёй */
	--rule: #d4dadf;         /* линии и рамки */
	--link: #1f5aa0;
	--sec: #5b6670;          /* цвет текущего раздела, переопределяется ниже */

	--c-computer: #2a5ca8;
	--c-auto: #0f7476;
	--c-electrics: #b98a00;
	--c-landscape: #3d7a38;
	--c-first-aid: #c0262d;
	--c-neutral: #5b6670;

	--font-ui: "Golos Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-text: "PT Serif", Georgia, "Times New Roman", serif;
	--measure: 70ch;
}

body.section-computer  { --sec: var(--c-computer); }
body.section-auto      { --sec: var(--c-auto); }
body.section-electrics { --sec: var(--c-electrics); }
body.section-landscape { --sec: var(--c-landscape); }
body.section-first-aid { --sec: var(--c-first-aid); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 17px/1.65 var(--font-text);
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sec); outline-offset: 2px; }

.skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: #fff; padding: 8px 14px; font-family: var(--font-ui);
}
.skip:focus { left: 8px; top: 8px; z-index: 100; }

/* ---------- Шапка ---------- */
.site-header { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.site-header__inner {
	max-width: 1240px; margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; gap: 28px;
	font-family: var(--font-ui);
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__name { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.brand__tagline { font-size: 13px; color: var(--ink-soft); }

.nav-top { flex: 1; }
.nav-top__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav-top__item { --tab: var(--c-neutral); }
.nav-top__item[data-section="computer"]  { --tab: var(--c-computer); }
.nav-top__item[data-section="auto"]      { --tab: var(--c-auto); }
.nav-top__item[data-section="electrics"] { --tab: var(--c-electrics); }
.nav-top__item[data-section="landscape"] { --tab: var(--c-landscape); }
.nav-top__item[data-section="first-aid"] { --tab: var(--c-first-aid); }
.nav-top__link {
	display: block; padding: 6px 10px 5px; font-size: 15px; font-weight: 500;
	color: var(--ink); text-decoration: none;
	border-bottom: 3px solid transparent;
}
.nav-top__link:hover { border-bottom-color: var(--tab); }
.nav-top__link.is-active { border-bottom-color: var(--tab); color: var(--tab); }

.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.lang__current, .lang__other { padding: 4px 8px; border: 1px solid var(--rule); }
.lang__current { background: var(--ink); color: #fff; border-color: var(--ink); }
.lang__other { color: var(--ink); text-decoration: none; }
.lang__other:hover { border-color: var(--ink); }

.section-rule { height: 4px; background: var(--sec); }

.nav-toggle {
	display: none; margin-left: auto; font: 600 15px var(--font-ui);
	background: none; border: 1px solid var(--rule); padding: 6px 12px; color: var(--ink); cursor: pointer;
}

/* ---------- Каркас ---------- */
.layout {
	max-width: 1240px; margin: 0 auto; padding: 28px 24px 56px;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
}
.layout--with-side { grid-template-columns: 250px minmax(0, 1fr); }

.side { font-family: var(--font-ui); font-size: 15px; }
.side__list, .side__sub { list-style: none; margin: 0; padding: 0; }
.side__list { position: sticky; top: 20px; border-left: 4px solid var(--sec); background: var(--sheet); padding: 10px 0; }
.side__link { display: block; padding: 7px 16px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.side__link:hover { background: var(--paper); }
.side__link.is-current { color: var(--sec); font-weight: 600; background: var(--paper); }
.side__sub .side__link { padding-left: 30px; font-size: 14px; color: var(--ink-soft); }
.side__sub .side__link.is-current { color: var(--sec); }

.content { min-width: 0; }

.crumbs { font-family: var(--font-ui); font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs__item + .crumbs__item::before { content: "/"; margin: 0 8px; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }

/* ---------- Статья ---------- */
.article {
	background: var(--sheet); border: 1px solid var(--rule);
	padding: 36px 48px 40px;
}
.article > * { max-width: var(--measure); }
.article > table, .article > .toc, .article > .index { max-width: none; }

.article__title {
	font-family: var(--font-ui); font-weight: 700; font-size: 34px; line-height: 1.15;
	letter-spacing: -0.015em; margin: 0 0 18px;
}
.article h2 { font-family: var(--font-ui); font-weight: 600; font-size: 23px; line-height: 1.25; margin: 34px 0 10px; }
.article h3 { font-family: var(--font-ui); font-weight: 600; font-size: 18px; margin: 24px 0 8px; }
.article p { margin: 0 0 12px; }
.article ul, .article ol { margin: 0 0 14px; padding-left: 24px; }
.article li { margin-bottom: 5px; }
.article li::marker { color: var(--sec); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); }
code { font-size: 0.88em; background: var(--paper); padding: 1px 5px; border: 1px solid var(--rule); }

.article table {
	width: 100%; border-collapse: collapse; margin: 8px 0 18px;
	font-family: var(--font-ui); font-size: 14.5px; line-height: 1.45;
	display: block; overflow-x: auto;
}
.article table tbody, .article table thead { width: 100%; }
.article th, .article td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.article thead th { border-bottom: 2px solid var(--sec); font-weight: 600; background: var(--paper); }
.article tbody tr:nth-child(even) td { background: #f9fafb; }
.article td:first-child { font-weight: 500; }

.warning {
	border-left: 4px solid var(--c-first-aid); background: #fdf3f3;
	padding: 14px 18px; margin: 0 0 22px; font-size: 16px;
}
.placeholder { border: 2px dashed var(--rule); padding: 12px 16px; color: var(--ink-soft); }

.sources {
	margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--rule);
	font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
}
.sources h3 { font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.sources ol { padding-left: 20px; }
.sources li::marker { color: var(--ink-soft); }

/* Оглавление раздела */
.toc { list-style: none; padding: 0 !important; margin: 26px 0 0 !important; border-top: 1px solid var(--rule); font-family: var(--font-ui); }
.toc > li { border-bottom: 1px solid var(--rule); padding: 12px 0; margin: 0; }
.toc > li > a { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); border-left: 4px solid var(--sec); padding-left: 12px; }
.toc > li > a:hover { color: var(--sec); }
.toc ul { list-style: none; padding: 6px 0 0 16px !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toc ul a { font-size: 15px; }

/* ---------- Главная: указатель разделов ---------- */
.layout--home .article { padding-top: 44px; }
.home-intro { font-size: 20px; line-height: 1.55; max-width: 60ch; margin-bottom: 30px; }
.index { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.index-tab { --tab: var(--c-neutral); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0 20px 18px; font-family: var(--font-ui); }
.index-tab[data-section="computer"]  { --tab: var(--c-computer); }
.index-tab[data-section="auto"]      { --tab: var(--c-auto); }
.index-tab[data-section="electrics"] { --tab: var(--c-electrics); }
.index-tab[data-section="landscape"] { --tab: var(--c-landscape); }
.index-tab[data-section="first-aid"] { --tab: var(--c-first-aid); }
.index-tab h2 { margin: 0 0 10px !important; font-size: 20px !important; }
.index-tab h2 a {
	display: block; padding: 14px 0 10px; color: var(--ink); text-decoration: none;
	border-top: 6px solid var(--tab);
}
.index-tab h2 a:hover { color: var(--tab); }
.index-tab ul { list-style: none; padding: 0 !important; margin: 0 !important; font-size: 15px; }
.index-tab li { margin: 0 0 4px; }
.index-tab li a { color: var(--ink-soft); text-decoration: none; }
.index-tab li a:hover { color: var(--tab); text-decoration: underline; }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--sheet); font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-soft); }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer__note { max-width: 70ch; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1000px) {
	.site-header__inner { flex-wrap: wrap; gap: 12px 20px; }
	.nav-toggle { display: block; }
	.lang { order: 2; }
	.nav-top { order: 3; flex-basis: 100%; display: none; }
	.nav-top.is-open { display: block; }
	.nav-top__list { flex-direction: column; }
	.layout--with-side { grid-template-columns: minmax(0, 1fr); }
	.side { order: 2; }
	.side__list { position: static; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.layout { padding: 16px 12px 40px; gap: 20px; }
	.article { padding: 22px 18px 28px; }
	.article__title { font-size: 27px; }
	.article h2 { font-size: 20px; }
	.brand__tagline { display: none; }
}

@media print {
	.site-header, .side, .crumbs, .site-footer, .skip { display: none !important; }
	body { background: #fff; font: 10pt/1.3 "Times New Roman", serif; }
	.layout { display: block; padding: 0; }
	.article { border: 0; padding: 0; }
	.article > * { max-width: none; }
	.article__title { font-size: 14pt; }
	.article h2 { font-size: 12pt; margin-top: 10pt; }
	.article table { display: table; font: 9pt/1.3 "Times New Roman", serif; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
/* ART-VOLUME brand logo */
.site-header .brand__name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	white-space: nowrap;
}

.site-header .brand__name::before {
	content: "";
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	background: url("/logo.ico") center / contain no-repeat;
}

/* End */
/* /local/templates/artvolume/styles.css?1793205432179 */
/* /local/templates/artvolume/template_styles.css?179558288911496 */
