/*
 * Album single-page styles (themjdb).
 * Loaded on single-albums.php only.
 *
 * Layout: right sidebar + nested primary grid, preserving the existing content
 * shell while giving the tracklist the wider slot previously used by Spotify.
 *
 *   [ cover     | main      ] [ listen / buy ]
 *   [ tracklist | tracklist ] [ listen / buy ]
 *
 *   Singles + post-nav fall full-width below (outside #album-layout).
 */

:root {
	--mjdb-ink: #111;
	--mjdb-text: #2f2f2f;
	--mjdb-muted: #777;
	--mjdb-hairline: #e7e7e7;
	--mjdb-panel: #f7f7f7;
	--mjdb-gold: #b08320;
	--mjdb-font-light: 'gotham_lightregular';
	--mjdb-font-medium: 'gotham_mediumregular';
	--mjdb-font-bold: 'gotham_boldregular';
}

#album-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 2.5rem;
	align-items: start;
	margin-bottom: 3rem;
}

.album-primary {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	grid-template-areas:
		"cover     main"
		"tracklist tracklist";
	gap: 2.5rem;
	align-items: start;
	min-width: 0;
}

.album-cover        { grid-area: cover; }
.album-main         { grid-area: main; }
.album-sidebar      { min-width: 0; }
.album-tracklist-main { grid-area: tracklist; }
.album-spotify      { width: 100%; }

@media (max-width: 1200px) {
	#album-layout {
		grid-template-columns: 1fr;
	}

	.album-primary {
		grid-template-columns: 280px minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.album-primary {
		grid-template-columns: 1fr;
		grid-template-areas:
			"cover"
			"main"
			"tracklist";
	}

	.tracklist-block #track-listings li {
		grid-template-columns: 2.5rem minmax(0, 1fr);
	}

	.tracklist-block #track-listings .track-extra {
		grid-column: 2;
		justify-content: flex-start;
		min-width: 0;
		padding-bottom: 0.65rem;
	}

	.album-main .key-credits {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
}

/* === Cover === */
.album-cover {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.album-cover img.main {
	position: relative;
	z-index: 1;
}

.album-cover img.reverse {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 2;
	transition: opacity 0.5s;
}

.album-cover:hover img.reverse {
	opacity: 1;
}

.album-cover .placeholder {
	width: 100%;
	height: 100%;
	background: #eaeaea;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	font-size: 1.1em;
	color: #535353;
}

/* === Main column === */
.album-main .artist {
	font-family: var(--mjdb-font-medium);
	font-size: 1.45em;
	line-height: 1.25;
	color: var(--mjdb-ink);
	margin: 0 0 1rem;
}

/* Tag chips row (album type, era, genre) */
.tag-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1.35rem;
}

.tag-chips .chip {
	font-size: 0.78em;
	padding: 0.22rem 0.68rem;
}

.album-main .key-credits dd .chip {
	font-size: 0.8em;
	padding: 0.25rem 0.7rem;
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.4rem;
}

