/*
 * Головна (Elementor) і методологія: той самий шрифт і заголовки, що й на хабах, лістиклах і оглядах.
 * Підключається лише на головній і на /methodology/ (inc/sdr/home.php).
 */

/* ---------- Головна ---------- */

/* Один шрифт на всю головну: Figtree, як на нових сторінках (замість Nunito й Roboto з Elementor) */
body.home .elementor-heading-title,
body.home .elementor-widget-text-editor,
body.home .elementor-widget-text-editor p,
body.home .elementor-icon-box-title,
body.home .elementor-icon-box-title a,
body.home .elementor-icon-box-description,
body.home .elementor-icon-list-text,
body.home .searchform input {
	font-family: 'Figtree', sans-serif !important;
}

/* Заголовки секцій під hero: як H2 на хабах (майже чорні, 32px/800) */
body.home .elementor-top-section:not(:first-child) h2.elementor-heading-title {
	color: #0a0a0a !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
	line-height: 1.12 !important;
}
body.home .elementor-top-section:not(:first-child) .elementor-widget-text-editor {
	color: #4a4f5c;
}

/* Посилання-дії в картках: синій кнопок лістиклів замість блідо-блакитного */
body.home .knowledgebase-body .kblnk,
body.home .knowledgebase-body .kblnk i {
	color: #4471e4 !important;
	font-weight: 600;
}

/* Плитки «What happened to your data?»: проміжок між колонками */
body.home .elementor-top-section:first-child .elementor-inner-section > .elementor-container > .elementor-column > .elementor-widget-wrap,
body.home .elementor-top-section:first-child .elementor-inner-section > .elementor-container > .elementor-column > .elementor-column-wrap {
	padding: 10px 14px !important;
}

/* Пошук у hero на мобільному: кнопка Search зникала, лишаємо її компактною справа */
@media (max-width: 767px) {
	body.home .elementor-top-section .searchform input[type="submit"] {
		display: block !important;
		position: absolute;
		top: 13px;
		right: 8px;
		height: 49px;
		padding: 0 18px !important;
		border-radius: 35px;
	}
	body.home .elementor-top-section .searchform input[name="s"] {
		padding-right: 110px !important;
	}
	body.home .elementor-top-section:not(:first-child) h2.elementor-heading-title {
		font-size: 26px !important;
	}
}

/* ---------- Методологія: шапка як на хабах ---------- */

body.sdr-methodology h1.inner-header {
	font-family: 'Figtree', sans-serif !important;
	font-size: 46px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.01em;
	color: #fff !important;
}
body.sdr-methodology .entry-content h2 {
	font-family: 'Figtree', sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #0a0a0a;
}
@media (max-width: 767px) {
	body.sdr-methodology h1.inner-header { font-size: 30px !important; }
	body.sdr-methodology .entry-content h2 { font-size: 24px; }
}
