/**
 * Нова верстка сторінки послуги (v2).
 *
 * Tailwind підключений з вимкненим preflight, тому тут:
 *  1) локальний скид стилів теми в межах .mx-v2;
 *  2) кастомні стилі з прототипу (спойлери, картки відгуків, лаври);
 *  3) типографіка для WYSIWYG-блоків.
 */

/* ------------------------------------------------------------------
 * 1. Локальний скид — щоб стилі теми не ламали блоки прототипу.
 *
 * ВАЖЛИВО: усі селектори скидання загорнуті в :where(.mx-v2), який додає
 * нульову специфічність. Тобто правило важить рівно як тег (0,0,1) — так само,
 * як preflight у Tailwind. Без :where() специфічність була б (0,1,1) і скид
 * перебивав би утиліти на кшталт bg-white / rounded-2xl / mx-auto.
 * ------------------------------------------------------------------ */
.mx-v2 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #111827;
	background: #f9fafb;
	line-height: 1.5;
	text-align: left;
}

:where(.mx-v2) *,
:where(.mx-v2) *::before,
:where(.mx-v2) *::after {
	box-sizing: border-box;

	/*
	 * Це те, що робить preflight у Tailwind, а ми його вимкнули.
	 * Утиліти border / border-t / divide-y задають ЛИШЕ товщину рамки,
	 * і без border-style: solid жодна лінія не малюється.
	 */
	border-width: 0;
	border-style: solid;
	border-color: #e5e7eb;
}

:where(.mx-v2) h1,
:where(.mx-v2) h2,
:where(.mx-v2) h3,
:where(.mx-v2) h4,
:where(.mx-v2) h5,
:where(.mx-v2) h6,
:where(.mx-v2) p,
:where(.mx-v2) ul,
:where(.mx-v2) ol,
:where(.mx-v2) li,
:where(.mx-v2) table,
:where(.mx-v2) figure,
:where(.mx-v2) blockquote,
:where(.mx-v2) details,
:where(.mx-v2) summary,
:where(.mx-v2) article,
:where(.mx-v2) section {
	margin: 0;
	padding: 0;
	border: 0;
	float: none;
	overflow: visible;
	/* тема задає article{width:69.29825%} — інакше картки блогу «худнуть» */
	width: auto;
	font-family: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
	background: none;
}

:where(.mx-v2) h2::before,
:where(.mx-v2) h2::after,
:where(.mx-v2) h3::before,
:where(.mx-v2) h3::after,
:where(.mx-v2) .h2::before,
:where(.mx-v2) .h2::after {
	content: none;
}

.mx-v2 .mx-v2-home-reviews {
	width: 100%;
	margin: 0;
	padding: 45px;
	background: #000;
	overflow: hidden;
}

.mx-v2 .mx-v2-home-reviews .container {
	max-width: 1240px;
}

.mx-v2 .mx-v2-home-reviews .our_team_title {
	margin: 0 0 37px;
	font-family: Manrope, sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 72px;
	color: #fff;
	text-align: center;
}

@media (max-width: 991px) {
	.mx-v2 .mx-v2-home-reviews {
		padding: 45px 0;
	}

	.mx-v2 .mx-v2-home-reviews .container {
		width: 100%;
		padding: 0 15px;
	}

	.mx-v2 .mx-v2-home-reviews .our_team_title {
		margin-bottom: 20px;
		font-size: 31px;
		line-height: 38px;
	}
}

:where(.mx-v2) ul,
:where(.mx-v2) ol {
	list-style: none;
}

:where(.mx-v2) a {
	text-decoration: none;
	color: inherit;
	transition: color .2s ease, background-color .2s ease;
}

:where(.mx-v2) img,
:where(.mx-v2) svg {
	max-width: 100%;
	display: block;
}

:where(.mx-v2) table {
	border-collapse: collapse;
	width: 100%;
}

