/*
Theme Name: Roselmash Light
Theme URI: https://dev.roselmash.ru/
Author: Roselmash
Description: Lightweight custom theme for Roselmash catalog.
Version: 0.1.24
Text Domain: roselmash-light
*/
:root {
	--rm-blue: #005bbb;
	--rm-blue-dark: #003f7f;
	--rm-orange: #ff7a00;
	--rm-text: #1f2933;
	--rm-muted: #667085;
	--rm-border: #e5e7eb;
	--rm-bg: #ffffff;
	--rm-card-bg: #f7f4ef;
	--rm-container: 1180px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--rm-text);
	background: var(--rm-bg);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: min(100% - 32px, var(--rm-container));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--rm-border);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 250px 270px minmax(0, 1fr) auto 56px;
	align-items: center;
	gap: 20px;
	min-height: 104px;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	width: 250px;
	max-width: 250px;
}

.site-header__logo img {
	display: block;
	width: 250px;
	max-width: 100%;
	height: auto;
}

.catalog-menu {
	position: relative;
	z-index: 120;
	min-height: 52px;
}

.catalog-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 270px;
	min-height: 52px;
	padding: 0 30px 0 22px;
	color: #fff;
	background: var(--rm-blue);
	border-radius: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color .2s ease;
}

.catalog-button:hover {
	background: var(--rm-blue-dark);
}

.catalog-button::after {
	content: "";
	position: absolute;
	top: 0;
	right: -18px;
	width: 18px;
	height: 100%;
	background: inherit;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	pointer-events: none;
}

.catalog-button__icon {
	font-size: 20px;
	line-height: 1;
}

.catalog-button__arrow {
	margin-left: auto;
	font-size: 16px;
	line-height: 1;
}

.catalog-dropdown {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 150;
	width: min(1310px, calc(100vw - 40px));
	min-height: 360px;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 0 0 10px 10px;
	box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.catalog-menu:hover .catalog-dropdown,
.catalog-menu:focus-within .catalog-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.catalog-dropdown__group {
	width: 270px;
}

.catalog-dropdown__root {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) 16px;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 18px;
	color: #4b5563;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	border-right: 1px solid var(--rm-border);
	border-bottom: 1px solid #f0f2f5;
}

.catalog-dropdown__group:hover .catalog-dropdown__root,
.catalog-dropdown__group:focus-within .catalog-dropdown__root {
	color: var(--rm-orange);
	background: #f8fafc;
}

.catalog-dropdown__root-icon {
	color: var(--rm-blue);
	font-size: 17px;
}

.catalog-dropdown__root-arrow {
	color: #9ca3af;
	font-size: 20px;
}

.catalog-mega {
	position: absolute;
	top: 0;
	left: 270px;
	z-index: 1;
	display: none;
	grid-template-columns: repeat(4, minmax(170px, 1fr));
	gap: 22px 36px;
	align-content: start;
	width: calc(100% - 270px);
	min-height: 360px;
	padding: 32px 36px 34px;
	background: #fff;
}

.catalog-dropdown__group:first-child .catalog-mega {
	display: grid;
}

.catalog-dropdown:has(.catalog-dropdown__group:hover) .catalog-mega,
.catalog-dropdown:has(.catalog-dropdown__group:focus-within) .catalog-mega {
	display: none;
}

.catalog-dropdown:has(.catalog-dropdown__group:hover) .catalog-dropdown__group:hover .catalog-mega,
.catalog-dropdown:has(.catalog-dropdown__group:focus-within) .catalog-dropdown__group:focus-within .catalog-mega {
	display: grid;
}

.catalog-mega__column {
	min-width: 0;
}

.site-header .catalog-menu .catalog-mega__title {
	display: inline-flex;
	margin-bottom: 9px;
	color: #3f4650;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-header .catalog-menu .catalog-mega__title:hover {
	color: var(--rm-orange);
}

.catalog-mega__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .catalog-menu .catalog-mega__list a {
	color: #7a828c;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.site-header .catalog-menu .catalog-mega__list a:hover {
	color: var(--rm-orange);
}

.site-nav {
	min-width: 0;
}

.site-nav__list,
.site-nav__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.site-nav__list > li {
	position: relative;
}

.site-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--rm-text);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}

.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a,
.site-nav__list > li > a:hover {
	color: var(--rm-orange);
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 130;
	display: grid;
	gap: 0;
	min-width: 220px;
	margin: 0;
	padding: 12px 0;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__list .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-transform: none;
}

.site-nav__list .sub-menu a:hover {
	color: var(--rm-orange);
	background: #f8fafc;
}

.site-header__contacts {
	display: grid;
	gap: 4px;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.site-header__contacts a {
	position: relative;
	padding-left: 20px;
	color: #071d38;
}

.site-header__contacts a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 15px;
	border: 2px solid var(--rm-blue);
	border-radius: 2px;
	transform: translateY(-50%);
}

.site-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: #fff;
	background: var(--rm-orange);
	border: 0;
	border-radius: 50%;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.site-search-button:hover,
.site-search-button[aria-expanded="true"] {
	background: #e96f00;
}

.site-search-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 140;
	padding: 12px 0;
	background: #fff;
	border-top: 1px solid var(--rm-border);
	border-bottom: 1px solid var(--rm-border);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.site-search-panel[hidden] {
	display: none;
}