a.chip,
.chip {
	display: inline-block;
	padding: 0.18rem 0.62rem;
	margin: 0;
	background: var(--mjdb-panel);
	border: 1px solid var(--mjdb-hairline);
	border-radius: 999px;
	font-size: 0.86em;
	color: var(--mjdb-text);
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.chip:hover,
.chip:hover {
	background: #fff;
	border-color: #cfcfcf;
	color: var(--mjdb-ink);
	text-decoration: none;
}

.chip-era {
	background: var(--mjdb-panel);
	color: var(--mjdb-text);
}

.chip-era:hover {
	background: #fff;
	color: var(--mjdb-ink);
}

.chip-genre {
	background: var(--mjdb-panel);
	color: var(--mjdb-text);
}

.chip-genre:hover {
	background: #fff;
	color: var(--mjdb-ink);
}

.chip-type {
	background: var(--mjdb-ink);
	border-color: var(--mjdb-ink);
	color: #fff;
}

.album-main .synopsis {
	margin-bottom: 1.7rem;
}

/* Mini write-up under the title block */
.album-main .writeup {
	margin: 0 0 1.5rem;
	font-size: 1em;
	line-height: 1.65;
	color: var(--mjdb-text);
	max-width: 65ch;
}

/* Key credits inline rows */
.album-main .key-credits {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 0.65rem 1.35rem;
	margin: 0;
	padding-top: 1.35rem;
	border-top: 1px solid var(--mjdb-hairline);
	font-size: 0.96em;
}

.album-main .key-credits dt {
	font-family: var(--mjdb-font-medium);
	text-transform: uppercase;
	font-size: 0.7em;
	letter-spacing: 0.08em;
	color: var(--mjdb-muted);
	align-self: center;
}

.album-main .key-credits dd {
	margin: 0;
	color: var(--mjdb-text);
	line-height: 1.45;
}

.album-main .key-credits .credit-link {
	color: inherit;
	text-decoration: none;
}

.album-main .key-credits .credit-link:hover {
	color: var(--mjdb-ink);
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.album-main .key-credits .credit-separator {
	color: var(--mjdb-muted);
}

.album-main .key-credits dd a {
	color: inherit;
}

/* === Listen block === */
.album-spotify {
	width: 100%;
	margin-top: 0;
}

.spotify-block .section-title {
	margin-bottom: 0.85rem;
}

.album-spotify iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

/* === Section titles === */
.section-title {
	font-family: var(--mjdb-font-medium);
	font-size: 0.92em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mjdb-ink);
	border-bottom: 1px solid var(--mjdb-hairline);
	padding-bottom: 0.5em;
	margin: 0 0 1rem;
}

/* === Tracklist === */
.album-sidebar .sidebar-block {
	margin-bottom: 2rem;
}

.album-tracklist-main {
	min-width: 0;
}

.tracklist-block #track-listings {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tracklist-block #track-listings li {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.75rem;
	line-height: 1.25;
	text-transform: none;
	background: #fff;
	border-bottom: 1px solid #eee;
	font-size: 0.95em;
}

.tracklist-block #track-listings li:hover {
	background: #fafafa;
}

.tracklist-block #track-listings .track-no {
	color: #888;
	font-variant-numeric: tabular-nums;
	font-size: 0.85em;
}

.tracklist-block #track-listings .track-title {
	color: #111;
	font-family: var(--mjdb-font-medium);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tracklist-block #track-listings .track-extra {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	min-width: 7.5rem;
	font-size: 0.82em;
	color: var(--mjdb-muted);
	white-space: nowrap;
}

.tracklist-block #track-listings .track-duration {
	min-width: 2.75rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.tracklist-block #track-listings .track-badge {
	font-family: var(--mjdb-font-medium);
	font-size: 0.72em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mjdb-gold);
}

.tracklist-block #track-listings .track-title:hover {
	text-decoration: underline;
}

/* Synopsis under chips */
.album-main .synopsis {
	margin: 0 0 1.5rem;
	font-size: 1.05em;
	line-height: 1.55;
	color: #333;
	max-width: 65ch;
}

.album-main .read-more-inline {
	color: #579a18;
	text-decoration: none;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.album-main .read-more-inline:hover {
	text-decoration: underline;
}

/* === Singles (full width below the layout) === */
.album-singles.full-width {
	margin: 3rem 0;
}

.album-singles .single--fallback img {
	opacity: 0.55;
	filter: grayscale(0.2);
}

.album-singles .singles-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
}

.album-singles .singles-grid .single a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.album-singles .singles-grid img,
.album-singles .singles-grid .single-thumb-missing {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #eaeaea;
	margin-bottom: 0.5rem;
}

.album-singles .singles-grid .single-title {
	display: block;
	font-size: 0.9em;
	line-height: 1.3;
}

/* === Page heading with popularity === */
.album-page-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
}

.album-page-heading h1 {
	flex: 1;
	min-width: 0;
}

.popularity {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 0.5rem 0.75rem;
	border-left: 3px solid #d4a017;
	line-height: 1;
}

.popularity-label {
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	margin-bottom: 0.3rem;
}

.popularity-score {
	font-family: 'gotham_boldregular';
	font-size: 1.6em;
	color: #b3851b;
}

.popularity-suffix {
	display: none;
}

/* Photos placeholder */
.photos-grid {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.5rem;
}

.photos-grid .photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 3px;
	transition: transform 0.2s ease;
	cursor: pointer;
}

.photos-grid .photo:hover img {
	transform: scale(1.03);
}