/* ------------------------------------------------------------------
 * 0. Плавний перехід по якорях (кнопки CTA і тарифів ведуть на #mx-v2-form).
 *
 * Стиль підключається лише в новій верстці, тож поточний дизайн не зачіпає.
 * scroll-margin-top — бо під час прокрутки шапка стає fixed (клас .f-nav)
 * і перекриває ~60px зверху.
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

.mx-v2 [id],
#mx-v2-form { scroll-margin-top: 70px; }

/* ------------------------------------------------------------------
 * 1a. Банер — точна копія стилів із uslug.php.
 *
 * Увесь банер у поточному дизайні тримається на вбудованому <style>
 * всередині uslug.php (main{padding-top:95px}, вертикальне центрування
 * контенту, висота 70vh тощо). Новий шаблон робить return до цього <style>,
 * тому банер лишався без стилів: контент притискався до верху і його
 * перекривала шапка. Переносимо ті самі правила сюди під .mx-v2-page,
 * щоб банер виглядав рівно як зараз. Поточний дизайн не зачіпаємо.
 * ------------------------------------------------------------------ */
main.mx-v2-page {
	padding-top: 95px;
	height: auto;
}

.mx-v2-page .home-slider-block {
	min-height: -webkit-fill-available;
	position: relative;
}

.mx-v2-page .slider-item {
	background: #000;
	background-size: cover;
	background-position: center center;
	padding-bottom: 50px;
	position: relative;
}

/* висота банера — як в оригіналі */
.mx-v2-page .slider-item,
.mx-v2-page .home-slider-block {
	height: calc(70vh - 95px);
}