.site-search-panel .site-search__form {
	position: static;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	grid-template-areas:
		"field submit"
		"suggestions suggestions";
	gap: 8px;
	width: min(760px, calc(100% - 32px));
	margin: 0 auto;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.site-search__field {
	grid-area: field;
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	color: var(--rm-text);
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 6px;
	font-size: 15px;
	outline: none;
}

.site-search__field:focus {
	border-color: var(--rm-blue);
}

.site-search__submit {
	grid-area: submit;
	height: 46px;
	padding: 0 18px;
	color: #fff;
	background: var(--rm-blue);
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.site-search__submit:hover {
	background: var(--rm-blue-dark);
}

.site-search__suggestions {
	grid-area: suggestions;
	display: grid;
	max-height: 360px;
	overflow-y: auto;
	margin-top: 2px;
	padding: 6px 0;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.site-search__suggestions[hidden] {
	display: none;
}

.site-search__suggestion {
	display: block;
	padding: 9px 12px;
	color: #374151;
	font-size: 14px;
	line-height: 1.3;
}

.site-search__suggestion:hover,
.site-search__suggestion:focus {
	color: var(--rm-orange);
	background: #f8fafc;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-main {
	min-height: 60vh;
}

/* Common breadcrumbs */

.page-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 28px;
	color: #667085;
	font-size: 13px;
	line-height: 1.4;
}

.page-breadcrumbs a {
	color: #667085;
}

.page-breadcrumbs a:hover {
	color: var(--rm-orange);
}

.page-breadcrumbs span:last-child {
	color: #1f2933;
	font-weight: 600;
}

.page-breadcrumbs--light {
	margin-bottom: 30px;
	color: rgba(255, 255, 255, .72);
}

.page-breadcrumbs--light a {
	color: rgba(255, 255, 255, .72);
}

.page-breadcrumbs--light a:hover {
	color: #fff;
}

.page-breadcrumbs--light span:last-child {
	color: #fff;
}

@media (max-width: 1180px) {
	.site-header__inner {
		grid-template-columns: 220px 230px minmax(0, 1fr) auto 50px;
		gap: 16px;
	}

	.site-header__logo,
	.site-header__logo img {
		width: 220px;
	}

	.catalog-button {
		width: 230px;
		padding-right: 28px;
	}

			.catalog-dropdown {
		width: min(1110px, calc(100vw - 32px));
	}

	.catalog-dropdown__group {
		width: 230px;
	}

	.catalog-mega {
		left: 230px;
		width: calc(100% - 230px);
		grid-template-columns: repeat(4, minmax(145px, 1fr));
		padding: 30px 32px;
		gap: 20px 28px;
	}

	.site-nav__list {
		gap: 18px;
	}

	.site-header__contacts {
		font-size: 14px;
	}
}

@media (max-width: 980px) {
	.site-header {
		position: relative;
	}
	
	.site-header__inner {
		grid-template-columns: 1fr auto;
		gap: 14px;
		padding: 12px 0;
	}

	.site-header__logo,
	.site-header__logo img {
		width: 210px;
	}

		.catalog-menu {
		grid-column: 1 / -1;
		order: 3;
	}

	.catalog-menu.is-open {
		z-index: 180;
	}

			.catalog-button {
		width: 100%;
		padding-right: 22px;
	}

	.catalog-button__text {
		font-size: 0;
	}

	.catalog-button__text::after {
		content: "Меню";
		font-size: 15px;
	}

	.catalog-button::after {
		display: none;
	}

				.catalog-dropdown {
		position: static;
		display: none;
		width: 100%;
		min-height: 0;
		margin-top: 8px;
		overflow: visible;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.catalog-menu.is-open .catalog-dropdown {
		display: block;
	}
		
	.catalog-dropdown__group {
		width: 100%;
	}

	.catalog-dropdown__root {
		border-right: 0;
	}

	.catalog-mega {
		position: static;
		left: auto;
		width: 100%;
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 22px 24px;
		border-bottom: 1px solid var(--rm-border);
	}

		.site-nav {
		display: none;
		grid-column: 1 / -1;
		order: 4;
		margin-top: -6px;
		padding: 14px 18px 16px;
		background: #fff;
		border: 1px solid var(--rm-border);
		border-top: 0;
	}

	.catalog-menu.is-open + .site-nav {
		display: block;
	}

	.site-nav__list {
		display: grid;
		gap: 0;
		justify-content: stretch;
		overflow: visible;
		padding-bottom: 0;
	}

	.site-nav__list > li > a {
		display: flex;
		min-height: 42px;
		color: #111827;
		font-size: 14px;
		font-weight: 600;
		border-bottom: 1px solid #f0f2f5;
	}

		.site-nav__list .sub-menu {
		position: static;
		display: grid;
		gap: 0;
		min-width: 0;
		padding: 0 0 10px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav__list > li.menu-item-has-children > a {
		pointer-events: none;
	}

	.site-header__contacts {
		display: none;
	}

			.site-search-button {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}

	.site-search-panel {
		position: static;
		grid-column: 1 / -1;
		order: 2;
		width: 100%;
		padding: 0;
		background: #fff;
		border: 0;
		box-shadow: none;
	}

	.site-search-panel .site-search__form {
		grid-template-columns: 1fr;
		grid-template-areas:
			"field"
			"submit"
			"suggestions";
		width: 100%;
		padding: 10px;
		border-radius: 8px;
		box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
	}

	.site-search__suggestions {
		max-height: 300px;
	}
		.page-breadcrumbs {
		margin-bottom: 22px;
		font-size: 12px;
	}

	.articles-page__header {
		margin-bottom: 30px;
	}

	.articles-page__main-title {
		font-size: 34px;
		line-height: 1.08;
	}
}

/* Footer CTA */

.footer-cta {
	margin-top: 0;
	padding: 80px 0;
	color: #fff;
	background: #001f3f;
}

.footer-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 80px;
	align-items: center;
}

.footer-cta__left {
	max-width: 360px;
}

.footer-cta__title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(30px, 3vw, 46px);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.footer-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 0 28px;
	color: #fff;
	background: var(--rm-orange);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	transition: background-color .2s ease;
}

.footer-cta__button:hover {
	background: #e96f00;
}

.footer-cta__links {
	display: grid;
	gap: 8px;
	margin-top: 22px;
}

.footer-cta__links a {
	color: rgba(255, 255, 255, .72);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-cta__links a:hover {
	color: #fff;
}

.footer-contacts {
	padding: 34px 32px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 14px;
	background: rgba(0, 0, 0, .08);
}

.footer-contacts__label {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, .55);
	font-size: 15px;
}

.footer-contacts__phone {
	display: inline-flex;
	margin: 0 0 24px;
	color: #fff;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .02em;
}

.footer-contacts__list {
	display: grid;
	gap: 14px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.footer-contacts__list li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, .68);
	font-size: 16px;
}

.footer-contacts__list a {
	color: rgba(255, 255, 255, .68);
}

.footer-contacts__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 4px;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	font-size: 16px;
}

.footer-socket {
	padding: 16px 0;
	color: rgba(255, 255, 255, .6);
	background: #001f3f;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-socket__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.footer-socket__link {
	color: rgba(255, 255, 255, .66);
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}

.footer-socket__link:hover {
	color: #fff;
}

/* Mobile header/footer */

