/* Listing review cards. Keep the rating overview and review form unchanged. */
#listing-reviews .listing-reviews {
	margin: 14px 0 0;
}

#listing-reviews .comment-list {
	columns: 2;
	column-gap: 12px;
	margin: 0;
	padding: 0;
}

#listing-reviews .comment-list > .listeo-review-card {
	box-sizing: border-box;
	break-inside: avoid;
	margin: 0 0 12px;
	padding: 22px;
	border: 0;
	border-radius: 8px;
	background: #f8f8f8;
	transition: background-color .3s;
}

#listing-reviews .listeo-review-card .comment-content {
	padding: 0;
	color: #222;
	overflow-wrap: anywhere;
}

#listing-reviews .listeo-review-card .comment-by {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: #8a8a8a;
}

#listing-reviews .listeo-review-card .avatar {
	position: static;
	float: none;
	flex: none;
	width: 42px;
	height: 42px;
	padding: 0;
}

#listing-reviews .listeo-review-card .avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

#listing-reviews .listeo-review-author {
	min-width: 0;
}

#listing-reviews .listeo-review-card .comment-by h5,
#listing-reviews .listeo-review-card .comment-by h5 a {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: #111;
}

#listing-reviews .listeo-review-card .comment-by .date {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.35;
	color: #8a8a8a;
	text-align: start;
}

#listing-reviews .listeo-review-card .listeo-review-owner {
	padding: 0;
	font-weight: 400;
	color: #888;
}

#listing-reviews .listeo-review-card .comment-by .star-rating {
	position: static;
	display: flex;
	flex: none;
	gap: 3px;
	height: auto;
	margin-inline-start: auto;
	padding: 0;
	border-radius: 0;
	background: none;
	font-size: 13px;
	line-height: 1;
}

#listing-reviews .listeo-review-card .star-rating .star {
	float: none;
	margin: 0;
	padding: 0;
}

#listing-reviews .listeo-review-card .star-rating .star:before,
#listing-reviews .listeo-review-card .star-rating .star.half:after {
	color: #ffc600;
}

#listing-reviews .listeo-review-card .star-rating .star.empty:before,
#listing-reviews .listeo-review-card .star-rating .star.half:before {
	color: #ddd;
}

#listing-reviews .listeo-review-card .comment-content p {
	margin: 14px 0 16px;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: -.005em;
	color: #222;
}

#listing-reviews .listeo-review-card .review-images {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: -4px 0 16px;
}

#listing-reviews .listeo-review-card .review-images a {
	flex: 0 0 72px;
	width: 72px;
	max-width: 100%;
	height: 72px;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
	transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}

#listing-reviews .listeo-review-card .review-images a:hover {
	transform: translateY(-2px) rotate(-2deg);
}

#listing-reviews .listeo-review-card .review-images img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

#listing-reviews .listeo-review-footer {
	display: flex;
	justify-content: flex-end;
}

#listing-reviews .listeo-review-card a.rate-review {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	margin: 0;
	padding: 0 12px 0 10px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 1px #00000014;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	color: #555;
	transition: background-color .25s, color .25s, transform .3s;
}

#listing-reviews .listeo-review-card a.rate-review:hover {
	color: #111;
}

#listing-reviews .listeo-review-card a.rate-review:active {
	transform: scale(.93);
}

#listing-reviews .listeo-review-card a.rate-review i {
	padding: 0;
	font-size: 16px;
}

#listing-reviews .listeo-review-card a.rate-review span {
	margin: 0;
	padding: 0;
	border: 0;
	color: inherit;
}

#listing-reviews .listeo-review-card ul.children {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
}

#listing-reviews .listeo-review-card ul.children > li {
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 1px #00000014;
}

#listing-reviews .listeo-review-card ul.children > li:last-child {
	margin-bottom: 0;
}

#listing-reviews .listeo-review-card ul.children > li:before {
	display: none;
}

#listing-reviews .children .listeo-review-card .comment-by {
	align-items: flex-start;
	gap: 8px;
}

#listing-reviews .children .listeo-review-card .avatar {
	width: 22px;
	height: 22px;
}

#listing-reviews .children .listeo-review-author {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 3px 8px;
}

#listing-reviews .children .listeo-review-card .comment-by h5,
#listing-reviews .children .listeo-review-card .comment-by h5 a,
#listing-reviews .children .listeo-review-card .comment-by .date {
	font-size: 13.5px;
}

#listing-reviews .children .listeo-review-card .comment-content p {
	margin: 5px 0 0;
	font-size: 14.5px;
	color: #444;
}

@media (max-width: 640px) {
	#listing-reviews .comment-list {
		columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	#listing-reviews .listeo-review-card,
	#listing-reviews .listeo-review-card .review-images a,
	#listing-reviews .listeo-review-card a.rate-review {
		transition: none;
	}
}