/* саме це центрує заголовок, текст і форму по вертикалі */
.mx-v2-page .slider-item .container {
	padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mx-v2-page .home-slider-block .h1 { max-width: 693px; }

.mx-v2-page .some_text_header {
	color: #fff;
	text-align: left;
	margin-bottom: 30px;
	font-size: 16px;
}

@media (max-width: 768px) {
	.mx-v2-page .slider-item,
	.mx-v2-page .home-slider-block {
		max-height: unset !important;
		height: auto;
		min-height: unset;
	}

	.mx-v2-page .home-slider-block .slider-item { padding: 55px 0 60px; }
	.mx-v2-page .home-slider-block .slider-item .container { height: auto; }
	.mx-v2-page .home-slider-block .custom_heading { margin-bottom: 15px; }
	.mx-v2-page .some_text_header { margin-bottom: 20px; }
}

/* ------------------------------------------------------------------
 * 1b. Контейнер теми для блоків, які використовують розмітку сайту
 *     (наприклад картки команди). Свій клас, а не .container —
 *     щоб не залежати від того, чи згенерує Tailwind свою .container.
 * ------------------------------------------------------------------ */
.mx-v2 .mx-v2-container {
	max-width: 1140px;
	width: 90%;
	margin: 0 auto;
}

/* ------------------------------------------------------------------
 * 1c. Картки команди.
 *
 * Стилі .key_photo / .key_info / .key_name / .key_desc лежать у загальному
 * css/style.min.css і працюють всюди, а ось сітка .keys та оформлення
 * компетенцій / телефона / пошти / кнопки були у вбудованому <style>
 * всередині team.php — тобто лише на сторінці «Команда».
 * Переносимо цей набір сюди, щоб картка на послузі виглядала так само.
 * ------------------------------------------------------------------ */
/*
 * minmax(0, 1fr), а не 1fr: інакше довге ім'я чи посада роздувають колонку
 * (1fr = minmax(auto, 1fr)), колонки виходять різної ширини, а на планшеті
 * сітка вилазить за екран і з'являється горизонтальний скрол.
 */
.mx-v2 .keys {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 45px;
}

@media (max-width: 1024px) {
	.mx-v2 .keys {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px;
	}
}

.mx-v2 .keys * { font-family: "Montserrat", sans-serif; }

.mx-v2 .keys .key_photo { max-height: 370px; }
.mx-v2 .keys .key_photo img { width: 100%; object-position: top; }

.mx-v2 .title_comp {
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	color: #000;
	margin-bottom: 10px;
}

.mx-v2 .key ul { list-style-type: none; }

.mx-v2 .key ul li {
	padding-left: 20px;
	position: relative;
	margin: 10px;
	font-size: 14px;
	line-height: 14px;
	color: #757575;
}

.mx-v2 .key ul li:before {
	content: url(https://mitrax.com.ua/wp-content/uploads/2021/05/vector.svg);
	position: absolute;
	top: -4px;
	left: 0;
	color: #000;
	font-size: 17px;
	width: 13px;
}

.mx-v2 .keys .key-person__phone {
	font-style: normal;
	font-weight: 500;
	font-size: 19px;
	line-height: 20px;
	color: #000;
	margin-top: 20px;
}

.mx-v2 .keys .mail_key {
	font-weight: 400;
	font-size: 18px;
	line-height: 20px;
	text-decoration-line: underline;
	color: #000;
	margin-top: 10px;
	display: block;
}

.mx-v2 .keys .key_btn {
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 13px;
	text-align: center;
	text-transform: uppercase;
}

.mx-v2 .request-btn a {
	display: inline-block;
	overflow: hidden;
	padding: 10px 23px;
	border: 1px solid #f90;
	border-radius: 4px;
	background: #f90;
	color: #fff;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 14px;
	transition: color .3s;
}

/*
 * На сторінці «Команда» під 768px картка стискається до 173px, тому там
 * ховають компетенції, телефон, пошту та кнопку. У нас колонки гумові й на
 * планшеті картка виходить ~300px — з тим правилом половина картки лишалася
 * порожньою сірою плямою. Тому ховаємо контакти лише на справжніх телефонах,
 * а там переходимо на одну колонку, щоб картка була повноцінною.
 */
@media (max-width: 768px) {
	/* ширший контейнер і менший проміжок — щоб картка вмістила довгу пошту */
	.mx-v2 .mx-v2-container { width: 94%; }

	.mx-v2 .keys {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.mx-v2 .keys .key_desc { font-size: 13px; }

	.mx-v2 .keys .key_photo img {
		object-fit: cover;
		width: 100%;
		object-position: top;
		height: 220px;
	}

	/* довгий список компетенцій на вузькій картці не читається */
	.mx-v2 .keys .competations { display: none; }

	.mx-v2 .keys .key-person__phone { font-size: 16px; margin-top: 12px; }
	.mx-v2 .keys .request-btn a { display: block; text-align: center; padding: 10px 8px; }
}

/* довга адреса ніколи не має вилазити за картку */
.mx-v2 .keys .mail_key {
	overflow-wrap: anywhere;
	word-break: break-word;
}

@media (max-width: 768px) {
	.mx-v2 .keys .mail_key { font-size: 13px; }
}

@media (max-width: 640px) {
	/* одна колонка — картка на всю ширину, вміщує все без скорочень */
	.mx-v2 .keys { grid-template-columns: minmax(0, 1fr); }
	.mx-v2 .keys .competations { display: block; }
	.mx-v2 .keys .mail_key { font-size: 16px; }
	.mx-v2 .keys .key_photo img { height: 300px; }
}

/* ------------------------------------------------------------------
 * 2. Кастом із прототипу
 * ------------------------------------------------------------------ */
.mx-v2 summary::-webkit-details-marker { display: none; }
.mx-v2 summary::marker { content: ""; }

.mx-v2 details[open] summary ~ * {
	animation: mx-v2-sweep .5s ease-in-out;
}

@keyframes mx-v2-sweep {
	0%   { opacity: 0; margin-top: -10px; }
	100% { opacity: 1; margin-top: 0; }
}

/*
 * Картка напрямку з посиланням («Проблеми, які ми вирішуємо»).
 * На ховері міняємо лише підкреслення тексту — сама картка лишається на місці.
 * Свій клас, а не group-hover: спойлер із рештою напрямків сам має клас .group,
 * і ховер по ньому підкреслював би всі приховані картки одразу.
 */
.mx-v2 .mx-v2-dir:hover .mx-v2-dir__text,
.mx-v2 .mx-v2-dir:focus-visible .mx-v2-dir__text {
	text-decoration: underline;
}

.mx-v2 .review-card {
	transition: transform .3s ease, box-shadow .3s ease;
}

.mx-v2 .review-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .1);
}

.mx-v2 .mx-v2-google-reviews,
.mx-v2-page .mx-v2-google-reviews {
	padding: 64px 0 68px;
	background: #000;
	color: #fff;
	overflow: hidden;
	margin-bottom: 0;
}

.mx-v2 .mx-v2-google-reviews__title,
.mx-v2-page .mx-v2-google-reviews__title {
	margin: 0 0 44px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.16;
	text-align: center;
	letter-spacing: 0;
}

.mx-v2 .mx-v2-google-reviews__layout,
.mx-v2-page .mx-v2-google-reviews__layout {
	display: flex;
	align-items: center;
	gap: 54px;
	width: 100%;
}

.mx-v2 .mx-v2-google-reviews__summary,
.mx-v2-page .mx-v2-google-reviews__summary {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	flex: 0 0 275px;
	margin: 0;
	color: #fff;
}

.mx-v2 .mx-v2-google-reviews__logo,
.mx-v2-page .mx-v2-google-reviews__logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: #171717;
	border-radius: 4px;
	padding: 10px;
}

