/*
 * Horoskope der zwölf Zeichen: Seite einer Ausgabe (/horoskope/<zeichen>/…) und Übersicht (/horoskope/).
 * Kopf in Mitternachtsblau mit dem Film, darunter die cremefarbene Lesefläche wie beim Geburtshoroskop.
 */

.av-ausgabe-main {
	margin: 0;
	background: #FAF6EF;
}

.av-ausgabe-kopf {
	padding: 3rem 1.25rem 2.75rem;
	text-align: center;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, 0.12) 0%, rgba(212, 168, 83, 0) 55%),
		linear-gradient(180deg, #091223 0%, #0E1B33 100%);
	color: #F3E9D2;
}

.av-ausgabe-marke {
	margin: 0 0 0.6rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.78rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #D4A853;
}

.av-ausgabe-titel {
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(2.3rem, 5.2vw, 3.5rem);
	font-weight: 600;
	line-height: 1.1;
	color: #F3E9D2;
}

.av-ausgabe-datum {
	margin: 0.6rem 0 1.4rem;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.35rem;
	color: #E8C77B;
}

.av-ausgabe-zeitraum {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
}

.av-ausgabe-zeitraum a {
	padding: 0.45rem 1.15rem;
	border: 1px solid rgba(212, 168, 83, 0.55);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.92rem;
	color: #F3E9D2;
	text-decoration: none;
}

.av-ausgabe-zeitraum a:hover,
.av-ausgabe-zeitraum a:focus-visible {
	border-color: #D4A853;
	color: #E8C77B;
}

.av-ausgabe-zeitraum a[aria-current="page"] {
	background: #D4A853;
	border-color: #D4A853;
	color: #0E1B33;
}

.av-ausgabe-film {
	margin: 2rem auto 0;
}

/* Der Film im Querformat (Leonid 2026-11-04: hochkant passt nicht auf die Seite) */
.av-ausgabe-film video {
	display: block;
	width: 100%;
	max-width: 960px;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border-radius: 14px;
	background: #060c18;
	box-shadow: 0 24px 60px rgba(4, 10, 24, 0.6);
}

/* Film von YouTube: Standbild mit Abspielknopf, auf Klick der Player (assets/yt-film.js) */
.av-yt,
.av-yt-player {
	display: block;
	width: 100%;
	max-width: 960px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border: 0;
	border-radius: 14px;
	background: #060c18 center / cover no-repeat;
	box-shadow: 0 24px 60px rgba(4, 10, 24, 0.6);
}

.av-yt {
	position: relative;
	padding: 0;
	cursor: pointer;
}

.av-yt-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: rgba(14, 27, 51, 0.72);
	border: 2px solid #D4A853;
	transition: transform 0.2s ease, background 0.2s ease;
}

.av-yt-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent #D4A853;
}

.av-yt:hover .av-yt-play,
.av-yt:focus-visible .av-yt-play {
	transform: scale(1.08);
	background: rgba(14, 27, 51, 0.88);
}

.av-yt-hinweis {
	max-width: 960px;
	margin: 0.6rem auto 0;
	font-size: 0.8rem;
	color: rgba(246, 231, 181, 0.6);
	text-align: center;
}

.av-ausgabe-lesen {
	max-width: 760px;
	margin: 0 auto;
	padding: 2.75rem 1.25rem 4rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 1.12rem;
	line-height: 1.75;
	color: #2A3A55;
}

.av-ausgabe-kapitel {
	margin: 0 0 0.75rem;
	font-size: 0.82rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #9A7B3C;
}

.av-ausgabe-einstieg {
	margin: 0 0 2.5rem;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.65rem;
	line-height: 1.45;
	color: #1C2B45;
}

/* Themen als Inhaltsverzeichnis: ein Klick scrollt zum Kapitel, er wählt nichts aus */
.av-themen-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2.5rem;
}

.av-themen-nav a {
	padding: 0.4rem 0.95rem;
	border: 1px solid rgba(176, 138, 62, 0.55);
	border-radius: 999px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #1C2B45;
	text-decoration: none;
}

.av-themen-nav a:hover,
.av-themen-nav a:focus-visible {
	border-color: #B08A3E;
	background: rgba(212, 168, 83, 0.12);
}

/* Am Himmel: das Rad des Zeichens und die Ereignisse des Zeitraums */
.av-himmel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2rem;
	margin: 0 0 3rem;
	padding: 1.75rem;
	border-radius: 14px;
	background: linear-gradient(160deg, #0E1B33 0%, #1A2C4F 100%);
	color: #F3E9D2;
}

