/*
 * Beiträge: Song-Seiten (Kategorie „Kalender“) und Playlist-Seiten (Kategorie „Journal“)
 *
 * Nachbau der Elementor-Vorlagen „Song Template“ (1570) / „Song Template Journal“ (1802)
 * und der Footer „Footer 2027 Songs“ (1587) / „Footer 2027 Journal“ (1835).
 * Farben = globale Elementor-Variablen der Originalseite:
 *   --primary-color-rot #E40521, --secondary-color-pink #F088B6, --background-buttergelb #FFFCE6,
 *   --H1-grasgruen #379E32, --primary-orange #FF941A, --secondary-blau #6ACAFF, --background-babyblau #F1F8F8.
 * Breakpoints wie Elementor: Tablet ≤ 1024 px, Mobil ≤ 767 px.
 */

/* Songs (Standard für alle Beiträge außerhalb von „Journal“) */
body.single-post {
	--pt-song-title: #e40521;
	--pt-song-text: #f088b6;
	--pt-song-btn: #e40521;
	--pt-song-btn-hover: #f088b6;
	--pt-song-footer-bg: #fffce6;
	--pt-song-footer-text: #379e32;
	--pt-song-copy-weight: 400;
	--pt-song-footer-size-mobile: 13px;
}

/* Playlists (Kategorie „Journal“) */
body.single-post.pt-cat-journal {
	--pt-song-title: #ff941a;
	--pt-song-text: #6acaff;
	--pt-song-btn: #ff941a;
	--pt-song-btn-hover: #ff941980;
	--pt-song-footer-bg: #f1f8f8;
	--pt-song-copy-weight: 500;
	--pt-song-footer-size-mobile: 14px;
}

/* ------------------------------------------------------------------ */
/* Inhalt                                                              */
/* ------------------------------------------------------------------ */

body.single-post .pt-song {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-width: 30px;
	margin: 0 auto;
	padding: 0;
}

body.single-post .pt-song__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 18px;
	width: 1156px;
	min-width: 0;
	padding: 80px 0;
}

body.single-post .pt-song__cover {
	display: block;
	width: 400px;
	max-width: 100%;
	height: auto;
}

body.single-post .pt-song__title {
	margin: 0;
	padding: 0;
	/* Ohne Ersatzschrift wie im Original: Zeichen, die Carla Sans nicht enthält (z. B. „ß“),
	   erscheinen in der Standardschrift des Browsers. */
	font-family: "CarlaSans";
	font-size: 90px;
	font-weight: 300;
	line-height: 110px;
	color: var(--pt-song-title);
	text-align: center;
}

body.single-post .pt-song__text {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	color: var(--pt-song-text);
}

body.single-post .pt-song__btn {
	display: inline-block;
	align-self: center;
	padding: 14px 22px;
	border: 0;
	border-radius: 64px;
	background-color: var(--pt-song-btn);
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0;
	text-align: center;
}

body.single-post .pt-song__btn:hover,
body.single-post .pt-song__btn:focus-visible {
	background-color: var(--pt-song-btn-hover);
	color: #fff;
}

/* Auffangseite vor der Freigabe (Feld „Freigabe ab“, siehe inc/release.php):
   gleicher Aufbau wie die Song-Seite, Hinweis zentriert, Datum hervorgehoben.
   Jeder Satz steht in einer eigenen Zeile und bricht auf dem Handy ausgeglichen um. */
body.single-post .pt-song--locked .pt-song__text {
	max-width: 30em;
	text-align: center;
}

body.single-post .pt-song--locked .pt-song__line {
	display: block;
	text-wrap: balance;
}

body.single-post .pt-song--locked .pt-song__text strong {
	font-weight: 500;
	color: var(--pt-song-title);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

body.single-post .pt-song-footer {
	padding: 0 0 16px;
	background-color: var(--pt-song-footer-bg);
}

/* Links (Menü „Footer“, siehe pt_footer_menu()) */
body.single-post .pt-song-footer .site-footer__inner {
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	min-height: 65px;
	padding: 0;
}

body.single-post .pt-song-footer .site-footer__inner li {
	padding: 0 0 1px;
	font-family: "arboria", sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	color: var(--pt-song-footer-text);
}

body.single-post .pt-song-footer .site-footer__inner a,
body.single-post .pt-song-footer .site-footer__inner a:hover {
	color: var(--pt-song-footer-text);
}

/* Copyright-Zeile */
body.single-post .pt-song-footer__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0;
}

body.single-post .pt-song-footer__copy-inner {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 1156px;
	min-width: 0;
	padding: 0;
}

body.single-post .pt-song-footer__copy p {
	margin: 0;
	font-size: 14px;
	font-weight: var(--pt-song-copy-weight);
	line-height: 1.8;
	color: var(--pt-song-footer-text);
}

/* ------------------------------------------------------------------ */
/* Tablet                                                              */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	body.single-post .pt-song__inner {
		width: 770px;
		padding: 0 5%;
	}

	body.single-post .pt-song__title {
		font-size: 48px;
		line-height: 55px;
	}

	body.single-post .pt-song__text {
		font-size: 16px;
		line-height: 23px;
	}

	body.single-post .pt-song-footer__copy-inner {
		width: 770px;
		padding: 0 5%;
	}
}

/* ------------------------------------------------------------------ */
/* Mobil                                                               */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	body.single-post .pt-song__inner {
		width: auto;
		max-width: 378px;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	body.single-post .pt-song__cover {
		width: 190px;
	}

	body.single-post .pt-song__text {
		margin-bottom: 0;
	}

	body.single-post .pt-song-footer .site-footer__inner {
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
		min-height: 0;
		padding: 30px 0;
	}

	body.single-post .pt-song-footer .site-footer__inner li {
		font-size: var(--pt-song-footer-size-mobile);
	}

	body.single-post .pt-song-footer__copy-inner {
		width: auto;
		max-width: 378px;
	}

	body.single-post .pt-song-footer__copy p {
		font-size: var(--pt-song-footer-size-mobile);
		font-weight: 500;
		text-align: center;
	}
}
