/* Song Long Feeds: Farben aus der Astra-Palette, damit der Customizer maßgeblich bleibt. */

/* Pinnwand */

.entry-content ul.slf-wall,
.entry-content .slf-wall {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.25rem 1.75rem;
	align-items: start;
	box-sizing: border-box;
	padding: 1.75rem clamp(1rem, 3vw, 2rem) 2.25rem;
	background-color: var(--ast-global-color-6);
	border-radius: 0.875rem;
	list-style: none;
}

/* Doppelte Klasse: Astra setzt direkte Kinder von .entry-content sonst auf max-width: none. */
.entry-content ul.slf-wall.slf-wall {
	width: min(var(--sl-width, 72rem), 100% - 2 * var(--sl-side, 1.25rem));
	max-width: none;
	margin: var(--sl-gap, 3rem) auto;
}

/* Im Abschnitt liefert dieser den Seitenabstand und den Abstand nach oben und unten. */
.entry-content .sl-section ul.slf-wall.slf-wall {
	width: auto;
	max-width: var(--sl-width, 72rem);
	margin: 2rem auto 0;
}

.slf-note {
	position: relative;
	margin: 0;
	transition: transform 0.2s ease;
}

.slf-note:nth-child(3n + 1) {
	transform: rotate(-0.9deg);
}

.slf-note:nth-child(3n + 2) {
	transform: rotate(0.6deg);
}

.slf-note:nth-child(3n) {
	transform: rotate(-0.4deg);
}

.slf-note:hover,
.slf-note:focus-within {
	transform: none;
}

/* Die Nadel */
.slf-note::before {
	content: "";
	position: absolute;
	top: -0.5rem;
	left: 50%;
	z-index: 1;
	width: 1.125rem;
	height: 1.125rem;
	margin-left: -0.5625rem;
	background: radial-gradient(circle at 35% 30%, var(--ast-global-color-8), var(--ast-global-color-1));
	border-radius: 50%;
	box-shadow: 0 3px 4px rgb(45 37 35 / 35%);
}

.slf-note__card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--ast-global-color-4);
	border-radius: 0.375rem;
	box-shadow: 0 6px 16px rgb(45 37 35 / 16%);
	color: var(--ast-global-color-3);
	text-decoration: none;
}

.entry-content a.slf-note__card,
.entry-content a.slf-note__card:hover,
.entry-content a.slf-note__card:focus {
	color: var(--ast-global-color-3);
	text-decoration: none;
}

a.slf-note__card:hover,
a.slf-note__card:focus-visible {
	box-shadow: 0 10px 24px rgb(45 37 35 / 24%);
}

.slf-note__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.slf-note__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 0.875rem;
	line-height: 1.3;
}

.slf-note__meta strong {
	color: var(--ast-global-color-2);
	font-size: 0.9375rem;
	font-weight: 600;
}

.slf-note__icons {
	display: flex;
	flex: none;
	gap: 0.375rem;
	color: var(--ast-global-color-0);
}

.slf-note__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--ast-global-color-5);
	border-radius: 0.25rem;
}

.slf-note__media picture {
	display: block;
	height: 100%;
}

.slf-note__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slf-note__more {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	padding: 0.125rem 0.5rem;
	background: rgb(45 37 35 / 75%);
	border-radius: 999px;
	color: #fff;
	font-size: 0.875rem;
}

.slf-note__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 3.25rem;
	height: 3.25rem;
	margin: -1.625rem 0 0 -1.625rem;
	background: rgb(45 37 35 / 70%);
	border-radius: 50%;
}

.slf-note__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-style: solid;
	border-width: 0.625rem 0 0.625rem 1rem;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.slf-note__text {
	display: -webkit-box;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
}

.slf-note__link {
	color: var(--ast-global-color-0);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* Bewertungen */

.slf-reviews-wrap {
	margin-top: 1.5rem;
}

.slf-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.875rem;
	margin-bottom: 1.5rem;
}

.slf-summary__score {
	color: var(--ast-global-color-2);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1;
}

.slf-summary .slf-stars {
	font-size: 1.25rem;
}

.slf-summary__count {
	font-size: 1rem;
}

.slf-summary__link {
	font-weight: 600;
}

@media (min-width: 40rem) {
	.slf-summary__link {
		margin-left: auto;
	}
}

.entry-content ul.slf-reviews,
.entry-content .slf-reviews {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}

.slf-review {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
	padding: 1.25rem;
	background: var(--ast-global-color-4);
	border-radius: 0.875rem;
	box-shadow: 0 1px 3px rgb(45 37 35 / 12%);
}

.slf-review p {
	margin: 0;
	line-height: 1.5;
}

.slf-review > a {
	font-size: 0.9375rem;
}

.slf-review__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.slf-review__initial {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--ast-global-color-6);
	border-radius: 50%;
	color: var(--ast-global-color-2);
	font-size: 1.125rem;
	font-weight: 600;
}

.slf-review__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 0.875rem;
	line-height: 1.3;
}

.slf-review__meta strong {
	color: var(--ast-global-color-2);
	font-size: 1rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.slf-stars {
	color: var(--ast-global-color-0);
	letter-spacing: 0.08em;
	line-height: 1;
}

.slf-stars__off {
	color: var(--ast-global-color-6);
}

.slf-review__more summary,
.slf-reviews-more > summary {
	color: var(--ast-global-color-0);
	font-weight: 600;
	cursor: pointer;
}

.slf-review__more p {
	margin-top: 0.375rem;
}

.slf-reviews-more {
	margin-top: 1.25rem;
}

.slf-reviews-more .slf-reviews {
	margin-top: 1rem;
}

.slf-reviews-note {
	margin: 1.25rem 0 0;
	font-size: 0.875rem;
}

/* Feste Spaltenzahl: Sechs Einträge ergeben so immer ein geschlossenes Raster. */

@media (min-width: 40rem) {
	.entry-content ul.slf-wall,
	.entry-content .slf-wall,
	.entry-content ul.slf-reviews,
	.entry-content .slf-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62rem) {
	.entry-content ul.slf-wall,
	.entry-content .slf-wall,
	.entry-content ul.slf-reviews,
	.entry-content .slf-reviews {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.slf-note {
		transition: none;
	}
}