/* Videos grid */
.videos-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}

.videos-grid .video a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.videos-grid img,
.videos-grid .video-thumb-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #111;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6em;
	border-radius: 4px;
	margin-bottom: 0.5rem;
}

.videos-grid img {
	display: block;
}

.videos-grid .video-meta {
	display: block;
}

.videos-grid .video-title {
	display: block;
	font-family: 'gotham_mediumregular';
	color: #111;
	font-size: 0.95em;
	line-height: 1.3;
}

.videos-grid .video-date {
	display: block;
	color: #999;
	font-size: 0.85em;
	margin-top: 0.2em;
}

/* Sidebar Buy block (now in top right sidebar below tracklist) */
.album-sidebar .buy-block .section-title {
	margin-top: 0;
}

/* === Tabs === */
.album-tabs-wrap {
	margin: 3rem 0;
	scroll-margin-top: 100px;
}

.album-tabs-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 2.5rem;
	align-items: start;
}

@media (max-width: 1200px) {
	.album-tabs-body {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 2rem;
	}
}

@media (max-width: 900px) {
	.album-tabs-body {
		grid-template-columns: 1fr;
	}
}

.album-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	border-bottom: 2px solid #eaeaea;
	margin: 0 0 1.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}

.album-tabs::-webkit-scrollbar {
	height: 4px;
}

.album-tabs::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 2px;
}

.album-tab {
	font-family: 'gotham_mediumregular';
	font-size: 0.85em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 0.85rem 1.25rem;
	margin-bottom: -2px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.album-tab:hover {
	color: #111;
}

.album-tab[aria-selected="true"] {
	color: #111;
	border-bottom-color: #111;
}

.album-tab:focus-visible {
	outline: 2px solid #1e3a8a;
	outline-offset: -2px;
}

.album-tab-panel {
	font-size: 1em;
	line-height: 1.65;
	color: #222;
	animation: tabFadeIn 0.2s ease;
}

.tab-placeholder {
	padding: 1.5rem 1.75rem;
	background: #fafafa;
	border-left: 3px solid #d8d8d8;
	color: #555;
}

.tab-placeholder p {
	margin: 0;
}

.tab-placeholder--contribute {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.tab-placeholder--contribute a {
	background: #111;
	border-radius: 999px;
	color: #fff;
	flex: 0 0 auto;
	font-family: 'gotham_mediumregular';
	font-size: 0.78em;
	letter-spacing: 0.06em;
	padding: 0.6rem 1rem;
	text-decoration: none;
	text-transform: uppercase;
}

.tab-placeholder--contribute a:hover {
	background: #b08320;
	color: #fff;
}

.tab-note {
	margin-top: 1.5rem;
	font-size: 0.9em;
	color: #888;
	font-style: italic;
}

/* === Cast & Crew tab === */
.cast-summary {
	color: #555;
	margin: 0 0 1.5rem;
	font-size: 0.95em;
}

.cast-summary strong {
	font-family: 'gotham_mediumregular';
	color: #111;
}

.cast-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cast-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) max-content;
	gap: 1rem;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.cast-row:last-child {
	border-bottom: 0;
}

.cast-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: #eaeaea;
	display: block;
	text-decoration: none;
	flex-shrink: 0;
}

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

.cast-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #d8d8d8;
	color: #666;
	font-family: 'gotham_mediumregular';
	font-size: 1.4em;
	text-transform: uppercase;
}

.cast-info {
	min-width: 0;
}

.cast-name {
	display: block;
	font-family: 'gotham_mediumregular';
	color: #111;
	text-decoration: none;
	font-size: 1em;
	margin-bottom: 0.15em;
}

.cast-name:hover {
	text-decoration: underline;
}

.cast-roles {
	display: block;
	color: #666;
	font-size: 0.9em;
	line-height: 1.3;
}

