.yarpp-relate-item {
	display: flex;
	margin: 10px 0;
	padding: 20px;
	border: 1px dashed #ccc;
}

.yarpp-image {
	margin: 0 20px 0 10px;
	display: flex;
	align-items: center;
}

.yarpp-image img {
	object-fit: contain;
	max-width: 200px;
	max-height: 190px;
}

.w-yarpp-relate-item {
	opacity: 0;
}

.lazyloaded-now {
	opacity: 1;
	transition: opacity .5s ease-in;
}

.yarpp-text {
	color: inherit;
	color: #333;
	display: inline;
	font-size: 18px;
	color: #7000f4;
}

.yarpp-more {
	display: block;
	color: #000;
	margin-left: 0;
	padding: 0 10px 0 0;
	font-size: 18px;
	float: left;
	font-weight: bold;
}


/***************************/

.iwsorting-related-post-wrap .iwsorting-related-post-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.iwsorting-related-post {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.iwsorting-related-post .iwsorting-related-post-el {
	margin: 10px;
	display: flex;
	flex-direction: column;
	width: 250px;
	min-height: 300px;
}

.iwsorting-related-post .iwsorting-related-post-el img {
	max-width: 100%;
	margin: 0 0 10px;
}

.iwsorting-related-post .iwsorting-related-post-text {
	font-size: 18px;
}

.iwsorting-related-post.iwsorting-style-list {
	flex-direction: column;
}

.iwsorting-related-post.iwsorting-style-list .iwsorting-related-post-el {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	min-height: 0;
	margin: 0 0 10px;
}

.iwsorting-related-post.iwsorting-style-list .iwsorting-related-post-el img {
	max-width: 120px;
	margin: 0 10px 0 0;
}

.w-perelink .title {
	color: #fff;
	padding: 8px 15px;
}

.w-yarpp-relate-item {
	display: block;
	position: relative;
	margin: 0 0 40px 0;
	height: 225px;
}

.w-yarpp-image {
	position: relative;
	cursor: pointer;
	width: 100%;
	height: 100%;
	display: block;
}

.w-yarpp-image:after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.4) 100%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
}

.w-yarpp-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .5s ease-in;
}

.w-yarpp-info {
	text-shadow: 0 1px 1px #333;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	color: #fff;
	padding: 5px 12px;
	z-index: 9;
	margin: 10px 0 18px 0;
	font-weight: bold;
	font-size: 20px;
}

.w-yarpp-info:hover {
	color: #fff;
}

@media screen and (max-width: 480px) {
	.yarpp-relate-item {
		margin-top: 40px;
		padding: 10px 20px;
	}

	.yarpp-more {
		margin-top: -40px;
		margin-left: -20px;
	}

	.yarpp-image {
		display: none;
	}

	.iwsorting-related-post.iwsorting-style-list .iwsorting-related-post-el {
		flex-direction: column;
	}

	.iwsorting-related-post.iwsorting-style-list .iwsorting-related-post-el img {
		max-width: 100%;
	}
}


@media screen and (max-width: 800px) {
	.yarpp-image {
		margin: 0 20px 0 0;
	}
}