/* Web Rose: палитра и секции поверх темы 1Fix.me Theme */

:root {
	--wr-plum: #53366d;
	--wr-plum-deep: #3a2350;
	--wr-violet: #69289b;
	--wr-magenta: #861e71;
	--wr-pink: #fb48b5;
	--wr-lilac: #dcafff;
	--wr-blush: #fce5f3;
	--wr-ivory: #fdf9fd;
	--wr-ink: #2b1f36;
	--wr-muted: #6d5f79;
	--wr-radius: 18px;
	--wr-shadow: 0 18px 40px -22px rgb(83 54 109 / 45%);

	/* Палитра темы */
	--background-primary: var(--wr-ivory);
	--background-secondary: #fff;
	--background-accent: var(--wr-blush);
	--foreground-primary: var(--wr-ink);
	--foreground-secondary: var(--wr-plum);
	--foreground-accent: var(--wr-magenta);

	/* Шапка */
	--desktop-header-background-color: #fff;
	--desktop-header-text-color: var(--wr-plum);
	--desktop-header-submenu-background-color: #fff;
	--desktop-header-submenu-border-color: var(--wr-blush);
	--mobile-header-background-color: #fff;
	--mobile-header-text-color: var(--wr-plum);
	--menu-toggle-background-color: var(--wr-blush);
	--menu-toggle-icon-color: var(--wr-plum);

	/* Мобильное меню */
	--mobile-menu-background-color: var(--wr-blush);
	--mobile-menu-text-color: var(--wr-plum-deep);
	--mobile-menu-item-background-color: var(--wr-plum);
	--mobile-menu-item-border-color: var(--wr-plum-deep);
	--mobile-menu-item-text-color: #fff;
	--mobile-submenu-background-color: #fff;
	--mobile-submenu-item-text-color: var(--wr-plum-deep);

	/* Подвал */
	--footer-background-color: var(--wr-blush);
	--footer-text-color: var(--wr-plum-deep);
}

body {
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: var(--wr-ivory);
	color: var(--wr-ink);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	color: var(--wr-plum);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

a {
	color: var(--wr-magenta);
}

a:hover {
	color: var(--wr-pink);
}

.site-header {
	box-shadow: 0 1px 0 rgb(83 54 109 / 8%);
	position: relative;
	z-index: 20;
}

.site-footer {
	margin-top: 0;
}

.site-footer a {
	color: var(--wr-plum-deep);
}

/* Контейнер внутренних страниц */
.container {
	background: transparent;
	box-shadow: none;
	padding: 40px 20px 64px;
}

body.home .site-main.container,
body.wr-wide .site-main.container {
	max-width: none;
	padding: 0;
}

/* Кнопки */
.wr-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wr-btn--primary {
	background: var(--wr-pink);
	color: #fff;
}

.wr-btn--primary:hover {
	background: var(--wr-magenta);
	color: #fff;
	transform: translateY(-1px);
}

.wr-btn--ghost {
	background: transparent;
	color: var(--wr-plum);
	border-color: var(--wr-plum);
}

.wr-btn--ghost:hover {
	background: var(--wr-plum);
	color: #fff;
}

/* Секции */
.wr-section {
	padding: 72px 20px;
}

.wr-section--soft {
	background: var(--wr-blush);
}

.wr-section--plum {
	background: linear-gradient(135deg, var(--wr-plum-deep), var(--wr-plum) 60%, var(--wr-violet));
	color: #f5e9fb;
}

.wr-section--plum h2,
.wr-section--plum h3 {
	color: #fff;
}

.wr-inner {
	max-width: 1180px;
	margin: 0 auto;
}

.wr-narrow {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.wr-eyebrow {
	margin: 0 0 14px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wr-magenta);
}

.wr-section--plum .wr-eyebrow {
	color: var(--wr-lilac);
}

.wr-title {
	margin: 0 0 18px;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.wr-lead {
	font-size: 1.15rem;
	color: var(--wr-muted);
	max-width: 62ch;
}

.wr-section--plum .wr-lead {
	color: #e4d0f1;
}

/* Hero */
.wr-hero {
	background: radial-gradient(1200px 500px at 85% -10%, var(--wr-blush), transparent 60%), var(--wr-ivory);
	padding: 64px 20px 72px;
}

.wr-hero .wr-inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
}

.wr-hero h1 {
	font-size: clamp(2rem, 4.4vw, 3.3rem);
	margin: 0 0 20px;
}

.wr-hero h1 em {
	font-style: normal;
	color: var(--wr-magenta);
}

.wr-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.wr-hero__media img,
.wr-media img {
	width: 100%;
	display: block;
	border-radius: var(--wr-radius);
	box-shadow: var(--wr-shadow);
}

.wr-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.wr-hero__badges li {
	background: #fff;
	border: 1px solid rgb(83 54 109 / 14%);
	color: var(--wr-plum);
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.92rem;
}

/* Мысль «сайт ≠ клиенты» */
.wr-contrast {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 36px;
}

.wr-contrast > div {
	background: #fff;
	border-radius: var(--wr-radius);
	padding: 26px;
	box-shadow: var(--wr-shadow);
}

.wr-contrast h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.wr-contrast p {
	margin: 0;
	color: var(--wr-muted);
}

/* Карточки услуг */
.wr-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin-top: 36px;
}

