/* /web/css/style.css
 * Общие стили на весь проект
 */
body {
	font-family: "Libre Franklin";
	overflow-y: auto;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Arsenal";
}

figure,
img,
svg {
	max-width: 100%;
}
.mt-100 {
	margin-top: 100px;
}

.page-link {
	color: #415e44;
}
.active > .page-link,
.page-link.active {
	background-color: #415e44;
	border-color: #415e44;
}

/* body main section:first-child {
	padding-top: 0 !important;
	margin-top: 90px !important;
} */

/* Базовая тень */
.shadow-soft {
	box-shadow: 2px 4px 12px #00000014;
}
/* Базовый эффект зума */
.hover-zoom {
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform, box-shadow;
}
/* Сила зума — маленький */
.hover-zoom-sm:hover {
	transform: scale3d(1.02, 1.02, 1.02);
	/*box-shadow: 2px 4px 16px #00000022;*/
}
/* Сила зума — средний (по умолчанию Apple) */
.hover-zoom-md:hover {
	transform: scale3d(1.04, 1.04, 1.04);
	/*box-shadow: 2px 4px 20px #00000029;*/
}
/* Сила зума — большой */
.hover-zoom-lg:hover {
	transform: scale3d(1.06, 1.06, 1.06);
	/*box-shadow: 2px 6px 24px #00000033;*/
}
/* Пружинка — отдельный класс */
.hover-spring {
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.content-wrapper {
	margin-top: 80px !important;
}
/* Cookie */
.cookie {
	position: fixed;
	width: auto;
	bottom: 50px;
	right: 50px;
	z-index: 1100;
	background: #ffffff;
	border-radius: 10px;
	justify-content: space-between;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.2);
	height: 60px;
	align-items: center;
	padding-left: 19px;
	padding-right: 7px;
	display: none;
}
.cookie.visible {
	display: flex;
}
.cookie .top span {
	display: block;
	font-weight: 400;
	font-size: 17px;
	line-height: 100%;
	color: #00000080;
}

.cookie .top span a {
	color: #000000;
}

.cookie .bottom .cookie_yes {
	background: #0000000f;
	border-color: transparent;
	padding: 14px 10px;
	color: #000000;
	border-radius: 5px;
	font-family: Libre Franklin;
	font-weight: 500;
	font-size: 17px;
	line-height: 100%;
	vertical-align: middle;
	text-transform: lowercase;
	margin-left: 17px;
}
.cookie .bottom .cookie_no {
	background: #fff;
	border-color: transparent;
	padding: 15px 25px;
	color: #131826;
	border-radius: 60px;
	max-height: 58px;
}

@media (max-width: 768px) {
	.cookie {
		max-width: 70%;
	}
}
@media (max-width: 640px) {
	.cookie {
		right: 5px;
		bottom: 5px;
		max-width: 98%;
	}
}
@media (max-width: 450px) {
	.cookie .top span {
		font-size: 13px;
	}
	.cookie .bottom .cookie_yes {
		margin-left: 7px;
	}
}
/* END Cookie */

/* переопределение стилей кнопок swiper */
.swiper-button-next,
.swiper-button-prev {
	position: relative;
	margin: 0;
}
.swiper-button-prev:after,
.swiper-button-next:after {
	content: "";
}
/* END переопределение стилей кнопок swiper */
@media (min-width: 1400px) {
	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl,
	.container-xxl {
		max-width: 1371px !important;
	}
}
/* стили карточек в слайдере, они не зависимы от swiper, можно использовать в любых блоках */
.card {
	position: relative;
	border: none;
	border-radius: 20px;
}
.card-img img {
	border-radius: 20px;
	height: 420px;
	width: 433px;
	object-fit: cover;
	object-position: bottom;
}
.card-info {
	position: absolute;
	color: #fff;
	justify-content: space-between;
	display: inline-grid;
	height: 100%;
}
.card-info__city {
	background: #00000040;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	height: 33px;
	width: max-content;
	padding: 6px 16px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	border-radius: 20px;
	font-size: 16px;
	font-weight: 600;
	align-content: center;
	display: grid;
}
.card-info__content {
	margin-top: auto;
	overflow: hidden;
	border-radius: 20px;
	position: relative;
	padding-top: 6rem;
}
/* .card-info__content:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	backdrop-filter: blur(20px);
	mask: linear-gradient(to top, black, transparent);
	-webkit-mask: linear-gradient(to top, black, transparent);
} */
.card-title {
	font-weight: 600;
	font-size: 25px;
	line-height: 130%;
	text-align: center;
	transition: all 0.3s ease;
	z-index: 1000;
	position: relative;
	padding-left: 62px;
	padding-right: 62px;
}

.card-info__content:not(:has(.card-shorts_info)) .card-title {
	padding-bottom: 39px;
    margin-bottom: 0;
}
.card-shorts_info {
	padding-left: 71px;
	padding-right: 71px;
	font-weight: 400;
	font-size: 15px;
	line-height: 130%;
	text-align: center;
	margin-top: 0.4rem;
	opacity: 0;
	transition: all 0.3s ease-in-out;
	z-index: 1000;
	position: relative;
}