.mx-v2 .mx-v2-google-reviews__brand,
.mx-v2-page .mx-v2-google-reviews__brand {
	margin-bottom: 8px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.mx-v2 .mx-v2-google-reviews__rating,
.mx-v2-page .mx-v2-google-reviews__rating {
	margin-bottom: 4px;
	color: #f59e0b;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.mx-v2 .mx-v2-google-reviews__count,
.mx-v2-page .mx-v2-google-reviews__count {
	margin-bottom: 13px;
	color: #d8d8d8;
	font-size: 15px;
	line-height: 1.25;
}

.mx-v2 .mx-v2-google-reviews__button,
.mx-v2-page .mx-v2-google-reviews__button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 34px;
	padding: 8px 18px;
	border-radius: 4px;
	background: #1a73e8;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.mx-v2 .mx-v2-google-reviews__button span,
.mx-v2-page .mx-v2-google-reviews__button span,
.mx-v2 .mx-v2-google-reviews__g,
.mx-v2-page .mx-v2-google-reviews__g {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	color: #4285f4;
	font-weight: 700;
	font-family: Arial, sans-serif;
}

.mx-v2 .mx-v2-google-reviews__cards,
.mx-v2-page .mx-v2-google-reviews__cards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(274px, 1fr);
	gap: 18px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 3px 8px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.mx-v2 .mx-v2-google-reviews__cards::-webkit-scrollbar,
.mx-v2-page .mx-v2-google-reviews__cards::-webkit-scrollbar {
	display: none;
}

.mx-v2 .mx-v2-google-reviews__card,
.mx-v2-page .mx-v2-google-reviews__card {
	min-height: 235px;
	padding: 20px 18px 18px;
	border-radius: 4px;
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
	scroll-snap-align: start;
}

.mx-v2 .mx-v2-google-reviews__card-head,
.mx-v2-page .mx-v2-google-reviews__card-head {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 24px;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
}

.mx-v2 .mx-v2-google-reviews__avatar,
.mx-v2-page .mx-v2-google-reviews__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #9aa7b2;
	color: #fff;
	font-size: 22px;
	font-weight: 600;
}

.mx-v2 .mx-v2-google-reviews__author,
.mx-v2-page .mx-v2-google-reviews__author {
	color: #111;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mx-v2 .mx-v2-google-reviews__date,
.mx-v2-page .mx-v2-google-reviews__date {
	color: #9ca3af;
	font-size: 12px;
	line-height: 1.3;
}

.mx-v2 .mx-v2-google-reviews__card-stars,
.mx-v2-page .mx-v2-google-reviews__card-stars {
	margin-bottom: 12px;
	color: #f6a800;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 1px;
}

.mx-v2 .mx-v2-google-reviews__text,
.mx-v2-page .mx-v2-google-reviews__text {
	margin: 0;
	color: #111827;
	font-size: 15px;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.mx-v2 .mx-v2-google-reviews__title,
	.mx-v2-page .mx-v2-google-reviews__title {
		font-size: 34px;
		margin-bottom: 34px;
	}

	.mx-v2 .mx-v2-google-reviews__layout,
	.mx-v2-page .mx-v2-google-reviews__layout {
		display: block;
	}

	.mx-v2 .mx-v2-google-reviews__summary,
	.mx-v2-page .mx-v2-google-reviews__summary {
		margin-bottom: 24px;
	}
}

@media (max-width: 600px) {
	.mx-v2 .mx-v2-google-reviews,
	.mx-v2-page .mx-v2-google-reviews { padding: 46px 0 44px; }

	.mx-v2 .mx-v2-google-reviews__title,
	.mx-v2-page .mx-v2-google-reviews__title {
		font-size: 28px;
		line-height: 1.22;
	}

	.mx-v2 .mx-v2-google-reviews__summary,
	.mx-v2-page .mx-v2-google-reviews__summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.mx-v2 .mx-v2-google-reviews__cards,
	.mx-v2-page .mx-v2-google-reviews__cards {
		grid-auto-columns: minmax(260px, 86vw);
	}
}

.mx-v2 .mx-v2-home-awards {
	margin: 0;
	padding: 72px 0 82px;
	background: #fff;
	overflow: hidden;
}

.mx-v2 .mx-v2-home-awards__container {
	position: relative;
}

.mx-v2 .mx-v2-home-awards__title {
	margin: 0 0 64px;
	font-family: Manrope, sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
	text-align: center;
}

.mx-v2 .mx-v2-home-awards__viewport {
	overflow: visible;
}

.mx-v2 .mx-v2-home-awards__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: 14px;
	row-gap: 48px;
	padding-left: 80px;
}

.mx-v2 .mx-v2-home-awards__item {
	min-width: 0;
	text-align: center;
}

.mx-v2 .mx-v2-home-awards__laurel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 153px;
	margin: 0 auto 18px;
}

