/* single-album.php + single-song.php — brand-matched single templates */

.ca-root { color: #283430; font-family: "Roboto", system-ui, sans-serif; }
.ca-root *, .cs-song * { box-sizing: border-box; }

/* ── Album hero ─────────────────────────── */
.ca-hero {
  position: relative;
  padding: 10vh 24px;
  color: #EDF1F0;
  background: #0F1815;
  overflow: hidden;
  border-bottom: 2px solid #A98841;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.ca-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(40px) brightness(0.35) saturate(1.1);
  transform: scale(1.08);
  z-index: 0;
}
.ca-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.ca-hero-cover {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.ca-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-hero-year {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.22em;
  color: #C9A961;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.ca-hero-title {
  font-family: "Cinzel", Georgia, serif;
  color: #EDF1F0 !important;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin: 0 0 18px !important;
}
.ca-ogham {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  padding: 4px 14px;
  background: rgba(201, 169, 97, 0.16);
  border-radius: 999px;
}
.ca-ogham-glyph { font-family: "Noto Sans Ogham", "Segoe UI Historic", serif; color: #C9A961; font-size: 1.4rem; }
.ca-ogham-name { font-family: "Roboto Slab", Georgia, serif; font-style: italic; font-size: 0.82rem; letter-spacing: 0.1em; color: #EDF1F0; }
.ca-ogham-tree { font-size: 0.78rem; color: #C9A961; }
.ca-ogham-tree em { color: #EDF1F0; }

.ca-hero-stat {
  font-family: "Roboto Slab", Georgia, serif;
  color: #EDF1F0;
  margin: 0 0 14px;
}
.ca-hero-stat strong { color: #C9A961; }
.ca-hero-stat--solo { color: #C9A961; font-style: italic; font-size: 0.9rem; letter-spacing: 0.08em; }

.ca-hero-about {
  font-family: "Roboto Slab", Georgia, serif;
  color: #EDF1F0;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 0 24px;
  line-height: 1.7;
}

.ca-listen { display: flex; gap: 8px; flex-wrap: wrap; }
.ca-listen-btn {
  padding: 10px 20px;
  border: 1px solid rgba(237,241,240,0.3);
  border-radius: 4px;
  color: #EDF1F0 !important;
  text-decoration: none !important;
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease;
}
.ca-listen-btn:hover { background: #A98841; border-color: #A98841; color: #0F1815 !important; }

/* ── Sections ───────────────────────────── */
.ca-section { max-width: 880px; margin: 6vh auto; padding: 0 24px; }
.ca-section-header { text-align: center; margin-bottom: 32px; }
.ca-section-eyebrow {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  color: #A98841;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 6px;
}
.ca-section-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: #0F1815;
  margin: 0;
}

/* ── Tracks ─────────────────────────────── */
.ca-tracks { list-style: none; padding: 0; margin: 0; }
.ca-track {
  display: grid;
  grid-template-columns: 46px 1fr auto 36px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #DEE5E3;
}
.ca-track-num {
  font-family: "Cinzel", Georgia, serif;
  color: #A98841;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.ca-track-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 600;
  color: #0F1815;
  text-decoration: none;
  font-size: 1.05rem;
}
.ca-track-title:hover { color: #0F4C5C; }
.ca-track-dur {
  color: #6E7B78;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.ca-track-yt {
  color: #A98841;
  text-decoration: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #C6D0CD;
  border-radius: 50%;
  transition: background 160ms ease, color 160ms ease;
}
.ca-track-yt:hover { background: #A98841; color: #EDF1F0; border-color: #A98841; }

/* ── Notes + about ─────────────────────── */
.ca-notes, .ca-about {
  font-family: "Roboto Slab", Georgia, serif;
  color: #283430;
  line-height: 1.75;
  font-size: 1.05rem;
}
.ca-cta { text-align: center; padding: 4vh 24px 8vh; }
.ca-cta-back { color: #0F4C5C; text-decoration: none; font-weight: 600; letter-spacing: 0.06em; }
.ca-cta-back:hover { color: #0A3B48; }

/* ── Mobile ─────────────────────────────── */
@media (max-width: 720px) {
  .ca-hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .ca-hero-cover { max-width: 260px; margin: 0 auto; }
  .ca-ogham { flex-wrap: wrap; justify-content: center; }
  .ca-listen { justify-content: center; }
  .ca-track { grid-template-columns: 36px 1fr auto; }
  .ca-track-yt { display: none; }
}

/* ──────────────────────────────────────────
 * single-song.php
 * ────────────────────────────────────────── */
.cs-song {
  max-width: 780px;
  margin: 8vh auto;
  padding: 0 24px;
  color: #283430;
  font-family: "Roboto", system-ui, sans-serif;
}
.cs-song-header { text-align: center; margin-bottom: 4vh; }
.cs-song-album-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #EDF1F0;
  border: 1px solid #C6D0CD;
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
  text-decoration: none !important;
  margin-bottom: 24px;
  transition: border-color 160ms ease;
}
.cs-song-album-link:hover { border-color: #A98841; }
.cs-song-album-cover { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.cs-song-album-meta { text-align: left; display: flex; flex-direction: column; }
.cs-song-album-eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; color: #6E7B78; text-transform: uppercase; }
.cs-song-album-meta strong { font-family: "Roboto Slab", Georgia, serif; color: #0F1815; }
.cs-song-album-year { font-family: "Cinzel", Georgia, serif; font-size: 0.72rem; letter-spacing: 0.18em; color: #A98841; }
.cs-song-track-num { font-family: "Cinzel", Georgia, serif; color: #A98841; letter-spacing: 0.22em; font-size: 0.78rem; margin: 0 0 8px; }
.cs-song-title { font-family: "Roboto Slab", Georgia, serif; color: #0F1815; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px !important; }
.cs-song-duration { color: #6E7B78; font-family: "Cinzel", Georgia, serif; letter-spacing: 0.1em; margin: 0 0 20px; }

/* Song facts strip — duration · genre1 · genre2 */
.cs-song-facts {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
	margin: 0 0 24px;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.cs-song-fact--duration {
	color: #6E7B78;
	font-family: "Cinzel", Georgia, serif;
	letter-spacing: 0.22em;
}
.cs-song-fact-sep { color: #A98841; }
.cs-song-genre {
	padding: 4px 12px;
	border: 1px solid #A98841;
	border-radius: 999px;
	color: #0F4C5C;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
}

/* Credits vs lyrics — distinct visual rhythm */
.cs-song-body--notes { max-width: 720px; margin: 6vh auto 0; padding: 0 24px; }
.cs-song-body--notes .cs-song-content { white-space: normal; }
.cs-song-body--notes strong { color: #A98841; }
.cs-song-body--lyrics { max-width: 720px; margin: 6vh auto 0; padding: 0 24px; }
.cs-song-listen { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cs-song-btn {
  padding: 10px 18px;
  background: #0F4C5C;
  color: #EDF1F0 !important;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.cs-song-btn:hover { background: #0A3B48; }
.cs-song-btn--ghost { background: transparent; color: #0F4C5C !important; border: 1px solid #C6D0CD; }
.cs-song-btn--ghost:hover { border-color: #0F4C5C; background: rgba(15,76,92,0.08); color: #0F4C5C !important; }
.cs-song-body { margin-top: 6vh; }
.cs-song-section-title { font-family: "Roboto Slab", Georgia, serif; color: #0F1815; border-bottom: 1px solid #A98841; padding-bottom: 8px; margin-bottom: 18px; }
.cs-song-content { font-family: "Roboto Slab", Georgia, serif; font-size: 1.05rem; line-height: 1.75; white-space: pre-wrap; }
.cs-song-cta { margin-top: 8vh; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Breadcrumbs on single song — small gold trail */
.cs-song-breadcrumbs { max-width: 720px; margin: 0 auto 32px; padding: 0 24px; }
.cs-song-breadcrumbs ol {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center;
	gap: 8px; padding: 0; margin: 0;
	font-family: "Cinzel", Georgia, serif; font-size: 0.72rem;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: #6E7B78;
}
.cs-song-breadcrumbs li + li::before {
	content: "›"; margin-right: 8px; color: #A98841; font-family: inherit;
}
.cs-song-breadcrumbs a { color: #0F4C5C; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 160ms ease; }
.cs-song-breadcrumbs a:hover { border-bottom-color: #A98841; }
.cs-song-breadcrumbs [aria-current="page"] { color: #0F1815; font-weight: 600; }

/* Prev/Next pager — chapter feel, links read as "the next thing on the record" */
.cs-song-pager {
	max-width: 720px; margin: 8vh auto 0; padding: 0 24px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.cs-song-pager-link {
	display: flex; flex-direction: column; gap: 4px;
	padding: 16px 20px;
	border: 1px solid #C6D0CD;
	border-radius: 4px;
	background: #EDF1F0;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
	color: #283430;
	text-decoration: none;
}
.cs-song-pager-link--prev { text-align: left; }
.cs-song-pager-link--next { text-align: right; }
.cs-song-pager-link:hover { border-color: #A98841; background: #fff; transform: translateY(-1px); }
.cs-song-pager-link.is-disabled {
	opacity: 0.5; cursor: default; background: transparent; border-style: dashed;
}
.cs-song-pager-dir {
	font-family: "Cinzel", Georgia, serif; font-size: 0.7rem; color: #A98841;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.cs-song-pager-title {
	font-family: "Roboto Slab", Georgia, serif; font-size: 1.05rem; color: #0F1815;
	font-weight: 600;
}

@media (max-width: 640px) {
	.cs-song-pager { grid-template-columns: 1fr; }
	.cs-song-pager-link--next { text-align: left; }
}

/* Sticky player at the bottom of the song page */
.cs-sticky-player {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	display: flex; align-items: center; gap: 16px;
	padding: 10px 18px;
	background: rgba(15, 24, 21, 0.96);
	color: #EDF1F0;
	border-top: 1px solid rgba(169, 136, 65, 0.4);
	backdrop-filter: blur(8px);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
}
.cs-sticky-meta { display: flex; align-items: center; gap: 10px; min-width: 160px; flex: 0 0 auto; }
.cs-sticky-cover { width: 44px; height: 44px; border-radius: 2px; object-fit: cover; flex: 0 0 auto; }
.cs-sticky-text { display: flex; flex-direction: column; min-width: 0; }
.cs-sticky-title { font-family: "Roboto Slab", Georgia, serif; font-weight: 600; font-size: 0.92rem; color: #EDF1F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-sticky-album { font-family: "Cinzel", Georgia, serif; font-size: 0.7rem; letter-spacing: 0.14em; color: #A98841; }
.cs-sticky-audio { flex: 1 1 auto; height: 38px; max-width: 600px; filter: invert(0.95); }
.cs-sticky-pager { display: flex; gap: 6px; flex: 0 0 auto; }
.cs-sticky-nav {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(237, 241, 240, 0.08);
	color: #EDF1F0 !important;
	font-size: 0.9rem;
	text-decoration: none !important;
	transition: background 160ms ease, color 160ms ease;
}
.cs-sticky-nav:hover { background: #A98841; color: #0F1815 !important; }

/* Give page-bottom content space so the sticky bar doesn't overlap CTAs */
body.single-song main.cs-song { padding-bottom: 80px; }

@media (max-width: 640px) {
	.cs-sticky-player { gap: 10px; padding: 8px 12px; flex-wrap: wrap; }
	.cs-sticky-meta { min-width: 0; flex: 1 1 auto; }
	.cs-sticky-audio { order: 3; flex: 1 1 100%; }
	.cs-sticky-pager { flex: 0 0 auto; }
}
