/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.leisure-header {
	margin-top: 140px;
	display: flex;
	align-items: center;
}

.leisure-header__thumb {
	position: relative;
	width: 100%;
}

.leisure-header__thumb:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(180deg, rgba(0, 0, 0, 0.4) -51.28%, rgba(0, 0, 0, 0) 25.12%, rgba(0, 0, 0, 0.4) 100%),linear-gradient(93.87deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 161.76%);
}

.leisure-header__img {
	height: 390px;
	width: 100%;
	object-fit: cover;
}

.leisure-header__main-block {
	position: absolute;
	width: 100%;
	z-index: 1;
}

.leisure-header__text-block {
	display: flex;
	flex-direction: column;
	max-width: 600px;
	width: 100%;
}

.leisure-header__title {
	font-size: 42px;
	line-height: 1.8;
	color: #FFFFFF;
	font-weight: 400;

}

.leisure-header__list {
	display: flex;
	flex-wrap: wrap;
}

.leisure-header__item {
	margin-top: 8px;
	margin-right: 8px;
}

.leisure-header__item-link {
	display: block;
	text-align: center;
	box-sizing: border-box;
	padding: 8px 10px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid #767F92;
	backdrop-filter: blur(5px);
	border-radius: 32px;
	line-height: 1.7;
	color: #FFFFFF;
	font-weight: 500;
	font-size: 14px;
}


@media only screen and (max-width: 768.99px) {
	.leisure-header {
		margin-top: 104px;
	}
}

@media only screen and (max-width: 430.99px) {
	.leisure-header__img {
		height: 390px;
	}

	.leisure-header__title {
		font-size: 28px;
	}

	.leisure-header__list {
		margin-top: 14px;
	}

	.leisure-header__item-link {
		font-size: 14px;
		padding: 8px 10px;
	}
}
/*--------------------------------------------------------------
# Leisure
--------------------------------------------------------------*/

.leisure__list {
	display: flex;
	flex-direction: column;
}

.leisure__item {
	display: grid;
	grid-template-columns: 500px 1fr;
	grid-gap: 0 70px;
	padding: 70px 0;
	box-sizing: border-box;
}

.leisure__item:last-child {
	padding-bottom: 0px;
}

.leisure__item:nth-child(2n) {
	grid-template-columns: 1fr 500px;
}

.leisure__item-video-block,
.leisure__item-thumb {
	position: relative;
	width: 100%;
	height: 625px;
}

.leisure__item-btn {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 11;
	display: block;
	transform: translate(-50%,-50%);
}

.leisure__item-video-block.active .play-btn {
	opacity: 0;
	left: 0;
	top: 0;
	transform: unset;
	width: 100%;
	height: calc(100% - 60px);
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.leisure__item:nth-child(2n) .video-block,
.leisure__item:nth-child(2n) .item-thumb {
	order: 2;
}

.leisure__item-video-block:after,
.leisure__item-thumb:after {
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	overflow: hidden;
	position: absolute;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50.5%, rgba(0, 0, 0, 0.4) 100%);
	z-index: 0;
}

.leisure__item-video-block.active:after {
	content: unset;
}

.leisure__item-img,
.leisure__item-video {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

.leisure__item-title {
	font-size: 32px;
	color: #1B2A49;
	line-height: 1.8;
}


.leisure__item:nth-child(2n) .item-content-block {
	order: 1;
}

.leisure__item-content * {color: #1B2A49;}

.leisure__item-content p {
	margin-bottom: 25px;
}

.leisure__item-content ul,
.leisure__item-content ol {
	display: flex;
	flex-direction: column;
	padding-left: 24px;
	box-sizing: border-box;
}

.leisure__item-content li {
	padding: 7px 0;
	list-style-type: inherit;
	display: list-item;
	line-height: 1.7;
}

.leisure__item-content blockquote {
	margin: 0;
	margin-top: 24px;
	margin-bottom: 24px;
	box-sizing: border-box;
	display: block;
	padding: 12px;
	background: #F9F9FA;
	border: 1px solid #D1D4DB;
	border-radius: 4px;
}

.leisure__item-content blockquote * {
	line-height: 1.7;
}

.leisure__item-content blockquote p {
	margin-bottom: 15px;
}

.leisure__item-content blockquote h4 {
	font-size: 16px;
	font-weight: 600;
	font-family: 'Inter';
	color: #1B2A49;
	margin-bottom: 15px;
}

@media only screen and (max-width: 1440.99px) {

	.leisure__item {
		grid-template-columns: 35vw 1fr;
		grid-gap: 0 5vw;
	}
	.leisure__item:nth-child(2n) {
		grid-template-columns: 1fr 35vw;
	}
}
@media only screen and (max-width: 1080.99px) {
	.leisure__item {
		grid-template-columns: 45vw 1fr;
	}
	.leisure__item-video-block,
	.leisure__item-thumb {
		height: 500px;
	}
}
@media only screen and (max-width: 768.99px) {
	.leisure__item {
		display: block;
		padding: 0;
	}

	.leisure__item-content-block {
		margin-top: 30px;
	}

	.leisure__item-content p {
		margin-bottom: 24px;
	}

	.leisure__item-title {
		margin-bottom: 24px;
	}
}

@media only screen and (max-width: 520.99px) {
	.leisure__item-content li {
		font-size: 14px;
	}

	.leisure__item-title {
		font-size: 24px;
	}

	.leisure__item-video-block,
	.leisure__item-thumb {
		height: 360px;
	}

	.leisure__item-content-block {
		margin-top: 24px;
	}
}