/*! Unitbud — related (split from style.css) */
/* Схожі записи/Записи автора */
.related__section {
	padding: 50px 0 50px;
}

.related__title {
	font-family: 'Days One', sans-serif;
	font-size: 24px;
	text-transform: uppercase;
	color: #000000;
	margin: 0 0 10px 0;
	padding-left: 25px;
	border-left: 10px solid #77D14D;
	display: block;
}

.related__items {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin-top: 30px;
}

.related__item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
}

.related__image {
	width: 100%;
	height: 100%;
	margin-bottom: 15px;
	object-fit: cover;
}

.related__name {
	font-family: 'Days One', sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	text-decoration: none;
	margin: 0 0 15px 0;
	display: block;
}

.related__text {
	-webkit-hyphens: auto;
	hyphens: auto;
	contain: content;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	margin-bottom: 25px;
}

.blog__item--button {
	font-family: 'Days One', sans-serif;
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	color: #000;
	border: 3px solid #000;
	padding: 15px 25px;
	width: fit-content;
	text-decoration: none;
	transition: all 0.5s ease;
}

.blog__item--button:hover {
	border: 3px solid #000000;
	background: #000000;
	color: #ffffff;
}

@media (min-width: 576px) {
	.related__image {
		height: 200px;
	}

	.related__items {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 992px) {
	.related__title {
		font-size: 36px;
	}

	.related__items {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.related-home__section {
	padding-top: 50px;
}

.related-home__slide {
	display: flex;
	background: rgba(243, 243, 243, 0.85);
}

.related-home__item {
	text-decoration: none;
}

.related-home__image {
	position: relative;
	display: block;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
}

.related-home__image:after {
	content: '';
	display: block;
	position: relative;
	padding-top: 63.190184049079754%;
}

.related-home__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 30px;
}

.related-home__subtitle {
	color: #000;
	font-family: Days One;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	width: fit-content;
	border: 5px solid var(--black, #000);
	padding: 10px 15px;
}

.related-home__content .related-home__title {
	color: #000;
	font-family: Murecho;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
	margin: 0;
}

.related-home__icon {
	display: flex;
	gap: 30px;
}

.related-home__icon--area,
.related-home__icon--bed,
.related-home__icon--bathroom {
	color: #757777;
	font-family: Murecho;
	font-size: 14px;
	font-weight: 400;
	padding-left: 25px;
}

.related-home__icon--area {
	background: url(/wp-content/themes/unitbud/assets/image/area.svg);
	background-repeat: no-repeat;
}

.related-home__icon--bed {
	background: url(/wp-content/themes/unitbud/assets/image/bed.svg);
	background-repeat: no-repeat;
}

.related-home__icon--bathroom {
	background: url(/wp-content/themes/unitbud/assets/image/bathroom.svg);
	background-repeat: no-repeat;
}

.related-home__text {
	color: var(--grey, #757777);
	text-overflow: ellipsis;
	font-family: Murecho;
	font-size: 16px;
	line-height: normal;
	padding: 0;
	margin: 0;
	contain: content;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.related-home__price {
	color: #000;
	font-family: Murecho;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
}

.related-home__price span {
	font-size: 20px;
	font-weight: 400;
	margin-right: 15px;
}

.related-home__button {
	padding: 15px 25px;
	text-align: center;
	background: #000;
	border: 2px solid #000;
	padding: 18px 30px;
	color: #FFF;
	font-family: 'Mont', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}

.related_swiper-pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}

.related_swiper-pagination .swiper-pagination-bullet {
	border: 1px solid #7ACF55;
}

.related_swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #7ACF55;
}

@media (min-width: 992px) {
	.article__title {
		font-size: 36px;
		margin: 30px 0;
	}

	.author__position {
		font-size: 18px;
	}

	.author__avatar {
		height: 100px;
		width: 100px;
	}

	.author__name {
		font-size: 24px;
	}

	.blog__item--details {
		font-size: 20px;
		margin-right: 50px;
	}

	.blog__item--details:first-of-type {
		margin-left: auto;
		margin-right: 50px;
	}

	.blog__item--details span {
		font-size: 18px;
	}

	.article__image {
		width: 100%;
		margin-left: 0;
	}

	.article__subtitle {
		font-size: 26px;
	}

	.article__article ul,
	.article__article ol {
		padding: 0 0 0 40px;
		margin: 20px 0;
	}

	.related__items--home {
		margin-top: 30px;
	}

	.related__items--home .swiper-wrapper {
		margin-top: 30px;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 30px;
	}
}

