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

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

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

.houses-header__img {
	height: 390px;
	width: 100%;
}

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

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

.houses-header__title {
	font-size: 42px;
	line-height: 1.7;
	color: #FFFFFF;

}

.houses-header__short-descr {
	font-size: 16px;
	margin-top: 24px;
	color: #FFFFFF;
	line-height: 2;
}

.houses-header__order-btn {
	margin-top: 24px;
}

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

	.houses-header {
		margin-top: 104px;
	}
}
@media only screen and (max-width: 430.99px) {
	.houses-header__img {
		height: 390px;
	}

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

	.houses-header__short-descr {
		margin-top: 24px;
		font-size: 14px;
		line-height: 2.2;
	}
}
/*--------------------------------------------------------------
# Houses list
--------------------------------------------------------------*/
.houses__top-title {
	display: flex;
	flex-direction: column;
}

.houses__title {
	line-height: 1.8;
	font-size: 32px;
}

.houses__sub-title {
	color: #767F92;
	display: block;
	font-size: 22px;
}

.houses__list {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 24px 30px;
}

.houses__item {
	position: relative;
}

.houses__item-top-block {
	padding: 24px;
	box-sizing: border-box;
	display: block;
	border: 1px solid #E8E9EC;
}

.houses__item-img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.houses__item-thumb {
	display: block;
	position: relative;
}

.houses__item-thumb:after {
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) -65.95%, rgba(0, 0, 0, 0.4) 100%);
}

.houses__item-title {
	margin-top: 10px;
	font-size: 24px;
	font-weight: 700;
	font-family: 'Inter';
}

.houses__item-bottom-block {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	opacity: 0;
	z-index: -111;
	padding: 24px;
	background: #1B2A49;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.houses__item:hover .item-bottom-block {
	opacity: 1;
	width: 100%;
	height: 100%;
	z-index: 111;
	transition: opacity .4s;
}

.houses__item-bottom-title {
	color: #FFFFFF;
	font-size: 24px;
	font-weight: 700;
}

.houses__item-bottom-prices {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
}
.houses__item-bottom-weekend-price,
.houses__item-bottom-weekdays-price {
	display: flex;
	flex-direction: column;
}

.houses__item-bottom-weekend-price{
	margin-top: 10px;
}

.houses__item-bottom-weekdays-title {
	font-size: 18px;
	color: #FFFFFF;
}

.houses__item-bottom-weekdays-value {
	margin-top: 8px;
	color: #FFFFFF;
	font-size: 24px;
	font-weight: 500;
}

.houses__item-bottom-weekdays-value strong {
	font-weight: 700;
	font-size: 32px;
	line-height: inherit;
	color: inherit;
}

.houses__item-link {
	margin-top: auto;
	color: #FAB24C;
	display: grid;
	grid-template-columns: repeat(2, max-content);
	align-items: center;
	grid-gap: 0 4px;
}

.houses__item-link svg {
	width: 18px;
	height: 18px;
}


@media only screen and (max-width: 920.99px) {
	.houses__item-bottom-block {
		padding: 16px;
	}

	.houses__item-top-block {
		padding: 16px;
	}

	.houses__item-img {
		height: 230px;
	}

	.houses__item-title {
		font-size: 20px;
	}

}

@media only screen and (max-width: 768.99px) {
	.houses__list {
		grid-template-columns: 100%;
		grid-gap: 24px 0;
	}

	.houses__item-bottom-weekdays-value {
		font-size: 20px;
	}

	.houses__item-bottom-weekdays-value strong {
		font-size: 28px;
	}

	.houses__item-bottom-weekdays-title {
		font-size: 15px;
	}

	.houses__item-bottom-prices {
		margin-top: 24px;
	}
}

@media only screen and (max-width: 520.99px) {
	.houses__top-title {
		max-width: 300px;
	}
	.houses__title {
		font-size: 24px;
	}

	.houses__sub-title {
		margin-top: 8px;
		font-size: 16px;
	}
}

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

	.houses__item-top-block {
		padding: 24px;
	}

	.houses__item-bottom-block {
		padding: 24px;
	}

	.houses__item-img {
		height: 300px;
	}

	.houses__item-title {
		font-size: 24px;
		margin-top: 10px;
	}

}


/*--------------------------------------------------------------
# Rules section
--------------------------------------------------------------*/
.rulse__list {
	display: flex;
	flex-direction: column;
}
.rules__item {
	box-sizing: border-box;
	padding: 32px 0px;
	border-bottom: 1px solid #E8E9EC;
	display: block;
}

.rules__item-top-title {
	display: grid;
	grid-template-columns: 1fr max-content;
	align-items: center;
	grid-gap: 0 20px;
}

.rules__item-title-block {
	display: grid;
	grid-template-columns: max-content auto;
	justify-content: flex-start;
	align-items: center;
	grid-gap: 0 10px;
}

.rules__item-title {
	display: block;
	font-size: 24px;
	line-height: 1.2;
	align-content: center;
	font-weight: 600;
	color: #1B2A49;
}

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

.rules__item-top-title.active + .content-block {
	display: none;
}

.rules__item-content ol {
	padding-left: 25px;
	box-sizing: border-box;
}

.rules__item-content li {
	display: list-item;
	padding: 7px 0;
	list-style-type: inherit;
}

.rules__item-content p,
.rules__item-content li {
	font-size: 16px;
	color: #1B2A49;
	line-height: 2.2;
}

.rules__item-open-close-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F3F4F6;
	border-radius: 50%;
	cursor: pointer;
}

.rules__item-open-close-btn svg {
	width: 16px;
	height: 16px;
}

.rules__item-top-title.active .open-close-btn svg {
	transform: scale(1,-1);
}

@media only screen and (max-width: 768.99px) {
	.rules__item-title {
		font-size: 20px;
	}

	.rules__item-content p, 
	.rules__item-content li {
		line-height: 1.8;
		font-size: 14px;
	}

	.rules__item-content-block {
		margin-top: 20px;
	}

	.rules__item {
		padding: 20px 0;
	}
}