/**
 * Главная (Tilda): изоляция от Tailwind / Bulma и отступ под sticky-шапку.
 */

.prslon-tilda-home-body {
	overflow-x: hidden;
	background-color: #ffffff;
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif);
	/* Секционные h2 на главной */
	--prslon-tilda-h2: 34px;
}

/* Шрифты темы на Tilda-главной */
.prslon-tilda-home #allrecords {
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif);
}

.prslon-tilda-home #allrecords :is(
	p, li, a, button, input, textarea, label,
	.t-descr, .t-text, .t-btn, .t-btnflex, .t-card__descr,
	.tn-atom, .swiper-pagination, .smi-description, .smi-link
) {
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
}

/* span вне заголовков — IBM Plex; внутри h1–h6 / .t-title наследуют Apparel */
.prslon-tilda-home #allrecords :is(p, li, .t-descr, .t-text, .t-card__descr) span {
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
}

.prslon-tilda-home #allrecords :is(
	h1, h2, h3, h4, h5, h6,
	.t-title, .t030__title, .t-name, .t-card__title, .t-section__title
) :is(span, a, strong, em, b) {
	font-family: inherit !important;
	font-weight: inherit !important;
}

.prslon-tilda-home #allrecords :is(
	h1, h2, h3, h4, h5, h6,
	.t-title, .t030__title, .t-name, .t-card__title, .t-section__title,
	.testi-slide_heading, .smi-header
) {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-weight: 700 !important;
}

/* Inline font-family из экспорта T396 */
.prslon-tilda-home #allrecords [style*="Apparel"],
.prslon-tilda-home #allrecords [style*="apparel"] {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
}

.prslon-tilda-home #allrecords [style*="IBM Plex"],
.prslon-tilda-home #allrecords [style*="ibm plex"] {
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
}

body.prslon-tilda-home-body .prslon-tilda-home {
	padding-top: var(--prslon-header-h, 7.5rem);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.prslon-tilda-home #allrecords {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.prslon-tilda-home #allrecords img,
.prslon-tilda-home #allrecords .tn-atom__img,
.prslon-tilda-home #allrecords .t-bgimg,
.prslon-tilda-home #allrecords svg {
	max-width: none !important;
}

/* Карусели: превью не растягивать на всю ширину слайда */
.prslon-tilda-home #allrecords .testi-side_preview img,
.prslon-tilda-home #allrecords .smi-imgs,
.prslon-tilda-home #allrecords .cc-name_logo img {
	max-width: 100% !important;
}

.prslon-tilda-home #allrecords .t396__artboard,
.prslon-tilda-home #allrecords .t396__carrier,
.prslon-tilda-home #allrecords .t396__filter {
	max-width: 100%;
}

.prslon-tilda-home #allrecords .t396__elem {
	box-sizing: content-box;
}

.prslon-tilda-home #allrecords .t396__artboard {
	position: relative;
}

/* —— Единый стиль секционных заголовков (эталон: «Эффективные продукты Слонов») —— */
.prslon-tilda-home #allrecords .t030__title.t-title,
.prslon-tilda-home #allrecords .t-section__title.t-title,
.prslon-tilda-home #allrecords h2.t030__title,
.prslon-tilda-home #allrecords h3.t-section__title,
.prslon-tilda-home #allrecords .case-cards-container > .title {
	margin-bottom: 40px;
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-size: var(--prslon-tilda-h2, var(--type-h1)) !important;
	font-weight: 700 !important;
	line-height: 1.23 !important;
	letter-spacing: -0.015em !important;
	color: #132a3d !important;
	text-align: center;
}

.prslon-tilda-home #allrecords .t-section__descr.t-descr.t-descr_xl,
.prslon-tilda-home #allrecords h3.t-section__descr,
.prslon-tilda-home #allrecords h3.t-section__descr.t-descr.t-descr_xl,
body.prslon-tilda-home-body #rec809378086 h3.t-section__descr {
	margin-bottom: 90px;
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
	font-size: 24px !important;
	font-weight: 300 !important;
	line-height: 1.35 !important;
	color: #132a3d !important;
	text-align: center;
}