.wr-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border-radius: var(--wr-radius);
	background: #fff;
	text-decoration: none;
	color: var(--wr-ink);
	border: 1px solid rgb(83 54 109 / 10%);
	box-shadow: var(--wr-shadow);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.wr-card:hover {
	transform: translateY(-3px);
	border-color: var(--wr-pink);
	color: var(--wr-ink);
}

.wr-card__num {
	font-weight: 700;
	color: var(--wr-pink);
	letter-spacing: 0.08em;
}

.wr-card__title {
	margin: 0;
	font-size: 1.2rem;
	color: var(--wr-plum);
}

.wr-card__text {
	margin: 0;
	color: var(--wr-muted);
	flex: 1;
}

.wr-card__more {
	color: var(--wr-magenta);
	font-weight: 600;
}

.wr-card__more::after {
	content: ' →';
}

/* Подход */
.wr-steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 22px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.wr-steps li {
	counter-increment: step;
	position: relative;
	padding: 26px 24px 24px;
	background: rgb(255 255 255 / 8%);
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: var(--wr-radius);
}

.wr-steps li::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--wr-pink);
	color: #fff;
	font-weight: 700;
}

.wr-steps strong {
	display: block;
	margin-bottom: 6px;
	color: #fff;
	font-size: 1.1rem;
}

/* Двухколоночный блок */
.wr-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.wr-split--reverse .wr-media {
	order: -1;
}

.wr-split--reverse .wr-split__text {
	order: 1;
}

.wr-checks {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.wr-checks li {
	position: relative;
	padding: 8px 0 8px 32px;
}

.wr-checks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 13px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wr-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Видео */
.wr-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--wr-radius);
	overflow: hidden;
	box-shadow: var(--wr-shadow);
	background: var(--wr-plum-deep);
}

.wr-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Призыв */
.wr-cta {
	text-align: center;
}

.wr-cta .wr-lead {
	margin-left: auto;
	margin-right: auto;
}

.wr-cta .wr-hero__actions {
	justify-content: center;
}

.wr-cta .wr-btn--ghost {
	color: #fff;
	border-color: rgb(255 255 255 / 55%);
}

.wr-cta .wr-btn--ghost:hover {
	background: #fff;
	color: var(--wr-plum);
}

/* Шапка страницы услуги и статьи */
.wr-pagehead {
	background: linear-gradient(180deg, var(--wr-blush), var(--wr-ivory));
	padding: 56px 20px 40px;
}

