/* Альпуслуга на Reboot: наши блоки (как в теме alpusluga) + стыковка с шапкой и подвалом Reboot.
   Цвета (var(--wp--preset--color--…)), Inter и кнопки задаёт theme.json дочерней темы. */

/* ---------- Шрифт и цвета поверх Reboot ---------- */

body,
button,
input,
select,
textarea,
.site-title,
.main-navigation,
.top-menu,
.entry-content,
.site-footer,
h1, h2, h3, h4, h5, h6,
.entry-title {
	font-family: var(--wp--preset--font-family--inter);
}

body {
	color: var(--wp--preset--color--graphite);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
	color: var(--wp--preset--color--graphite);
	font-weight: 800;
	line-height: 1.2;
}

.entry-content a:not(.wp-block-button__link):not(.alp-phone) {
	color: var(--wp--preset--color--baltic-blue);
}

/* ---------- Шапка Reboot: логотип (HTML-блок 1), меню, телефон и кнопка (HTML-блок 2) ---------- */

.site-header {
	border-bottom: 1px solid var(--wp--preset--color--warm-grey);
	box-shadow: none;
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 16px 32px;
	padding-top: 14px;
	padding-bottom: 14px;
}

/* У Reboot свой блок названия сайта — названием служит наш логотип в HTML-блоке 1 */
.site-header .site-branding:empty,
.site-header .site-branding:not(:has(img)) {
	display: none;
}

.alp-logo {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	white-space: nowrap;
	color: var(--wp--preset--color--graphite);
	text-decoration: none;
}

.alp-logo span {
	color: var(--wp--preset--color--baltic-blue);
}

.site-header .top-menu {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.site-header .top-menu ul {
	gap: 4px 28px;
}

.site-header .top-menu a {
	color: var(--wp--preset--color--graphite);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.site-header .top-menu a:hover {
	color: var(--wp--preset--color--baltic-blue);
}

.header-html-2 {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

.alp-header-phone {
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.alp-phone {
	color: var(--wp--preset--color--graphite);
	text-decoration: none;
}

.alp-phone:hover {
	color: var(--wp--preset--color--baltic-blue);
}

@media (max-width: 991px) {
	.site-header .top-menu {
		display: none;
	}
}

@media (max-width: 599px) {
	.alp-logo {
		font-size: 20px;
	}
	.alp-header-phone {
		font-size: 15px;
	}
	.header-html-2 .wp-block-button {
		display: none; /* на телефоне в шапке — только номер */
	}
}

/* ---------- Главная и «Спасибо»: страницы во всю ширину ---------- */

.alp-landing .site-content {
	padding-top: 0;
}

.alp-landing .site-content.fixed,
.alp-landing .site-content-inner,
.alp-landing .content-area {
	max-width: none;
	flex: auto;
	padding-left: 0;
	padding-right: 0;
}

.alp-landing .entry-content {
	margin: 0;
}

.alp-landing .entry-content > *:first-child {
	margin-top: 0;
}

.alp-landing .entry-content > *:last-child {
	margin-bottom: 0;
}

.alp-landing .entry-content .alignfull {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;
	transform: none;
}

.alp-landing .entry-content .alignwide,
.alp-landing .alignfull > .alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 4vw, 40px);
	padding-right: clamp(16px, 4vw, 40px);
	box-sizing: border-box;
}

.alp-landing .entry-content ul.alp-checks {
	margin-left: 0;
}

/* ---------- Подвал Reboot: Графит, виджеты — логотип с текстом и контакты с кнопкой ---------- */

.site-footer {
	background: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--warm-grey);
	font-size: var(--wp--preset--font-size--small);
}

.site-footer a {
	color: var(--wp--preset--color--white);
}

.site-footer a:hover {
	color: var(--wp--preset--color--haze);
}

.site-footer .alp-logo {
	color: var(--wp--preset--color--white);
}

.site-footer .alp-logo span {
	color: var(--wp--preset--color--haze);
}

.site-footer .alp-phone {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}

.site-footer .wp-block-button__link,
.site-footer .wp-block-button__link:hover {
	color: var(--wp--preset--color--white);
}


.site-footer .footer-info a {
	margin-left: 20px;
}

/* ---------- Доступность ---------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--baltic-blue);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

/* ---------- Кнопки (Блок. Кнопка) ---------- */

.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 52px;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(122, 46, 30, 0.22), 0 3px 6px rgba(122, 46, 30, 0.14);
}