.cast-count {
	color: #999;
	font-size: 0.85em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.recording-detail {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem 1.5rem;
	margin: 0 0 1.5rem;
}

.recording-detail dt {
	font-family: 'gotham_mediumregular';
	text-transform: uppercase;
	font-size: 0.72em;
	letter-spacing: 0.08em;
	color: #888;
}

.recording-detail dd {
	margin: 0;
	color: #222;
}

/* === Tab sidebar (right of panels) === */
.album-tabs-aside {
	font-size: 0.95em;
}

.aside-block {
	margin-bottom: 2rem;
}

.aside-title {
	font-family: 'gotham_mediumregular';
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #535353;
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 0.4em;
	margin: 0 0 0.75rem;
}

.aside-placeholder {
	color: #888;
	font-style: italic;
	font-size: 0.95em;
	margin: 0;
}

.aside-stats {
	list-style: none;
	padding: 0;
	margin: 0;
}

.aside-stats li {
	padding: 0.4rem 0;
	border-bottom: 1px solid #f0f0f0;
	color: #555;
}

.aside-stats li:last-child {
	border-bottom: 0;
}

.aside-stats strong {
	font-family: 'gotham_mediumregular';
	color: #111;
}

.external-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.external-links li {
	padding: 0.4rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.external-links li:last-child {
	border-bottom: 0;
}

.external-links a {
	color: #535353;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.external-links a:hover {
	color: #111;
}

.external-links .ext-arrow {
	color: #999;
	font-size: 0.9em;
}

/* Listen / Own links */
.buy-block .buy-format,
.aside-block--buy .buy-format {
	margin-bottom: 1.05rem;
}

.buy-block .buy-format:last-of-type,
.aside-block--buy .buy-format:last-of-type {
	margin-bottom: 0;
}

.buy-format-label {
	font-family: var(--mjdb-font-medium);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--mjdb-muted);
	margin-bottom: 0.35rem;
}

.buy-links {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--mjdb-line-table);
}

.buy-links li {
	border-bottom: 1px solid var(--mjdb-line-table);
}

.buy-links li:last-child {
	border-bottom: 0;
}

.buy-links a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.65rem;
	color: var(--mjdb-text);
	text-decoration: none;
	font-size: 0.88rem;
	line-height: 1.35;
	padding: 0.48rem 0;
}

.buy-links a:hover {
	color: var(--mjdb-gold);
}

.buy-retailer {
	font-family: var(--mjdb-font-medium);
	color: var(--mjdb-ink);
}

.buy-label {
	color: var(--mjdb-muted);
	font-size: 0.78rem;
	text-align: right;
}

.affiliate-disclosure {
	margin: 0.85rem 0 0;
	padding-top: 0.7rem;
	border-top: 1px solid var(--mjdb-line-table);
	font-size: 0.72rem;
	color: var(--mjdb-muted);
	line-height: 1.45;
}

.affiliate-disclosure a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

/* Reviews */
.reviews-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.5rem;
}

.review {
	padding: 1.25rem;
	background: #fafafa;
	border-left: 3px solid #d4a017;
}

.review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.review-publication {
	font-family: 'gotham_mediumregular';
	color: #111;
}

.review-critic, .review-date {
	color: #666;
	font-size: 0.9em;
}

.review-score {
	margin-left: auto;
	color: #b3851b;
	font-family: 'gotham_mediumregular';
}

.review-quote {
	margin: 0.5rem 0 0.75rem;
	color: #222;
	font-style: italic;
	border: 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.6;
}

.review-quote::before { content: "\201C"; }
.review-quote::after  { content: "\201D"; }

.review-source {
	display: inline-block;
	font-size: 0.85em;
	color: #535353;
	text-decoration: none;
	border-bottom: 1px dotted rgba(0,0,0,0.3);
}

.review-source:hover {
	color: #111;
}

/* Sales / certifications */
.sales-headline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: #fffdf3;
	border-left: 3px solid #d4a017;
}

.sales-headline strong {
	font-family: 'gotham_mediumregular';
	font-size: 2em;
	color: #b3851b;
	line-height: 1;
}

.sales-headline-label {
	color: #535353;
	font-size: 1em;
}

.sales-source {
	margin-left: auto;
	color: #888;
	font-size: 0.85em;
	font-style: italic;
}