.wr-pagehead h1 {
	margin: 0 0 12px;
	font-size: clamp(1.9rem, 3.8vw, 2.8rem);
}

/* Плавающая кнопка */
.wr-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--wr-plum);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 14px 30px -10px rgb(58 35 80 / 55%);
}

/* На телефоне и планшете Telegram стоит в шапке, плавающая кнопка не нужна */
@media (width < 960px) {
	.wr-float {
		display: none;
	}
}

.wr-float:hover {
	background: var(--wr-pink);
	color: #fff;
}

@media (width <= 860px) {
	.wr-hero .wr-inner,
	.wr-split,
	.wr-contrast {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.wr-section {
		padding: 52px 20px;
	}

	.wr-split--reverse .wr-media {
		order: 0;
	}

	.wr-float span {
		display: none;
	}

	.wr-float {
		padding: 14px;
	}
}

/* Вертикальный ритм внутри секций (нулевая специфичность: любое правило с классом сильнее) */
:where(.wr-inner, .wr-narrow, .wr-split__text, .wr-hero__text) > :where(p, h1, h2, h3, h4, ul, ol, figure, details) {
	margin-block: 0;
}

:where(.wr-inner, .wr-narrow, .wr-split__text, .wr-hero__text) > * + * {
	margin-top: 1.25rem;
}

.wr-hero:not(.wr-hero--stack) .wr-inner > *,
.wr-split > *,
.wr-contrast > * {
	margin: 0;
}

.wr-hero__text > * + * {
	margin-top: 18px;
}

.wr-split__text > * + * {
	margin-top: 16px;
}

.wr-ghost-light .wr-btn--ghost {
	color: #fff;
	border-color: rgb(255 255 255 / 55%);
}

.wr-ghost-light .wr-btn--ghost:hover {
	background: #fff;
	color: var(--wr-plum);
}

.wr-section--plum .wr-hero__actions {
	margin-top: 28px;
}

.wr-cta .wr-btn--ghost {
	color: #fff;
	border-color: rgb(255 255 255 / 55%);
}

.wr-cta .wr-btn--ghost:hover {
	background: #fff;
	color: var(--wr-plum);
}

.wr-pagehead .wr-inner {
	max-width: 1180px;
	margin: 0 auto;
}

.wr-transcript {
	margin-top: 32px;
}

.wr-checks + h2,
.wr-list + h2,
p + h2 {
	margin-top: 36px;
}

/* Услуги: 3 + 2 */
@media (width > 1000px) {
	.wr-cards {
		grid-template-columns: repeat(6, 1fr);
	}

	.wr-cards > .wr-card {
		grid-column: span 2;
	}

	.wr-cards > .wr-card:nth-child(n + 4) {
		grid-column: span 3;
	}
}

/* Кнопки на фиолетовом фоне */
.wr-section--plum .wr-btn--ghost {
	color: #fff;
	border-color: rgb(255 255 255 / 60%);
}

.wr-section--plum .wr-btn--ghost:hover {
	background: #fff;
	color: var(--wr-plum);
}

/* Видео-блок с одним роликом: без боковой колонки. Только на широких экранах:
   на телефоне плагин сам прячет десктопный блок и показывает мобильный. */
@media (width > 768px) {
	.vb1-showcase__desktop:has(.vb1-showcase__item:only-child) {
		display: block;
	}

	.vb1-showcase__desktop:has(.vb1-showcase__item:only-child) .vb1-showcase__playlist {
		display: none;
	}
}

/* Заголовок записи */
.wr-entryhead {
	margin: 0 0 28px;
}

.wr-entryhead__title {
	margin: 0 0 20px;
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.wr-entryhead__media {
	margin: 0 0 32px;
}

.wr-entryhead__media img {
	width: 100%;
	display: block;
	border-radius: var(--wr-radius);
	box-shadow: var(--wr-shadow);
}

/* Список блога */
.wr-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}

.wr-post {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 18px 24px;
	background: #fff;
	border: 1px solid rgb(83 54 109 / 10%);
	border-radius: var(--wr-radius);
	box-shadow: var(--wr-shadow);
	text-decoration: none;
	color: var(--wr-ink);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.wr-post:hover {
	transform: translateY(-3px);
	border-color: var(--wr-pink);
	color: var(--wr-ink);
}

.wr-post__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.wr-post__date {
	color: var(--wr-magenta);
	font-size: 0.85rem;
	font-weight: 600;
}

.wr-post__title {
	margin: 0;
	font-size: 1.25rem;
}

.wr-post__text {
	color: var(--wr-muted);
	flex: 1;
}

/* Шаблоны плагина: шапка на всю ширину */
.site-main.wr-wide {
	max-width: none;
	padding: 0;
}

/* ===== Лендинги услуг ===== */
.wr-icon {
	display: block;
	margin-bottom: 14px;
	color: var(--wr-magenta);
}

.wr-hero--landing {
	padding: 72px 20px 88px;
}

.wr-hero--landing h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.wr-hero__media {
	position: relative;
}

.wr-floatcard {
	position: absolute;
	left: -22px;
	bottom: -22px;
	max-width: 260px;
	padding: 16px 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--wr-shadow);
	border: 1px solid rgb(83 54 109 / 10%);
}

.wr-floatcard strong {
	display: block;
	color: var(--wr-plum);
}

.wr-floatcard span {
	color: var(--wr-muted);
	font-size: 0.92rem;
}

.wr-bridge {
	margin-top: 32px;
	padding: 22px 26px;
	max-width: none;
	background: var(--wr-blush);
	border-left: 4px solid var(--wr-pink);
	border-radius: 0 var(--wr-radius) var(--wr-radius) 0;
	color: var(--wr-plum-deep);
}

.wr-section--soft .wr-bridge {
	background: #fff;
}

.wr-tiles {
	display: grid;
	gap: 22px;
	margin-top: 36px;
}

.wr-tiles--3 {
	grid-template-columns: repeat(3, 1fr);
}

.wr-tiles--4 {
	grid-template-columns: repeat(4, 1fr);
}

.wr-tile {
	padding: 28px 26px;
	background: #fff;
	border: 1px solid rgb(83 54 109 / 10%);
	border-radius: var(--wr-radius);
	box-shadow: var(--wr-shadow);
}

.wr-tile h3 {
	margin: 0 0 8px;
	font-size: 1.12rem;
}

.wr-tile p {
	margin: 0;
	color: var(--wr-muted);
}

.wr-tile--pain {
	background: linear-gradient(180deg, #fff, var(--wr-ivory));
}

.wr-tile--pain .wr-icon {
	color: var(--wr-pink);
}

.wr-section--soft .wr-tile {
	border-color: transparent;
}

/* Шаги работы */
.wr-timeline {
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0;
}

.wr-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 22px;
	padding-bottom: 30px;
}

.wr-timeline li:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 25px;
	top: 52px;
	bottom: 0;
	width: 2px;
	background: rgb(255 255 255 / 25%);
}