@media screen and (max-width: 960px) {
	.prslon-tilda-home #allrecords .t030__title.t-title,
	.prslon-tilda-home #allrecords .t-section__title.t-title,
	.prslon-tilda-home #allrecords h2.t030__title,
	.prslon-tilda-home #allrecords h3.t-section__title,
	.prslon-tilda-home #allrecords .case-cards-container > .title {
		margin-bottom: 20px;
	}

	.prslon-tilda-home #allrecords .t-section__descr.t-descr.t-descr_xl,
	.prslon-tilda-home #allrecords h3.t-section__descr.t-descr.t-descr_xl {
		margin-bottom: 60px;
	}
}

/* Оранжевый акцент в заголовках — Apparel (не IBM Plex / sans из Tilda) */
.prslon-tilda-home #allrecords :is(
	h1, h2, h3, h4, h5, h6,
	.t-title, .t030__title, .t-section__title,
	.case-cards-container > .title
) :is(
	span[style*='255, 90, 73'],
	span[style*='255,90,73'],
	span[style*='ff5a49'],
	span[style*='FF5A49'],
	.text-brand-red
) {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-weight: 700 !important;
	color: #ff5a49 !important;
}

/* T396: строка заголовка с оранжевым span — весь блок Apparel */
.prslon-tilda-home #allrecords .tn-atom:has(span[style*='255, 90, 73']),
.prslon-tilda-home #allrecords .tn-atom:has(span[style*='255,90,73']),
.prslon-tilda-home #allrecords .tn-atom:has(span[style*='ff5a49']),
.prslon-tilda-home #allrecords .tn-atom:has(span[style*='FF5A49']) {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-weight: 700 !important;
	font-size: var(--prslon-tilda-h2, var(--type-h1)) !important;
	line-height: 1.23 !important;
	letter-spacing: -0.015em !important;
	color: #132a3d !important;
}

.prslon-tilda-home #allrecords .tn-atom span[style*='255, 90, 73'],
.prslon-tilda-home #allrecords .tn-atom span[style*='255,90,73'],
.prslon-tilda-home #allrecords .tn-atom span[style*='ff5a49'],
.prslon-tilda-home #allrecords .tn-atom span[style*='FF5A49'] {
	font-family: inherit !important;
	font-weight: inherit !important;
	color: #ff5a49 !important;
}

/* Секции темы на Tilda-главной */
.prslon-tilda-home .prslon-section-title {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-size: var(--prslon-tilda-h2, var(--type-h1)) !important;
	font-weight: 700 !important;
	line-height: 1.23 !important;
	letter-spacing: -0.015em !important;
	text-align: center;
}

.prslon-tilda-home .prslon-section-title .text-brand-red {
	font-family: inherit !important;
	font-weight: inherit !important;
	color: #ff5a49 !important;
}

/* Подзаголовки блока «Примеры публикаций» (nativnie-heading) */
.prslon-tilda-home .nativnie-heading h3 {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-weight: 700 !important;
}

/* CTA «Подберем формат продвижения» (rec660984083) */
.prslon-tilda-home #rec660984083 .t030__title,
.prslon-tilda-home #rec660984083 .t-title,
.prslon-tilda-home #rec660984083 h2 {
	font-family: var(--prslon-font-headline, 'Apparel', Arial, sans-serif) !important;
	font-weight: 700 !important;
	color: #ffffff !important;
}

.prslon-tilda-home-body .prslon-site-header {
	position: relative;
	z-index: 9950;
}

/* Tilda grid сбрасывает box-sizing → min-h-11 + py-2.5 раздувают кнопку телефона при скролле */
body.prslon-tilda-home-body .prslon-sticky-header,
body.prslon-tilda-home-body .prslon-sticky-header *,
body.prslon-tilda-home-body .prslon-sticky-header *::before,
body.prslon-tilda-home-body .prslon-sticky-header *::after {
	box-sizing: border-box;
}

.prslon-tilda-home .prslon-page-section {
	width: 100%;
	max-width: 100%;
	position: relative;
	z-index: 2;
	isolation: isolate;
	box-sizing: border-box;
}

.prslon-tilda-home .prslon-page-section[data-prslon-section='s-team'] {
	background-color: #132a3d;
}

.prslon-tilda-home .prslon-page-section[data-prslon-section='s-team'] .bg-brand-light,
.prslon-tilda-home .prslon-page-section[data-prslon-section='s-team'] section {
	box-sizing: border-box;
}

.prslon-tilda-home #team h2.prslon-section-title {
	color: #ffffff !important;
}

.prslon-tilda-home #team h2.prslon-section-title .text-brand-red {
	font-family: inherit !important;
	color: #ff5a49 !important;
}

