/*
Theme Name: ВДПО: местное отделение
Description: Тема сайтов местных отделений ВДПО и ДПО Ленинградской области. Эмблема, название и контакты задаются в настройках сайта; слайдер, баннеры и фото руководителя — в «Доп. настройках» (ACF); новости, анонсы, поздравления, контакты и каталог с заявкой (плагин vdpo-catalog).
Version: 2.4.1
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vdpolocal
*/

@font-face { font-family: Akrobat; src: url(assets/fonts/Akrobat-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Akrobat; src: url(assets/fonts/Akrobat-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Akrobat; src: url(assets/fonts/Akrobat-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bebas Neue VDPO"; src: url(assets/fonts/BebasNeueBold.woff) format("woff"); font-display: swap; }

:root {
	--navy: #081f3b;
	--blue: #174e8f;
	--blue-deep: #0f3a6e;
	--orange: #f26522;
	--orange-dark: #d4501a;
	--ink: #1b2836;
	--muted: #586676;
	--mist: #f1f4f8;
	--line: #dbe2ea;
	--paper: #fff;
	--error: #b42318;
	--gutter: clamp(16px, 4vw, 48px);
	--measure: 860px;
	--text: Akrobat, Arial, sans-serif;
	--display: "Bebas Neue VDPO", "Arial Narrow", Arial, sans-serif;
	--stripe: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--navy) 16px 32px);
	--shadow: 0 16px 38px rgba(8, 31, 59, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.5 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--orange-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
p { margin: 0 0 .8em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .96; color: var(--navy); }
main { display: block; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(44px, 6vw, 84px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--flush { padding-top: 0; }
/* Два блока одного фона подряд: отступы не складываются (было 84 + 84 px — выглядело как дыра).
   Между блоками разного фона отступы остаются: границу и так видно по цвету. */
.section:not(.section--mist):not(.section--navy) + .section:not(.section--mist):not(.section--navy) { padding-top: 0; }
/* Два серых блока подряд (партнёры и контакты с формой): тонкая линия по ширине контента и умеренный отступ
   с обеих сторон — без линии они сливаются в один блок, с полными отступами получается дыра. */
.section--mist:has(+ .section--mist) { padding-bottom: clamp(32px, 3.4vw, 48px); }
.section--mist + .section--mist {
	padding-top: clamp(32px, 3.4vw, 48px);
	background-image: linear-gradient(#c5cfdb, #c5cfdb);
	background-repeat: no-repeat;
	background-position: 50% 0;
	background-size: calc(min(1240px, 100%) - 2 * var(--gutter)) 1px;
}
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px; clip: auto; clip-path: none; background: var(--paper); color: var(--navy); font-weight: 700; box-shadow: var(--shadow); }

.kicker { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.title { margin: 0 0 clamp(18px, 2.6vw, 32px); font-size: clamp(36px, 5vw, 60px); }
.lead { max-width: 42em; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(18px, 2.6vw, 30px); }
.head-row .title { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }
.empty { padding: 28px; background: var(--mist); font-size: 18px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: 2px; background: none; font: 700 17px/1.1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--line { border-color: var(--line); color: var(--navy); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }

/* ── Шапка ─────────────────────────────────────────── */
.util { background: var(--navy); color: #c9d4e2; font-size: 15px; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.util a { color: #fff; text-decoration: none; }
.util a:hover { color: #ffb28a; }
.util__phone b { font-weight: 700; }
.util__right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.util__bvi { display: inline-flex; align-items: center; gap: 8px; }
.util__bvi svg { width: 18px; height: 18px; }
.soc { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.soc img { display: block; width: 22px; height: 22px; }
.soc a { display: block; border-radius: 4px; transition: transform .15s; }
.soc a:hover { transform: translateY(-2px); }
.soc--big { gap: 12px; }
.soc--big img { width: 42px; height: 42px; }

.brand { background: var(--paper); }
.brand .wrap { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); padding-block: clamp(12px, 1.8vw, 18px); }
.brand__logo { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); color: inherit; text-decoration: none; }
.brand__logo:hover { color: inherit; }
.brand__logo img { display: block; flex: none; width: auto; height: clamp(56px, 6.4vw, 80px); }
.brand__logo p { margin: 0; }
.brand__type { font-size: clamp(12px, 1.05vw, 14px); line-height: 1.2; color: var(--muted); }
/* Bebas оставляет под заглавными больше места, чем над ними: плотнее к отделению, свободнее от строки над названием. */
.brand__name { margin-block: 6px -1px !important; font-family: var(--display); font-size: clamp(21px, 2.4vw, 32px); line-height: .86; color: var(--navy); }
.brand__branch { font-size: clamp(13px, 1.25vw, 17px); font-weight: 600; line-height: 1.15; color: var(--blue); }
.brand__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 2px; background: none; color: var(--navy); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--mist); color: var(--blue); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn__count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font: 700 12px/20px var(--text); text-align: center; }
.icon-btn__count:empty { display: none; }
.rescue { margin-left: 14px; padding-left: 18px; border-left: 1px solid var(--line); text-align: right; line-height: 1; }
.rescue span { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.rescue a { font-family: var(--display); font-size: 32px; color: var(--orange); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; }

/* Панель поиска в шапке. Не .search: этот класс WordPress ставит на body страницы результатов. */
.search-panel { display: none; border-top: 1px solid var(--line); background: var(--mist); }
.search-panel.is-open { display: block; }
.search-panel .search-form { padding-block: 14px; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font: 18px var(--text); color: var(--ink); }

/* Меню: разметка wp_nav_menu (menu-item-has-children, sub-menu, current-menu-*) */
.nav { position: relative; z-index: 30; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.nav__list, .nav .sub-menu { margin: 0; padding: 0; list-style: none; }
.nav__list { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.2vw, 32px); }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; gap: 8px; padding-block: 15px; font-size: 17px; font-weight: 700; color: var(--navy); text-decoration: none; }
.nav__list > li > a:hover { color: var(--blue); }
.nav__list > .current-menu-item > a,
.nav__list > .current-menu-ancestor > a,
.nav__list > .current-menu-parent > a,
.nav__list > .current_page_parent > a,
.nav__list > .current-page-ancestor > a { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); }
.nav__list > .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s, margin .15s; }
.nav__list > li:hover > a::after, .nav__list > li:focus-within > a::after { margin-top: 3px; transform: rotate(225deg); }
.nav .sub-menu { position: absolute; z-index: 20; top: 100%; left: -18px; min-width: 280px; padding: 8px 0; background: var(--paper); border-top: 3px solid var(--orange); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__list > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: -18px; }
.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 20px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; }
.nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { background: var(--mist); color: var(--blue); }
.nav .sub-menu .sub-menu { position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; opacity: 1; visibility: inherit; transform: none; }
.nav .sub-menu .sub-menu a { padding-block: 6px; font-size: 15px; color: var(--muted); }
.nav__search { display: none; }

.crumbs { padding-block: 14px 0; font-size: 15px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-inline: 10px; color: #a9b4c0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.page-head { padding-block: clamp(14px, 2vw, 22px) clamp(24px, 3vw, 36px); }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); overflow-wrap: break-word; }
.page-head .lead { margin: 14px 0 0; }
.page-head .lead p:last-child { margin: 0; }

/* ── Подвал ────────────────────────────────────────── */
.foot { background: var(--navy); color: #c9d4e2; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #ffb28a; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 32px clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px); }
.foot__grid--3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand img { flex: none; width: 54px; height: auto; }
.foot__brand img.is-opaque { background: #fff; padding: 4px; }
.foot__brand p { margin: 0; }
.foot__name { margin-bottom: 4px !important; font-family: var(--display); font-size: 24px; line-height: 1; color: #fff; }
.foot__branch { font-size: 15px; line-height: 1.3; }
.foot__addr { margin-top: 18px !important; font-size: 16px; line-height: 1.4; }
.foot h2 { margin-bottom: 14px; font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; color: #8fa3bd; }
.foot__list { margin: 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.35; }
.foot__list li + li { margin-top: 10px; }
.foot__list small { display: block; font-size: 14px; color: #8fa3bd; }
.foot .soc { flex-wrap: wrap; gap: 10px; }
.foot .soc img { width: 34px; height: 34px; }
.foot__rescue { display: flex; gap: 18px; }
.foot__rescue a { font-family: var(--display); font-size: 44px; line-height: 1; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; font-size: 14px; }

/* ── Главная ───────────────────────────────────────── */
/* Слайдер: в общей ширине страницы; текст слева, картинка справа целиком (поверх её размытой копии).
   Слайд без текста — одна картинка. Высота у всех слайдов одна, чтобы страница не прыгала. */
.hero-slider { padding-top: clamp(16px, 2.4vw, 28px); }
.slider { position: relative; overflow: hidden; height: clamp(360px, 36vw, 450px); background: var(--navy); color: #fff; }
.slide { display: none; height: 100%; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.slide.is-active, .slider:not(.is-ready) .slide:first-child { display: grid; }
.slide--image { grid-template-columns: minmax(0, 1fr); }
.slide__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(28px, 3.4vw, 48px); padding-bottom: 88px; border-left: 6px solid var(--orange); }
.slide h2 { font-size: clamp(32px, 3.4vw, 50px); color: #fff; overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slide__text { margin: 14px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; color: #dbe4ef; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide .btn { align-self: flex-start; margin-top: 22px; }
.slide__media { position: relative; display: block; min-width: 0; overflow: hidden; background: var(--blue-deep); }
.slide__media::before { content: ""; position: absolute; inset: -30px; background: var(--slide-bg) center / cover no-repeat; filter: blur(22px) brightness(.55); }
.slide__media img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.slider__ctrl { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 6px; background: rgba(8, 31, 59, .72); }
.slider__dots { display: flex; gap: 6px; padding-inline: 6px; }
.slider__dots button { width: 26px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--orange); }
.slider__count { margin: 0; padding-inline: 8px; font-size: 16px; color: #c9d4e2; white-space: nowrap; }
.slider__count b { color: #fff; }
.slider__arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.slider__arrow:hover { background: #fff; color: var(--navy); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.tile svg { width: 40px; height: 40px; color: var(--orange); }
.tile b { padding-right: 24px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: .98; color: var(--navy); }
.tile span { font-size: 16px; line-height: 1.35; color: var(--muted); }
.tile::after { content: "→"; position: absolute; right: 20px; top: 22px; font-size: 22px; color: var(--blue); }

/* Карточки новостей */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 28px) clamp(16px, 2vw, 24px); }
.card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__img--empty { display: grid; place-items: center; }
.card__img--empty img { width: auto; height: 46%; object-fit: contain; opacity: .35; filter: grayscale(1); }
.card:hover .card__img--empty img { transform: none; }
.card__body { padding: 16px 0 0; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.chip { display: inline-block; padding: 3px 10px; background: var(--mist); color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
a.chip:hover { background: var(--blue); color: #fff; }
.card h2, .card h3 { font-family: var(--text); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--navy); overflow-wrap: break-word; }
.card:hover h2, .card:hover h3 { color: var(--blue); }
.card p { margin: 8px 0 0; font-size: 16px; line-height: 1.4; color: var(--muted); }

/* Анонсы и поздравления */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.event:hover { box-shadow: var(--shadow); color: var(--ink); }
.event__date { display: grid; place-items: center; align-content: center; height: 92px; background: var(--blue); color: #fff; text-align: center; }
.event__date b { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: .9; }
.event__date span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.event--past .event__date { background: #8a97a6; }
.event h2, .event h3 { font-family: var(--text); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.event p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.event .chip { margin-top: 10px; }
.congrat { position: relative; overflow: hidden; display: grid; align-items: end; min-height: 260px; margin-top: 20px; background: var(--navy); color: #fff; text-decoration: none; }
.congrat:hover { color: #fff; }
.congrat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.congrat__body { position: relative; padding: clamp(24px, 3vw, 40px); }
.congrat .kicker { color: #ffb28a; }
.congrat h2, .congrat h3 { font-size: clamp(34px, 4vw, 52px); color: #fff; }
.congrat p { margin: 12px 0 0; max-width: 40em; font-size: 18px; color: #dbe4ef; }
.congrat small { display: block; margin-top: 14px; font-size: 16px; font-weight: 700; color: #ffb28a; }
.congrat--page { min-height: clamp(360px, 50vw, 560px); margin: 0; }
.congrat--page .congrat__body { max-width: 900px; padding-block: clamp(40px, 6vw, 80px); }
.congrat--page .entry { color: #fff; }
.congrat--page .entry a { color: #ffb28a; }

/* Руководитель и обратная связь */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.duo--single { grid-template-columns: minmax(0, 760px); }
.leader { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.leader--nophoto { grid-template-columns: 1fr; }
.leader img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.leader h3 { margin: 0 0 6px; font-size: 34px; }
.leader p { margin: 0 0 14px; font-size: 17px; color: var(--muted); }
.leader__status { margin: 0 0 4px !important; }
.leader__contacts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.leader__contacts a { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.leader__contacts a:hover { color: var(--blue); }
.leader__contacts svg { flex: none; width: 20px; height: 20px; color: var(--orange); }

/* Важные разделы и партнёры */
.banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.banner { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.banner:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--blue); }
.banner img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--mist); }
.banner__title { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.banner img.banner__img--dark { background: var(--navy); }
.banner__title::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid var(--orange-dark); border-right: 2px solid var(--orange-dark); transform: rotate(45deg); margin-right: 2px; }
/* Длинный заголовок слайда (события, новости): мельче и до шести строк — не обрывается многоточием. */
.slide--long h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1; -webkit-line-clamp: 6; }

/* ── Ленты и записи ────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.chips a { padding: 8px 14px; border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips small { font-weight: 600; opacity: .65; }
.pagination { margin-top: clamp(28px, 4vw, 44px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); text-decoration: none; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-numbers.dots { border-color: transparent; }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }

/* Новости, страницы, поиск: на всю ширину общего контейнера, как шапка и меню. */
.reading { max-width: none; }
.reading .entry > *, .reading .wpcf7 { max-width: none; }
.section--article { padding-top: 0; }
.reading > .crumbs { padding-bottom: clamp(14px, 2vw, 22px); }
.reading > .page-head { padding-top: 0; }
.search-page__form { margin-bottom: 28px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; font-size: 16px; color: var(--muted); }
.article h1 { font-size: clamp(40px, 5.4vw, 68px); overflow-wrap: break-word; }
.article__cover { margin: clamp(22px, 3vw, 32px) 0; }
.article__cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.article > .entry { margin-top: clamp(22px, 3vw, 32px); }
.article__cover + .entry { margin-top: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.share img { display: block; width: 32px; height: 32px; }
.results { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.results li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.results h2 { font-family: var(--text); font-size: 21px; font-weight: 700; line-height: 1.3; }
.results h2 a { color: var(--navy); text-decoration: none; }
.results h2 a:hover { color: var(--blue); }
.results p { margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.results .card__meta { margin: 0 0 6px; }
.not-found { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(20px, 3vw, 36px); }
.not-found__main { display: grid; gap: 18px; }
.not-found__main .title, .not-found__main .lead { margin: 0; }
.not-found__code { margin: 0; font-family: var(--display); font-size: clamp(110px, 16vw, 200px); line-height: .8; color: var(--orange); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.not-found__links { padding: 24px; background: var(--mist); border-top: 4px solid var(--blue); }
.not-found__links h2 { margin-bottom: 12px; font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.not-found__links ul { margin: 0; padding: 0; list-style: none; }
.not-found__links li + li { border-top: 1px solid var(--line); }
.not-found__links a { display: flex; justify-content: space-between; padding: 12px 0; font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; }
.not-found__links a::after { content: "→"; color: var(--blue); }
.not-found__links a:hover { color: var(--blue); }

/* ── Текст записей и страниц ───────────────────────── */
.entry { font-size: 19px; line-height: 1.6; overflow-wrap: break-word; }
.entry > * { max-width: var(--measure); }
.entry > .alignwide { max-width: 1144px; }
.entry > .alignfull { max-width: none; margin-inline: calc(50% - 50vw); }
.entry::after { content: ""; display: table; clear: both; }
.entry p:empty { display: none; }
.entry h1, .entry h2, .entry h3 { margin: 1.4em 0 .5em; }
.entry h1 { font-size: clamp(36px, 4.4vw, 52px); }
.entry h2 { font-size: clamp(32px, 3.6vw, 44px); }
.entry h3 { font-size: clamp(26px, 2.8vw, 34px); }
.entry h4, .entry h5, .entry h6 { margin: 1.3em 0 .4em; font-size: 20px; line-height: 1.3; color: var(--navy); }
.entry > :first-child { margin-top: 0; }
.entry ul, .entry ol { margin: 0 0 1em; padding-left: 1.4em; }
.entry li + li { margin-top: .3em; }
.entry li::marker { color: var(--orange); }
.entry blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); color: var(--navy); }
.entry hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.entry img { height: auto; }
.entry figure { margin: 1.4em 0; }
.entry figcaption, .entry .wp-caption-text { margin-top: 8px; font-size: 15px; color: var(--muted); }
.entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry .aligncenter { display: block; margin-inline: auto; }
.entry .wp-caption { max-width: 100%; }
.entry iframe, .entry video, .entry embed, .entry object { max-width: 100%; }
.entry table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 17px; line-height: 1.4; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th, .entry thead td { background: var(--mist); color: var(--navy); }
.entry .wp-block-table { overflow-x: auto; }
.entry .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--line); font-size: 17px; }
.entry .wp-block-file a:not(.wp-block-file__button) { flex: 1; min-width: 0; font-weight: 700; text-decoration: none; }
.entry .wp-block-file .wp-block-file__button { padding: 8px 16px; border-radius: 2px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.entry .wp-block-button__link { border-radius: 2px; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--orange-dark); color: #fff; }
.entry .wp-block-embed__wrapper iframe { width: 100%; }
.embed-link { margin: 1.4em 0; }
.embed-link a { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 14px 18px 14px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); text-decoration: none; }
.embed-link a:hover { border-color: var(--blue); color: var(--blue); }
.embed-link i { display: grid; flex: none; place-items: center; width: 48px; height: 48px; background: var(--orange); color: #fff; font-style: normal; font-size: 18px; }
.embed-link span { display: grid; min-width: 0; font-weight: 700; line-height: 1.3; }
.embed-link small { overflow: hidden; font-size: 14px; font-weight: 400; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.embed-link__caption { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.entry .gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; margin: 1.4em 0; }
.entry .gallery-columns-2 { --cols: 2; }
.entry .gallery-columns-4 { --cols: 4; }
.entry .gallery-columns-5, .entry .gallery-columns-6 { --cols: 5; }
.entry .gallery-item { margin: 0; }
.entry .gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry .gallery br { display: none; }
.entry .wp-block-gallery { margin-block: 1.4em; }

/* Страницы со старой разметкой Bootstrap (панели на 11.vdpo78.ru) */
.entry .panel { margin: 0 0 20px; border: 1px solid var(--line); background: var(--paper); }
.entry .panel-heading { padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.entry .panel-title { margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.3; }
.entry .panel-body { padding: 16px; }
.entry .panel-footer { padding: 10px 16px; border-top: 1px solid var(--line); background: var(--mist); }
.entry .panel-primary > .panel-heading { background: var(--blue); color: #fff; }
.entry .panel-danger > .panel-heading, .entry .panel-warning > .panel-heading { background: var(--orange); color: #fff; }
.entry .panel-primary > .panel-heading a, .entry .panel-danger > .panel-heading a, .entry .panel-warning > .panel-heading a { color: #fff; }
.entry .row { display: flex; flex-wrap: wrap; gap: 20px; }
.entry .row > [class*="col-"] { flex: 1 1 260px; min-width: 0; }

/* Формы (Contact Form 7 и поля в тексте) */
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--navy); }
.entry input[type="text"], .entry input[type="email"], .entry input[type="tel"], .entry input[type="url"], .entry input[type="number"], .entry input[type="date"], .entry input[type="search"], .entry select, .entry textarea,
.field input, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font: 17px var(--text); color: var(--ink);
}
.entry textarea, .field textarea { min-height: 140px; resize: vertical; }
/* Своя стрелка вместо системной: отступ от края как у текста */
.entry select:not([multiple]):not([size]) {
	-webkit-appearance: none; appearance: none; padding-right: 48px; text-overflow: ellipsis; cursor: pointer;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23174e8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 14px 9px;
}
.entry select optgroup { font-weight: 700; color: var(--navy); }
.entry select option { font-weight: 400; color: var(--ink); }
.entry input:focus, .entry select:focus, .entry textarea:focus, .field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(23, 78, 143, .15); }
.entry input[type="submit"], .entry button[type="submit"] { min-height: 50px; padding: 12px 28px; border: 0; border-radius: 2px; background: var(--orange); color: #fff; font: 700 17px/1.1 var(--text); letter-spacing: .02em; cursor: pointer; }
.entry input[type="submit"]:hover, .entry button[type="submit"]:hover { background: var(--orange-dark); }
.entry input[type="checkbox"], .entry input[type="radio"] { width: 20px; height: 20px; accent-color: var(--blue); vertical-align: -4px; }
.wpcf7 { max-width: var(--measure); }
.wpcf7 form > p, .wpcf7 form > div { margin: 0 0 14px; }
.wpcf7 label { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { margin-top: 4px; font-size: 14px; color: var(--error); }
.wpcf7-list-item { margin: 0 16px 0 0; }
.wpcf7-acceptance .wpcf7-list-item-label, .wpcf7-list-item-label { font-size: 15px; font-weight: 400; color: var(--muted); }
/* Согласие на обработку данных: флажок в одну линию с первой строкой текста. */
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.4; cursor: pointer; }
.wpcf7-acceptance input[type="checkbox"] { margin: 1px 0 0; vertical-align: 0; cursor: pointer; }
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border: 2px solid var(--line); font-size: 16px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--error); }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d32; }
.wpcf7-spinner { vertical-align: middle; }
/* Форма «Обратная связь» из старой темы: заголовок даёт сама страница. */
.feedback > .title { display: none; }
.feedback .inputs-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.feedback .inputs-group > p { display: contents; }
.feedback .inputs-group br, .feedback-form br { display: none; }
.feedback-form textarea { margin-bottom: 12px; }
.feedback .clear { display: none; }

/* ── Контакты ──────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.info { margin: 0; padding: 0; list-style: none; }
.info li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.info svg { width: 30px; height: 30px; color: var(--orange); }
.info small { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info b, .info a { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.info a:hover { color: var(--blue); }
.contacts__more { margin-top: 24px; }
.contacts__more .entry { font-size: 17px; }
.contacts__soc { margin: 28px 0 14px; font-size: 32px; }
.contacts__leader { margin-top: 24px; }
.contacts__map iframe, .contacts__map ymaps, .contacts__map > .entry > div { display: block; width: 100% !important; max-width: none; }
/* Карта (iframe из конструктора) — на всю высоту колонки с контактами, высота из кода вставки не важна. */
.contacts { align-items: stretch; }
.contacts__map { display: flex; flex-direction: column; }
.contacts__map > .entry { display: flex; flex: 1; flex-direction: column; }
.contacts__map iframe { flex: 1; height: auto; min-height: clamp(320px, 40vw, 460px); border: 0; }
.contacts__map .entry > * { max-width: none; }
.map-link { display: grid; place-items: center; min-height: 340px; background: var(--mist); text-align: center; }
.map-link div { padding: 18px 22px; background: var(--paper); box-shadow: var(--shadow); }

/* ── Каталог (плагин vdpo-catalog) ─────────────────── */
.vdpo-catalog { --vdpo-radius: 2px; }
.has-header-cart .vdpo-chip { display: none !important; }

/* ── Страницы услуг из блоков (шаблон «Страница услуги», заготовки «ВДПО: страницы услуг») ──
   Разделы — блоки «Группа» на всю ширину с классами hero, section, docs, call; внутренний контейнер группы служит полями страницы. */
.landing, .svc-main { --icon-doc: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 d=%22M6 2.8h8l4 4v14.4H6zM14 2.8v4h4M9 12h6M9 15.5h6M9 9h2%22/%3E%3C/svg%3E"); --icon-shield: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 d=%22M12 2.8l7.5 3v5.6c0 4.7-3.2 8.2-7.5 9.8-4.3-1.6-7.5-5.1-7.5-9.8V5.8z%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22 d=%22M8.6 12.1l2.4 2.4 4.4-4.6%22/%3E%3C/svg%3E"); --icon-car: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 d=%22M3.5 16.5v-4.3L5.8 7h12.4l2.3 5.2v4.3zM3.5 12.2h17%22/%3E%3Ccircle cx=%227.5%22 cy=%2216.8%22 r=%221.9%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2216.5%22 cy=%2216.8%22 r=%221.9%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); --icon-map: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 d=%22M12 21s-6.5-6.2-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 14.8 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%229.8%22 r=%222.4%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
	--icon-house: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linejoin=%22round%22 d=%22M6 22L24 7l18 15M10 19v22h28V19M20 41V29h8v12M32 9v6%22/%3E%3C/svg%3E"); --icon-flats: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linejoin=%22round%22 d=%22M9 41V7h20v34M29 17h10v24M5 41h38M14 13h4M22 13h2M14 20h4M22 20h2M14 27h4M22 27h2M33 24h2M33 31h2M16 41v-6h6v6%22/%3E%3C/svg%3E"); --icon-boiler: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linejoin=%22round%22 d=%22M5 41h38M8 41V22l10 6v-6l10 6v-6l10 6v13M34 22V6h6v19%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22 d=%22M14 34h4M24 34h4%22/%3E%3C/svg%3E"); --icon-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M4 12.5l5 5L20 6.5%22/%3E%3C/svg%3E"); --icon-phone: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23000%22 d=%22M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z%22/%3E%3C/svg%3E"); }
.landing > *, .landing .wp-block-group { margin-block: 0; }
.landing > :not(.wp-block-group), .landing > .wp-block-group > .wp-block-group__inner-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.landing > .wp-block-group:not(.hero):not(.call):not(.section) { padding-block: clamp(28px, 4vw, 48px); }
.landing p { margin: 0 0 .8em; }
.landing .lead { margin-bottom: 0; }
.landing .wp-block-image { margin: 0; }
.landing .wp-block-image img { display: block; width: 100%; height: auto; }
.landing .wp-block-list { margin: 0; padding: 0; list-style: none; }
.landing .wp-block-list strong { display: block; }
.landing .wp-block-buttons { gap: 14px; }
.landing .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: 2px; background: var(--orange); color: #fff; font: 700 17px/1.1 var(--text); letter-spacing: .02em; text-decoration: none; }
.landing .wp-block-button__link:hover { background: var(--orange-dark); color: #fff; }
.landing .is-style-outline .wp-block-button__link { border-color: rgba(255, 255, 255, .75); background: none; color: #fff; }
.landing .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.landing .is-phone .wp-block-button__link::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon-phone) center / contain no-repeat; mask: var(--icon-phone) center / contain no-repeat; }
.split > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.docs > .wp-block-group__inner-container, .split:has(.faq) > .wp-block-group__inner-container, .split:has(.files) > .wp-block-group__inner-container { align-items: start; }

/* Первый экран */
.hero { position: relative; overflow: hidden; background: linear-gradient(112deg, var(--blue) 0%, var(--blue) 40%, var(--blue-deep) 100%); color: #fff; }
.hero--akt::before { content: "АКТ"; position: absolute; right: -.04em; bottom: -.22em; font-family: var(--display); font-size: clamp(200px, 34vw, 560px); line-height: 1; color: #fff; opacity: .05; pointer-events: none; }
.hero > .wp-block-group__inner-container { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 84px); }
.hero h1 { font-size: clamp(48px, 7.4vw, 100px); line-height: .92; color: #fff; }
.hero h1 em { font-style: normal; color: #ffb28a; }
.hero .hero__lead { max-width: 30em; margin: clamp(18px, 2.4vw, 26px) 0 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.35; }
.hero .hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 24px 0 0; font-size: 18px; color: #c9d7ea; }
.hero__price strong { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 54px); line-height: 1; color: #fff; }
.hero .hero__actions { margin-top: 26px; }
.facts.wp-block-list { padding: clamp(22px, 2.6vw, 32px); background: rgba(8, 31, 59, .55); border-left: 4px solid var(--orange); }
.facts li { display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; padding-block: 12px; font-size: 16px; color: #c9d7ea; }
.facts li + li { border-top: 1px solid rgba(255, 255, 255, .15); }
.facts li::before { content: ""; grid-row: span 2; width: 34px; height: 34px; background: var(--orange); -webkit-mask: var(--icon, var(--icon-check)) center / contain no-repeat; mask: var(--icon, var(--icon-check)) center / contain no-repeat; }
.facts li:nth-child(4n+1) { --icon: var(--icon-doc); }
.facts li:nth-child(4n+2) { --icon: var(--icon-shield); }
.facts li:nth-child(4n+3) { --icon: var(--icon-car); }
.facts li:nth-child(4n+4) { --icon: var(--icon-map); }
.facts strong { font-size: 20px; line-height: 1.2; color: #fff; }

/* Причины и объекты */
.reasons.wp-block-list { display: flex; flex-wrap: wrap; gap: 16px; counter-reset: reason; }
.reasons li { flex: 1 1 200px; padding: 24px 22px 22px; border: 1px solid var(--line); border-top: 4px solid var(--blue); counter-increment: reason; font-size: 17px; line-height: 1.4; }
.reasons li::before { content: counter(reason, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--orange); }
.objects.wp-block-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(24px, 3vw, 40px); }
.objects li { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; align-items: center; padding: 20px 22px; background: var(--navy); color: #c9d4e2; font-size: 16px; }
.objects li::before { content: ""; grid-row: span 2; width: 46px; height: 46px; background: var(--orange); -webkit-mask: var(--icon, var(--icon-house)) center / contain no-repeat; mask: var(--icon, var(--icon-house)) center / contain no-repeat; }
.objects li:nth-child(3n+2) { --icon: var(--icon-flats); }
.objects li:nth-child(3n+3) { --icon: var(--icon-boiler); }
.objects strong { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; color: #fff; }

/* Документ и этапы */
.photo { position: relative; }
.photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 12px; background: var(--stripe); }
.steps.wp-block-list { margin-top: 26px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; padding-bottom: 22px; counter-increment: step; font-size: 17px; color: var(--muted); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; background: var(--blue); color: #fff; font-family: var(--display); font-size: 30px; line-height: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--line); }
.steps strong { padding-top: 4px; font-size: 20px; line-height: 1.25; color: var(--navy); }

/* Тёмная плашка с документами */
.docs { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.docs::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--stripe); }
.docs .title { color: #fff; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 19px; line-height: 1.35; }
.checklist li::before { content: ""; width: 28px; height: 28px; background: var(--orange); -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat; }
.warning { padding: clamp(24px, 3vw, 36px); background: var(--orange); color: #fff; }
.landing .warning p { margin: 0; font-size: 18px; line-height: 1.45; }
.landing .warning .warning__title { margin-bottom: 10px; font-family: var(--display); font-size: clamp(34px, 3.6vw, 46px); line-height: .95; }

/* Услуги с ценами */
.services > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.service > .wp-block-group__inner-container { display: flex; flex: 1; flex-direction: column; }
.service .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.service h3 { margin: 18px 20px 8px; font-size: 28px; }
.landing .service p { margin: 0 20px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.landing .service .service__price { margin-top: auto; padding-top: 12px; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--orange); }
.landing .service .service__order { margin: 14px 20px 20px; }
.service__order a { display: flex; align-items: center; justify-content: center; min-height: 50px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }
.service__order a:hover { background: var(--blue-deep); color: #fff; }

/* Вопросы, образец, звонок, документы */
.faq { border-top: 2px solid var(--navy); }
.faq details, .acc { border-bottom: 1px solid var(--line); }
.faq summary, .acc summary { position: relative; padding: 20px 52px 20px 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq summary::after, .acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; background: var(--mist); color: var(--blue); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after, .acc[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.landing .faq details p { margin: 0 0 22px; max-width: 46em; font-size: 18px; color: var(--muted); }
.acc { margin-top: 24px; border-top: 1px solid var(--line); }
.acc > :not(summary) { font-size: 16px; line-height: 1.55; color: var(--muted); }
.landing .acc > .wp-block-list { margin: 0 0 14px; padding-left: 1.3em; list-style: disc; }
.acc > .wp-block-list li + li { margin-top: 6px; }
.landing .acc > :last-child { margin-bottom: 18px; }
.sample { padding: clamp(14px, 2vw, 22px); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sample figcaption { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.call { position: relative; overflow: hidden; background: linear-gradient(112deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.call::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--stripe); }
.call > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(40px, 5vw, 64px); }
.call h2 { font-size: clamp(40px, 5vw, 60px); color: #fff; }
.landing .call p { margin: 10px 0 0; font-size: 19px; color: #c9d7ea; }
.landing .call .call__phone { margin: 0; font-family: var(--display); font-size: clamp(44px, 5.6vw, 72px); line-height: 1; }
.call__phone a { color: #fff; text-decoration: none; white-space: nowrap; }
.call__phone a:hover { color: #ffb28a; }
.files li + li { margin-top: 10px; }
.files a { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); font-size: 16px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.files a:hover { border-color: var(--blue); color: var(--ink); }
.files a::before { content: "FILE"; display: grid; place-items: center; height: 44px; background: var(--mist); color: var(--blue); font: 700 13px/1 var(--text); }
.files a[href$=".pdf" i]::before { content: "PDF"; }
.files a[href$=".doc" i]::before { content: "DOC"; }
.files a[href$=".docx" i]::before { content: "DOCX"; }
.files a[href$=".xls" i]::before, .files a[href$=".xlsx" i]::before { content: "XLS"; }
.files a[href$=".zip" i]::before { content: "ZIP"; }

/* ── Адаптив ───────────────────────────────────────── */
@media (max-width: 1100px) {
	.foot__grid, .foot__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.util__right .soc, .rescue { display: none; }
	.menu-btn { display: grid; }
	/* Меню спрятано вместе со своей рамкой, поэтому шапку отделяет своя линия. */
	.brand { border-bottom: 1px solid var(--line); }
	.nav { display: none; border-top: 0; }
	.nav.is-open { display: block; }
	.nav__search { display: flex; gap: 6px; padding-block: 12px 4px; }
	.nav__search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; font: 17px var(--text); }
	.nav__search .icon-btn { background: var(--blue); color: #fff; }
	.nav__list { flex-direction: column; padding-block: 6px; }
	.nav__list > li + li { border-top: 1px solid var(--line); }
	.nav__list > .menu-item-has-children > a::after { display: none; }
	.nav__list > li > a { padding-block: 13px; }
	.nav .sub-menu { position: static; min-width: 0; padding: 0 0 10px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.nav .sub-menu a { padding: 7px 0; font-size: 16px; color: var(--muted); }
	.nav .sub-menu a:hover { background: none; }
	.cards, .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.slider { height: auto; }
	.slide { height: auto; grid-template-columns: minmax(0, 1fr); }
	.slide__media { order: -1; aspect-ratio: 16 / 9; }
	.slide__body { padding: 22px 20px 76px; border-left: 0; border-top: 5px solid var(--orange); }
	.not-found { grid-template-columns: minmax(0, 1fr); }
	.duo, .contacts, .hero > .wp-block-group__inner-container, .split > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
	.services > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contacts__map { position: static; }
	.objects.wp-block-list { grid-template-columns: minmax(0, 1fr); }
	.entry .gallery { --cols: 2; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.util__phone span { display: none; }
	.brand__type { display: none; }
	.brand .wrap { gap: 8px; }
	.brand__logo { flex: 1; gap: 10px; min-width: 0; }
	.brand__logo > div { flex: 1; min-width: 0; container-type: inline-size; }
	.brand__logo img { height: 50px; }
	/* Размер названия по ширине текстового блока: самая длинная первая строка в сети
	   («Добровольная пожарная охрана», 11,2 em шрифта Bebas) помещается целиком, название — в две строки. */
	.brand__name { margin: 0 0 1px !important; font-size: 16px; font-size: clamp(13px, 8.8cqi, 18px); line-height: 1; }
	/* Отделение тоже по ширине блока: на узком экране мельче, чтобы уложиться в две строки. */
	.brand__branch { font-size: 12px; font-size: clamp(10.5px, 6.7cqi, 12.5px); line-height: 1.15; }
	.brand__tools { gap: 0; }
	.brand__tools [data-search] { display: none; }
	.icon-btn { width: 40px; height: 40px; }
	.cards, .events, .foot__grid, .foot__grid--3 { grid-template-columns: minmax(0, 1fr); }
	.banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.banner__title { padding: 10px; font-size: 15px; }
	.leader { grid-template-columns: 110px 1fr; padding: 18px; }
	.leader--nophoto { grid-template-columns: 1fr; }
	.leader h3 { font-size: 28px; }
	.hero-slider .wrap { padding-inline: 0; }
	.slide h2 { font-size: 30px; }
	.hero .wp-block-button, .hero .wp-block-button__link { width: 100%; justify-content: center; }
	.services > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
	.reasons li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-top-width: 1px; border-left: 4px solid var(--blue); }
	.reasons li::before { margin: 0; font-size: 34px; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips a { white-space: nowrap; }
	.entry { font-size: 17px; }
	.entry .alignleft, .entry .alignright { float: none; margin: 1em 0; }
	.entry table { display: block; overflow-x: auto; }
	.event { grid-template-columns: 70px 1fr; gap: 14px; padding: 16px; }
	.event__date { height: 78px; }
	.event__date b { font-size: 38px; }
}
@media (max-width: 360px) {
	.brand__logo { gap: 8px; }
	.brand__logo img { height: 44px; }
	.icon-btn { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
	.util, .brand__tools, .nav, .search-panel, .slider__ctrl, .foot, .share, .crumbs { display: none !important; }
}

/* ── Головные сайты: мозаика плиток, карта районов, отделения, сотрудники, заставка, вкладки ── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; }
.bt { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px 24px; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.bt:hover { color: #fff; }
.bt > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bt:hover > img { transform: scale(1.04); }
.bt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 31, 59, 0) 25%, rgba(8, 31, 59, .9) 100%); }
.bt__label { align-self: flex-start; margin-bottom: auto; padding: 4px 10px; background: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bt h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: .98; color: #fff; }
.bt__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; background: rgba(255, 255, 255, .14); font-size: 20px; transition: background-color .2s; }
.bt:hover .bt__go, .bt:focus-visible .bt__go { background: var(--orange); }
.bt--xl { grid-column: span 6; grid-row: span 2; }
.bt--xl h3 { font-size: clamp(34px, 3.4vw, 54px); }
.bt--w { grid-column: span 6; }
.bt--t { grid-column: span 4; }
.bt--m { grid-column: span 3; }
.bt--news { justify-content: flex-start; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--orange); color: var(--ink); }
.bt--news::after { display: none; }
.bt--news:hover { color: var(--ink); }
.bt--news .kicker { margin: 0; }
.bt--news h3 { color: var(--navy); }
.bt--news ol { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.bt--news li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.3; }
.bt--news li time { font-size: 14px; color: var(--muted); }
/* Плитка фиксированной высоты: заголовок новости в одну строку, чтобы три новости помещались с отступом снизу. */
.bt--news li b { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; color: var(--navy); }
.bt--news .bt__go { color: var(--blue); background: var(--mist); }
.bt--news:hover .bt__go { color: #fff; }
.bt--video { background: radial-gradient(circle at 70% 30%, var(--blue) 0%, var(--navy) 70%); }
.bt--video > img { opacity: .55; }
.bt__play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -46px 0 0 -36px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 10px rgba(242, 101, 34, .25); transition: transform .2s; }
.bt__play::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -7px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.bt--video:hover .bt__play { transform: scale(1.08); }
.bt__dur { position: absolute; top: 18px; left: 22px; padding: 3px 8px; background: rgba(0, 0, 0, .35); font-size: 13px; font-weight: 700; }
/* Афиша: картинка со своим текстом целиком, подпись — под ней на синей полосе. */
.bt--card { justify-content: flex-start; padding: 0; }
.bt--card::after { display: none; }
.bt--card > img { position: static; z-index: auto; flex: 1; min-height: 0; }
.bt--card:hover > img { transform: none; }
.bt--card h3 { padding: 9px 14px 11px; font-size: clamp(16px, 1.15vw, 19px); line-height: 1; border-top: 4px solid var(--orange); }
.bt--card .bt__label { position: absolute; top: 14px; left: 14px; margin: 0; }
/* Подписи афиш в одном ряду — одной высоты (под две строки), иначе картинки над ними идут лесенкой. */
@media (min-width: 641px) { .bt--card h3 { flex: none; min-height: calc(2em + 24px); } }

.map-block { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.vmap { position: relative; margin: 0; padding: 12px; background: var(--mist); border: 1px solid var(--line); }
.vmap svg { display: block; width: 100%; height: auto; overflow: visible; }
.vmap path { fill: #d9e2ec; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s; }
.vmap path.has-site { fill: #bccde0; cursor: pointer; }
.vmap path.is-hover { fill: var(--orange); }
.vmap__labels text { font: 700 22px var(--text); fill: var(--navy); text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255, 255, 255, .8); stroke-width: 3px; }
.vmap figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: right; }
.vmap__tip { position: absolute; z-index: 2; padding: 6px 10px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; transform: translate(-50%, -140%); white-space: nowrap; }
.rlist { columns: 2; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
.rlist li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.rlist a, .rlist span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 17px; font-weight: 700; color: var(--navy); text-decoration: none; }
.rlist a::after { content: "→"; margin-left: auto; color: var(--blue); }
.rlist a:hover, .rlist a.is-hover { color: var(--orange-dark); }
.rlist span { color: var(--muted); font-weight: 600; }
.rlist small { font-weight: 400; font-size: 13px; color: var(--muted); }
.rlist span small, .rlist a small { margin-left: auto; }

.branches, .people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.branch, .person { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); }
.branch > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.person > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.branch__body, .person__body { display: grid; align-content: start; gap: 6px; padding: 18px 20px 20px; }
.branch h2 { font-size: 28px; }
.person h3 { font-size: 26px; }
.branch p, .person__role { margin: 0; font-size: 15px; line-height: 1.35; color: var(--muted); }
.branch ul, .person ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.branch ul a, .person ul a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.branch ul a:hover, .person ul a:hover { color: var(--orange-dark); }
.branch ul svg, .person ul svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.branch .btn { margin-top: 10px; justify-self: start; }

.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: #fff; transition: opacity .4s; }
.intro[hidden] { display: none; }
.intro.is-closing { opacity: 0; }
html.has-intro { overflow: hidden; }
.intro__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); }
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.intro.is-playing video { opacity: 1; }
.intro.is-playing .intro__start { opacity: 0; pointer-events: none; }
.intro__start { position: relative; display: grid; justify-items: center; gap: 18px; max-width: 640px; padding: 24px; text-align: center; transition: opacity .3s; }
.intro__start img { width: 120px; height: auto; }
.intro__start p { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb28a; }
.intro__start h2 { font-size: clamp(36px, 5vw, 60px); color: #fff; }
.intro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.intro__bar { position: absolute; right: 24px; bottom: 24px; display: none; gap: 8px; }
.intro.is-playing .intro__bar { display: flex; }
.intro__bar button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(8, 31, 59, .55); color: #fff; font: 700 15px var(--text); cursor: pointer; }
.intro__bar button:hover, .intro__bar button:focus-visible { background: #fff; color: var(--navy); }
.intro:focus { outline: none; }
.intro__progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); }

.vbox { width: min(1100px, 100% - 32px); max-width: none; padding: 0; border: 0; background: #000; }
.vbox::backdrop { background: rgba(8, 31, 59, .85); }
.vbox video { display: block; width: 100%; max-height: 80vh; }
.vbox button { position: absolute; top: 8px; right: 8px; z-index: 1; min-height: 40px; padding: 0 14px; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font: 700 15px var(--text); cursor: pointer; }

.tabs { margin: 1.5em 0; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs__tab { min-height: 46px; padding: 8px 18px; border: 2px solid var(--line); background: var(--paper); color: var(--navy); font: 700 17px/1.2 var(--text); cursor: pointer; }
.tabs__tab[aria-selected="true"] { border-color: var(--orange); background: var(--orange); color: #fff; }
.tabs__tab:hover { border-color: var(--orange); }
.tabs__list:not(.is-ready) { display: none; }
.tabs__panel { margin-bottom: 24px; }
.tabs__panel--two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tabs__panel--two .tabs__title { grid-column: 1 / -1; }
.tabs__list.is-ready ~ .tabs__panel .tabs__title { display: none; }
.tabs__img { display: block; width: 100%; height: auto; }
.tabs__text > :first-child { margin-top: 0; }

@media (max-width: 1100px) {
	.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.bt--xl, .bt--w { grid-column: span 6; }
	.bt--m, .bt--t { grid-column: span 3; }
	.branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.map-block { grid-template-columns: minmax(0, 1fr); }
	.people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(190px, auto); gap: 12px; }
	.bt--xl, .bt--w, .bt--m, .bt--t { grid-column: auto; grid-row: auto; }
	.bt--xl { min-height: 300px; }
	.bt--card > img { flex: none; height: 220px; }
	.bt--news li b { -webkit-line-clamp: 2; }
	.branches { grid-template-columns: minmax(0, 1fr); }
	.rlist { columns: 1; }
	.tabs__panel--two { grid-template-columns: minmax(0, 1fr); }
	.intro__bar { left: 12px; right: 12px; bottom: 12px; justify-content: center; flex-wrap: wrap; }
}
@media print {
	.intro, .vmap { display: none !important; }
}

/* ── Шапка головного сайта: вторая эмблема, председатель справа, меню — синяя полоса ── */
.util__rescue span { color: #c9d4e2; }
.util__rescue b { color: #ffb28a; font-weight: 700; letter-spacing: .02em; }
.site-header--head .brand .wrap { padding-block: clamp(14px, 2vw, 22px); }
.site-header--head .brand__logo img { height: clamp(60px, 7vw, 96px); }
/* Название в две строки, как было: «Всероссийское добровольное / пожарное общество». Строки делит шапка
   (vdpolocal_two_lines), блок сжимается по самой длинной — вторая эмблема стоит от текста как первая. */
.site-header--head .brand__name { max-width: 10.6em; font-size: clamp(22px, 2.6vw, 36px); text-wrap: balance; }
@media (min-width: 641px) { .site-header--head .brand__name { max-width: none; white-space: nowrap; } }
/* Оптическая компенсация: герб СПб уже и легче (тонкий факел, ленты), при той же высоте кажется мельче
   эмблемы ВДПО — делаем его на 12% выше, отрицательные поля не дают строке шапки вырасти. */
.brand__second { display: block; flex: none; width: auto; height: calc(clamp(60px, 7vw, 96px) * 1.12); margin-block: calc(clamp(60px, 7vw, 96px) * -.06); }
.chief { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; max-width: 430px; margin-left: auto; padding: 14px 20px 14px 14px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); border-left: 4px solid var(--orange); color: #fff; }
.chief img { display: block; width: 84px; height: 84px; object-fit: cover; object-position: top; border: 2px solid rgba(255, 255, 255, .7); }
.chief p { margin: 0; }
.chief__role { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb28a; }
.chief__name { margin: 4px 0 6px !important; font-family: var(--display); font-size: 27px; line-height: .95; }
.chief__links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.chief__links a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; white-space: nowrap; }
.chief__links a:hover { color: #ffb28a; }
.chief__links svg { width: 16px; height: 16px; color: #ffb28a; }
/* На компьютере поиск и заявка — в полосе меню: блок кнопок у эмблемы убран целиком, иначе пустой элемент
   добавляет зазор справа от карточки председателя. */
.site-header--head .brand__tools { display: none; }

.nav--bar { border: 0; background: var(--blue); }
.nav--bar .wrap { display: flex; align-items: stretch; }
.nav--bar .nav__list { flex: 1; gap: 0; margin-left: -12px; }
.nav--bar .nav__list > li > a { height: 100%; padding: 16px 12px; font-size: 16px; color: #fff; }
.nav--bar .nav__list > li > a:hover, .nav--bar .nav__list > li:focus-within > a { background: rgba(255, 255, 255, .12); color: #fff; }
.nav--bar .nav__list > .current-menu-item > a,
.nav--bar .nav__list > .current-menu-ancestor > a,
.nav--bar .nav__list > .current-menu-parent > a,
.nav--bar .nav__list > .current_page_parent > a,
.nav--bar .nav__list > .current-page-ancestor > a { color: #fff; box-shadow: inset 0 -4px 0 var(--orange); }
.nav--bar .nav__list > li > .sub-menu { left: 0; }
.nav--bar .nav__list > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.nav__tools { display: flex; margin-left: auto; }
.nav__tool { position: relative; display: grid; place-items: center; width: 56px; border: 0; border-left: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; cursor: pointer; text-decoration: none; }
.nav__tool:hover, .nav__tool[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.nav__tool svg { width: 22px; height: 22px; }
.nav__tool .icon-btn__count { top: 8px; right: 8px; }
.contacts-more { margin-top: 22px; }

@media (max-width: 1240px) {
	.nav--bar .nav__list { margin-left: -9px; }
	.nav--bar .nav__list > li > a { padding-inline: 9px; font-size: 15px; }
}
@media (max-width: 1100px) {
	.chief { grid-template-columns: 64px minmax(0, 1fr); max-width: 360px; }
	.chief img { width: 64px; height: 64px; }
	.chief__name { font-size: 23px; }
	.brand__second { height: calc(clamp(56px, 6vw, 72px) * 1.12); margin-block: calc(clamp(56px, 6vw, 72px) * -.06); }
}
@media (max-width: 960px) {
	.site-header--head .brand .wrap { flex-wrap: wrap; }
	.site-header--head .brand__tools { display: flex; margin-left: auto; }
	.site-header--head .brand__tools [data-search] { display: grid; }
	.chief { order: 5; flex: 1 1 100%; max-width: none; margin: 0; padding: 10px 14px 10px 10px; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
	.chief img { width: 52px; height: 52px; }
	.chief__name { margin: 2px 0 4px !important; font-size: 21px; }
	.nav--bar { background: var(--paper); }
	.nav--bar .wrap { display: block; }
	.nav--bar .nav__list { margin-left: 0; }
	.nav--bar .nav__list > li > a { height: auto; padding: 13px 0; color: var(--navy); }
	.nav--bar .nav__list > li > a:hover, .nav--bar .nav__list > li:focus-within > a { background: none; color: var(--blue); }
	.nav--bar .nav__list > .current-menu-item > a { color: var(--blue); box-shadow: none; }
	.nav__tools { display: none; }
}
@media (max-width: 640px) {
	.util__rescue span, .site-header--head .util__bvi { font-size: 0; }
	.site-header--head .util__bvi svg { width: 20px; height: 20px; }
	.brand__second { display: none; }
	.chief__role { font-size: 11px; }
	.chief__links { font-size: 14px; }
}
@media print {
	.chief, .nav__tools { display: none !important; }
}

/* ── Первый экран «об отделении»: кто мы, кнопки, справа лицензии и аккредитация ── */
.about { padding-block: clamp(28px, 3.9vw, 56px) clamp(8px, 1.1vw, 16px); }
.about + .section { padding-top: clamp(36px, 4.4vw, 64px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.about__grid--single { grid-template-columns: minmax(0, 1fr); }
.about__title { font-size: clamp(34px, 3.6vw, 52px); line-height: .95; }
.about__text { max-width: 44em; margin: 14px 0 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink); }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.about__facts { display: grid; margin: 0; padding: 0; list-style: none; border-left: 4px solid var(--orange); }
.about__facts li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); }
.about__facts li:last-child { border-bottom: 0; }
.about__facts b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; color: var(--navy); }
.about__facts span { font-size: 15px; line-height: 1.3; color: var(--muted); }
.about__facts a { color: var(--blue); }

/* ── «Для жителей района» (местное отделение): три карточки с фото ── */
.dir-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dir-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dir-cards--2 .dir { aspect-ratio: 16 / 8; }
.dir-cards--1 { grid-template-columns: minmax(0, 1fr); }
.dir-cards--1 .dir { aspect-ratio: 16 / 5; }
.dir { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; }
.dir img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dir:hover img { transform: scale(1.04); }
.dir::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 31, 59, 0) 30%, rgba(8, 31, 59, .92)); }
.dir__body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; display: grid; gap: 4px; }
.dir__body b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.dir__body span { font-size: 15px; line-height: 1.35; color: #dbe4ef; }
.dir:hover, .dir:focus-visible { color: #fff; }

/* ── Услуги: карточки с ценой и сроком, фильтр по группам ── */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--navy); font: 700 15px var(--text); cursor: pointer; }
.pill:hover { border-color: var(--blue); }
.pill[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.svc[hidden], .svc-group[hidden] { display: none; }
.svc__ico svg { width: 30px; height: 30px; color: var(--orange); }
.svc__aud { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.svc h3 { font-size: 25px; line-height: 1; }
.svc p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.svc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.svc__price { font-size: 18px; font-weight: 700; color: var(--navy); }
.svc__price--ask { font-size: 16px; color: var(--blue); }
.svc__term { font-size: 14px; color: var(--muted); }
.svc-group + .svc-group { margin-top: 30px; }
.svc-group h2 { margin-bottom: 14px; font-size: 32px; }
.note-small { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ── Форма «Задать вопрос» (Contact Form 7, разметка class="vform") ── */
.vform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 24px; background: var(--paper); }
.vform__full { grid-column: 1 / -1; }
.vform p { margin: 0; }
.vform br { display: none; }
.vform label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--navy); }
.vform .wpcf7-acceptance label { display: grid; margin: 0; font-weight: 400; }
.vform input[type="submit"] { min-width: 200px; }
.section--mist .wpcf7 { max-width: none; }

@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
	.about__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dir-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.about__facts li { grid-template-columns: 112px minmax(0, 1fr); }
	.dir-cards { grid-template-columns: minmax(0, 1fr); }
	.dir-cards .dir { aspect-ratio: 16 / 10; }
	.pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.pill { flex: none; }
	.svc-grid { grid-template-columns: minmax(0, 1fr); }
	.vform { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.vform input[type="submit"] { width: 100%; }
}
/* Афиша в мозаике, пока без картинки: подпись внизу, как у остальных плиток. */
.bt--card:not(:has(> img)) { justify-content: flex-end; }

/* ── Каталог: карточка услуги со ссылкой на страницу и кнопкой «В заявку» ── */
.svc { position: relative; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc__link::after { content: ""; position: absolute; inset: 0; }
.svc:focus-within { border-color: transparent; box-shadow: var(--shadow); }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vdpo-grid .svc { height: 100%; }

/* ── Страница услуги (шаблон vdpo-catalog/single.php) ── */
.svc-hero { padding-block: clamp(10px, 2vw, 22px) clamp(28px, 4vw, 48px); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-hero h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: .95; overflow-wrap: break-word; }
.svc-hero__lead { margin: 16px 0 0; max-width: 36em; font-size: 20px; line-height: 1.45; }
.svc-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 22px 0 0; padding: 0; list-style: none; }
.svc-hero__meta small { display: block; font-size: 13px; color: var(--muted); }
.svc-hero__meta b { font-size: 21px; color: var(--navy); }
.svc-card-aside { display: grid; gap: 12px; padding: 24px; background: var(--navy); color: #fff; }
.svc-card-aside p { margin: 0; color: #c9d4e2; }
.svc-card-aside .btn.is-added { background: #fff; color: var(--navy); }
.btn--line-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--line-light:hover { border-color: #fff; background: #fff; color: var(--navy); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-body--single { grid-template-columns: minmax(0, 1fr); }
.svc-main { min-width: 0; }
.svc-main > :first-child { margin-top: 0; }
.svc-side { position: sticky; top: 20px; display: grid; gap: 14px; }
.side-box { padding: 20px; background: var(--mist); }
.side-box > b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--navy); }
.side-box p { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.side-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.35; color: var(--muted); }
.side-facts span { display: block; font-weight: 700; color: var(--navy); }

/* Корзина-заявка плагина в цветах темы */
.vdpo-catalog, .vdpo-chip { --vdpo-accent: var(--orange); --vdpo-accent-dark: var(--orange-dark); --vdpo-focus: var(--orange); --vdpo-border: var(--line); --vdpo-surface: var(--mist); --vdpo-muted: var(--muted); }

@media (max-width: 960px) {
	.svc-hero__grid, .svc-body { grid-template-columns: minmax(0, 1fr); }
	.svc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-side { position: static; }
}
@media (max-width: 640px) {
	.svc-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.svc-hero__lead { font-size: 18px; }
}

/* ── Страница услуги v3: акценты, быстрый расчёт, разделы текста ── */
.svc-hero__meta b.is-accent { color: #2e7d32; }
.svc-hero__pluses { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.svc-hero__pluses li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.svc-hero__pluses svg { flex: none; width: 22px; height: 22px; color: var(--orange); }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.svc-hero__actions .btn.is-added { border-color: var(--navy); background: var(--navy); }
.quick { display: grid; gap: 12px; }
.quick__title { font-family: var(--display); font-size: 32px; font-weight: 400; line-height: 1; }
.quick .field { margin: 0; }
.quick .field label { margin-bottom: 4px; font-size: 14px; color: #c9d4e2; }
.quick input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 2px; font: 17px var(--text); color: var(--ink); }
.quick__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quick__error { margin: 0; padding: 8px 12px; background: rgba(255, 255, 255, .1); color: #ffb28a !important; font-size: 15px; }
.quick__done { margin: 0; padding: 14px; background: rgba(255, 255, 255, .12); color: #fff !important; font-weight: 700; }
.consent--light { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.35; color: #c9d4e2; cursor: pointer; }
.consent--light input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
.consent--light a { color: #fff; }
.aside-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); color: #fff; text-decoration: none; }
.aside-phone svg { flex: none; width: 26px; height: 26px; color: var(--orange); }
.aside-phone span { display: grid; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }
.aside-phone small { margin-bottom: 4px; font-family: var(--text); font-size: 13px; color: #c9d4e2; }
.aside-phone:hover { color: #ffb28a; }
.svc-section { padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }

/* Разделы текста услуги — блоки редактора с классами */
.svc-main > h2, .svc-main .wp-block-heading { margin: 38px 0 14px; font-size: clamp(30px, 3vw, 38px); }
.svc-main > h2:first-child { margin-top: 0; }
.svc-main p { max-width: 46em; }
.svc-main ul.ticks { margin: 0 0 8px; padding: 0; list-style: none; }
.svc-main ul.ticks li { position: relative; margin: 0; padding: 6px 0 6px 32px; font-size: 18px; line-height: 1.4; }
.svc-main ul.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; background: var(--orange); -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat; }
.svc-main ul.deliver { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-main ul.deliver li { position: relative; margin: 0; padding: 52px 18px 18px; background: var(--mist); font-size: 15px; line-height: 1.4; color: var(--muted); }
.svc-main ul.deliver li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; background: var(--blue); -webkit-mask: var(--icon-doc) center / contain no-repeat; mask: var(--icon-doc) center / contain no-repeat; }
.svc-main ul.deliver strong { display: block; margin-bottom: 4px; font-size: 18px; color: var(--navy); }
.svc-main ol.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.svc-main ol.flow li { position: relative; margin: 0; padding: 50px 18px 18px; background: var(--mist); font-size: 15px; line-height: 1.4; color: var(--muted); counter-increment: s; }
.svc-main ol.flow li::before { content: counter(s); position: absolute; top: 12px; left: 18px; font-family: var(--display); font-size: 32px; line-height: 1; color: var(--orange); }
.svc-main ol.flow strong { display: block; margin-bottom: 4px; font-size: 18px; color: var(--navy); }
.svc-main .wp-block-table.price { margin: 0; overflow-x: auto; }
.svc-main .price table { min-width: 460px; margin: 0; border: 0; font-size: 17px; }
.svc-main .price th, .svc-main .price td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.svc-main .price thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: none; }
.svc-main .price tbody tr:nth-child(odd) { background: var(--mist); }
.svc-main .price td { font-weight: 700; color: var(--navy); }
.svc-main .price td:not(:first-child), .svc-main .price th:not(:first-child) { text-align: right; white-space: nowrap; }
.svc-main .price em { font-style: normal; color: #2e7d32; }
.svc-main .note-small { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.svc-main .wp-block-details { margin: 0; border-bottom: 1px solid var(--line); }
.svc-main .wp-block-details summary { padding: 14px 0; font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer; }
.svc-main .wp-block-details p { margin: 0 0 14px; }
.svc-main .wp-block-gallery { margin-top: 18px; }

/* ── Страница заявки v3 (шаблоны vdpo-catalog/request-page.php и request.php) ── */
.req { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.req__title { margin: 0 0 14px; font-size: 32px; }
.vdpo-catalog.vdpo-request ul.vdpo-lines.vdpo-lines { display: grid; gap: 10px; margin: 0 0 16px; }
.vdpo-catalog.vdpo-request ul.vdpo-lines li.vdpo-line { grid-template-columns: minmax(0, 1fr) auto 80px auto; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); }
.vdpo-catalog.vdpo-request .vdpo-line__title { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1; color: var(--navy); }
.vdpo-catalog.vdpo-request .vdpo-line__price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.vdpo-catalog.vdpo-request .vdpo-qty { font-size: 12px; color: var(--muted); }
.vdpo-catalog.vdpo-request .vdpo-qty input { min-height: 40px; border-radius: 2px; }
.vdpo-catalog.vdpo-request .vdpo-line__remove { color: var(--muted); font-size: 14px; }
.vdpo-catalog.vdpo-request .vdpo-total { margin: 0 0 14px; font-size: 20px; color: var(--navy); }
.req__form { position: sticky; top: 20px; display: grid; gap: 12px; padding: 26px; background: var(--navy); color: #fff; }
.req__form-title { font-family: var(--display); font-size: 32px; font-weight: 400; line-height: 1; }
.req__form > p { margin: 0; color: #c9d4e2; }
.req__pair { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; }
.vdpo-catalog .req__form .vdpo-field label { font-size: 14px; color: #c9d4e2; }
.vdpo-catalog .req__form .vdpo-field label small { color: #9fb0c4; }
.vdpo-catalog .req__form .vdpo-field input:not([type="checkbox"]), .vdpo-catalog .req__form .vdpo-field textarea { border: 0; border-radius: 2px; }
.vdpo-catalog .req__form .vdpo-field__error, .vdpo-catalog .req__form .vdpo-form__error { color: #ffb28a; }
.req-empty { display: grid; justify-items: start; gap: 10px; max-width: 640px; padding: 26px; background: var(--mist); }
.req-empty b, .req-empty [data-vdpo-done-title] { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; color: var(--navy); }
.req-empty p { margin: 0; }
@media (max-width: 960px) {
	.req { grid-template-columns: minmax(0, 1fr); }
	.req__form { position: static; }
}
@media (max-width: 640px) {
	.vdpo-catalog.vdpo-request ul.vdpo-lines li.vdpo-line { grid-template-columns: minmax(0, 1fr) auto; }
	.req__pair { grid-template-columns: minmax(0, 1fr); }
	.aside-phone span { font-size: 26px; }
}