.cert-row.cert-diamond .cert-level-cell { color: #4a90c2; font-family: 'gotham_mediumregular'; }
.cert-row.cert-multi .cert-level-cell { color: #b3851b; font-family: 'gotham_mediumregular'; }
.cert-row.cert-platinum .cert-level-cell { color: #535353; font-family: 'gotham_mediumregular'; }

/* Accolades — bullet list under the sales headline */
.accolades-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: grid;
	gap: 0.5rem;
}

.accolade {
	display: grid;
	grid-template-columns: 24px 1fr max-content;
	gap: 0.6rem;
	align-items: baseline;
	padding: 0.6rem 0.9rem;
	background: #fffdf3;
	border-left: 3px solid #d4a017;
	font-size: 0.95em;
}

.accolade-icon {
	color: #d4a017;
	font-size: 1.1em;
	line-height: 1;
}

.accolade-claim {
	color: #222;
}

.accolade-source {
	color: #888;
	font-size: 0.85em;
	font-style: italic;
}

/* Tour */
.tour-image {
	margin: 0 0 1.5rem;
	border-radius: 6px;
	overflow: hidden;
}

.tour-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
}

.tour-summary {
	font-size: 1.05em;
	line-height: 1.65;
	color: #222;
	margin: 0 0 1.5rem;
}

.tour-name {
	font-family: 'gotham_mediumregular';
	color: #111;
	font-size: 1.2em;
	margin: 0 0 1rem;
}

.tour-detail {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem 1.5rem;
	margin: 0;
}

.tour-detail dt {
	font-family: 'gotham_mediumregular';
	text-transform: uppercase;
	font-size: 0.72em;
	letter-spacing: 0.08em;
	color: #888;
	align-self: center;
}

.tour-detail dd {
	margin: 0;
	color: #222;
}

/* Trivia */
.trivia-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}

.trivia-item {
	padding: 0.75rem 1rem;
	background: #fafafa;
	border-left: 3px solid #d8d8d8;
}

.trivia-fact {
	margin: 0;
	color: #222;
}

.trivia-source {
	display: inline-block;
	margin-top: 0.4rem;
	color: #888;
	font-size: 0.8em;
	font-style: italic;
}

/* Reissues */
.reissues-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.5rem;
}

.reissue {
	padding: 1rem 1.25rem;
	background: #fafafa;
	border-left: 3px solid #579a18;
}

.reissue-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: baseline;
	margin-bottom: 0.4rem;
}

.reissue-title {
	font-family: 'gotham_mediumregular';
	color: #111;
	text-decoration: none;
	font-size: 1.1em;
}

.reissue-title[href]:hover {
	text-decoration: underline;
}

.reissue-year {
	color: #888;
	font-size: 0.9em;
}

.reissue-desc {
	margin: 0;
	color: #444;
	line-height: 1.55;
}

@keyframes tabFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* About (description) panel */
.album-about__body {
	font-size: 1.05em;
	line-height: 1.75;
}

.album-about__body p {
	margin: 0 0 1.25em;
}

/* === Charts panel === */
.charts-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.charts-table th,
.charts-table td {
	padding: 0.6rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.charts-table thead th {
	font-family: 'gotham_mediumregular';
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	background: #fafafa;
	border-bottom: 2px solid #eaeaea;
}

.charts-table th.num,
.charts-table td.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	padding-left: 1.5rem;
}

.charts-table th,
.charts-table td {
	white-space: nowrap;
}

.charts-table thead th:first-child,
.charts-table tbody td:first-child,
.charts-table thead th:nth-child(2),
.charts-table tbody td:nth-child(2) {
	white-space: normal;
}

.charts-table tbody tr:hover {
	background: #fafafa;
}

.charts-table tbody tr.chart-row--one td.num:first-of-type {
	color: #b3851b;
	font-family: 'gotham_mediumregular';
}

.awards-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 0.5rem;
}

.award {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 1rem;
	padding: 0.9rem 1rem;
	background: #fafafa;
	border-left: 3px solid #d0d0d0;
	align-items: center;
}

.award--won {
	border-left-color: #d4a017;
	background: #fffdf3;
}

.award--nominated {
	border-left-color: #999;
}

.award-image {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #eaeaea;
}

.award-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.award-image--placeholder {
	color: #d4a017;
	font-size: 1.5em;
}

.award--nominated .award-image--placeholder {
	color: #999;
}

.award-body {
	min-width: 0;
}

.award-head {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
	margin-bottom: 0.25rem;
}

.award-result {
	font-family: 'gotham_mediumregular';
	text-transform: uppercase;
	font-size: 0.7em;
	letter-spacing: 0.08em;
	color: #535353;
}