.wp-element-button:active,
.wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(122, 46, 30, 0.16);
}

.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--baltic-blue);
	outline-offset: 3px;
}

/* Второстепенная: белая, рамка и текст Графит, без тени; при наведении — Тёплый камень */
.wp-block-button.is-style-secondary .wp-block-button__link {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--graphite);
	border: 2px solid var(--wp--preset--color--graphite);
	box-shadow: none;
	font-size: 17px;
	font-weight: 600;
	padding-left: 26px;
	padding-right: 26px;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:active {
	background-color: var(--wp--preset--color--warm-stone);
	color: var(--wp--preset--color--graphite);
	box-shadow: none;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.wp-element-button,
	.wp-block-button__link {
		transition: none;
	}
	.wp-element-button:hover,
	.wp-block-button__link:hover {
		transform: none;
	}
}


/* ---------- Блок «Оставить заявку» для статей и услуг (паттерн alpusluga/zayavka-knopka) ---------- */

.alp-cta {
	border-radius: 14px;
	text-align: center;
}

.alp-cta-title {
	margin: 0 0 8px;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.2;
	color: var(--wp--preset--color--graphite);
}

.alp-cta-text {
	max-width: 520px;
	margin: 0 auto 24px;
	color: var(--wp--preset--color--charcoal);
}

.alp-cta .wp-block-buttons {
	justify-content: center;
}

/* ---------- Первый экран (Блок. Первый экран) ---------- */

.alp-hero {
	--alp-silhouette-height: clamp(90px, 11vw, 170px);
	position: relative;
	background-image:
		url("../images/silhouette.svg"),
		linear-gradient(180deg, #CBD8E0 0%, #DCE5EA 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: left bottom, 0 0;
	background-size: 100% var(--alp-silhouette-height), 100% 100%;
	/* силуэт занимает низ; кнопки всегда выше него */
	padding-top: clamp(32px, 5vw, 56px) !important;
	padding-bottom: calc(var(--alp-silhouette-height) + clamp(32px, 4vw, 48px)) !important;
}

@media (min-width: 1024px) {
	.alp-hero {
		min-height: 600px;
	}
}

.alp-badge {
	width: fit-content;
	max-width: 100%;
	margin-bottom: 24px !important;
	line-height: 1.3;
	border-radius: 8px;
}

.alp-hero h1 {
	max-width: 760px;
	margin-top: 0;
	margin-bottom: 18px;
}

.alp-hero-lead {
	max-width: 620px;
	margin-top: 0 !important;
	margin-bottom: 30px !important;
}

.alp-hero .wp-block-buttons {
	position: relative;
	z-index: 2;
	gap: 18px;
}

@media (max-width: 599px) {
	.alp-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.alp-hero .wp-block-button,
	.alp-hero .wp-block-button__link {
		width: 100%;
	}
}

/* ---------- Три карточки ---------- */

.alp-card {
	height: 100%;
}

.alp-card h2 {
	margin: 0 0 10px;
}

.alp-checks {
	list-style: none;
	padding-left: 0 !important;
	margin: 0 0 14px;
}

.alp-checks li {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 6px;
}

.alp-checks li::before {
	content: "✓";
	content: "✓" / "";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--conifer);
	font-weight: 700;
}

.alp-more {
	margin-top: auto !important;
}

.alp-more a {
	font-weight: 600;
	text-decoration: none;
}

.alp-more a:hover {
	text-decoration: underline;
}


/* ---------- Форма заявки (Блок. Форма заявки; форма — плагин alpusluga-zayavki) ---------- */

/* Блок на главной идёт сразу за карточками на том же фоне — тонкая линия разделяет их */
.alp-zayavka-section {
	border-top: 1px solid var(--wp--preset--color--warm-grey);
	scroll-margin-top: 16px;
}

.alp-z-card {
	background: var(--wp--preset--color--white);
	border-radius: 14px;
	padding: clamp(24px, 5vw, 44px);
	box-shadow: var(--wp--preset--shadow--card);
}