.wr-timeline__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wr-pink);
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	box-shadow: 0 0 0 6px rgb(251 72 181 / 22%);
}

.wr-timeline strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: 1.18rem;
}

.wr-timeline p {
	margin: 0;
	color: #e4d0f1;
}

/* Выбор технологии */
.wr-compare {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 36px;
	border: 1px solid rgb(83 54 109 / 14%);
	border-radius: var(--wr-radius);
	overflow: hidden;
	background: #fff;
}

.wr-compare > div {
	padding: 28px 26px;
}

.wr-compare > div + div {
	border-left: 1px solid rgb(83 54 109 / 12%);
}

.wr-compare h3 {
	margin: 0 0 8px;
	color: var(--wr-magenta);
}

.wr-compare p {
	margin: 0;
	color: var(--wr-muted);
}

.wr-link {
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--wr-pink);
}

/* Вопросы */
.wr-faq__item {
	margin: 0 0 12px;
	padding: 4px 22px;
	background: #fff;
	border: 1px solid rgb(83 54 109 / 12%);
	border-radius: 14px;
}

.wr-faq__item summary {
	padding: 16px 0;
	cursor: pointer;
	font-weight: 700;
	color: var(--wr-plum);
	list-style: none;
}

.wr-faq__item summary::-webkit-details-marker {
	display: none;
}

