/* Joerrens Listings - accommodation filter */

.jl-filter-wrap {
	width: 100%;
	flex-basis: 100%;
	clear: both;
	margin: 0 0 28px;
}

.jl-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid #dfe6ee;
	border-radius: 10px;
}

.jl-filter__field {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: #475569;
}

.jl-filter__field select {
	height: 44px;
	padding: 0 12px;
	border: 1px solid #cfd8e3;
	border-radius: 8px;
	background: #ffffff;
	color: #1e293b;
	font: inherit;
	font-size: 15px;
}

.jl-filter__divider {
	width: 1px;
	height: 28px;
	background: #dfe6ee;
	margin: 0 4px;
}

.jl-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jl-chip {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.jl-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.jl-chip span {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #cfd8e3;
	border-radius: 22px;
	background: #ffffff;
	color: #1e293b;
	font-size: 14px;
	white-space: nowrap;
}

.jl-chip input:checked + span {
	background: #1e293b;
	border-color: #1e293b;
	color: #ffffff;
	font-weight: 500;
}

.jl-chip input:focus-visible + span {
	outline: 2px solid #1e293b;
	outline-offset: 2px;
}

.jl-filter__submit {
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: #1e293b;
	color: #ffffff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.jl-js .jl-filter__submit { display: none; }

.jl-filter__reset {
	margin-left: auto;
	font-size: 14px;
	color: #cc0935;
}

.jl-filter__count {
	margin: 14px 0 0;
	font-size: 15px;
	color: #475569;
}

.jl-filter__count strong { color: #1e293b; }

.jl-filter__empty {
	margin: 16px 0 0;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #dfe6ee;
	border-radius: 10px;
	text-align: center;
	color: #475569;
}

/* Cards: facts instead of author and date, titles always 2 lines */
.category-unterkuenfte .ast-article-post .entry-meta.jl-facts { font-size: 14px; color: #80868b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-unterkuenfte .ast-article-post .entry-title {
	line-height: 1.3;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Load more replaces the page numbers */
.jl-js .category-unterkuenfte .ast-pagination,
.jl-js body.category-unterkuenfte .ast-pagination { display: none; }

.jl-more {
	width: 100%;
	flex-basis: 100%;
	display: flex;
	justify-content: center;
	padding: 8px 0 24px;
}

.jl-more .wp-block-button__link { border-radius: 9999px; }
.jl-more a[aria-busy="true"] { opacity: .6; cursor: default; }

@media (max-width: 767px) {
	.jl-filter { padding: 14px; gap: 10px; }
	.jl-filter__field { flex: 1 1 140px; }
	.jl-filter__field select { width: 100%; }
	.jl-filter__divider { display: none; }
	.jl-filter__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		width: 100%;
		margin: 0 -14px;
		padding: 0 14px 2px;
	}
	.jl-chip span { height: 40px; padding: 0 14px; }
	.jl-filter__reset { margin-left: 0; }
}