@media (max-width: 900px) {
	.site-header__logo {
		width: 210px;
	}

	.site-nav__list .sub-menu {
		position: static;
		display: grid;
		min-width: 0;
		padding: 0 0 10px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.footer-cta {
		padding: 56px 0;
	}

	.footer-cta__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-cta__left {
		max-width: none;
	}

	.footer-cta__button {
		width: auto;
		min-width: 260px;
	}
}

@media (max-width: 640px) {
	.site-header__logo {
		width: 190px;
	}

	.footer-contacts {
		padding: 24px 20px;
	}

	.footer-contacts__phone {
		font-size: 24px;
	}

	.footer-contacts__list li {
		grid-template-columns: 32px minmax(0, 1fr);
		font-size: 14px;
	}

	.footer-contacts__icon {
		width: 32px;
		height: 32px;
	}
}
/* Contacts page */

.contacts-page {
	padding: 56px 0 46px;
	background: #eef5ff;
}

.contacts-page__container {
	max-width: var(--rm-container);
}

.contacts-page__breadcrumbs {
	margin-bottom: 24px;
	color: #667085;
	font-size: 13px;
	line-height: 1.4;
}

.contacts-page__breadcrumbs a {
	color: #667085;
}

.contacts-page__breadcrumbs a:hover {
	color: var(--rm-orange);
}

.contacts-page__top {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.contacts-page__title {
	margin: 0 0 18px;
	color: #050505;
	font-size: clamp(38px, 3.7vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.contacts-page__phones {
	display: grid;
	gap: 4px;
	margin-bottom: 18px;
}

.contacts-page__phones a {
	color: #001f3f;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
}

.contacts-page__list {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.contacts-page__list li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: #001f3f;
	font-size: 15px;
	line-height: 1.35;
}

.contacts-page__list a {
	color: #001f3f;
}

.contacts-page__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #fff;
	background: var(--rm-orange);
	border-radius: 2px;
	line-height: 1;
}

.contacts-page__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.contacts-page__socials {
	display: flex;
	gap: 8px;
	margin: 16px 0 18px;
}

.contacts-page__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #fff;
	background: var(--rm-blue);
	border-radius: 4px;
}

.contacts-page__socials svg {
	display: block;
	width: 22px;
	height: 22px;
}

.contacts-page__socials a:hover {
	background: var(--rm-blue-dark);
}

.contacts-page__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	min-height: 48px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.contacts-page__button::before {
	content: "☎";
	margin-right: 10px;
	font-size: 14px;
}

.contacts-page__button:hover {
	background: #e96f00;
}

.contacts-page__details {
	min-width: 0;
}

.contacts-page__map {
	height: 230px;
	margin-bottom: 18px;
	background: #dbeafe;
	overflow: hidden;
}

.contacts-page__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.contacts-page__requisites {
	color: #001f3f;
	font-size: 15px;
	line-height: 1.42;
}

.contacts-page__requisites p {
	margin: 0 0 7px;
}

.contacts-page__download {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	color: #001f3f;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
}

.contacts-page__download::before {
	content: "◆";
	margin-right: 10px;
	color: var(--rm-orange);
	font-size: 24px;
	line-height: 1;
	transform: rotate(45deg);
}

.contacts-page__download:hover {
	color: var(--rm-orange);
}

.contacts-regions {
	padding: 46px 0 48px;
	color: #fff;
	background: #001f3f;
}

.contacts-regions__inner {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.contacts-regions__title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.contacts-regions__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 70px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contacts-regions__list li {
	position: relative;
	padding-left: 16px;
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
}

.contacts-regions__list li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 0;
	width: 4px;
	height: 4px;
	background: var(--rm-orange);
	border-radius: 50%;
}

@media (max-width: 980px) {
	.contacts-page {
		padding: 34px 0 0;
	}

	.contacts-page__top {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.contacts-page__title {
		font-size: 34px;
		line-height: 1.08;
	}

	.contacts-page__phones a {
		font-size: 24px;
	}

	.contacts-page__button {
		width: 100%;
		min-height: 48px;
	}

	.contacts-page__map {
		height: 255px;
	}

	.contacts-regions {
		padding: 46px 0;
	}

	.contacts-regions__inner {
		grid-template-columns: 1fr;
		gap: 26px;
		text-align: center;
	}

	.contacts-regions__title {
		max-width: 300px;
		margin: 0 auto;
		font-size: 28px;
	}

	.contacts-regions__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 22px;
		text-align: left;
	}

	.contacts-regions__list li {
		font-size: 15px;
	}
}

@media (max-width: 520px) {
	.contacts-page__socials a {
		width: 44px;
		height: 44px;
	}

	.contacts-regions__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Product order modal */

.rm-product-order-modal {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, .78);
}

.rm-product-order-modal.is-open {
	display: flex;
}

.rm-product-order-modal__dialog {
	position: relative;
	width: min(100%, 640px);
	padding: 46px 48px 38px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.rm-product-order-modal__close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 0;
	color: #111827;
	background: transparent;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.rm-product-order-modal__title {
	margin: 0 0 28px;
	color: #050505;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.rm-product-order-product {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin: 0 0 30px;
}

.rm-product-order-product__image {
	display: block;
	width: 110px;
	height: 82px;
	object-fit: contain;
}

.rm-product-order-product__name {
	color: #111827;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
}

.rm-product-order-form__hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rm-product-order-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.rm-product-order-form__label {
	display: grid;
	gap: 6px;
	margin-bottom: 18px;
	color: #111827;
	font-size: 15px;
	line-height: 1.3;
}

.rm-product-order-form__field {
	width: 100%;
	height: 58px;
	padding: 0 20px;
	color: #001f3f;
	background: #fff;
	border: 1px solid #9ca3af;
	border-radius: 7px;
	font-size: 16px;
	outline: none;
}

.rm-product-order-form__field:focus {
	border-color: var(--rm-blue);
}

.rm-product-order-form__textarea {
	height: 58px;
	min-height: 58px;
	padding-top: 16px;
	resize: vertical;
}

.rm-product-order-form__file input {
	font-size: 15px;
}

.rm-product-order-form__submit {
	width: 100%;
	height: 58px;
	margin: 2px 0 22px;
	color: #fff;
	background: var(--rm-orange);
	border: 0;
	border-radius: 7px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.rm-product-order-form__submit:hover {
	background: #e96f00;
}

.rm-product-order-form__agree {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: #555;
	font-size: 15px;
	line-height: 1.45;
}

.rm-product-order-form__agree input {
	margin-top: 3px;
}

.rm-product-order-form__agree a {
	color: var(--rm-orange);
}

@media (max-width: 640px) {
	.rm-product-order-modal {
		padding: 16px;
	}

	.rm-product-order-modal__dialog {
		padding: 42px 22px 30px;
		border-radius: 12px;
	}

	.rm-product-order-modal__title {
		margin-bottom: 22px;
		font-size: 25px;
	}

	.rm-product-order-product {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 14px;
		margin-bottom: 22px;
	}

	.rm-product-order-product__image {
		width: 78px;
		height: 62px;
	}

	.rm-product-order-product__name {
		font-size: 16px;
	}

	.rm-product-order-form__row {
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 0;
	}

	.rm-product-order-form__field,
	.rm-product-order-form__submit {
		height: 54px;
	}
}

/* Messenger widget */

.rm-messenger-widget {
	position: fixed;
	right: 32px;
	bottom: 96px;
	z-index: 1150;
	display: grid;
	gap: 10px;
	justify-items: center;
}

.rm-messenger-widget__items {
	display: grid;
	gap: 10px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .18s ease, transform .18s ease;
}

.rm-messenger-widget.is-open .rm-messenger-widget__items {
	opacity: 1;
	transform: translateY(0);
}

.rm-messenger-widget__items[hidden] {
	display: none;
}

.rm-messenger-widget__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	color: #fff;
	background: #1e8eea;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .22);
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rm-messenger-widget__button:hover {
	background: #0f7fd8;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
}

.rm-messenger-widget__button svg {
	display: block;
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.rm-messenger-widget__button--telegram svg {
	width: 30px;
	height: 30px;
}

.rm-messenger-widget__button--max svg {
	width: 29px;
	height: 29px;
}

.rm-messenger-widget__toggle {
	position: relative;
	font-size: 42px;
	line-height: 1;
}

.rm-messenger-widget__icon {
	position: absolute;
	inset: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity .16s ease, transform .16s ease;
}

.rm-messenger-widget__icon--close {
	opacity: 0;
	transform: rotate(-45deg) scale(.8);
	font-size: 54px;
	font-weight: 300;
	line-height: 1;
}

.rm-messenger-widget.is-open .rm-messenger-widget__icon--open {
	opacity: 0;
	transform: rotate(45deg) scale(.8);
}

.rm-messenger-widget.is-open .rm-messenger-widget__icon--close {
	opacity: 1;
	transform: rotate(0) scale(1);
}

@media (max-width: 760px) {
	.rm-messenger-widget {
		right: 18px;
		bottom: 24px;
		gap: 9px;
	}

	.rm-messenger-widget__items {
		gap: 9px;
	}

	.rm-messenger-widget__button {
		width: 52px;
		height: 52px;
	}

	.rm-messenger-widget__button svg {
		width: 26px;
		height: 26px;
	}

	.rm-messenger-widget__icon--close {
		font-size: 50px;
	}
}

/* Cookie notice */

.rm-cookie-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1200;
	padding: 18px 16px;
	background: rgba(0, 31, 63, .96);
	box-shadow: 0 -12px 36px rgba(0, 0, 0, .22);
	opacity: 0;
	transform: translateY(100%);
	transition: opacity .25s ease, transform .25s ease;
}

.rm-cookie-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.rm-cookie-notice__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	width: min(100% - 32px, 1280px);
	margin: 0 auto;
}

.rm-cookie-notice__text {
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: 13px;
	line-height: 1.45;
}

.rm-cookie-notice__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rm-cookie-notice__text a:hover {
	color: var(--rm-orange);
}

.rm-cookie-notice__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 44px;
	padding: 0 24px;
	color: #fff;
	background: var(--rm-orange);
	border: 0;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.rm-cookie-notice__button:hover {
	background: #e96f00;
}

@media (max-width: 760px) {
	.rm-cookie-notice {
		padding: 16px 0;
	}

	.rm-cookie-notice__inner {
		grid-template-columns: 1fr;
		gap: 14px;
		width: min(100% - 24px, 420px);
	}

	.rm-cookie-notice__text {
		font-size: 12px;
		line-height: 1.42;
	}

	.rm-cookie-notice__button {
		width: 100%;
		min-height: 44px;
	}
}

/* Lead modal */

.rm-modal-open {
	overflow: hidden;
}

.rm-lead-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, .78);
}

.rm-lead-modal.is-open {
	display: flex;
}

.rm-lead-modal__dialog {
	position: relative;
	width: min(100%, 600px);
	padding: 46px 48px 38px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.rm-lead-modal__close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 0;
	color: #111827;
	background: transparent;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.rm-lead-modal__title {
	margin: 0 0 18px;
	color: #050505;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.rm-lead-modal__text {
	margin: 0 0 32px;
	color: #777;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
}

.rm-lead-form__hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rm-lead-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}

.rm-lead-form__field {
	width: 100%;
	height: 58px;
	padding: 0 20px;
	color: #001f3f;
	background: #fff;
	border: 1px solid #9ca3af;
	border-radius: 7px;
	font-size: 16px;
	outline: none;
}

.rm-lead-form__field:focus {
	border-color: var(--rm-blue);
}

.rm-lead-form__submit {
	width: 100%;
	height: 58px;
	margin-bottom: 22px;
	color: #fff;
	background: var(--rm-orange);
	border: 0;
	border-radius: 7px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.rm-lead-form__submit:hover {
	background: #e96f00;
}

.rm-lead-form__agree {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: #777;
	font-size: 15px;
	line-height: 1.45;
}

.rm-lead-form__agree input {
	margin-top: 3px;
}

.rm-lead-form__agree a {
	color: var(--rm-orange);
}

@media (max-width: 640px) {
	.rm-lead-modal {
		padding: 16px;
	}

	.rm-lead-modal__dialog {
		padding: 42px 22px 30px;
		border-radius: 12px;
	}

	.rm-lead-modal__title {
		font-size: 28px;
	}

	.rm-lead-modal__text {
		margin-bottom: 24px;
		font-size: 15px;
	}

	.rm-lead-form__row {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 18px;
	}

	.rm-lead-form__field,
	.rm-lead-form__submit {
		height: 54px;
	}
}
/* About page */

.about-hero .container,
.about-benefits .container,
.about-news .container {
	width: min(100% - 32px, 1280px);
}

.about-hero {
	padding: 96px 0 98px;
	color: #fff;
	background: linear-gradient(135deg, #003866 0%, #0064d4 100%);
	text-align: center;
}

.about-hero__inner {
	max-width: 660px;
}

.about-hero__title {
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(40px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.about-hero__text {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.about-hero__text p {
	margin: 0;
}

.about-benefits {
	padding: 120px 0 108px;
	background: #fff;
}

.about-section-title {
	margin: 0;
	color: #050505;
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.about-benefits .about-section-title {
	margin-bottom: 78px;
	text-align: center;
}

.about-benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 72px;
}

.about-benefit {
	position: relative;
	min-height: 190px;
	padding-top: 82px;
}

.about-benefit__number {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	color: #eef5ff;
	font-size: 112px;
	font-weight: 800;
	line-height: .8;
	letter-spacing: .02em;
}

.about-benefit__title,
.about-benefit__text {
	position: relative;
	z-index: 1;
}

.about-benefit__title {
	margin: 0 0 10px;
	color: #050505;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.about-benefit__text {
	margin: 0;
	color: #7a828c;
	font-size: 16px;
	line-height: 1.35;
}

.about-news {
	padding: 34px 0 86px;
	background: #fff;
}

.about-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 50px;
}

.about-news__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 56px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.about-news__all:hover {
	background: #e96f00;
}

.about-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.about-news-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .12);
	overflow: hidden;
}

.about-news-card__image {
	position: relative;
	display: block;
	aspect-ratio: 1.55 / 1;
	background: #dbeafe;
	overflow: hidden;
}

.about-news-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.85);
}

.about-news-card__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 58, 120, .28);
	pointer-events: none;
}