.mx-v2 .mx-v2-home-awards__laurel::before,
.mx-v2 .mx-v2-home-awards__laurel::after {
	position: absolute;
	top: 50%;
	width: 57px;
	height: 142px;
	background: url('https://mitrax.com.ua/wp-content/uploads/2021/05/union.svg') no-repeat center / contain;
	content: '';
	transform: translateY(-50%);
}

.mx-v2 .mx-v2-home-awards__laurel::before { left: 0; }

.mx-v2 .mx-v2-home-awards__laurel::after {
	right: 0;
	transform: translateY(-50%) scaleX(-1);
}

.mx-v2 .mx-v2-home-awards__award-title {
	position: relative;
	z-index: 1;
	width: calc(100% - 88px);
	font-family: "Bebas Neue Cyrillic", Montserrat, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
	text-align: center;
	text-transform: uppercase;
}

.mx-v2 .mx-v2-home-awards__description {
	margin: 0 auto;
	padding: 0 5px;
	font-family: Manrope, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: #000;
	text-align: center;
}

.mx-v2 .mx-v2-home-awards__watermark,
.mx-v2 .mx-v2-home-awards__mobile-watermark {
	font-family: Montserrat, sans-serif;
	font-size: 74px;
	font-weight: 600;
	line-height: 90px;
	color: #c4c4c4;
	text-transform: uppercase;
	opacity: .1;
	pointer-events: none;
}

.mx-v2 .mx-v2-home-awards__watermark {
	position: absolute;
	top: 150px;
	left: -139px;
	transform: rotate(-90deg);
}

.mx-v2 .mx-v2-home-awards__mobile-watermark { display: none; }

@media (max-width: 1100px) {
	.mx-v2 .mx-v2-home-awards__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.mx-v2 .mx-v2-home-awards {
		padding: 48px 0 34px;
	}

	.mx-v2 .mx-v2-home-awards__container {
		width: 100%;
	}

	.mx-v2 .mx-v2-home-awards__title {
		margin-bottom: 34px;
		padding: 0 20px;
		font-size: 30px;
	}

	.mx-v2 .mx-v2-home-awards__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 20px 18px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
	}

	.mx-v2 .mx-v2-home-awards__viewport::-webkit-scrollbar { height: 4px; }
	.mx-v2 .mx-v2-home-awards__viewport::-webkit-scrollbar-thumb { background: #d2d2d2; }

	.mx-v2 .mx-v2-home-awards__grid {
		display: flex;
		width: max-content;
		gap: 18px;
		padding-left: 0;
	}

	.mx-v2 .mx-v2-home-awards__item {
		flex: 0 0 220px;
		scroll-snap-align: start;
	}

	.mx-v2 .mx-v2-home-awards__watermark { display: none; }

	.mx-v2 .mx-v2-home-awards__mobile-watermark {
		display: block;
		margin: -34px 0 0 20px;
		white-space: nowrap;
	}
}

