.page-tiles-container {
	--tile-margin-botton: 200px;
	--tile-padding: 70px 80px;
	width: 100%;
	overflow: hidden;
}

.page-tile-row {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--gray);
	margin-bottom: var(--tile-margin-botton);
	position: relative;
}

.page-tile-row p:last-of-type {
	margin-bottom: 0;
}

.page-tile-row:before {
	position: absolute;
	display: block;
	content: " ";
	left: 100%;
	top: 0;
	width: 100vw;
	height: 100%;
	background-color: var(--gray);
	z-index: 0;
}

.page-tile-image {
	width: 50%;
	box-sizing: border-box;
}

.page-tile-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1070/720;
	object-fit: cover;
	object-position: center center;
}

.page-tile-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	width: 50%;
	text-align: center;
	box-sizing: border-box;
	padding: var(--tile-padding);
}

.page-tile-text .main-title, .tile-big-text .main-title {
	text-transform: uppercase;
}

.page-tile-row:nth-of-type(2n) .page-tile-text {
	order: 2;
}

.page-tile-row:nth-of-type(2n) .page-tile-image {
	order: 1;
}

.page-tile-row:nth-of-type(2n):before {
	left: auto;
	right: 100%;
}

@media screen and (max-width: 1120px) {
	.page-tile-image, .page-tile-row:nth-of-type(2n) .page-tile-image {
		width: 100%;
		order: 1;
	}

	.page-tile-text, .page-tile-row:nth-of-type(2n) .page-tile-text {
		width: 100%;
		order: 2;
	}

	.page-tile-row:before, .page-tile-row:nth-of-type(2n):before {
		display: none;
	}
}

/* big tiles */

.tile-big {
	position: relative;
	margin-bottom: 270px;
}

.tile-big-image {
	width: 100%;
	aspect-ratio: 2500/1400;
	position: relative;
}

.tile-big-image:after {
	position: absolute;
	content: " ";
	display: block;
	top: 100%;
	left: calc((100vw - 1920px) / 2);
	width: 50%;
	height: 70px;
	background-color: var(--red);
	z-index: 1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 70px 100%);
}

@media screen and (min-width: 2560px) {
	.tile-big-image:after {
		left: 320px;
	}
}

@media screen and (max-width: 1920px) {
	.tile-big-image:after {
		left: var(--main-padding);
	}
}

.tile-big-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.tile-big-text {
	position: absolute;
	bottom: -150px;
	right: 0;
	background-color: #000000;
	color: #ffffff;
	width: 50%;
	padding: var(--tile-padding);
	box-sizing: border-box;
	z-index: 2;
}

.tile-big-text-inner {
	width: 100%;
	max-width: 810px;
}

@media screen and (max-width: 1680px) {
	.tile-big-text {
		width: calc(100vw - 400px);
	}
}

@media screen and (max-width: 1360px) {
	.page-tiles-container {
		--tile-padding: 50px 60px;
	}

	.page-tile-text {
		padding-bottom: 70px;
	}
}

@media screen and (max-width: 1120px) {
	.page-tiles-container {
		--tile-margin-botton: 100px;
	}

	.tile-big-text {
		position: static;
		width: 100%;
		text-align: center;
	}

	.tile-big-image:after {
		display: none;
	}

	.tile-big-text-inner {
		margin: 0 auto;
	}

	.tile-big {
		margin-bottom: var(--tile-margin-botton);
	}
}

@media screen and (max-width: 680px) {
	.page-tiles-container {
		--tile-padding: var(--main-padding) var(--main-padding) 70px var(--main-padding);
	}

	.tile-big-text {
		padding: var(--main-padding);
	}
}
