/* Album (Lyrics) page template
   Fonts and colors follow Elementor's Site Settings (global fonts/colors),
   with fallbacks in case those aren't available.
   Easy-to-change settings are the variables just below. */

:root {
	--album-fade: 1000ms;               /* fade out + fade in = about 2 seconds total */
	--album-bar-bg: #000000;             /* background of the sticky song menu */
	--song-bar-top: 0px;                 /* set automatically by album.js */
}

.album-page {
	padding: 140px 24px 80px; /* top space keeps content clear of the floating header */
	color: var(--e-global-color-text, #e6e6e6);
}

/* Album name area */
.album-head {
	max-width: 1100px;
	margin: 0 auto 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	text-align: center;
}

.album-head:has(.album-cover) {
	text-align: left;
}

.album-cover {
	display: block;
	width: 120px;
	height: auto;
	flex: 0 0 auto;
}

.album-eyebrow {
	margin: 0 0 4px;
	font-family: var(--e-global-typography-secondary-font-family, "Cinzel"), serif;
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	opacity: 0.6;
}

.album-title {
	font-family: var(--e-global-typography-primary-font-family, "Cinzel"), serif;
	color: var(--e-global-color-primary, #ffffff);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.2;
	margin: 0 0 8px;
}

.album-links {
	margin: 0;
	font-size: 0.95rem;
}

.album-links a {
	color: inherit;
	opacity: 0.7;
	text-decoration: none;
}

.album-links a:hover {
	opacity: 1;
	color: inherit;
}

.album-links span {
	margin: 0 8px;
	opacity: 0.5;
}

/* Sticky song menu */
.song-bar {
	position: sticky;
	top: var(--song-bar-top);
	z-index: 50;
	margin: 0 -24px 40px;
	padding: 12px 24px;
	background: var(--album-bar-bg);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition: top 0.35s ease; /* matches the header's slide */
}

.song-list {
	list-style: none;
	counter-reset: song;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
}

.song-list li {
	counter-increment: song;
	margin: 0;
}

.album-page .song-btn,
.album-page .song-btn:hover,
.album-page .song-btn:focus {
	display: inline-flex;
	gap: 8px;
	padding: 6px 0;
	margin: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font-family: var(--e-global-typography-secondary-font-family, "Cinzel"), serif;
	font-size: 1rem;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.album-page .song-btn::before {
	content: counter(song, decimal-leading-zero);
	opacity: 0.5;
}

.album-page .song-btn:hover,
.album-page .song-btn:focus-visible,
.album-page .song-btn[aria-current="true"] {
	color: var(--e-global-color-accent, #61ce70);
}

.album-page .song-btn:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

/* Lyrics */
.lyrics-box {
	max-width: 720px;
	margin: 0 auto;
	font-family: var(--e-global-typography-text-font-family, "EB Garamond"), serif;
	font-size: 1.15rem;
	line-height: 1.7;
	transition: opacity var(--album-fade) ease;
}

.lyrics-box.is-fading {
	opacity: 0;
}

.lyrics-box h2 {
	font-family: var(--e-global-typography-primary-font-family, "Cinzel"), serif;
	color: var(--e-global-color-primary, #ffffff);
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0 0 24px;
}

.lyrics-box p {
	margin: 0 0 1.2em;
}

/* Phones: song menu becomes a single row you can swipe sideways */
@media (max-width: 767px) {
	.album-page {
		padding-top: 110px;
	}

	.album-head,
	.album-head:has(.album-cover) {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}

	.song-list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 22px;
	}

	.song-list::-webkit-scrollbar {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lyrics-box,
	.song-bar {
		transition: none;
	}
}