.mx-v2 .scrollbar-hide::-webkit-scrollbar { display: none; }

/* ------------------------------------------------------------------
 * 3. Типографіка WYSIWYG-блоків
 * ------------------------------------------------------------------ */
.mx-v2 .mx-v2-prose > * + * { margin-top: 1em; }

.mx-v2 .mx-v2-prose h2,
.mx-v2 .mx-v2-prose h3,
.mx-v2 .mx-v2-prose h4 {
	font-weight: 700;
	color: #0f172a;
	margin-top: 1.4em;
	text-transform: none;
}

.mx-v2 .mx-v2-prose h2 { font-size: 1.25rem; }
.mx-v2 .mx-v2-prose h3 { font-size: 1rem; }
.mx-v2 .mx-v2-prose h4 { font-size: .95rem; }

.mx-v2 .mx-v2-prose ul,
.mx-v2 .mx-v2-prose ol {
	padding-left: 1.25em;
}

.mx-v2 .mx-v2-prose ul { list-style: disc; }
.mx-v2 .mx-v2-prose ol { list-style: decimal; }
.mx-v2 .mx-v2-prose li { margin-top: .4em; }

.mx-v2 .mx-v2-prose a {
	color: #d97706;
	text-decoration: underline;
}

.mx-v2 .mx-v2-prose strong { font-weight: 700; color: #0f172a; }

/* ------------------------------------------------------------------
 * 4. Contact Form 7 у темній секції з формою
 * ------------------------------------------------------------------ */
.mx-v2 .mx-v2-form input[type="text"],
.mx-v2 .mx-v2-form input[type="tel"],
.mx-v2 .mx-v2-form input[type="email"],
.mx-v2 .mx-v2-form textarea {
	width: 100%;
	padding: 1rem;
	margin-bottom: 1rem;
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: .75rem;
	color: #fff;
	font-size: .875rem;
	outline: none;
	transition: border-color .2s ease;
}

.mx-v2 .mx-v2-form input::placeholder,
.mx-v2 .mx-v2-form textarea::placeholder { color: #6b7280; }

.mx-v2 .mx-v2-form input:focus,
.mx-v2 .mx-v2-form textarea:focus { border-color: #f59e0b; }

.mx-v2 .mx-v2-form textarea { height: 8rem; resize: none; }

.mx-v2 .mx-v2-form input[type="submit"],
.mx-v2 .mx-v2-form button[type="submit"] {
	width: 100%;
	padding: 1rem;
	border: 0;
	border-radius: .75rem;
	background: #f59e0b;
	color: #020617;
	font-size: .75rem;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease;
}

.mx-v2 .mx-v2-form input[type="submit"]:hover,
.mx-v2 .mx-v2-form button[type="submit"]:hover { background: #d97706; }

/*
 * Обгортка кнопки .sub-btn у темі має власний помаранчевий фон і висоту,
 * через що під кнопкою залишалася зайва помаранчева смуга. У блоці форми
 * помаранчевою є сама кнопка, тому обгортку робимо прозорою.
 */
.mx-v2 .mx-v2-form .sub-btn {
	position: relative;
	background: none !important;
	height: auto !important;
	max-width: none !important;
	margin: 0;
	line-height: 0;
}

/* спінер CF7 переносився на окремий рядок і розтягував обгортку,
   а на вузьких екранах ще й виштовхував сторінку за в'юпорт */
.mx-v2 .mx-v2-form .wpcf7-spinner {
	position: absolute;
	right: 12px;
	top: 50%;
	margin: 0;
	transform: translateY(-50%);
}

.mx-v2 .mx-v2-form .wpcf7-not-valid-tip { color: #fca5a5; font-size: .75rem; }
.mx-v2 .mx-v2-form .wpcf7-response-output { color: #e2e8f0; border-color: #334155; border-radius: .5rem; }