.wr-faq__item summary::after {
	content: '+';
	float: right;
	color: var(--wr-pink);
	font-size: 1.4rem;
	line-height: 1;
}

.wr-faq__item[open] summary::after {
	content: '–';
}

.wr-faq__item p {
	margin: 0 0 16px;
	color: var(--wr-muted);
}

/* Бриф-форма */
.wr-brief {
	padding: 34px;
	background: #fff;
	border-radius: var(--wr-radius);
	box-shadow: var(--wr-shadow);
	border: 1px solid rgb(83 54 109 / 10%);
}

.wr-brief .wr-title {
	margin-bottom: 8px;
}

.wr-brief__lead {
	margin: 0 0 22px;
	color: var(--wr-muted);
}

.wr-brief__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 22px;
}

.wr-brief__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--wr-plum);
}

.wr-brief__field--wide {
	grid-column: 1 / -1;
}

.wr-brief input,
.wr-brief select {
	width: 100%;
	padding: 13px 14px;
	font: inherit;
	font-weight: 400;
	color: var(--wr-ink);
	background: var(--wr-ivory);
	border: 1px solid rgb(83 54 109 / 25%);
	border-radius: 12px;
}

.wr-brief input:focus,
.wr-brief select:focus {
	outline: 2px solid var(--wr-pink);
	outline-offset: 1px;
}

.wr-brief__submit {
	cursor: pointer;
	font-family: inherit;
}

body.wr-landing html {
	scroll-behavior: smooth;
}

html {
	scroll-behavior: smooth;
}

@media (width <= 1000px) {
	.wr-tiles--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.wr-tiles--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (width <= 700px) {
	.wr-tiles--3,
	.wr-tiles--4,
	.wr-compare,
	.wr-brief__grid {
		grid-template-columns: 1fr;
	}

	.wr-compare > div + div {
		border-left: 0;
		border-top: 1px solid rgb(83 54 109 / 12%);
	}

	.wr-floatcard {
		position: static;
		margin-top: 14px;
		max-width: none;
	}

	.wr-brief {
		padding: 24px 20px;
	}
}

/* Кнопка «Записаться на встречу» в меню */
.desktop-header__nav .wr-menu-cta {
	margin-left: auto;
}

.desktop-header__nav .wr-menu-cta > a,
.drawer-menu .wr-menu-cta > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--wr-pink);
	color: #fff !important;
	font-weight: 700;
	text-transform: none !important;
	white-space: nowrap;
	text-decoration: none;
	box-shadow: 0 10px 22px -12px rgb(251 72 181 / 80%);
	transition: background 0.15s ease, transform 0.15s ease;
}

.desktop-header__nav .wr-menu-cta > a:hover,
.drawer-menu .wr-menu-cta > a:hover {
	background: var(--wr-magenta);
	transform: translateY(-1px);
}

.drawer-menu .wr-menu-cta {
	margin-top: 14px;
	list-style: none;
	text-align: center;
}

.drawer-menu .wr-menu-cta > a {
	width: 100%;
	border: 0;
}

/* Крупный список «мы подойдём друг другу» */
.wr-checks--big li {
	font-size: 1.12rem;
	padding: 12px 0 12px 38px;
}

.wr-checks--big li::before {
	top: 16px;
	width: 22px;
	height: 22px;
	background-size: 14px;
}

.wr-brief__field em {
	font-weight: 400;
	font-style: normal;
	color: var(--wr-muted);
}


