/* ── balladensuche.css – balladen.net ── */

.entry-content {
	padding-bottom: 0;
}

.strichmenu {
	width: 22px;
	height: 2px;
	background-color: black;
	margin: 5px 0;
}

.kleinliste {
	font-size: 80%;
}

.kleinliste a {
	color: #333;
}

.disable-scrollbars {
	white-space: nowrap;
	overflow: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.disable-scrollbars::-webkit-scrollbar {
	background: transparent;
	width: 0;
}

.balladen-archiv-wrap {
	color: #777;
}

.balladen-archiv-list {
	margin-top: 42px;
	border-top: 1px solid #efefef;
}

.balladen-title {
	color: #333;
	font-weight: 600;
	white-space: nowrap;
}

.balladen-author {
	font-size: .84em;
	color: #333;
	white-space: nowrap;
}

.balladen-jahr {
    font-size: .98em;
	font-weight:normal;
    opacity: .80;
    color: #333;
}

.balladen-preview {
	color: #777;
	line-height: 1.6;
	margin-top: 6px;
	max-width: 90%;
}

.balladen-preview-inline {
	font-size: .9em;
	line-height: 1.6;
	color: #7a7a7a;
	opacity: 1;
	max-width: 98%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.balladen-row {
	display: block;
	padding: 14px 50px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #eee;
	transition: background .10s ease;
}

.balladen-row:nth-child(odd) {
	background: rgba(0, 0, 0, .018);
}

.balladen-row:hover {
	background: rgba(255, 242, 178, .36);
}

.balladen-row:last-child {
	border-bottom: none;
}

#balladenSuche {
	width: 100%;
	box-sizing: border-box;
	border-radius: 5px;
}

.balladen-toggle-row {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-top: 14px;
	flex-wrap: wrap;
}

.preview-toggle {
	font-size: 14px;
	cursor: pointer;
	color: #555;
}

.preview-toggle input {
	margin-right: 6px;
}

.balladen-filter {
	margin-top: 18px;
}

#wortfilterWrap {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	margin-top: 0;
	transition:
		max-height .28s ease,
		opacity .22s ease,
		margin-top .28s ease;
}

#wortfilterWrap.active {
	max-height: 120px;
	opacity: 1;
	margin-top: 18px;
}

.wortfilter-text {
	display: block;
	font-size: 13px;
	color: #666;
	margin-bottom: 10px;
}

.balladen-divider {
	margin-top: 36px;
	margin-bottom: 12px;
	border: none;
	border-top: 1px solid #ddd;
}

.balladen-sortierung {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.balladen-sortierung-label {
	font-size: 14px;
	color: #333;
	font-weight: bold;
}

#balladenCount {
    margin-top: 30px;
    margin-bottom: -10px;
    color: #777;
    font-size: 14px;
    text-align: center;
}

.autorenseite #balladenCount {
	margin: 0;
    margin-left: auto;
}

.balladen-head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.balladen-head::-webkit-scrollbar {
	display: none;
}

.ballade-trenner {
	font-size: .75em;
	opacity: .6;
	position: relative;
	top: -2px;
}

.balladen-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	opacity: .9;
	font-size: .78em;
	color: #999;
	margin-top: 0;
	margin-bottom: 4px;
}

.balladen-meta span:not(:last-child)::after {
	content: '\25E6';
	margin-left: 5px;
	opacity: .85;
}

/* ── Slider ── */

#wortfilter {
	width: 100%;
	cursor: pointer;
	padding: 1.5px;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	outline: none;
	border: none;
	box-shadow: none;
}

#wortfilter:focus,
#wortfilter:focus-visible {
	outline: none;
	border: none;
	box-shadow: none;
}

#wortfilter::-webkit-slider-runnable-track {
	height: 6px;
	background: #fff2b2;
	border-radius: 999px;
	border: none;
}

#wortfilter::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e0c64f;
	margin-top: -6px;
	cursor: pointer;
	border: none;
	box-shadow: none;
	outline: none;
	transition: all .2s ease;
}

