/* 21.11.2026: оформление блоков главной из админки («Настройки → Главная страница»): свой фон и цвета текста.
   Классы ставит common\models\HomeBlock::cls(), цвета — style="--hb-…" (HomeBlock::attr()). Без настроек ничего не меняется. */
.lux .sec-custom { background: var(--hb-bg) !important; }
.lux .sec-custom.lux-why, .lux .sec-custom .lux-why__panel { background: var(--hb-bg) !important; }

.lux .hb-c-title :is(h1, h2, h3, h4, .lux-h, .home-title, .lux-num b, .lux-geo__num, .flow__h, .lux-extra2__t, .home-direction__name) { color: var(--hb-title) !important; }
.lux .hb-c-accent :is(.lux-h em, .home-title em, .flow__h em, h2 em, h3 em) { color: var(--hb-accent) !important; }
.lux .hb-c-accent :is(.lux-h, .home-title)::after { background: var(--hb-accent) !important; }
.lux .hb-c-accent .lux-circled { color: var(--hb-accent) !important; }
.lux .hb-c-text :is(p, li, small, .lux-sub, .home-head p, .lux-num span, .lux-geo__cap, .lux-geo__eyebrow, .lux-faq__a, summary, .home-event__lead) { color: var(--hb-text) !important; }

/* ответы FAQ после правки в редакторе приходят абзацами */
.lux .lux-faq__a p { margin: 0 0 .6em; }
.lux .lux-faq__a p:last-child { margin-bottom: 0; }

/* отзывы: фото в кружке */
.lux .home-review__ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.lux .rv-form__note:empty { display: none; }

/* 22.11.2026: первый экран — своё затемнение поверх видео (цвет --hb-shade «r,g,b», сила --hb-shade-a 0…0.8), рисунок как в макете */
.lux-hero.hb-shade .lux-hero__shade {
	background:
		linear-gradient(95deg, rgba(var(--hb-shade), var(--hb-shade-a)) 0%, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .5)) 42%, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .1)) 75%),
		linear-gradient(180deg, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .45)) 0%, rgba(var(--hb-shade), 0) 24%, rgba(var(--hb-shade), 0) 70%, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .75)) 100%);
}
@media (max-width: 767.98px) {
	.lux-hero.hb-shade .lux-hero__shade {
		background: linear-gradient(180deg, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .8)) 0%, rgba(var(--hb-shade), 0) 20%, rgba(var(--hb-shade), 0) 40%, rgba(var(--hb-shade), calc(var(--hb-shade-a) * .9)) 62%, rgba(var(--hb-shade), calc(var(--hb-shade-a) * 1.25)) 100%);
	}
}
/* первый экран: свои цвета заголовка, акцента и текста */
.lux-hero.hb-c-title .lux-hero__title { color: var(--hb-title) !important; }
.lux-hero.hb-c-accent .lux-hero__title .l2, .lux-hero.hb-c-accent .lux-hero__title .lux-circled { color: var(--hb-accent) !important; }
.lux-hero.hb-c-text :is(.lux-hero__text, .lux-hero__facts li) { color: var(--hb-text) !important; }
/* надпись над заголовком с форматированием: ссылки — цветом надписи */
.lux-hero__kicker a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* 22.11.2026: плашка предпросмотра черновиков (?preview=) */
.hb-pv { position: fixed; left: 16px; bottom: 16px; z-index: 2147483000; max-width: calc(100vw - 32px); padding: 10px 44px 10px 14px; border-radius: 12px;
	background: #fde68a; color: #0b1f3a; font: 500 14px/1.4 Montserrat, Arial, sans-serif; box-shadow: 0 10px 30px rgba(11, 31, 58, .3); }
.hb-pv--bad { background: #fecaca; padding-right: 14px; }
.hb-pv__links { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-left: 6px; }
.hb-pv a { color: #0b1f3a; text-decoration: underline; }
.hb-pv a.is-active { font-weight: 700; text-decoration: none; }
.hb-pv__x { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: rgba(11, 31, 58, .12); color: #0b1f3a; font-size: 18px; line-height: 1; cursor: pointer; }
.hb-pv.is-min { padding: 6px 40px 6px 12px; }
.hb-pv.is-min .hb-pv__links { display: none; }