/* Видео в первом экране главной: только плеер, без подписи и описания под ним */
.wr-hero__video .vb1-showcase__panel-content {
	display: none;
}

.wr-hero__video .vb1-showcase__desktop,
.wr-hero__video .vb1-showcase__panel {
	box-shadow: none;
}

.wr-hero__video .vb1-video-embed,
.wr-hero__video .vb1-video-embed__trigger {
	border-radius: var(--wr-radius);
}

.wr-hero__video .vb1-showcase {
	box-shadow: var(--wr-shadow);
	border-radius: var(--wr-radius);
	overflow: hidden;
}

/* Служебная подпись источника («Bunny.net Stream URL», «YouTube URL») посетителю не нужна */
.vb1-video-embed__provider {
	display: none;
}


/* Первый экран главной: одна колонка по центру */
.wr-hero--stack {
	padding: 56px 20px 72px;
}

.wr-hero--stack .wr-inner {
	max-width: 960px;
	text-align: center;
}

.wr-hero--stack .wr-inner {
	display: block;
}

.wr-hero--stack .wr-inner > * + * {
	margin-top: 22px;
}

.wr-hero--stack h1 {
	margin-left: auto;
	margin-right: auto;
	max-width: 22em;
	font-size: clamp(1.9rem, 3.9vw, 2.9rem);
}

.wr-hero--stack .wr-lead {
	margin-left: auto;
	margin-right: auto;
}

.wr-hero--stack .wr-hero__video {
	margin-top: 30px;
	margin-bottom: 8px;
}

.wr-hero--stack .wr-hero__video .vb1-showcase {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.wr-hero--stack .wr-hero__actions {
	justify-content: center;
}

.wr-hero--stack .wr-hero__badges {
	justify-content: center;
}

/* Первый экран главной: шире заголовок и текст (видео остаётся 880 px) */
.wr-hero--stack .wr-inner {
	max-width: 1180px;
}

.wr-hero--stack .wr-inner > h1,
.wr-hero--stack .wr-inner > .wr-lead {
	margin-left: auto;
	margin-right: auto;
}

.wr-hero--stack .wr-inner > h1 {
	max-width: 1060px;
	text-wrap: balance;
}

.wr-hero--stack .wr-inner > .wr-lead {
	max-width: 900px;
	text-wrap: pretty;
}

/* Портрет рядом с текстом: узкая колонка, высота фото совпадает с высотой текста */
@media (width > 860px) {
	.wr-split--portrait {
		grid-template-columns: 1fr 340px;
	}

	.wr-split--portrait.wr-split--reverse {
		grid-template-columns: 340px 1fr;
	}
}

/* Статья: видео, под ним текст и фото */
.wr-split--article {
	margin: 36px 0 12px;
	gap: 36px;
}

/* Плавающая кнопка: иконка крупная, кнопка не меньше 56 px (удобно нажимать пальцем) */
.wr-float svg {
	flex: none;
}

@media (width <= 860px) {
	.wr-float {
		width: 58px;
		height: 58px;
		padding: 0;
		justify-content: center;
	}
}

/* Картинка записи: справа, текст обтекает её слева */
.wr-entryhead__media--side {
	float: right;
	width: min(38%, 400px);
	margin: 4px 0 24px 40px;
}

@media (width <= 860px) {
	.wr-entryhead__media--side {
		float: none;
		width: 100%;
		margin: 0 0 24px;
	}
}

/* Хлебные крошки */
.wr-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	font-size: 0.9rem;
	color: var(--wr-muted, #6b5a7a);
}

.wr-crumbs a {
	color: inherit;
	text-decoration: none;
}

.wr-crumbs a:hover {
	color: var(--wr-pink);
	text-decoration: underline;
}

.wr-crumbs > * + *::before {
	content: "›";
	margin-right: 6px;
	opacity: 0.6;
}

.wr-crumbs span[aria-current] {
	overflow: hidden;
	max-width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
}