#wortfilter::-webkit-slider-thumb:hover {
	transform: scale(1.08);
	background: #d4ba43;
}

#wortfilter::-moz-range-track {
	height: 6px;
	background: #fff2b2;
	border-radius: 999px;
	border: none;
}

#wortfilter::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: none;
	border-radius: 50%;
	background: #e0c64f;
	cursor: pointer;
	box-shadow: none;
}

/* ── Checkboxen ── */

.preview-toggle input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 4px;
	background: #fff2b2;
	cursor: pointer;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.preview-toggle input[type="checkbox"]:checked {
	background: #fff2b2;
}

.preview-toggle input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid #333;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* ── Sort-Buttons ── */

.sort-btn {
	background: none;
	border: none;
	padding: 0 5px;
	font-size: 14px;
	font-family: inherit;
	color: #777;
	cursor: pointer;
	transition: opacity .2s ease;
	text-transform: none;
	font-weight: normal;
}

.sort-btn:hover {
	opacity: .9;
	background: none;
}

.sort-btn.active {
	color: #000;
	background: none;
	text-decoration: none;
}

.sort-btn.active:hover {
	opacity: 1;
}

werkmark {
	box-shadow: inset 0 -0.45em 0 rgba(255, 242, 178, .85);
	border-radius: 2px;
	padding: 0 1px;
}

.sort-select {
	border: none;
	position: relative;
	top: -1px;
	background: rgba(255, 242, 178, .65);
	padding: 4px 28px 4px 10px;
	border-radius: 5px;
	font-size: 14px;
	font-family: inherit;
	color: #555;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	line-height: 1.2;
	background-image:
		linear-gradient(45deg, transparent 50%, #666 50%),
		linear-gradient(135deg, #666 50%, transparent 50%);
	background-position:
		calc(100% - 14px) calc(50% - 1px),
		calc(100% - 9px) calc(50% - 1px);
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

.sort-select:focus {
	outline: none;
}

.zufallsballade {
	font-size: 14px;
	color: #555;
	cursor: pointer;
	user-select: none;
	transition: opacity .2s ease;
}

.zufallsballade:hover {
	opacity: .85;
}

/* ── Stimmungsräume ── */

.stimmungsraeume {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 5px;
	font-size: 13px;
	color: #777;
	line-height: 1.8;
}

.stimmungsraeume span {
	cursor: pointer;
	transition: opacity .2s ease;
	padding: 0 3px;
}

.stimmungsraeume span:not(.active):hover {
	opacity: .75;
}

.stimmungsraeume span.active {
	color: #222;
	background: url('//s2.svgbox.net/pen-brushes.svg?color=hsl(50,100%,50%,22%)&ic=brush-9');
}

.stimmungs-trenner {
	cursor: default;
	opacity: .4;
	padding: 0;
}

.atlas-link {
	color: #777 !important;
	text-decoration: none;
	padding: 0 3px;
	transition: opacity .2s ease;
}

.atlas-link:hover {
	opacity: .75;
}

/* ── Mehr-Button ── */

.mehr-balladen-btn {
	font-size: 15px;
	color: #444;
	background: url('//s2.svgbox.net/pen-brushes.svg?color=hsl(50,100%,50%,25%)&ic=brush-9');
	padding: 8px 16px;
	margin-top: -6px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: opacity .2s ease;
}

.mehr-balladen-btn:hover {
	color: #222;
}

/* ── Responsive ── */

@media (max-width: 700px) {

	.balladen-toggle-row {
		flex-wrap: wrap;
		gap: 12px;
		justify-content: center;
	}

	.sort-select {
		width: 100%;
		box-sizing: border-box;
	}

	.zufallsballade {
		width: 100%;
		text-align: center;
	}

	.balladen-row {
		padding: 14px 36px;
	}

	.entry-zweiterabsatz {
		display: none;
	}

	.stimmungsraeume {
		margin-bottom: 8px;
		font-size: 11.5px;
	}

	.stimmungsraeume span:not(:last-child) {
		margin-right: 0;
	}

}