.about-news-card__label {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 16px;
	color: #fff;
	background: var(--rm-orange);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.about-news-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #e5e7eb;
}

.about-news-card__body {
	flex: 1;
	padding: 30px 30px 24px;
}

.about-news-card__title {
	margin: 0 0 18px;
	color: #050505;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.18;
	text-transform: uppercase;
}

.about-news-card__title a:hover {
	color: var(--rm-orange);
}

.about-news-card__excerpt {
	margin-bottom: 28px;
	color: #7a828c;
	font-size: 15px;
	line-height: 1.45;
}

.about-news-card__more {
	color: var(--rm-orange);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.about-news-card__footer {
	padding: 16px 30px 22px;
	color: #9ca3af;
	border-top: 1px solid #edf0f3;
	font-size: 14px;
}

@media (max-width: 980px) {
	.about-hero {
		padding: 44px 0 52px;
	}

	.about-hero__inner {
		max-width: 100%;
	}

	.about-hero__title {
		font-size: 30px;
		line-height: 1.15;
	}

	.about-hero__text {
		font-size: 14px;
		line-height: 1.45;
	}

	.about-benefits {
		padding: 42px 0 54px;
	}

	.about-benefits .about-section-title {
		margin-bottom: 32px;
		text-align: left;
	}

	.about-section-title {
		font-size: 32px;
	}

	.about-benefits__grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.about-benefit {
		min-height: 122px;
		padding-top: 46px;
	}

	.about-benefit__number {
		font-size: 82px;
	}

	.about-benefit__title {
		font-size: 17px;
	}

	.about-news {
		padding: 4px 0 48px;
	}

	.about-news__head {
		display: grid;
		gap: 22px;
		margin-bottom: 30px;
	}

	.about-news__all {
		width: max-content;
		min-width: 130px;
		min-height: 48px;
	}

	.about-news__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.about-news-card__body {
		padding: 28px 24px 22px;
	}

	.about-news-card__title {
		font-size: 20px;
	}
}
/* Articles page */

.articles-page {
	padding: 48px 0 78px;
	background: #fff;
}

.articles-page__container {
	width: min(100% - 32px, 1280px);
}

.articles-page__header {
	margin-bottom: 46px;
}

.articles-page__main-title {
	margin: 0;
	color: #050505;
	font-size: clamp(42px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.articles-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 28px;
}

.articles-page__card {
	border-radius: 6px;
}

.articles-page__date {
	display: block;
	margin-bottom: 16px;
	color: #9ca3af;
	font-size: 14px;
	line-height: 1.3;
}

.articles-page__title {
	margin-bottom: 18px;
	font-size: 24px;
	line-height: 1.22;
}

.articles-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 54px;
}

.articles-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	color: #111827;
	background: transparent;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
}