.alp-z-form {
	position: relative;
	margin: 0;
}

.alp-z-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 1vw + 18px, 26px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--wp--preset--color--graphite);
}

.alp-z-subtitle {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--wp--preset--color--charcoal);
}

.alp-z-field {
	margin: 0 0 12px;
}

/* Метка «обязательно» внутри поля телефона — единственное обязательное поле (Алексей, 21.10.2026) */
.alp-z-field[data-alp-z-field="phone"] {
	position: relative;
}

.alp-z-required-tag {
	position: absolute;
	top: 24px;
	right: 14px;
	transform: translateY(-50%);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--tomato-dark);
	pointer-events: none;
}

/* Подписи — внутри полей (подсказки), как в образце Ольги; для экранного диктора подписи остаются */
.alp-z-label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.alp-z-form input[type="text"],
.alp-z-form input[type="tel"],
.alp-z-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 2px solid var(--wp--preset--color--warm-grey);
	border-radius: 8px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--graphite);
	font-family: inherit;
	font-size: 16px; /* не меньше 16 px — иначе телефон увеличивает страницу при вводе */
	line-height: 1.4;
	transition: border-color 0.15s ease;
}

/* Большое поле — побуждает написать подробнее; подсказка «до 1000 знаков» внутри */
.alp-z-form textarea {
	height: 104px;
	min-height: 72px;
	resize: vertical;
}

.alp-z-form input::placeholder,
.alp-z-form textarea::placeholder {
	color: var(--wp--preset--color--charcoal);
	opacity: 0.6;
}

.alp-z-form input[type="text"]:focus,
.alp-z-form input[type="tel"]:focus,
.alp-z-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--baltic-blue);
	box-shadow: 0 0 0 3px rgba(51, 101, 138, 0.18);
}

/* Подсказка при ошибке: текст Графит, рамка поля Помидор */
.alp-z-field.is-invalid input[type="tel"],
.alp-z-field.is-invalid input[type="text"] {
	border-color: var(--wp--preset--color--tomato);
}

.alp-z-error {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--wp--preset--color--graphite);
}

.alp-z-error[hidden] {
	display: none;
}

/* Согласие */
.alp-z-consent {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 0 12px;
	align-items: start;
}

.alp-z-consent input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--wp--preset--color--conifer);
	cursor: pointer;
}

.alp-z-consent label {
	font-size: 13px;
	line-height: 1.45;
	line-height: 1.5;
	color: var(--wp--preset--color--charcoal);
	cursor: pointer;
}

.alp-z-consent label a {
	color: var(--wp--preset--color--baltic-blue);
	text-decoration: underline;
}

.alp-z-consent .alp-z-error {
	grid-column: 2;
}

.alp-z-consent.is-invalid input[type="checkbox"] {
	outline: 2px solid var(--wp--preset--color--tomato);
	outline-offset: 2px;
}

.alp-z-fatal {
	margin: 0 0 12px;
	padding: 8px 12px;
	font-size: 14px;
	border-left: 4px solid var(--wp--preset--color--tomato);
	background: var(--wp--preset--color--warm-stone);
	border-radius: 0 8px 8px 0;
}

.alp-z-fatal a {
	font-weight: 700;
	white-space: nowrap;
}

.alp-z-submit {
	margin-top: 4px;
}

.alp-z-submit .wp-element-button {
	width: 100%;
	min-height: 50px;
	border: 0;
	font-family: inherit;
}

.alp-z-form[aria-busy="true"] .wp-element-button {
	cursor: progress;
	opacity: 0.85;
}

.alp-z-submit {
	width: 100%;
}

/* Ловушка для роботов: человек её не видит */
.alp-z-trap {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Окно с формой ---------- */

/* Окно целиком помещается на экран — кнопка видна без прокрутки (Ольга, 19.10.2026) */
.alp-z-dialog {
	width: min(560px, calc(100% - 32px));
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--graphite);
	box-shadow: 0 20px 60px rgba(43, 44, 40, 0.3);
	overflow: auto;
	overscroll-behavior: contain;
}