.award--won .award-result {
	color: #8a6d10;
}

.award-year {
	color: #999;
	font-variant-numeric: tabular-nums;
	font-size: 0.8em;
}

.award-org {
	font-family: 'gotham_mediumregular';
	color: #111;
	font-size: 1em;
	line-height: 1.2;
}

.award-category {
	color: #555;
	font-size: 0.92em;
	line-height: 1.3;
	margin-top: 0.15em;
}

/* === Prev/next === */
.post-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eaeaea;
	clear: both;
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

.post-nav a {
	text-decoration: none;
	color: #535353;
}

.post-nav a:hover .nav-title {
	color: #111;
}

.post-nav .nav-subtitle {
	display: block;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
	margin-bottom: 0.2em;
}

.post-nav .nav-title {
	font-family: 'gotham_mediumregular';
	font-size: 1em;
}

.post-nav a {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.post-nav__next a {
	flex-direction: row;
}

.post-nav__cover {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.post-nav__text {
	display: flex;
	flex-direction: column;
}

.post-nav__next .post-nav__text {
	text-align: right;
}

/* Suggest an edit */
.suggest-edit {
	align-items: center;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-left: 3px solid #b08320;
	clear: both;
	color: #555;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 2.5rem 0 0;
	padding: 1.25rem 1.5rem;
	text-align: left;
}

.suggest-edit a {
	border: 1px solid #d0d0d0;
	color: #333;
	flex: 0 0 auto;
	font-family: 'gotham_mediumregular';
	font-size: 0.78em;
	letter-spacing: 0.06em;
	padding: 0.55rem 0.8rem;
	text-decoration: none;
	text-transform: uppercase;
}

.suggest-edit span {
	color: #333;
	font-family: 'gotham_mediumregular';
}

.suggest-edit a:hover {
	color: #111;
	border-color: #111;
}

@media (max-width: 700px) {
	.suggest-edit,
	.tab-placeholder--contribute {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* === Timeline tab — auto-pulls related timeline events ============= */
.album-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.album-timeline__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 1.5rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid #eee;
	align-items: start;
}

.album-timeline__item:first-child { padding-top: 0; }
.album-timeline__item:last-child  { border-bottom: 0; }

.album-timeline__main {
	min-width: 0;
}

.album-timeline__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
	margin-bottom: 0.4em;
}

.album-timeline__date {
	font-family: 'gotham_mediumregular';
	font-size: 0.85em;
	color: #555;
}

.album-timeline__cat {
	display: inline-flex;
	align-items: center;
	background: #fffdf3;
	color: #b8870e;
	border: 1px solid #d4a017;
	padding: 0.25em 0.7em;
	border-radius: 999px;
	font-size: 0.7em;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-family: 'gotham_mediumregular';
}

.album-timeline__title {
	margin: 0 0 0.4em;
	font-size: 1.1em;
	line-height: 1.25;
	font-family: 'gotham_mediumregular';
}

.album-timeline__title a {
	color: #111;
	text-decoration: none;
}

.album-timeline__title a:hover { color: #b8870e; }

.album-timeline__summary {
	margin: 0 0 0.5em;
	color: #444;
	font-size: 0.95em;
	line-height: 1.5;
}

.album-timeline__more {
	margin: 0;
	font-size: 0.85em;
}

.album-timeline__more a {
	color: #b8870e;
	text-decoration: none;
	font-family: 'gotham_mediumregular';
	letter-spacing: 0.05em;
}

.album-timeline__more a:hover { color: #111; }

.album-timeline__video {
	width: 280px;
	aspect-ratio: 16 / 9;
	position: relative;
	background: #000;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
}

.album-timeline__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.album-timeline__thumb {
	display: block;
	width: 100px;
	aspect-ratio: 1 / 1;
	border-radius: 3px;
	overflow: hidden;
	flex-shrink: 0;
}

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

@media (max-width: 720px) {
	.album-timeline__item {
		grid-template-columns: 1fr;
		row-gap: 1rem;
	}
	.album-timeline__video,
	.album-timeline__thumb {
		width: 100%;
	}
	.album-timeline__thumb {
		aspect-ratio: 16 / 9;
	}
}