.av-himmel-titel {
	flex: 1 1 100%;
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.7rem;
	color: #E8C77B;
}

.av-himmel-rad {
	flex: 0 1 280px;
	margin: 0 auto;
}

.av-himmel-rad svg {
	display: block;
	width: 100%;
	height: auto;
}

.av-himmel-fakten {
	flex: 1 1 260px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1.6;
}

.av-himmel-fakten li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.4rem;
	border-bottom: 1px solid rgba(212, 168, 83, 0.18);
}

.av-himmel-fakten li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: #D4A853;
}

/* Sechs Themen, je zwei Häuser mit ihrem Bild; der Abstand oben lässt Platz für die Kopfzeile beim Sprung */
.av-thema {
	margin: 0 0 3rem;
	scroll-margin-top: 90px;
}

.av-thema-titel {
	margin: 0 0 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(212, 168, 83, 0.55);
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 2rem;
	color: #1C2B45;
}

.av-hausbild {
	margin: 1.75rem 0 1rem;
}

.av-hausbild img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(14, 27, 51, 0.25);
}

.av-thema p {
	margin: 0 0 1rem;
}

.av-ausgabe-haken {
	margin: 0 0 2.5rem;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(212, 168, 83, 0.55);
	border-bottom: 1px solid rgba(212, 168, 83, 0.55);
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.45rem;
	font-style: italic;
	color: #1C2B45;
}

.av-ausgabe-haken p {
	margin: 0;
}

.av-ausgabe-haken .av-haken-marke {
	margin-bottom: 0.4rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8rem;
	font-style: normal;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #9A7B3C;
}

.av-ausgabe-cta {
	margin: 0 0 3rem;
	padding: 1.75rem;
	border-radius: 14px;
	background: #0E1B33;
	color: #F3E9D2;
	text-align: center;
}

.av-ausgabe-cta p {
	margin: 0 0 1.25rem;
}

.av-ausgabe-knopf {
	display: inline-block;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	background: #D4A853;
	color: #0E1B33;
	font-weight: 600;
	text-decoration: none;
}

.av-ausgabe-knopf:hover,
.av-ausgabe-knopf:focus-visible {
	background: #E8C77B;
}

/* Alle zwölf Zeichen im selben Zeitraum */
.av-zeichen-reihe {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.5rem;
}

.av-zeichen-reihe a {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.6rem 0.25rem;
	border: 1px solid rgba(14, 27, 51, 0.12);
	border-radius: 10px;
	font-size: 0.85rem;
	color: #2A3A55;
	text-decoration: none;
}

.av-zeichen-reihe a[aria-current="page"],
.av-zeichen-reihe a:hover {
	border-color: #D4A853;
	color: #1C2B45;
}

.av-glyphe {
	font-size: 1.5rem;
	line-height: 1.2;
	color: #B08A3E;
}

/* Übersicht /horoskope/ */
.av-uebersicht {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	max-width: 1100px;
	margin: 2rem auto;
	padding: 0 1.25rem;
	box-sizing: border-box;
}

.av-hk-karte {
	display: flex;
	flex-direction: column;
	padding: 1.4rem;
	border-radius: 14px;
	background: linear-gradient(160deg, #0E1B33 0%, #1A2C4F 100%);
	color: #F3E9D2;
}

.av-hk-kopf {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: #F3E9D2;
	text-decoration: none;
}

.av-hk-kopf .av-glyphe {
	color: #D4A853;
	font-size: 1.9rem;
}

.av-hk-name {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.7rem;
	font-weight: 600;
}

.av-hk-kapitel {
	margin: 0.6rem 0 0.3rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #E8C77B;
}

.av-hk-einstieg {
	flex: 1;
	margin: 0.4rem 0 1rem;
	font-size: 0.98rem;
	line-height: 1.55;
}

.av-hk-wege {
	display: flex;
	gap: 0.5rem;
}

.av-hk-wege a {
	padding: 0.3rem 0.85rem;
	border: 1px solid rgba(212, 168, 83, 0.55);
	border-radius: 999px;
	font-size: 0.85rem;
	color: #F3E9D2;
	text-decoration: none;
}

.av-hk-wege a:hover {
	border-color: #D4A853;
	color: #E8C77B;
}

@media (max-width: 640px) {
	.av-zeichen-reihe {
		grid-template-columns: repeat(4, 1fr);
	}

	.av-himmel {
		padding: 1.25rem;
	}

	.av-ausgabe-einstieg {
		font-size: 1.4rem;
	}
}