.alp-z-dialog::backdrop {
	background: rgba(43, 44, 40, 0.55);
}

.alp-z-dialog-inner {
	position: relative;
	padding: 28px 36px;
}

.alp-z-dialog .alp-z-title {
	padding-right: 36px;
}

.alp-z-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--wp--preset--color--charcoal);
	font-family: inherit;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.alp-z-close:hover {
	background: var(--wp--preset--color--warm-stone);
	color: var(--wp--preset--color--graphite);
}

body:has(.alp-z-dialog[open]) {
	overflow: hidden;
}

/* На телефоне — на весь экран, с прокруткой */
@media (max-width: 599px) {
	.alp-z-dialog {
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		margin: 0;
		border-radius: 0;
	}
	.alp-z-dialog-inner {
		padding: 20px 16px;
	}
	.alp-z-dialog .alp-z-title {
		padding-right: 40px;
	}
}

/* Невысокие экраны: ужимаем, чтобы кнопка оставалась на экране */
@media (max-height: 720px) {
	.alp-z-dialog-inner {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.alp-z-dialog .alp-z-subtitle {
		margin-bottom: 14px;
		font-size: 14px;
	}
	.alp-z-dialog .alp-z-field {
		margin-bottom: 10px;
	}
	.alp-z-dialog textarea {
		height: 80px;
	}
}

@media (max-height: 600px) {
	.alp-z-dialog .alp-z-subtitle {
		display: none;
	}
	.alp-z-dialog textarea {
		height: 64px;
		min-height: 56px;
	}
}

/* ---------- Спасибо (Блок. Страница спасибо) ---------- */

.alp-thanks-main {
	min-height: 60vh;
}

.alp-thanks {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.alp-thanks-title {
	margin: 0 0 20px;
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 800;
	line-height: 1.12;
	color: var(--wp--preset--color--graphite);
}

.alp-thanks-text {
	max-width: 560px;
	margin: 0 auto 36px;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--graphite);
}

.alp-thanks-buttons {
	display: flex;
	justify-content: center;
}

/* Картинка под кнопкой — обычный блок «Изображение» в странице «Спасибо» (меняется в редакторе). Небольшая: только для красоты */
.alp-thanks-picture {
	max-width: min(480px, 85vw);
	margin: clamp(16px, 2.5vw, 24px) auto 0 !important;
}

.alp-thanks-picture img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Поправки поверх Reboot (после первого просмотра пилота) ---------- */

/* Меню — обычными буквами, как на alpusluga.ru */
.site-header .top-menu a,
.main-navigation a {
	text-transform: none;
	letter-spacing: 0;
}

/* Поиска в шапке нет */
.site-header .header-search {
	display: none;
}

/* Галочки в карточках: Reboot рисует у списков кружки — возвращаем наши ✓ */
.entry-content ul.alp-checks li {
	padding-left: 1.6em;
}

.entry-content ul.alp-checks li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--wp--preset--color--conifer);
	font-weight: 700;
	line-height: inherit;
}

/* Заголовок карточки — сразу над списком */
.entry-content .alp-card h2 {
	margin: 0 0 10px;
}

.entry-content .alp-card ul.alp-checks {
	margin: 0 0 14px;
}

/* Главная и «Спасибо» — вплотную к подвалу, без белой полосы */
.alp-landing .site-content,
.alp-landing .site-main,
.alp-landing .content-area,
.alp-landing article,
.alp-landing .entry-content {
	padding-bottom: 0;
	margin-bottom: 0;
}

.alp-landing .site-footer-container,
.alp-landing .site-footer {
	margin-top: 0;
}

/* ---------- Шапка ниже, первый экран — на всю высоту окна, домики видны целиком (Ольга, 21.10.2026) ---------- */

:root {
	--alp-header-h: 64px; /* высота шапки: 12 + 40 + 12 */
	--alp-adminbar-h: 0px;
}

.admin-bar {
	--alp-adminbar-h: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--alp-adminbar-h: 46px;
	}
}

.site-header {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0;
}

.site-header-inner {
	min-height: var(--alp-header-h);
	padding-top: 12px;
	padding-bottom: 12px;
	box-sizing: border-box;
}