.articles-pagination .page-numbers.current {
	color: #fff;
	background: var(--rm-orange);
}

.articles-pagination a.page-numbers:hover {
	color: #fff;
	background: var(--rm-orange);
}

@media (max-width: 980px) {
	.articles-page {
		padding: 22px 0 46px;
		background: #eef5ff;
	}

	.articles-page__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.articles-page__container {
		width: min(100% - 32px, 420px);
	}

	.articles-page__title {
		font-size: 24px;
		line-height: 1.28;
	}

	.articles-pagination {
		margin-top: 34px;
	}
}
/* Single article */

.single-article {
	padding: 52px 0 72px;
	background: #fff;
}

.single-article__container {
	width: min(100% - 32px, 1280px);
}

.single-article__header {
	margin-bottom: 30px;
	text-align: center;
}

.single-article__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	margin-bottom: 26px;
	padding: 0 20px;
	color: #fff;
	background: var(--rm-orange);
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.single-article__title {
	max-width: 1120px;
	margin: 0 auto 14px;
	color: #050505;
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 400;
	line-height: 1.18;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.single-article__meta {
	display: inline-flex;
	gap: 8px;
	color: #a3a3a3;
	font-size: 14px;
	line-height: 1.4;
}

.single-article__media {
	position: relative;
	width: min(100%, 480px);
	margin: 0 auto 44px;
}

.single-article__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.single-article__date {
	position: absolute;
	top: 18px;
	left: -110px;
	z-index: 2;
	display: grid;
	align-content: center;
	justify-items: center;
	width: 58px;
	height: 70px;
	color: #050505;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
	text-transform: uppercase;
}

.single-article__date span {
	font-size: 24px;
	line-height: 1;
}

.single-article__date small {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.single-article__content {
	max-width: 1180px;
	margin: 0 auto;
	color: #050505;
	font-size: 17px;
	line-height: 1.58;
}

.single-article__content p {
	margin: 0 0 22px;
}

.single-article__content h2,
.single-article__content h3 {
	margin: 38px 0 18px;
	color: #050505;
	line-height: 1.2;
	text-transform: uppercase;
}

.single-article__content img {
	border-radius: 6px;
}

.single-article__nav {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	gap: 24px;
	margin-top: 54px;
	padding: 28px 0;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.single-article__back {
	grid-column: 2;
	justify-self: center;
	color: var(--rm-orange);
	font-size: 26px;
	line-height: 1;
}

.single-article__side {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	color: #050505;
}

.single-article__side--older {
	grid-template-columns: minmax(0, 1fr) 46px;
	text-align: right;
}

.single-article__side--empty {
	min-height: 46px;
}

.single-article__side-label {
	display: block;
	margin-bottom: 4px;
	color: #b0b0b0;
	font-size: 14px;
	line-height: 1.2;
}

.single-article__side-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.single-article__side-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	color: #050505;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	font-size: 30px;
	line-height: 1;
}

.single-article__side:hover .single-article__side-arrow {
	color: #fff;
	background: var(--rm-orange);
	border-color: var(--rm-orange);
}

@media (max-width: 980px) {
	.single-article {
		padding: 40px 0 48px;
		background: #fff;
	}

	.single-article__container {
		width: min(100% - 32px, 420px);
	}

	.single-article__label {
		margin-bottom: 24px;
	}

	.single-article__title {
		font-size: 25px;
		line-height: 1.35;
		letter-spacing: .03em;
	}

	.single-article__meta {
		margin-bottom: 0;
	}

	.single-article__media {
		width: 100%;
		margin-bottom: 28px;
	}

	.single-article__date {
		top: 18px;
		left: 18px;
		width: 58px;
		height: 58px;
	}

	.single-article__date span {
		font-size: 22px;
	}

	.single-article__content {
		font-size: 17px;
		line-height: 1.5;
	}

	.single-article__content p {
		margin-bottom: 22px;
	}

	.single-article__nav {
		grid-template-columns: 70px 1fr 70px;
		gap: 12px;
		margin-top: 42px;
		padding: 24px 0;
	}

	.single-article__back {
		grid-column: 2;
	}

	.single-article__side {
	grid-template-columns: 44px;
	justify-content: center;
	gap: 0;
}

.single-article__side--older {
	grid-template-columns: 44px;
	text-align: center;
}

.single-article__side-text {
	display: none;
}

.single-article__side-arrow {
	width: 44px;
	height: 44px;
}
}

/* Plain text pages */

.plain-page {
	padding: 52px 0 76px;
	background: #fff;
}

.plain-page__container {
	width: min(100% - 32px, 1280px);
}

.plain-page__breadcrumbs {
	margin-bottom: 28px;
}

.plain-page__title {
	margin: 0 0 36px;
	color: #050505;
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.plain-page__content {
	color: #050505;
	font-size: 17px;
	line-height: 1.58;
}

.plain-page__content > *:first-child {
	margin-top: 0;
}

.plain-page__content > *:last-child {
	margin-bottom: 0;
}

.plain-page__content p {
	margin: 0 0 18px;
}

.plain-page__content h2 {
	margin: 38px 0 18px;
	color: #050505;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.18;
	text-transform: uppercase;
}

.plain-page__content h3 {
	margin: 30px 0 14px;
	color: #050505;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.plain-page__content ul,
.plain-page__content ol {
	margin: 0 0 22px;
	padding-left: 22px;
}

.plain-page__content li {
	margin-bottom: 8px;
}

.plain-page__content a {
	color: var(--rm-orange);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.plain-page__content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

@media (max-width: 980px) {
	.plain-page {
		padding: 34px 0 52px;
	}

	.plain-page__container {
		width: min(100% - 32px, 420px);
	}

	.plain-page__title {
		margin-bottom: 26px;
		font-size: 32px;
		line-height: 1.12;
	}

	.plain-page__content {
		font-size: 16px;
		line-height: 1.5;
	}
}

/* Service pages */

.service-hero {
	padding: 70px 0 66px;
	background: #eef5ff;
	overflow: hidden;
}

.service-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	gap: 70px;
	align-items: center;
	width: min(100% - 32px, 1280px);
}

.service-hero__breadcrumbs {
	margin-bottom: 26px;
	color: #667085;
	font-size: 14px;
	line-height: 1.4;
}

.service-hero__breadcrumbs a {
	color: #667085;
}

.service-hero__breadcrumbs a:hover {
	color: var(--rm-orange);
}

.service-hero__title {
	max-width: 720px;
	margin: 0 0 28px;
	color: #050505;
	font-size: clamp(42px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.service-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 220px;
	min-height: 52px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.service-hero__button:hover {
	background: #e96f00;
}

.service-hero__image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.service-hero__image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.service-content {
	padding: 66px 0 76px;
	background: #fff;
}

.service-content__container {
	width: min(100% - 32px, 1280px);
}

.service-content__wp {
	color: #050505;
	font-size: 17px;
	line-height: 1.48;
}

.service-content__wp > *:first-child {
	margin-top: 0;
}

.service-content__wp p {
	margin: 0 0 18px;
}

.service-content__wp h2 {
	margin: 42px 0 24px;
	color: #050505;
	font-size: clamp(32px, 3.2vw, 48px);
	font-weight: 800;
	line-height: 1.12;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.service-content__wp h3 {
	margin: 28px 0 14px;
	color: #050505;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.18;
	text-transform: uppercase;
}

.service-content__wp strong,
.service-content__wp b {
	font-weight: 800;
}

.service-content__wp ul,
.service-content__wp ol {
	margin: 0 0 24px;
	padding-left: 22px;
}

.service-content__wp li {
	margin-bottom: 8px;
}

.service-content__wp .wp-block-columns {
	gap: 28px;
	margin: 30px 0 42px;
}

.service-content__wp .wp-block-column {
	padding: 34px 34px 36px;
	background: #f7f4ef;
	border-radius: 8px;
}

.service-content__wp .wp-block-column h2,
.service-content__wp .wp-block-column h3,
.service-content__wp .wp-block-column h4 {
	margin-top: 0;
}

.service-content__wp .wp-block-column h2:first-child,
.service-content__wp .wp-block-column h3:first-child,
.service-content__wp .wp-block-column h4:first-child {
	color: var(--rm-orange);
}

@media (max-width: 980px) {
	.service-hero {
		padding: 34px 0 48px;
	}

	.service-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		width: min(100% - 32px, 420px);
	}

	.service-hero__breadcrumbs {
		margin-bottom: 22px;
		font-size: 14px;
	}

	.service-hero__title {
		font-size: 38px;
		line-height: 1.12;
	}

	.service-hero__button {
		width: 100%;
		min-height: 54px;
	}

	.service-hero__image {
		display: none;
	}

	.service-content {
		padding: 46px 0 58px;
	}

	.service-content__container {
		width: min(100% - 32px, 420px);
	}

	.service-content__wp {
		font-size: 18px;
		line-height: 1.36;
	}

	.service-content__wp h2 {
		font-size: 36px;
		line-height: 1.12;
	}

	.service-content__wp h3 {
		font-size: 22px;
	}

	.service-content__wp .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.service-content__wp .wp-block-column {
		padding: 28px 24px 30px;
	}
}

/* Front page */

.front-hero {
	position: relative;
	color: #fff;
	background: linear-gradient(135deg, #003f7f 0%, #0066d7 100%);
	overflow: hidden;
}

.front-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
	gap: 70px;
	align-items: center;
	min-height: 500px;
	width: min(100% - 32px, 1280px);
}

.front-hero__content {
	position: relative;
	z-index: 2;
	padding-bottom: 18px;
}

.front-hero__title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(42px, 4.2vw, 58px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.front-hero__text {
	max-width: 470px;
	margin: 0 0 30px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.front-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	min-height: 48px;
	padding: 0 26px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.front-hero__button:hover {
	background: #e96f00;
}

.front-hero__image {
	position: absolute;
	right: -48px;
	top: 10px;
	bottom: -18px;
	width: min(62vw, 840px);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}

.front-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}

.front-categories {
	position: relative;
	z-index: 3;
	margin-top: -80px;
	padding: 0 0 82px;
	background: transparent;
}

.front-categories__grid {
	display: grid;
	grid-template-columns: repeat(2, 374px);
	justify-content: center;
	gap: 18px;
	width: min(100% - 32px, 766px);
}

.front-category-card {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	width: 374px;
	height: 374px;
	padding: 28px 34px 24px;
	background: #f7f4ef;
	border-radius: 5px;
	overflow: hidden;
}

.front-category-card:hover .front-category-card__title {
	color: var(--rm-orange);
}

.front-category-card__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.front-category-card__title {
	margin: 0;
	color: #050505;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.front-category-card__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 18px;
	padding: 0 9px;
	color: #7a828c;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.front-category-card__image {
	align-self: end;
	justify-self: center;
	width: 112%;
	max-height: 270px;
	object-fit: contain;
	transition: transform .35s ease;
	will-change: transform;
}

.front-category-card:hover .front-category-card__image {
	transform: scale(1.04);
}

.front-section-title {
	margin: 0;
	color: #050505;
	font-size: clamp(38px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.front-benefits {
	padding: 0 0 96px;
	background: #fff;
}

.front-benefits .container,
.front-news .container {
	width: min(100% - 32px, 1280px);
}

.front-benefits__title {
	margin-bottom: 70px;
	text-align: center;
}

.front-benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 62px;
}

.front-benefits .about-benefit {
	position: relative;
	min-height: 150px;
	padding-top: 70px;
}

.front-benefits .about-benefit__number {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	color: #eef5ff;
	font-size: 104px;
	font-weight: 800;
	line-height: .8;
	letter-spacing: .02em;
}

.front-price {
	padding: 0 0 76px;
	background: #fff;
}

.front-price__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	width: min(100% - 32px, 1220px);
	min-height: 430px;
	padding: 64px 58px 56px;
	color: #fff;
	background: linear-gradient(135deg, #003f7f 0%, #0066d7 100%);
	border-radius: 8px;
	overflow: visible;
}

.front-price__content {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.front-price__title {
	margin: 0 0 28px;
	color: #fff;
	font-size: clamp(42px, 4.3vw, 64px);
	font-weight: 800;
	line-height: 1.03;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.front-price__content p {
	max-width: 560px;
	margin: 0 0 22px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.front-price__content p:last-of-type {
	margin-bottom: 0;
}

.front-price__buttons {
	display: grid;
	gap: 18px;
	margin-top: 38px;
}

.front-price__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: max-content;
	min-width: 250px;
	min-height: 58px;
	padding: 0 34px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.front-price__button--wide {
	min-width: 460px;
	max-width: 520px;
}

.front-price__button:hover {
	background: #e96f00;
}

.front-price__image {
	position: absolute;
	right: -58px;
	bottom: -8px;
	z-index: 1;
	width: min(58%, 720px);
	pointer-events: none;
}

.front-price__image img {
	display: block;
	width: 100%;
	height: auto;
}

.front-news {
	padding: 0 0 78px;
	background: #fff;
}

.front-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 48px;
}

.front-news__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 56px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.front-news__all:hover {
	background: #e96f00;
}

.front-news__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.front-hero {
		text-align: center;
	}

	.front-hero__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 22px;
		min-height: 0;
		width: min(100% - 24px, 420px);
		padding: 48px 0 0;
	}

	.front-hero__content {
		padding-bottom: 0;
	}

	.front-hero__title {
		font-size: 42px;
		line-height: 1.08;
	}

	.front-hero__text {
		margin-inline: auto;
		font-size: 14px;
		line-height: 1.38;
	}

	.front-hero__button {
		min-width: 210px;
		min-height: 54px;
	}

	.front-hero__image {
		position: relative;
		right: auto;
		top: auto;
		bottom: auto;
		width: 126%;
		margin: 2px 0 -2px -13%;
	}

	.front-categories {
		margin-top: 0;
		padding: 8px 0 46px;
		background: #eef5ff;
	}

	.front-categories__grid {
		grid-template-columns: 1fr;
		width: min(100% - 20px, 420px);
		gap: 12px;
	}

	.front-category-card {
	width: 100%;
	height: 360px;
	min-height: 0;
	padding: 24px 26px 22px;
	border-radius: 4px;
}

	.front-category-card__title {
		font-size: 18px;
	}

	.front-category-card__image {
		width: 100%;
		max-height: 285px;
	}

	.front-benefits {
		padding: 42px 0 54px;
	}

	.front-benefits .container,
	.front-news .container {
		width: min(100% - 32px, 420px);
	}

	.front-benefits__title {
		margin-bottom: 32px;
		text-align: center;
	}

	.front-section-title {
		font-size: 32px;
	}

	.front-benefits__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.front-benefits .about-benefit {
		min-height: 118px;
		padding-top: 46px;
	}

	.front-benefits .about-benefit__number {
		font-size: 82px;
	}

	.front-price {
	padding: 0 0 54px;
}

.front-price__inner {
	grid-template-columns: 1fr;
	gap: 20px;
	width: min(100% - 10px, 420px);
	min-height: 0;
	padding: 30px 20px 0;
}

.front-price__title {
	font-size: 32px;
}

.front-price__content {
	max-width: none;
}

.front-price__content p {
	font-size: 13px;
	line-height: 1.35;
}

.front-price__button,
.front-price__button--wide {
	width: 100%;
	min-width: 0;
	max-width: none;
	min-height: 48px;
	padding-inline: 18px;
	text-align: center;
}

.front-price__image {
	position: relative;
	right: auto;
	bottom: auto;
	width: 118%;
	margin: 4px 0 -18px -8%;
}

	.front-news {
		padding: 0 0 54px;
	}

	.front-news__head {
		display: grid;
		gap: 22px;
		margin-bottom: 30px;
	}

	.front-news__all {
		width: max-content;
		min-width: 130px;
		min-height: 48px;
	}

	.front-news__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}
/* Gallery page */

.gallery-page {
	padding: 42px 0 0;
	background: #fff;
}

.gallery-page__container {
	width: min(100% - 32px, 1280px);
}

.gallery-page__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 28px;
	color: #667085;
	font-size: 13px;
	line-height: 1.4;
}

.gallery-page__breadcrumbs a {
	color: #667085;
}

.gallery-page__breadcrumbs a:hover {
	color: var(--rm-orange);
}

.gallery-page__breadcrumbs span:last-child {
	color: #1f2933;
	font-weight: 600;
}

.gallery-page__title {
	margin: 0 0 64px;
	color: #050505;
	font-size: clamp(42px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.gallery-page__content {
	color: #050505;
}

.gallery-page__content > *:first-child {
	margin-top: 0;
}

.gallery-page__content h1 {
	display: none;
}

.gallery-page__content h2,
.gallery-page__content h3 {
	margin: 0 0 24px;
	color: #050505;
	font-size: clamp(30px, 3.2vw, 46px);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.gallery-page__content h2:not(:first-child),
.gallery-page__content h3:not(:first-child) {
	margin-top: 58px;
}

/* Gallery grids */

.gallery-page__content .gallery,
.gallery-page__content .wp-block-gallery,
.gallery-page__plain-gallery {
	width: 100%;
}

.gallery-page__content .gallery,
.gallery-page__content .wp-block-gallery,
.gallery-page__plain-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 0 0 56px !important;
}

.gallery-page__content .gallery::before,
.gallery-page__content .gallery::after {
	display: none !important;
	content: none !important;
}

.gallery-page__content .gallery-item,
.gallery-page__content .gallery-columns-1 .gallery-item,
.gallery-page__content .gallery-columns-2 .gallery-item,
.gallery-page__content .gallery-columns-3 .gallery-item,
.gallery-page__content .gallery-columns-4 .gallery-item,
.gallery-page__content .gallery-columns-5 .gallery-item,
.gallery-page__content .gallery-columns-6 .gallery-item,
.gallery-page__content .gallery-columns-7 .gallery-item,
.gallery-page__content .gallery-columns-8 .gallery-item,
.gallery-page__content .gallery-columns-9 .gallery-item,
.gallery-page__content .wp-block-gallery figure,
.gallery-page__plain-item {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.gallery-page__content .gallery-icon,
.gallery-page__plain-item p,
.gallery-page__plain-item figure {
	margin: 0 !important;
}

.gallery-page__content .gallery a,
.gallery-page__plain-item a {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery-page__content .gallery img,
.gallery-page__content .wp-block-gallery img,
.gallery-page__content .wp-block-image img,
.gallery-page__plain-gallery img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
	border: 0 !important;
	border-radius: 6px;
}

.gallery-page__content .gallery a,
.gallery-page__plain-item a {
	overflow: hidden;
	border-radius: 6px;
	cursor: zoom-in;
}

.gallery-page__content #gallery-1,
.gallery-page__plain-gallery--first {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.gallery-page__content #gallery-1 img,
.gallery-page__plain-gallery--first img {
	height: 360px;
}

/* Gallery lightbox */

.rm-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 54px 78px;
	background: rgba(0, 0, 0, .88);
}

.rm-gallery-lightbox.is-open {
	display: flex;
}

.rm-gallery-lightbox__image {
	display: block;
	max-width: min(100%, 1180px);
	max-height: calc(100vh - 108px);
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.rm-gallery-lightbox__close,
.rm-gallery-lightbox__prev,
.rm-gallery-lightbox__next {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .24);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.rm-gallery-lightbox__close:hover,
.rm-gallery-lightbox__prev:hover,
.rm-gallery-lightbox__next:hover {
	background: var(--rm-orange);
	border-color: var(--rm-orange);
}

.rm-gallery-lightbox__close {
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 32px;
	line-height: 1;
}

.rm-gallery-lightbox__prev,
.rm-gallery-lightbox__next {
	top: 50%;
	width: 52px;
	height: 72px;
	border-radius: 8px;
	font-size: 46px;
	line-height: 1;
	transform: translateY(-50%);
}

.rm-gallery-lightbox__prev {
	left: 22px;
}

.rm-gallery-lightbox__next {
	right: 22px;
}

.rm-gallery-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 20px;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	line-height: 1;
	transform: translateX(-50%);
}

@media (max-width: 640px) {
	.rm-gallery-lightbox {
		padding: 54px 14px;
	}

	.rm-gallery-lightbox__image {
		max-height: calc(100vh - 130px);
		border-radius: 6px;
	}

	.rm-gallery-lightbox__close {
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.rm-gallery-lightbox__prev,
	.rm-gallery-lightbox__next {
		top: auto;
		bottom: 12px;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		font-size: 34px;
		transform: none;
	}

	.rm-gallery-lightbox__prev {
		left: 14px;
	}

	.rm-gallery-lightbox__next {
		right: 14px;
	}
}

@media (max-width: 980px) {
	.gallery-page {
		padding: 28px 0 0;
	}

	.gallery-page__container {
		width: min(100% - 24px, 420px);
	}

	.gallery-page__breadcrumbs {
	margin-bottom: 22px;
	font-size: 12px;
}

.gallery-page__title {
	margin-bottom: 34px;
	font-size: 34px;
	line-height: 1.08;
}

	.gallery-page__content h2,
	.gallery-page__content h3 {
		margin-bottom: 18px;
		font-size: 28px;
		line-height: 1.12;
	}

	.gallery-page__content h2:not(:first-child),
	.gallery-page__content h3:not(:first-child) {
		margin-top: 38px;
	}

	.gallery-page__content .gallery,
	.gallery-page__content .wp-block-gallery,
	.gallery-page__plain-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 6px;
		width: 100%;
		margin-bottom: 38px !important;
	}

	.gallery-page__content #gallery-1,
	.gallery-page__plain-gallery--first {
		grid-template-columns: 1fr !important;
	}

	.gallery-page__content .gallery img,
	.gallery-page__content .wp-block-gallery img,
	.gallery-page__content .wp-block-image img,
	.gallery-page__plain-gallery img {
		height: 160px;
	}

	.gallery-page__content #gallery-1 img,
	.gallery-page__plain-gallery--first img {
		height: 240px;
	}
}
/* 404 page */

.error-404 {
	padding: 88px 0 96px;
	background:
		radial-gradient(circle at 82% 18%, rgba(0, 91, 187, .08), transparent 34%),
		linear-gradient(180deg, #fff 0%, #f7f4ef 100%);
}

.error-404__container {
	display: flex;
	justify-content: center;
}

.error-404__content {
	width: min(100%, 760px);
	padding: 56px 48px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 18px;
	box-shadow: 0 22px 54px rgba(15, 23, 42, .1);
}

.error-404__code {
	margin: 0 0 12px;
	color: var(--rm-blue);
	font-size: clamp(82px, 13vw, 150px);
	font-weight: 800;
	line-height: .9;
	letter-spacing: .03em;
}

.error-404__title {
	margin: 0 0 18px;
	color: #050505;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
}

.error-404__text {
	max-width: 560px;
	margin: 0 auto 30px;
	color: var(--rm-muted);
	font-size: 17px;
	line-height: 1.55;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 30px;
}

.error-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.error-404__button--primary {
	color: #fff !important;
	background: var(--rm-orange);
}

.error-404__button--primary:hover,
.error-404__button--primary:focus {
	color: #fff !important;
	background: #e96f00;
}

.error-404__button--secondary {
	color: var(--rm-blue);
	background: #fff;
	border: 1px solid var(--rm-blue);
}

.error-404__button--secondary:hover {
	color: #fff;
	background: var(--rm-blue);
}

.error-404__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 120px;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}

.error-404__search-field {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	color: var(--rm-text);
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 7px;
	font-size: 15px;
	outline: none;
}

.error-404__search-field:focus {
	border-color: var(--rm-blue);
}

.error-404__search-submit {
	height: 48px;
	padding: 0 18px;
	color: #fff;
	background: var(--rm-blue);
	border: 0;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.error-404__search-submit:hover {
	background: var(--rm-blue-dark);
}

@media (max-width: 640px) {
	.error-404 {
		padding: 46px 0 58px;
	}

	.error-404__content {
		padding: 38px 22px;
		border-radius: 14px;
	}

	.error-404__text {
		font-size: 15px;
	}

	.error-404__actions {
		display: grid;
	}

	.error-404__button {
		width: 100%;
	}

	.error-404__search {
		grid-template-columns: 1fr;
	}

	.error-404__search-submit {
		width: 100%;
	}
}