/* ==========================================================
 * GRPARALLEL 2.4.18 — группы стилей
 * 01. Стандартная страница
 * 02. Заголовок страницы
 * 03. Контент и прокрутка
 * 04. Таблицы, списки и WP-блоки
 * 05. Адаптивность
 * ========================================================== */

/*
 * GRPARALLEL
 * Standard WordPress page
 */

/* =========================================================
   MAIN WINDOW
   ========================================================= */

.standard-page {
	position: fixed;
	inset: 0;

	width: 100%;
	height: 100%;

	overflow: hidden;

	background: transparent;
	color: var(--white, #f4f4f4);

	min-width: 0;
	min-height: 0;
}

.standard-page-window {
	position: relative;

	width: calc(100% - var(--nav-width, 14vw) - 5.5vw);
	height: calc(100vh - 2vw);
	min-height: 0;

	margin-top: 1vw;
	margin-left: calc(var(--nav-width, 14vw) + 2vw);
	margin-right: 3.5vw;

	padding: 2.5vw 3vw 2.2vw;

	box-sizing: border-box;

	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 1.5vw;

	background: #171717;

	box-shadow: 0 2vw 6vw rgba(0, 0, 0, .30);

	display: flex;
	flex-direction: column;

	min-width: 0;
	min-height: 0;

	overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.standard-page-header {
	flex: 0 0 auto;

	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 2vw;

	padding-bottom: 1.8vw;

	border-bottom: 1px solid rgba(255, 255, 255, .09);

	min-width: 0;
}

.standard-page-title {
	flex: 1 1 auto;

	min-width: 0;
}

.standard-page-eyebrow {
	margin-bottom: .55vw;

	color: #0073AA;

	font-size: .65vw;
	line-height: 1.1;

	font-weight: 800;

	letter-spacing: .16vw;
	text-transform: uppercase;

	white-space: nowrap;
}

.standard-page-title h1 {
	margin: 0;

	max-width: 100%;

	color: var(--white, #f4f4f4);

	font-size: 4.5vw;
	line-height: .92;

	font-weight: 700;

	letter-spacing: -.055em;

	white-space: normal;

	overflow-wrap: anywhere;
}

.standard-page-back-link {
	flex: 0 0 auto;

	align-self: flex-end;
}

@media (max-width: 1200px) and (min-width: 768px){

	.standard-page-header {
		display: block;
	}

	.standard-page-back-link {
		display: inline-flex;
		margin-top: 2vw;
	}

}

/* =========================================================
   CONTENT SCROLL
   ========================================================= */

.standard-page-content-scroll {
	flex: 1 1 auto;

	min-width: 0;
	min-height: 0;

	margin-top: 1.6vw;

	padding-right: .7vw;

	overflow-x: hidden;
	overflow-y: auto;

	scrollbar-width: thin;
	scrollbar-color: #444 transparent;

	-webkit-overflow-scrolling: touch;

	overscroll-behavior: contain;
}

.standard-page-content-scroll::-webkit-scrollbar {
	width: .35vw;
	min-width: 4px;
}

.standard-page-content-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.standard-page-content-scroll::-webkit-scrollbar-thumb {
	background: #444;

	border-radius: 999px;

	border: .08vw solid #171717;
}

.standard-page-content-scroll::-webkit-scrollbar-thumb:hover {
	background: #0073AA;
}

/* =========================================================
   CONTENT
   ========================================================= */

.standard-page-content {
	width: 100%;
	max-width: 70vw;

	margin: 0 auto;

	padding: 0 0 2vw;

	box-sizing: border-box;

	color: rgba(244, 244, 244, .78);

	font-size: .85vw;
	line-height: 1.7;
}

.standard-page-content > * {
	max-width: 100%;
}

/* paragraphs */

.standard-page-content p {
	margin: 0 0 1vw;
}

/* headings */

.standard-page-content h2 {
	margin: 1.8vw 0 .8vw;

	color: var(--white, #f4f4f4);

	font-size: 1.55vw;
	line-height: 1.15;

	font-weight: 700;

	letter-spacing: -.025em;
}

.standard-page-content h3 {
	margin: 1.5vw 0 .65vw;

	color: var(--white, #f4f4f4);

	font-size: 1.15vw;
	line-height: 1.2;

	font-weight: 700;
}

.standard-page-content h4 {
	margin: 1.2vw 0 .55vw;

	color: var(--white, #f4f4f4);

	font-size: .95vw;
	line-height: 1.25;

	font-weight: 700;
}

/* first heading */

.standard-page-content > h2:first-child,
.standard-page-content > h3:first-child,
.standard-page-content > h4:first-child {
	margin-top: 0;
}

/* links */

.standard-page-content a {
	color: #0073AA;

	text-decoration: none;

	border-bottom: 1px solid rgba(0, 115, 170, .35);

	transition:
		color .2s ease,
		border-color .2s ease;
}

.standard-page-content a:hover {
	color: #0086c7;

	border-color: #0086c7;
}

/* lists */

.standard-page-content ul,
.standard-page-content ol {
	margin: 0 0 1.2vw;

	padding-left: 1.5vw;
}

.standard-page-content li {
	margin-bottom: .45vw;
}

/* strong */

.standard-page-content strong,
.standard-page-content b {
	color: var(--white, #f4f4f4);
}

/* images */

.standard-page-content img {
	display: block;

	max-width: 100%;
	height: auto;

	border-radius: .8vw;
}

/* figures */

.standard-page-content figure {
	margin: 1.5vw 0;
}

.standard-page-content figcaption {
	margin-top: .5vw;

	color: rgba(244, 244, 244, .5);

	font-size: .7vw;
}

/* blockquote */

.standard-page-content blockquote {
	margin: 1.5vw 0;

	padding: 1vw 1.4vw;

	border-left: .2vw solid #0073AA;

	background: rgba(255, 255, 255, .035);

	border-radius: 0 .6vw .6vw 0;
}

/* tables */

.standard-page-content table {
	width: 100%;

	margin: 1.5vw 0;

	border-collapse: collapse;

	font-size: .78vw;
}

.standard-page-content th,
.standard-page-content td {
	padding: .7vw;

	border: 1px solid rgba(255, 255, 255, .1);

	text-align: left;
}

.standard-page-content th {
	color: var(--white, #f4f4f4);

	background: rgba(255, 255, 255, .04);
}

/* horizontal rule */

.standard-page-content hr {
	margin: 2vw 0;

	border: 0;

	border-top: 1px solid rgba(255, 255, 255, .1);
}

/* =========================================================
   WORDPRESS BLOCK EDITOR CONTENT
   ========================================================= */

.standard-page-content .wp-block-heading {
	color: var(--white, #f4f4f4);
}

.standard-page-content .wp-block-image {
	margin-top: 1.5vw;
	margin-bottom: 1.5vw;
}

.standard-page-content .wp-block-separator {
	border-color: rgba(255, 255, 255, .1);
}

.standard-page-content .wp-block-button__link {
	background: #0073AA;

	color: #fff;

	border: 0;
	border-radius: 999px;

	padding: .75vw 1.25vw;

	font-size: .75vw;
	font-weight: 700;

	text-decoration: none;

	transition:
		transform .25s ease,
		background .25s ease;
}

.standard-page-content .wp-block-button__link:hover {
	background: #0086c7;

	color: #fff;

	transform: translateY(-2px);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px){

	.standard-page {
		position: relative;

		min-height: 100svh;
		height: auto;

		overflow: visible;
	}

	.standard-page-window {
		width: calc(100% - 8vw);

		height: auto;
		min-height: calc(100svh - 32vw);

		margin: 24vw 4vw 8vw;

		padding: 7vw 6vw 6vw;

		border-radius: 5vw;

		overflow: hidden;
	}

	.standard-page-header {
		display: block;

		padding-bottom: 5vw;
	}

	.standard-page-eyebrow {
		margin-bottom: 2.5vw;

		font-size: 2.7vw;

		letter-spacing: .6vw;
	}

	.standard-page-title h1 {
		font-size: 10vw;

		line-height: .95;

		white-space: normal;
	}

	.standard-page-content-scroll {
		margin-top: 5vw;

		padding-right: 0;

		/*
		 * На мобильном скроллим саму страницу,
		 * а не вложенный контейнер.
		 */
		overflow: visible;
	}

	.standard-page-content {
		max-width: none;

		padding-bottom: 8vw;

		font-size: 4vw;

		line-height: 1.65;
	}

	.standard-page-content p {
		margin-bottom: 4vw;
	}

	.standard-page-content h2 {
		margin: 7vw 0 3vw;

		font-size: 7vw;
	}

	.standard-page-content h3 {
		margin: 6vw 0 2.5vw;

		font-size: 5.5vw;
	}

	.standard-page-content h4 {
		margin: 5vw 0 2vw;

		font-size: 4.8vw;
	}

	.standard-page-content ul,
	.standard-page-content ol {
		margin-bottom: 5vw;

		padding-left: 6vw;
	}

	.standard-page-content li {
		margin-bottom: 2vw;
	}

	.standard-page-content figure {
		margin: 6vw 0;
	}

	.standard-page-content figcaption {
		margin-top: 2vw;

		font-size: 3.2vw;
	}

	.standard-page-content blockquote {
		margin: 6vw 0;

		padding: 4vw 5vw;

		border-left-width: 1vw;

		border-radius: 0 3vw 3vw 0;
	}

	.standard-page-content table {
		font-size: 3.5vw;
	}

	.standard-page-content th,
	.standard-page-content td {
		padding: 3vw;
	}

	.standard-page-content .wp-block-button__link {
		padding: 3.5vw 6vw;

		font-size: 3.8vw;
	}

}

/* =========================================================
   BACK TO HOME
   ========================================================= */

.standard-page-back-link {
	flex: 0 0 auto;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: .7vw;

	padding: .75vw 1.15vw;

	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;

	background: rgba(255, 255, 255, .025);

	color: var(--white, #f4f4f4);

	font-size: .72vw;
	line-height: 1;
	font-weight: 700;

	text-decoration: none;

	white-space: nowrap;

	transition:
		transform .25s ease,
		background .25s ease,
		border-color .25s ease,
		color .25s ease;
}

.standard-page-back-icon {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	width: 1.25vw;
	height: 1.25vw;

	font-size: .8vw;
	line-height: 1;

	transition: transform .25s ease;
}

.standard-page-back-link:hover {
	transform: translateY(-2px);

	background: #0073AA;

	border-color: #0073AA;

	color: #fff;
}

.standard-page-back-link:hover .standard-page-back-icon {
	transform: translate(2px, -2px);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px){

	.standard-page-back-link {
		margin-top: 5vw;

		padding: 3vw 4.5vw;

		font-size: 3.3vw;

		gap: 2vw;
	}

	.standard-page-back-icon {
		width: 5vw;
		height: 5vw;

		font-size: 4vw;
	}

}