/* Первый экран = окно минус шапка (и минус чёрная полоса админки, когда Ольга вошла) */
.alp-hero {
	--alp-silhouette-height: clamp(80px, min(11vw, 20svh), 170px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100svh - var(--alp-header-h) - var(--alp-adminbar-h)) !important;
	padding-top: clamp(20px, 5svh, 56px) !important;
}

@media (min-width: 1024px) {
	.alp-hero {
		min-height: calc(100svh - var(--alp-header-h) - var(--alp-adminbar-h)) !important;
	}
}

/* Невысокие экраны (ноутбуки, телефон боком): плотнее, чтобы всё влезло */
@media (max-height: 720px) {
	.alp-hero .alp-badge {
		margin-bottom: 14px !important;
	}
	.alp-hero h1 {
		margin-bottom: 12px;
	}
	.alp-hero-lead {
		margin-bottom: 20px !important;
	}
}

/* ---------- Подвал: правый блок (телефон, почта, кнопка) — у правого края ---------- */

.footer-widgets {
	gap: 24px 40px;
}

@media (min-width: 768px) {
	.footer-widgets .footer-widget:last-child {
		margin-left: auto;
		text-align: right;
	}
	.footer-widgets .footer-widget:last-child .wp-block-buttons {
		justify-content: flex-end;
	}
}

/* ---------- «Спасибо»: вся страница вместе с картинкой — на первом экране (Ольга, 21.10.2026) ---------- */

.alp-thanks-main {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100svh - var(--alp-header-h) - var(--alp-adminbar-h)) !important;
	padding-top: clamp(20px, 5svh, 56px) !important;
	padding-bottom: clamp(20px, 4svh, 40px) !important;
}

.alp-thanks-title {
	margin-bottom: clamp(10px, 2svh, 20px);
}

.alp-thanks-text {
	margin-bottom: clamp(16px, 3svh, 36px);
}

/* Картинка сжимается по высоте окна: остальное место — заголовку, тексту и кнопке (~380 px) */
.alp-thanks-picture {
	max-width: none;
	margin-top: clamp(12px, 2svh, 24px) !important;
	text-align: center;
}

.alp-thanks-picture img {
	display: inline-block;
	width: auto;
	max-width: min(420px, 85vw);
	height: auto;
	max-height: max(120px, calc(100svh - var(--alp-header-h) - var(--alp-adminbar-h) - 400px));
}

/* Текст на кнопках всегда белый — Reboot перекрашивает ссылки при наведении */
.wp-block-button__link,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:visited,
.entry-content .wp-block-button__link:hover {
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:focus {
	color: var(--wp--preset--color--graphite);
}

/* ---------- Без «наезда» страницы на шапку ----------
   Reboot поднимает содержимое на 30 px, чтобы съесть свой отступ под шапкой; отступ мы убрали — убираем и подъём */
.mobile-menu-placeholder + .site-content,
.card-slider-container + .site-content,
.site-header + .main-navigation,
.main-navigation + .mobile-menu-placeholder.open,
.site-header + .mobile-menu-placeholder.open {
	margin-top: 0;
}

/* Телефон и планшет: слева кнопка меню Reboot, логотип — правее неё, телефон — справа */
@media (max-width: 991px) {
	.site-header-inner {
		padding-left: 60px;
	}
	.site-header .humburger {
		left: 20px;
		top: 50%;
		transform: translateY(-50%);
	}
}

@media (max-width: 420px) {
	.site-header-inner {
		gap: 10px;
		padding-left: 52px;
		padding-right: 16px;
	}
	.site-header .humburger {
		left: 16px;
	}
	.alp-logo {
		font-size: 19px;
	}
	.alp-header-phone {
		font-size: 14px;
	}
}

/* Блоки во всю ширину — от ширины страницы, а не окна (100vw включает полосу прокрутки и давал сдвиг на 15 px) */
.alp-landing .site-content.fixed,
.alp-landing .site-content-inner,
.alp-landing .content-area,
.alp-landing .site-main,
.alp-landing article,
.alp-landing .entry-content {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.alp-landing .entry-content .alignfull {
	left: auto;
	width: 100%;
	max-width: none;
	margin-left: 0;
}