.prslon-tilda-home .prslon-page-section[data-prslon-section='s-faq'] {
	background-color: #fbfbf9;
}

/* «Работать с нами по PR выгодно» — Tailwind-секция вместо Bulma */
.prslon-tilda-home .prslon-page-section[data-prslon-section='s-pr-worth-it'] {
	width: 100%;
	max-width: 100%;
	position: relative;
	z-index: 2;
	isolation: isolate;
	box-sizing: border-box;
}

.prslon-tilda-home .prslon-page-section[data-prslon-section='s-pr-worth-it'] section,
.prslon-tilda-home .prslon-page-section[data-prslon-section='s-pr-worth-it'] ul,
.prslon-tilda-home .prslon-page-section[data-prslon-section='s-pr-worth-it'] li,
.prslon-tilda-home .prslon-page-section[data-prslon-section='s-pr-worth-it'] article {
	box-sizing: border-box;
}

.prslon-tilda-home #pr-worth-it h2.prslon-section-title {
	color: #132a3d !important;
}

.prslon-tilda-home #pr-worth-it h2.prslon-section-title .text-brand-red {
	font-family: inherit !important;
	color: #ff5a49 !important;
}

.prslon-tilda-home #pr-worth-it h3 {
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
}

/* Кнопка CTA — белый текст на красном (Tilda перебивает color у ссылок) */
.prslon-tilda-home .prslon-page-section a.prslon-btn-primary,
.prslon-tilda-home #pr-worth-it a.prslon-btn-primary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: #ff5a49 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-family: var(--prslon-font-text, 'IBM Plex Sans', Arial, sans-serif) !important;
	font-size: var(--type-text) !important;
	font-weight: 600 !important;
	line-height: 1.5;
	padding: 1rem 2.25rem;
	text-decoration: none !important;
	opacity: 1 !important;
	box-shadow: 0 10px 25px rgba(255, 90, 73, 0.55);
	transition: background-color 0.2s ease;
}

.prslon-tilda-home .prslon-page-section a.prslon-btn-primary:hover,
.prslon-tilda-home #pr-worth-it a.prslon-btn-primary:hover {
	background-color: #ff7060 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Tilda Zoom: скрипт без CSS рисует пустой UI внизу страницы — не показываем */
.t-zoomer__wrapper {
	display: none !important;
}

#prslonFloatingSidebar {
	z-index: 99989;
}

/* VK-видео: модалки темы поверх Tilda popup/zoom */
body.prslon-tilda-home-body #reviewVideoModal,
body.prslon-tilda-home-body #videoModal {
	z-index: 100010 !important;
}

/* custom.css Tilda не должен ломать WP-панель */
#prslonFloatingSidebar .messenger-floating-buttons,
#prslonFloatingSidebar .social-floating-buttons {
	position: static !important;
	width: auto !important;
	height: auto !important;
	bottom: auto !important;
	left: auto !important;
}

@media (max-width: 767px) {
	body.prslon-tilda-home-body .prslon-tilda-home {
		padding-top: var(--prslon-header-h, 6.5rem);
	}
}

/* Карусели Tilda: кнопки и слайды не сжимаются Tailwind (кроме карточек публикаций) */
.prslon-tilda-home .swiper-slide img:not(.smi-imgs) {
	width: 100%;
	height: auto;
	display: block;
}

.prslon-tilda-home .slider-button_prev,
.prslon-tilda-home .slider-button_next,
.prslon-tilda-home .inner-button-prev,
.prslon-tilda-home .inner-button-next,
.prslon-tilda-home .testi-button_prev,
.prslon-tilda-home .testi-button_next,
.prslon-tilda-home .swiper-button-prev,
.prslon-tilda-home .swiper-button-next {
	cursor: pointer;
	flex-shrink: 0;
}

/* Сломанный sliderMi (T396): не оставлять пустоту до команды */
.prslon-tilda-home #rec829161047,
.prslon-tilda-home #rec829614419,
.prslon-tilda-home #rec1803463211.r_hidden {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.prslon-tilda-home .sliderMiWrap {
	margin-bottom: 0;
}

.prslon-tilda-home .sliderMiWrap .sliderMi_none {
	display: none !important;
}

.prslon-tilda-home #rec639139769 + .sliderMiWrap {
	margin-top: 0;
}

.prslon-tilda-home #rec658535455 + .prslon-page-section[data-prslon-section='s-team'] {
	margin-top: 0;
}