.card:hover .card-shorts_info {
	opacity: 1;
	padding-bottom: 43px;
}
.card-shorts_info__txt {
	-webkit-line-clamp: 2;
	line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-info__content:has(.card-coment_info) .card-title {
	padding-bottom: 21px;
	margin-bottom: 0;
}

.card-coment_info {
	z-index: 1000;
	position: relative;
	font-size: 15px;
	width: 100%;
	opacity: 70%;
	padding-bottom: 39px;
}
.card-coment_info__content {
	width: 425px;
	margin: auto;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-coment_info__txt {
	margin-left: 11px;
}
.card-icon-bath-den {
	z-index: 1;
	position: relative;
	height: 33px;
	width: max-content;
	margin: auto;
	display: block;
	overflow: hidden;
	background-color: #fff;
	border-radius: 20px;
	color: #171717;
	padding-right: 15px;
	font-weight: 600;
	font-size: 16px;
	line-height: 130%;
	margin-bottom: 13px;
}
.card-icon-bath-den img {
	width: 40px;
	transform: rotate(-10deg);
	position: relative;
	right: 0;
	top: 0;
}
.card-icon-bookmark {
	position: absolute;
	right: 35px;
	top: 30px;
	border-radius: 20px;
	height: 33px;
	width: 44px;
	background: rgb(134 134 134 / 30%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	cursor: pointer;
	z-index: 3;
}
.card-icon-bookmark svg {
	opacity: 50%;
	width: 18px;
	height: 18px;
	margin: auto;
	display: block;
	margin-top: 8px;
	transition: opacity 0.3s ease-in-out;
}
.card:hover .card-icon-bookmark {
	opacity: 1;
}
.card-icon-bookmark:hover svg,
.card-icon-bookmark.added-to-bookmark {
	opacity: 100%;
}

@media (max-width: 1399.99px) {
	.card-img img {
		height: 350px;
	}
	.card-title {
		font-size: 20px;
		padding-left: 50px;
		padding-right: 50px;
	}
	.card-info__content:not(:has(.card-shorts_info)) .card-title {
		padding-bottom: 34px;
	}
	.card-info__content:not(:has(.card-shorts_info)):has(.card-coment_info) .card-title {
		padding-bottom: 20px;
	}
	.card-shorts_info {
		padding-left: 25px;
		padding-right: 25px;
		font-size: 13px;
	}
	.card-coment_info__content {
		width: auto;
	}
	.card-coment_info {
		padding-bottom: 30px;
	}
}
@media (max-width: 1199.99px) {
	.card-info__city {
		font-size: 11px;
	}
	.card-title {
		font-size: 18px;
		padding-left: 30px;
		padding-right: 30px;
	}
	.card-img img {
		height: 290px;
	}
	.card-coment_info__content {
		width: 290px;
	}
	.card-coment_info {
		font-size: 13px;
	}
	.card-coment_info__content svg {
		height: 12px;
	}
	.card-coment_info__txt {
		margin-left: 5px;
	}
}
@media (max-width: 991px) {
	.card-img img {
		height: 329px;
	}
	.card-coment_info__content {
		width: 335px;
	}
}
@media (max-width: 768px) {
	.card-coment_info__content {
		width: 440px;
	}
}
@media (max-width: 450px) {
	.card-title {
		font-size: 19px;
		padding-left: 25px;
		padding-right: 25px;
	}
	.card-shorts_info {
		padding-left: 25px;
		padding-right: 25px;
		font-size: 13px;
	}
	.card-coment_info__content {
		width: 370px;
	}
}
@media (max-width: 365px) {
	.card-coment_info__content {
		width: auto;
	}
}
/* END стили карточек в слайдере, они не зависимы от swiper, можно использовать в любых блоках */
/* пагинация */
ul.pagination {
	gap: 24px;
}
.pagination-pref,
.pagination-next {
	font-weight: 600;
	font-size: 20px;
	line-height: 140%;
}
.pagination-pref-icon {
	margin-right: 5px;
}
.pagination-next-icon {
	margin-left: 5px;
}

.pagination-next,
.pagination-pref {
	color: #2e2e2e;
}

.page-item.active .page-link,
.page-item.disabled .pagination-next,
.page-item.disabled .pagination-pref,
.page-item.disabled svg path {
	color: #2e2e2e66;
	fill: #2e2e2e66;
}
/* .page-item.disabled ,
.page-item.disabled svg path {
	color: #2e2e2e66;
	fill: #2e2e2e66;
} */

.page-item .page-link {
	color: #2e2e2e;
	font-weight: 600;
	font-size: 20px;
	line-height: 140%;
	padding: 0;
	border: none;
}
ul.pagination .page-item.active .page-link {
	background-color: transparent;
	border: none;
}
/* END пагинация */
