/*
Theme Name: LyricVault
Theme URI: https://lyricvault.com
Author: LyricVault
Description: Premium dark lyrics sharing theme. Artists, Lyricists, Musicians, Labels, PDF export, WebP. No plugins required.
Version: 2.3.1
Requires at least: 6.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
Text Domain: lyricvault
Tags: music, lyrics, custom-post-types, dark, grid-layout
*/

/* ─────────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────────── */
:root {
  /* Base layout & typography vars — NOT overridden by customizer */
  --max-width:  1200px;
  --sidebar-w:  300px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --transition: 0.2s ease;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.25);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.4);
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Lato', system-ui, sans-serif;
  --ff-mono:    'Courier New', monospace;
  /* Color vars — overridden by customizer <style> in wp_head */
  --clr-bg:      #0e0e14;
  --clr-surface: #13131a;
  --clr-card:    #18181f;
  --clr-border:  #22222e;
  --clr-text:    #e8e8f0;
  --clr-muted:   #7a7a95;
  --clr-white:   #ffffff;
  --clr-accent:  #c9a84c;
  --clr-accent2: #e8c97a;
}

/* ─────────────────────────────────────────────
   RESET
───────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--clr-bg); color: var(--clr-text); font-family: var(--ff-body); font-size: 16px; line-height: 1.7; min-height: 100vh; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent2); }
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-display); color: var(--clr-white); line-height: 1.2; font-weight: 700; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input,textarea,select { font-family: inherit; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.lv-container { max-width: var(--max-width); margin: 0 auto; padding: 0 18px; }
.lv-layout { display: grid; grid-template-columns: 1fr var(--sidebar-w); gap: 36px; padding: 36px 0; }
@media (max-width: 1024px) { .lv-layout { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,10,15,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }

.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg,var(--clr-accent),var(--clr-accent2)); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-family: var(--ff-display); color: #000; font-weight: 900; flex-shrink: 0; }
.logo-text { font-family: var(--ff-display); font-size: 1.35rem; color: var(--clr-white); font-weight: 700; }

#primary-nav ul { display: flex; align-items: center; gap: 4px; }
#primary-nav ul li { position: relative; }
#primary-nav ul li a { display: block; padding: 7px 11px; color: var(--clr-muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; border-radius: 6px; transition: color 0.2s ease, background 0.2s ease; }
#primary-nav ul li a:hover, #primary-nav ul li.current-menu-item > a { color: var(--clr-accent); background: rgba(201,168,76,0.08); }
#primary-nav ul li ul { display: none; position: absolute; top: calc(100% + 4px); left: 0; flex-direction: column; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 10px; min-width: 180px; padding: 6px; box-shadow: var(--shadow-card); z-index: 300; }
#primary-nav ul li:hover > ul { display: flex; }
#primary-nav ul li ul li a { padding: 8px 12px; width: 100%; border-radius: 6px; text-transform: none; font-size: 0.84rem; }

.header-search { position: relative; display: flex; align-items: center; background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 8px; overflow: visible; }
.header-search input { background: transparent; border: none; padding: 8px 10px; color: var(--clr-text); font-size: 0.84rem; outline: none; width: 170px; }
.header-search input::placeholder { color: var(--clr-muted); }
.header-search button { padding: 8px 10px; color: var(--clr-muted); }
.header-search button:hover { color: var(--clr-accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--clr-text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  #primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--clr-surface); border-bottom: 1px solid var(--clr-border); padding: 12px; z-index: 199; }
  #primary-nav.open { display: block; }
  #primary-nav ul { flex-direction: column; gap: 2px; }
  #primary-nav ul li ul { position: static; display: none; box-shadow: none; border: none; background: transparent; }
  .header-search { display: none; }
}

/* ─────────────────────────────────────────────
   BREADCRUMBS + PAGE LOGO
───────────────────────────────────────────── */
.lv-breadcrumbs { padding: 12px 0; font-size: 0.77rem; color: var(--clr-muted); border-bottom: 1px solid var(--clr-border); }
.lv-breadcrumbs a { color: var(--clr-muted); }
.lv-breadcrumbs a:hover { color: var(--clr-accent); }
.lv-breadcrumbs .sep { margin: 0 7px; opacity: 0.4; }
.lv-breadcrumbs .current { color: var(--clr-accent); }

.page-logo-bar { display: flex; align-items: center; justify-content: center; padding: 18px 0 6px; }
.page-logo-bar a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.page-logo-bar .logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg,var(--clr-accent),var(--clr-accent2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 20px; font-weight: 900; color: #000; }
.page-logo-bar .logo-name { font-family: var(--ff-display); font-size: 1.6rem; color: var(--clr-white); font-weight: 700; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.lv-hero { position: relative; padding: 64px 0 52px; overflow: hidden; background: linear-gradient(180deg,#0d0d1a 0%,var(--clr-bg) 100%); }
.lv-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% -5%,rgba(201,168,76,0.13) 0%,transparent 70%); pointer-events: none; }
.lv-hero__inner { position: relative; text-align: center; z-index: 1; }
.lv-hero__tag { display: inline-block; background: rgba(201,168,76,0.1); color: var(--clr-accent); border: 1px solid rgba(201,168,76,0.25); padding: 5px 16px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.lv-hero__title { font-size: clamp(2rem,6vw,4.2rem); font-family: var(--ff-display); font-weight: 900; line-height: 1.06; color: var(--clr-white); margin-bottom: 16px; }
.lv-hero__title em { font-style: italic; color: var(--clr-accent); display: block; }
.lv-hero__subtitle { font-size: 1rem; color: var(--clr-muted); max-width: 500px; margin: 0 auto 28px; }
.lv-hero__search { display: flex; max-width: 520px; margin: 0 auto; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.lv-hero__search input { flex: 1; background: transparent; border: none; padding: 14px 16px; color: var(--clr-text); font-size: 0.92rem; outline: none; }
.lv-hero__search input::placeholder { color: var(--clr-muted); }
.lv-hero__search button { background: var(--clr-accent); color: #000; padding: 14px 22px; font-weight: 700; font-size: 0.84rem; transition: background var(--transition); white-space: nowrap; }
.lv-hero__search button:hover { background: var(--clr-accent2); }
.lv-hero__stats { display: flex; justify-content: center; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat__num { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; color: var(--clr-accent); }
.hero-stat__label { font-size: 0.7rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
.lv-section { padding: 48px 0; }
.lv-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.lv-section-title { font-family: var(--ff-display); font-size: 1.7rem; color: var(--clr-white); position: relative; padding-left: 16px; }
.lv-section-title::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg,var(--clr-accent),transparent); border-radius: 2px; }
.lv-section-link { font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--clr-accent); border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.lv-section-link:hover { border-color: var(--clr-accent); }

/* ─────────────────────────────────────────────
   CATEGORY GRID
───────────────────────────────────────────── */
.lv-cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 28px; }
@media (min-width: 480px) { .lv-cat-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 768px) { .lv-cat-grid { grid-template-columns: repeat(5,1fr); gap: 12px; } }
@media (min-width: 1100px){ .lv-cat-grid { grid-template-columns: repeat(7,1fr); gap: 14px; } }
.lv-cat-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 10px; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 10px; text-align: center; text-decoration: none; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.lv-cat-item__icon { width: 40px; height: 40px; background: rgba(201,168,76,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.lv-cat-item__name { font-size: 0.7rem; font-weight: 700; color: var(--clr-text); text-transform: uppercase; letter-spacing: 0.4px; }
.lv-cat-item__count { font-size: 0.65rem; color: var(--clr-muted); }

/* ─────────────────────────────────────────────
   POST & PEOPLE GRIDS — RESPONSIVE FIXED COLS
   Mobile:2col | Tablet(640+):3col | Desktop(1100+):4col
   Max 4 items shown; "Show More" reveals rest
───────────────────────────────────────────── */
.lv-posts-grid,
.lv-posts-grid--featured,
.lv-people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .lv-posts-grid,
  .lv-posts-grid--featured,
  .lv-people-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1100px) {
  .lv-posts-grid,
  .lv-posts-grid--featured,
  .lv-people-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* Card outer: block wrapper that hides properly */
.lv-card-outer { display: block; min-width: 0; }
.lv-card-outer[style*="display:none"],
.lv-card-outer.lv-hidden { display: none !important; }
.lv-card-outer > .lv-card,
.lv-card-outer > .lv-people-card { height: 100%; }

/* Show More row */
.lv-show-more-wrap { grid-column: 1 / -1; text-align: center; padding: 8px 0 0; }

/* ─────────────────────────────────────────────
   POST CARD
───────────────────────────────────────────── */
.lv-card { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; display: flex; flex-direction: column; cursor: pointer; will-change: transform; }
.lv-card:hover { border-color: rgba(201,168,76,0.35); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.lv-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--clr-surface); }
.lv-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; will-change: transform; }
.lv-card:hover .lv-card__thumb img { transform: scale(1.05); }
.lv-card__thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a1a28,#0e0e1a); font-family: var(--ff-display); font-size: 2.5rem; color: rgba(201,168,76,0.15); font-weight: 900; }
.lv-card__cat-badge { position: absolute; top: 9px; left: 9px; background: var(--clr-accent); color: #000; font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; z-index: 2; text-decoration: none; }
.lv-card__lang-badge { position: absolute; top: 9px; right: 9px; background: rgba(10,10,15,0.82); backdrop-filter: blur(6px); color: var(--clr-muted); font-size: 0.6rem; font-weight: 600; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--clr-border); z-index: 2; }
.lv-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.lv-card__title { font-family: var(--ff-display); font-size: 0.95rem; color: var(--clr-white); line-height: 1.3; font-weight: 700; }
.lv-card__title a { color: inherit; text-decoration: none; }
.lv-card__title a:hover { color: var(--clr-accent); }
.lv-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.69rem; color: var(--clr-muted); }
.lv-card__meta a { color: var(--clr-muted); }
.lv-card__meta a:hover { color: var(--clr-accent); }
.lv-card__excerpt { font-size: 0.8rem; color: var(--clr-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.lv-card__footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--clr-border); font-size: 0.69rem; color: var(--clr-muted); }
.lv-read-btn { display: inline-flex; align-items: center; background: transparent; border: 1px solid var(--clr-accent); color: var(--clr-accent); padding: 4px 12px; border-radius: 100px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.lv-read-btn:hover { background: var(--clr-accent); color: #000; }

/* Mobile card compact */
@media (max-width: 639px) {
  .lv-card__body     { padding: 10px; gap: 5px; }
  .lv-card__title    { font-size: 0.82rem; }
  .lv-card__excerpt  { display: none; }
  .lv-card__footer   { padding: 8px 10px; }
  .lv-card__meta     { font-size: 0.62rem; }
  .lv-card__thumb    { aspect-ratio: 3/2; }
}

/* ─────────────────────────────────────────────
   PEOPLE CARD
───────────────────────────────────────────── */
.lv-people-card { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; text-decoration: none; display: flex; flex-direction: column; cursor: pointer; will-change: transform; }
.lv-people-card:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.lv-people-card__img { aspect-ratio: 1/1; overflow: hidden; background: var(--clr-surface); }
.lv-people-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; will-change: transform; }
.lv-people-card:hover .lv-people-card__img img { transform: scale(1.06); }
.lv-people-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 3rem; color: rgba(201,168,76,0.2); background: linear-gradient(135deg,#1a1a28,#10101a); }
.lv-people-card__body { padding: 12px 10px; }
.lv-people-card__name { font-family: var(--ff-display); font-size: 0.92rem; color: var(--clr-white); font-weight: 700; margin-bottom: 5px; }
.lv-people-card__type { display: inline-block; background: rgba(201,168,76,0.1); color: var(--clr-accent); font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; }
@media (max-width: 639px) {
  .lv-people-card__body { padding: 8px; }
  .lv-people-card__name { font-size: 0.8rem; }
  .lv-people-card__type { font-size: 0.56rem; }
}

/* ─────────────────────────────────────────────
   SINGLE LYRICS — FEATURED IMAGE
───────────────────────────────────────────── */
.lv-single-featured { position: relative; width: 100%; max-height: 440px; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 24px; }
.lv-single-featured img { width: 100%; height: 440px; object-fit: cover; display: block; }
.lv-single-featured::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top,rgba(10,10,15,0.9),transparent); }
.lv-single-meta-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
.lv-single-title { font-family: var(--ff-display); font-size: clamp(1.7rem,4vw,2.6rem); color: var(--clr-white); font-weight: 900; line-height: 1.1; margin-bottom: 9px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.lv-single-cats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.lv-single-cats a { background: var(--clr-accent); color: #000; padding: 3px 11px; border-radius: 100px; font-size: 0.64rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }

/* ─────────────────────────────────────────────
   INFO TABLE
───────────────────────────────────────────── */
.lv-info-table { width: 100%; border-collapse: collapse; border-radius: 10px; overflow: hidden; border: 1px solid var(--clr-border); margin: 20px 0; font-size: 0.84rem; }
.lv-info-table tr { border-bottom: 1px solid var(--clr-border); }
.lv-info-table tr:last-child { border-bottom: none; }
.lv-info-table td { padding: 11px 15px; vertical-align: middle; }
.lv-info-table td:first-child { background: var(--clr-surface); color: var(--clr-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; width: 120px; white-space: nowrap; }
.lv-info-table td:last-child { background: var(--clr-card); color: var(--clr-text); }
.lv-info-table td:last-child a { color: var(--clr-accent); font-weight: 600; }
.lv-info-table td:last-child a:hover { color: var(--clr-accent2); }

/* ─────────────────────────────────────────────
   YOUTUBE PLAYER — thumbnail + small play button
───────────────────────────────────────────── */




/* Small red circle play button — NOT the giant logo */





/* ─────────────────────────────────────────────
   STREAMING BUTTONS
───────────────────────────────────────────── */
.lv-stream-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 22px; }
.lv-stream-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 17px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.lv-stream-btn--spotify { background: #1DB954; color: #fff; }
.lv-stream-btn--spotify:hover { background: #1ed760; color:#fff; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(29,185,84,0.35); }
.lv-stream-btn--apple   { background: linear-gradient(135deg,#fc3c44,#ff2d55); color: #fff; }
.lv-stream-btn--apple:hover   { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(255,45,85,0.35); color:#fff; }
.lv-stream-btn--yt      { background: #ff0000; color: #fff; }
.lv-stream-btn--yt:hover      { background: #cc0000; color:#fff; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(255,0,0,0.35); }

/* ─────────────────────────────────────────────
   LYRICS CONTENT
───────────────────────────────────────────── */
.lv-lyrics-section { margin: 24px 0; }
.lv-lyrics-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.lv-lyrics-title { font-family: var(--ff-display); font-size: 1.2rem; color: var(--clr-white); display: flex; align-items: center; gap: 10px; }
.lv-lyrics-title::before { content: ''; display: block; width: 4px; height: 20px; background: var(--clr-accent); border-radius: 2px; }
.lv-lyrics-actions { display: flex; gap: 7px; flex-wrap: wrap; }

.lv-lyrics-content {
  background: var(--clr-card); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  position: relative; overflow: hidden;
}
.lv-lyrics-content::before {
  content: '\201C'; position: absolute; top: -22px; left: 12px;
  font-family: var(--ff-display); font-size: 130px; color: rgba(201,168,76,0.04);
  line-height: 1; pointer-events: none; user-select: none;
}
/* All text nodes inside lyrics box */
.lv-lyrics-content p,
.lv-lyrics-content .lyrics-text,
#lyrics-text p, #lyrics-content p {
  font-family: var(--ff-mono); font-size: 0.93rem; line-height: 1.85;
  color: var(--clr-text); margin: 0 !important; padding: 0 !important;
  white-space: normal; word-break: break-word; overflow-wrap: break-word;
}
.lv-lyrics-content p + p:not(:empty),
#lyrics-text p + p:not(:empty),
#lyrics-content p + p:not(:empty) { margin-top: 1.3em !important; }
.lv-lyrics-content p:empty,
#lyrics-text p:empty, #lyrics-content p:empty {
  display: none !important; margin: 0 !important; height: 0 !important;
}
.lv-bio-content p, .lv-bio-content .entry-content p {
  font-family: var(--ff-body) !important; white-space: normal !important;
  font-size: 0.92rem !important; line-height: 1.78 !important; color: var(--clr-muted) !important;
}
@media (max-width: 600px) {
  .lv-lyrics-content { padding: 18px 14px; }
  .lv-lyrics-content p, #lyrics-text p, #lyrics-content p { font-size: 0.87rem !important; }
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.lv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 17px; border-radius: var(--radius-md); font-size: 0.77rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; cursor: pointer; border: none; font-family: inherit; white-space: nowrap; }
.lv-btn--primary { background: var(--clr-accent); color: #000; }
.lv-btn--primary:hover { background: var(--clr-accent2); color:#000; transform: translateY(-2px); box-shadow: 0 5px 18px rgba(201,168,76,0.3); }
.lv-btn--outline { background: transparent; color: var(--clr-accent); border: 1px solid var(--clr-accent); }
.lv-btn--outline:hover { background: var(--clr-accent); color: #000; }
.lv-btn--ghost { background: var(--clr-card); color: var(--clr-muted); border: 1px solid var(--clr-border); }
.lv-btn--ghost:hover { color: var(--clr-text); border-color: var(--clr-muted); }
.lv-btn--xs { padding: 5px 11px !important; font-size: 0.68rem !important; }

/* ─────────────────────────────────────────────
   PDF ACTIONS
───────────────────────────────────────────── */
.lv-pdf-actions { display: flex; gap: 10px; margin-top: 20px; padding: 18px; background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 10px; align-items: center; flex-wrap: wrap; }
.lv-pdf-actions-label { font-size: 0.72rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; flex-shrink: 0; }
.lv-share { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; align-items: center; }

/* ─────────────────────────────────────────────
   FAQ SECTION
───────────────────────────────────────────── */
.lv-faq-section { margin: 28px 0; padding: 26px; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 18px; position: relative; overflow: hidden; }
.lv-faq-section::before { content: 'FAQ'; position: absolute; right: 14px; top: -8px; font-family: var(--ff-display); font-size: 5.5rem; font-weight: 900; color: rgba(201,168,76,0.045); letter-spacing: -2px; pointer-events: none; user-select: none; line-height: 1; }
.lv-faq-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--clr-border); }
.lv-faq-header-icon { width: 40px; height: 40px; background: linear-gradient(135deg,var(--clr-accent),var(--clr-accent2)); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; color: #000; }
.lv-faq-header-text h2 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--clr-white); font-weight: 700; line-height: 1.2; margin: 0; }
.lv-faq-header-text p { font-size: 0.74rem; color: var(--clr-muted); margin: 2px 0 0; }
.lv-faq-list { display: flex; flex-direction: column; gap: 7px; }
.lv-faq-item { border: 1px solid var(--clr-border); border-radius: 10px; overflow: hidden; background: var(--clr-surface); transition: border-color 0.2s ease; }
.lv-faq-item:hover { border-color: rgba(201,168,76,0.28); }
.lv-faq-item.open  { border-color: var(--clr-accent); }
.lv-faq-q { display: flex; align-items: center; gap: 11px; padding: 13px 15px; cursor: pointer; user-select: none; }
.lv-faq-q-num { width: 23px; height: 23px; min-width: 23px; border-radius: 50%; background: rgba(201,168,76,0.12); color: var(--clr-accent); font-size: 0.66rem; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); transition: background 0.2s, color 0.2s; flex-shrink: 0; }
.lv-faq-item.open .lv-faq-q-num { background: var(--clr-accent); color: #000; }
.lv-faq-q-text { flex: 1; font-size: 0.86rem; font-weight: 600; color: var(--clr-white); line-height: 1.4; }
.lv-faq-icon { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; border: 1.5px solid var(--clr-border); display: inline-flex; align-items: center; justify-content: center; color: var(--clr-muted); font-size: 15px; line-height: 1; transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease; flex-shrink: 0; }
.lv-faq-item.open .lv-faq-icon { transform: rotate(45deg); border-color: var(--clr-accent); color: var(--clr-accent); background: rgba(201,168,76,0.09); }
.lv-faq-a { padding: 0 15px 13px 49px; }
.lv-faq-a-inner { background: var(--clr-card); border-left: 3px solid var(--clr-accent); border-radius: 6px; padding: 11px 13px; font-size: 0.84rem; line-height: 1.72; color: var(--clr-text); }
@media (max-width: 600px) {
  .lv-faq-section { padding: 16px 12px; }
  .lv-faq-q { padding: 11px 12px; }
  .lv-faq-a { padding: 0 12px 12px 12px; }
  .lv-faq-q-num { display: none; }
}

/* ─────────────────────────────────────────────
   PERSON HERO v2
───────────────────────────────────────────── */
.lv-person-hero-v2 { position: relative; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 18px; padding: 28px; display: flex; gap: 28px; align-items: flex-start; margin-bottom: 28px; overflow: hidden; }
.lv-person-hero-v2__bg { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.lv-person-hero-v2__avatar { position: relative; flex-shrink: 0; width: 150px; }
.lv-person-hero-v2__avatar img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; border: 2px solid var(--clr-border); display: block; }
.lv-person-hero-v2__avatar-placeholder { width: 150px; height: 150px; border-radius: 12px; background: linear-gradient(135deg,#1a1a28,#0e0e1a); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border: 2px solid var(--clr-border); }
.lv-person-hero-v2__type-badge { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); font-size: 0.62rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 11px; border-radius: 100px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.lv-person-hero-v2__info { flex: 1; min-width: 0; padding-top: 2px; }
.lv-person-hero-v2__name { font-family: var(--ff-display); font-size: clamp(1.5rem,3vw,2.2rem); color: var(--clr-white); font-weight: 900; margin-bottom: 6px; }
.lv-person-hero-v2__origin { font-size: 0.83rem; color: var(--clr-muted); margin-bottom: 9px; }
.lv-person-hero-v2__bio { font-size: 0.86rem; color: var(--clr-muted); line-height: 1.68; margin-bottom: 16px; }
.lv-person-stats-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lv-person-stat-box { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 9px; padding: 10px 15px; text-align: center; min-width: 72px; }
.lv-person-stat-box__num { display: block; font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700; color: var(--clr-accent); line-height: 1; }
.lv-person-stat-box__lbl { display: block; font-size: 0.62rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.lv-person-links { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 580px) {
  .lv-person-hero-v2 { flex-direction: column; align-items: center; text-align: center; padding: 20px 14px; }
  .lv-person-hero-v2__avatar { width: 110px; }
  .lv-person-hero-v2__avatar img, .lv-person-hero-v2__avatar-placeholder { width: 110px; height: 110px; }
  .lv-person-stats-row { justify-content: center; }
  .lv-person-links { justify-content: center; }
}

/* ─────────────────────────────────────────────
   SIDEBAR & WIDGETS
───────────────────────────────────────────── */
.lv-sidebar { display: flex; flex-direction: column; gap: 28px; }
.lv-widget { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; }
.lv-widget__header { padding: 13px 16px; border-bottom: 1px solid var(--clr-border); font-family: var(--ff-display); font-size: 0.93rem; color: var(--clr-white); font-weight: 700; display: flex; align-items: center; gap: 7px; }
.lv-widget__header .icon { color: var(--clr-accent); }
.lv-widget__body { padding: 13px 16px; }
.lv-popular-list { display: flex; flex-direction: column; }
.lv-popular-item { display: flex; gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--clr-border); text-decoration: none; }
.lv-popular-item:last-child { border-bottom: none; }
.lv-popular-item:hover .lv-popular-item__title { color: var(--clr-accent); }
.lv-popular-item__num { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: rgba(201,168,76,0.22); width: 22px; text-align: center; flex-shrink: 0; }
.lv-popular-item__thumb { width: 40px; height: 40px; border-radius: 5px; overflow: hidden; flex-shrink: 0; background: var(--clr-surface); }
.lv-popular-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lv-popular-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lv-popular-item__title { font-size: 0.77rem; font-weight: 600; color: var(--clr-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--transition); display: block; }
.lv-popular-item__artist { font-size: 0.66rem; color: var(--clr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.lv-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-tag-cloud a { background: var(--clr-surface); border: 1px solid var(--clr-border); color: var(--clr-muted); padding: 4px 10px; border-radius: 100px; font-size: 0.68rem; font-weight: 600; transition: color 0.2s ease, border-color 0.2s ease; text-decoration: none; }
.lv-tag-cloud a:hover { border-color: var(--clr-accent); color: var(--clr-accent); background: rgba(201,168,76,0.05); }

/* ─────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────── */
.lv-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.lv-pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; font-size: 0.84rem; font-weight: 600; color: var(--clr-muted); background: var(--clr-card); border: 1px solid var(--clr-border); text-decoration: none; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.lv-pagination .page-numbers:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.lv-pagination .page-numbers.current { background: var(--clr-accent); color: #000; border-color: var(--clr-accent); font-weight: 700; }
.lv-pagination .page-numbers.dots { background: transparent; border: none; cursor: default; }

/* ─────────────────────────────────────────────
   ALPHABET FILTER
───────────────────────────────────────────── */
.lv-alphabet-filter { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 24px; }
.lv-alphabet-filter a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 5px; font-size: 0.73rem; font-weight: 700; color: var(--clr-muted); text-decoration: none; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; text-transform: uppercase; }
.lv-alphabet-filter a:hover, .lv-alphabet-filter a.active { background: var(--clr-accent); color: #000; border-color: var(--clr-accent); }

/* ─────────────────────────────────────────────
   NO RESULTS
───────────────────────────────────────────── */
.lv-no-results { text-align: center; padding: 60px 0; }
.lv-no-results__icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.lv-no-results__title { font-family: var(--ff-display); font-size: 1.6rem; color: var(--clr-white); margin-bottom: 9px; }
.lv-no-results__text { color: var(--clr-muted); margin-bottom: 20px; }
.divider { border: none; border-top: 1px solid var(--clr-border); margin: 24px 0; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#site-footer { background: var(--clr-surface); border-top: 1px solid var(--clr-border); padding: 52px 0 0; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .site-logo { margin-bottom: 13px; }
.footer-brand p { color: var(--clr-muted); font-size: 0.84rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--clr-muted); font-size: 0.8rem; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; text-decoration: none; }
.footer-social a:hover { background: var(--clr-accent); color: #000; border-color: var(--clr-accent); }
.footer-col h4 { font-family: var(--ff-display); font-size: 0.92rem; color: var(--clr-white); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--clr-muted); font-size: 0.82rem; transition: color var(--transition); text-decoration: none; }
.footer-col ul li a:hover { color: var(--clr-accent); }
.footer-bottom { border-top: 1px solid var(--clr-border); padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.76rem; color: var(--clr-muted); }

/* ─────────────────────────────────────────────
   COMMENT FORM
───────────────────────────────────────────── */
.comment-respond { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 24px; margin-top: 28px; }
.comment-respond .comment-reply-title { font-family: var(--ff-display); font-size: 1.2rem; color: var(--clr-white); margin-bottom: 6px; }
.comment-respond .comment-notes { font-size: 0.78rem; color: var(--clr-muted); margin-bottom: 18px; }
.comment-form label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--clr-muted); margin-bottom: 5px; }
.comment-form input[type="text"],.comment-form input[type="email"],.comment-form input[type="url"],.comment-form textarea { width: 100%; background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-md); padding: 9px 13px; color: var(--clr-text); font-size: 0.87rem; outline: none; transition: border-color var(--transition); margin-bottom: 14px; font-family: var(--ff-body); }
.comment-form input:focus,.comment-form textarea:focus { border-color: var(--clr-accent); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .submit { background: var(--clr-accent); color: #000; border: none; padding: 10px 24px; border-radius: var(--radius-md); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; font-family: var(--ff-body); }
.comment-form .submit:hover { background: var(--clr-accent2); transform: translateY(-1px); }

/* ─────────────────────────────────────────────
   HIDE UNWANTED WP WIDGETS
───────────────────────────────────────────── */
.widget_search,.widget_recent_entries,.widget_recent_comments,
.widget_archives,.widget_categories,.widget_meta,.widget_rss { display: none !important; }

/* ─────────────────────────────────────────────
   PRINT
───────────────────────────────────────────── */
.print-header { display: none; }
@media print {
  /* ── Hide everything except site name + lyrics ── */
  * { visibility: hidden; }

  /* Show ONLY print-header and lyrics section */
  .print-header,
  .print-header *,
  .lv-single-title,
  .lv-lyrics-section,
  .lv-lyrics-section *,
  .lv-written-by,
  .lv-written-by * { visibility: visible; }

  /* Layout: stack vertically, no sidebar */
  body {
    background: #fff !important;
    color: #000 !important;
    font-family: Georgia, serif !important;
    font-size: 11pt;
    margin: 0;
    padding: 0;
  }
  .lv-container,
  .lv-layout,
  .lv-main { display: block !important; width: 100% !important; }
  .lv-sidebar { display: none !important; }

  /* Position print header at top */
  .print-header {
    display: block !important;
    visibility: visible !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    text-align: center;
    border-bottom: 1.5pt solid #000;
    padding: 8pt 0 6pt;
    background: #fff;
    z-index: 9999;
  }
  .print-header .print-logo {
    font-size: 14pt;
    font-weight: bold;
    color: #000;
    display: block;
  }
  .print-header .print-url {
    font-size: 8pt;
    color: #555;
    display: block;
    margin-top: 2pt;
  }

  /* Lyrics section positioning */
  .lv-lyrics-section {
    position: relative;
    margin-top: 60pt;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* Song title */
  .lv-lyrics-title,
  .lv-lyrics-header h2 {
    font-size: 16pt !important;
    color: #000 !important;
    margin-bottom: 12pt !important;
    border-left: 3pt solid #000 !important;
    padding-left: 8pt !important;
    text-shadow: none !important;
  }

  /* Lyrics text */
  .lv-lyrics-content {
    background: #fff !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .lyrics-text,
  .lyrics-text * {
    color: #000 !important;
    font-family: Georgia, serif !important;
    font-size: 11pt !important;
    line-height: 1.8 !important;
    background: transparent !important;
  }

  /* Written by */
  .lv-written-by {
    margin-top: 16pt !important;
    padding: 6pt 0 0 !important;
    border: none !important;
    border-top: 1pt solid #ccc !important;
    background: transparent !important;
  }
  .lv-written-by__label,
  .lv-written-by__names,
  .lv-written-by__names a {
    color: #333 !important;
    font-size: 9pt !important;
  }

  /* Page break control */
  .lyrics-text p { page-break-inside: avoid; }

  /* Footer on each printed page */
  @page {
    margin: 20mm 15mm 20mm;
    size: A4;
  }
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-accent); }

/* ── Written By (after lyrics) ── */
.lv-written-by {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 8px;
  font-size: 0.85rem;
}
.lv-written-by__label {
  color: var(--clr-muted);
  font-weight: 600;
  white-space: nowrap;
}
.lv-written-by__names a {
  color: var(--clr-accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.lv-written-by__names a:hover {
  color: var(--clr-accent2);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   DAY / NIGHT MODE
   ═══════════════════════════════════════════════════════ */

/* Light mode variables — applied when body has .light-mode */
/* Light mode variables output by customizer PHP — see inc/customizer.php */

/* Toggle button */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lv-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.lv-theme-toggle:hover {
  background: var(--clr-accent);
  color: #000;
  border-color: var(--clr-accent);
}
.lv-theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   FAQ — CARD STYLE REDESIGN
   ═══════════════════════════════════════════════════════ */

/* Override old FAQ section styles */
.lv-faq-section {
  margin: 32px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.lv-faq-section::before { display: none !important; }

.lv-faq-header {
  margin-bottom: 20px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.lv-faq-header-icon {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2)) !important;
  color: #000 !important;
}

/* FAQ list — cards in a grid on wider screens, column on mobile */
.lv-faq-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}
@media (min-width: 640px) {
  .lv-faq-list { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Each FAQ item is now a CARD */
.lv-faq-item {
  background: var(--clr-card) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
}
.lv-faq-item:hover {
  border-color: rgba(201,168,76,0.4) !important;
  box-shadow: 0 6px 24px rgba(201,168,76,0.1) !important;
  transform: translateY(-2px) !important;
}
.lv-faq-item.open {
  border-color: var(--clr-accent) !important;
  box-shadow: 0 6px 24px rgba(201,168,76,0.18) !important;
  transform: translateY(-2px) !important;
}

/* Question row */
.lv-faq-q {
  padding: 16px 18px !important;
  gap: 12px !important;
}
.lv-faq-q-num {
  background: rgba(201,168,76,0.12) !important;
  color: var(--clr-accent) !important;
  font-size: 0.72rem !important;
}
.lv-faq-item.open .lv-faq-q-num {
  background: var(--clr-accent) !important;
  color: #000 !important;
}
.lv-faq-q-text {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

/* Plus/times icon — right-aligned in card */
.lv-faq-icon {
  margin-left: auto !important;
  flex-shrink: 0 !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  font-size: 18px !important;
  border: 1.5px solid var(--clr-border) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--clr-muted) !important;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
}
.lv-faq-item.open .lv-faq-icon {
  border-color: var(--clr-accent) !important;
  color: var(--clr-accent) !important;
  background: rgba(201,168,76,0.1) !important;
  transform: rotate(45deg) !important;
}

/* Answer */
.lv-faq-a {
  padding: 0 18px 16px 18px !important;
  border-top: 1px solid var(--clr-border) !important;
  margin-top: 0 !important;
}
.lv-faq-a-inner {
  background: var(--clr-surface) !important;
  border-left: 3px solid var(--clr-accent) !important;
  border-radius: 6px !important;
  padding: 11px 13px !important;
  font-size: 0.83rem !important;
  line-height: 1.7 !important;
  color: var(--clr-text) !important;
  margin-top: 14px !important;
}

/* Mobile: single column */
@media (max-width: 639px) {
  .lv-faq-list { grid-template-columns: 1fr !important; }
  .lv-faq-q { padding: 13px 14px !important; }
  .lv-faq-q-text { font-size: 0.82rem !important; }
  .lv-faq-a { padding: 0 14px 13px !important; }
  .lv-faq-q-num { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   HOMEPAGE ARTISTS — force 2 columns on mobile
   ═══════════════════════════════════════════════════════ */
#artists-grid,
.lv-people-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (min-width: 640px) {
  #artists-grid,
  .lv-people-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (min-width: 1100px) {
  #artists-grid,
  .lv-people-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════
   FINAL OVERRIDE BLOCK — fixes all screenshot issues
   ═══════════════════════════════════════════════ */

/* ── 1. ARTISTS: Force 2-column on mobile, no exceptions ── */
.lv-people-grid,
#artists-grid,
[id$="-grid"].lv-people-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}
@media (min-width: 641px) {
  .lv-people-grid,
  #artists-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}
@media (min-width: 1101px) {
  .lv-people-grid,
  #artists-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* ── 4. FAQ — CARD STYLE (complete override) ── */
.lv-faq-section {
  margin: 28px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}
.lv-faq-section::before { display: none !important; }

/* Header row */
.lv-faq-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: none !important;
}
.lv-faq-header-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  color: #000 !important;
  flex-shrink: 0 !important;
}
.lv-faq-header-text h2 {
  font-family: var(--ff-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--clr-white) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
.lv-faq-header-text p {
  font-size: 0.75rem !important;
  color: var(--clr-muted) !important;
  margin: 2px 0 0 !important;
}

/* FAQ grid — 2 columns on tablet+ */
.lv-faq-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
@media (min-width: 640px) {
  .lv-faq-list { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Each card */
.lv-faq-item {
  background: var(--clr-card) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
  display: flex !important;
  flex-direction: column !important;
  cursor: pointer !important;
}
.lv-faq-item:hover {
  border-color: rgba(201,168,76,0.4) !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.1) !important;
  transform: translateY(-2px) !important;
}
.lv-faq-item.open {
  border-color: var(--clr-accent) !important;
  box-shadow: 0 6px 24px rgba(201,168,76,0.16) !important;
  transform: translateY(-2px) !important;
}

/* Question row */
.lv-faq-q {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: transparent !important;
}
.lv-faq-q-num {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50% !important;
  background: rgba(201,168,76,0.12) !important;
  color: var(--clr-accent) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
  transition: background 0.2s, color 0.2s !important;
}
.lv-faq-item.open .lv-faq-q-num {
  background: var(--clr-accent) !important;
  color: #000 !important;
}
.lv-faq-q-text {
  flex: 1 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: var(--clr-white) !important;
  line-height: 1.45 !important;
}
.lv-faq-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--clr-border) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--clr-muted) !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
  font-style: normal !important;
}
.lv-faq-item.open .lv-faq-icon {
  transform: rotate(45deg) !important;
  border-color: var(--clr-accent) !important;
  color: var(--clr-accent) !important;
  background: rgba(201,168,76,0.1) !important;
}

/* Answer panel */
.lv-faq-a {
  padding: 0 16px 14px 16px !important;
  margin: 0 !important;
  border-top: 1px solid var(--clr-border) !important;
}
.lv-faq-a-inner {
  background: var(--clr-surface) !important;
  border-left: 3px solid var(--clr-accent) !important;
  border-radius: 6px !important;
  padding: 10px 13px !important;
  font-size: 0.82rem !important;
  line-height: 1.72 !important;
  color: var(--clr-text) !important;
  margin-top: 12px !important;
}

@media (max-width: 639px) {
  .lv-faq-list { grid-template-columns: 1fr !important; gap: 8px !important; }
  .lv-faq-q { padding: 12px 13px !important; }
  .lv-faq-a { padding: 0 13px 12px !important; }
  .lv-faq-q-num { display: none !important; }
  .lv-faq-q-text { font-size: 0.82rem !important; }
}


/* ═══════════════════════════════════════════════════════════
   YOUTUBE VIDEO EMBED — Complete Definition
   Uses padding-bottom 56.25% trick for reliable cross-browser
   full-width 16:9 regardless of initial display:none state
   ═══════════════════════════════════════════════════════════ */
.lv-video-wrap {
  margin: 0 0 24px;
}
.lv-video-label { display: none !important; } /* Removed per design */

/* Outer container */
.lv-yt-embed {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--clr-border);
}

/* THUMBNAIL — padding-bottom 16:9 intrinsic */
.lv-yt-thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;   /* 9 ÷ 16 = 0.5625 */
  overflow: hidden;
  background: #111;
  cursor: pointer;
  display: block;
}
.lv-yt-thumb > img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Scrim overlay */
.lv-yt-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.30);
  pointer-events: none;
  z-index: 1;
}

/* Play circle — centered via absolute */
.lv-yt-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(220, 0, 0, 0.92);
  box-shadow: 0 4px 28px rgba(0,0,0,0.55);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}
.lv-yt-thumb:hover .lv-yt-play-circle {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}
/* Triangle pointing right */
.lv-yt-play-circle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 21px solid #fff;
  margin-left: 5px;
}

/* IFRAME — same padding-bottom trick, shown after click */
.lv-yt-iframe-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  display: none;            /* hidden until JS shows it */
  background: #000;
}
.lv-yt-iframe-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   FAQ CARDS — Complete Definition  
   ═══════════════════════════════════════════════════════════ */
.lv-faq-section {
  margin: 28px 0;
  padding: 0;
  background: transparent;
  border: none;
}
.lv-faq-section::before { display: none; }

.lv-faq-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0;
  border: none;
}
.lv-faq-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #000;
  flex-shrink: 0;
}
.lv-faq-header-text h2 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  margin: 0;
  line-height: 1.2;
}
.lv-faq-header-text p {
  font-size: 0.74rem;
  color: var(--clr-muted);
  margin: 3px 0 0;
}

/* Grid: 1 col mobile, 2 col tablet+ */
.lv-faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .lv-faq-list { grid-template-columns: repeat(2, 1fr); }
}

/* Card */
.lv-faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.lv-faq-item:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 4px 20px rgba(201,168,76,0.1);
  transform: translateY(-2px);
}
.lv-faq-item.open {
  border-color: var(--clr-accent);
  box-shadow: 0 6px 24px rgba(201,168,76,0.16);
  transform: translateY(-2px);
}

/* Question row */
.lv-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.lv-faq-q-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  color: var(--clr-accent);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.2s, color 0.2s;
}
.lv-faq-item.open .lv-faq-q-num {
  background: var(--clr-accent);
  color: #000;
}
.lv-faq-q-text {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.45;
}
.lv-faq-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--clr-muted);
  flex-shrink: 0;
  margin-top: 1px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  font-style: normal;
}
.lv-faq-item.open .lv-faq-icon {
  transform: rotate(45deg);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(201,168,76,0.1);
}

/* Answer */
.lv-faq-a {
  display: none;
  padding: 0 16px 14px;
  border-top: 1px solid var(--clr-border);
}
.lv-faq-item.open .lv-faq-a {
  display: block;
}
.lv-faq-a-inner {
  background: var(--clr-surface);
  border-left: 3px solid var(--clr-accent);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 0.83rem;
  line-height: 1.72;
  color: var(--clr-text);
  margin-top: 12px;
}

@media (max-width: 639px) {
  .lv-faq-q-num { display: none; }
  .lv-faq-q { padding: 12px 13px; }
  .lv-faq-a { padding: 0 13px 12px; }
}

/* ═══════════════════════════════════════════════════════════
   PEOPLE GRID — 2 col mobile guaranteed
   ═══════════════════════════════════════════════════════════ */
.lv-people-grid,
#artists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 641px) {
  .lv-people-grid, #artists-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1101px) {
  .lv-people-grid, #artists-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ═══════════════════════════════════════════════
   HEADER SEARCH BUTTON + COLLAPSIBLE BOX
   ═══════════════════════════════════════════════ */
.header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.header-search-btn:hover,
.header-search-btn.active {
  background: var(--clr-accent);
  color: #000;
  border-color: var(--clr-accent);
}
/* Search box — hidden by default, slides in on button click */
.header-search-box {
  display: none;
  position: absolute;
  top: 50%;
  right: 46px;
  transform: translateY(-50%);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 6px 10px;
  gap: 6px;
  align-items: center;
  width: 260px;
  box-shadow: var(--shadow-card);
  z-index: 400;
}
.header-search-box.open {
  display: flex;
}
.header-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--clr-text);
  font-size: 0.875rem;
  font-family: var(--ff-body);
  padding: 4px 2px;
  min-width: 0;
}
.header-search-box input::placeholder { color: var(--clr-muted); }
.header-search-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: none;
  color: var(--clr-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.header-search-close:hover { background: var(--clr-accent); color: #000; }

/* Live results dropdown */
#live-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 500;
  max-height: 360px;
  overflow-y: auto;
  padding: 5px;
}
#live-search-results a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--clr-text);
  transition: background 0.15s;
}
#live-search-results a:hover { background: rgba(201,168,76,0.07); }
#live-search-results .sr-title { font-size: 0.84rem; font-weight: 600; color: var(--clr-white); }
#live-search-results .sr-type  { font-size: 0.7rem; color: var(--clr-muted); text-transform: capitalize; }

/* Mobile: expand full width above */
@media (max-width: 680px) {
  .header-search-box {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    transform: none;
    padding: 10px 16px;
  }
  #live-search-results {
    border-radius: 0;
  }
}

/* Remove old .header-search styles that conflict */
.header-search { display: none !important; }

/* ═══════════════════════════════════════════════
   FOOTER — REDESIGNED (brand + policy links)
   ═══════════════════════════════════════════════ */
#site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 48px 0 0;
  margin-top: 64px;
}
.footer-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 24px;
}
.footer-brand-row .site-logo { margin-bottom: 4px; }
.footer-about {
  color: var(--clr-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 520px;
}
.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  background: var(--clr-accent);
  color: #000;
  border-color: var(--clr-accent);
}

/* Policy nav */
.footer-policy-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 20px;
}
.footer-policy-nav a {
  color: var(--clr-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.footer-policy-nav a:hover { color: var(--clr-accent); }

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--clr-muted);
}
.footer-bottom a { color: var(--clr-accent); }

/* Override old footer-grid (no longer used) */
.footer-grid { display: none !important; }
.footer-col  { display: none !important; }

/* ═══════════════════════════════════════════════
   HIDE PAGE LOGO BAR (safety net via CSS too)
   ═══════════════════════════════════════════════ */
.page-logo-bar { display: none !important; }

/* ═══════════════════════════════════════════
   CATEGORY FILTER (homepage + subcategories)
   ═══════════════════════════════════════════ */
.lv-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 32px;
}
.lv-cat-btn {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.lv-cat-btn:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.lv-cat-btn.active { background: var(--clr-accent); border-color: var(--clr-accent); color: #000; font-weight: 700; }
/* subcategory buttons removed from homepage */
.lv-cat-btn sup { font-size: 0.6em; opacity: 0.7; }

/* Loading state */
.lv-posts-grid.lv-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ═══════════════════════════════════════════
   SONG PAGE SECTION SUBTITLES
   ═══════════════════════════════════════════ */
.lv-sub-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  margin: 0 0 12px;
  line-height: 1.3;
  padding-left: 14px;
  border-left: 3px solid var(--clr-accent);
}

.lv-section-block {
  margin-bottom: 4px;
}

/* Remove duplicate gold bar from lyrics title since sub-title provides it */
.lv-lyrics-title::before {
  display: none;
}
.lv-lyrics-title {
  font-family: var(--ff-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--clr-white) !important;
  margin: 0 0 12px !important;
  padding-left: 14px !important;
  border-left: 3px solid var(--clr-accent) !important;
  display: block !important;
}


/* Subtitle icon override */
.lv-sub-icon{font-size:1rem;flex-shrink:0;line-height:1;}
.lv-sub-title,.lv-lyrics-title{display:flex!important;align-items:center!important;gap:8px!important;}
.lv-sub-title::before,.lv-lyrics-title::before{display:none!important;}

/* ── Parent category label on sub-category page ── */

/* ═══════════════════════════════════════════════════════
   CATEGORY ARCHIVE PAGE — Full Redesign
   ═══════════════════════════════════════════════════════ */

/* Hero Banner */
.lv-cat-hero {
  position: relative;
  margin: 28px 0 0;
  padding: 36px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.18);
  overflow: hidden;
}
.lv-cat-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
  pointer-events: none;
}
.lv-cat-hero__inner { position: relative; z-index: 1; }

/* Parent › Sub breadcrumb path inside hero */
.lv-cat-hero__path {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.lv-cat-hero__path-parent {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.lv-cat-hero__path-parent:hover { opacity: 0.75; }
.lv-cat-hero__path-sep {
  font-size: 0.8rem;
  color: var(--clr-muted);
}
.lv-cat-hero__path-current {
  font-size: 0.8rem;
  color: var(--clr-white);
  font-weight: 600;
}

/* Title */
.lv-cat-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

/* Description */
.lv-cat-hero__desc {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 16px;
}

/* Meta row: count + tag */
.lv-cat-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lv-cat-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--clr-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 13px;
  border-radius: 100px;
}
.lv-cat-hero__count svg { flex-shrink: 0; }
.lv-cat-hero__tag {
  font-size: 0.72rem;
  color: var(--clr-muted);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Sub-category navigation pills ── */
/* Shown ONLY on sub-category pages, showing siblings */
.lv-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--clr-border);
}
.lv-cat-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--ff-body);
  text-decoration: none;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.lv-cat-nav__btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}
/* "← All Parent" back button */
.lv-cat-nav__btn:first-child {
  border-color: rgba(201,168,76,0.3);
  color: var(--clr-accent);
  background: rgba(201,168,76,0.06);
}
.lv-cat-nav__btn:first-child:hover {
  background: rgba(201,168,76,0.14);
}
/* Active sibling pill */
.lv-cat-nav__btn--active {
  background: var(--clr-accent) !important;
  border-color: var(--clr-accent) !important;
  color: #000 !important;
  font-weight: 700 !important;
  pointer-events: none;
}
.lv-cat-nav__btn sup {
  font-size: 0.58em;
  opacity: 0.7;
  margin-left: 2px;
}

/* Grid spacing after hero/nav */
.lv-cat-grid-mt { margin-top: 28px !important; }

/* Light mode overrides */
/* cat-hero light mode handled via CSS vars */

@media (max-width: 639px) {
  .lv-cat-hero { padding: 24px 18px; }
  .lv-cat-hero__title { font-size: 1.9rem; }
  .lv-cat-nav { gap: 6px; }
  .lv-cat-nav__btn { font-size: 0.72rem; padding: 6px 12px; }
}

/* ── Category filter inside Latest Lyrics section ── */
.lv-section > .lv-cat-filter {
  margin-top: 0;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   CORE WEB VITALS — CSS OPTIMIZATIONS
   ═══════════════════════════════════════════ */

/* Prevent layout shift from web font loading */
body { font-family: var(--ff-body, system-ui, sans-serif); }
h1,h2,h3,h4,h5,h6,
.lv-hero__title,
.site-logo .logo-text,
.lv-card__title,
.lv-section-title {
    font-family: var(--ff-display, Georgia, serif);
}

/* Reduce animation on reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Contain layout for sidebar widgets to prevent reflow */
.lv-sidebar { contain: layout; }
.lv-widget  { contain: layout style; }

/* Lazy-load images get aspect ratio to prevent CLS */
img[loading="lazy"] {
    content-visibility: auto;
}

/* LCP image: remove lazy load attribute on featured images */
.lv-single-featured img,
.lv-people-hero img {
    loading: eager;
    content-visibility: visible;
}

/* ── CLS / Forced Reflow Prevention ── */
.lv-card__thumb,
.lv-people-card__img {
    /* Explicit aspect ratio prevents layout shift while images load */
    position: relative;
    overflow: hidden;
}
/* Ensure thumbnails in popular list don't cause reflow */
.lv-popular-item__thumb img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}
/* Contain card hover transform to its own layer */
.lv-card:hover,
.lv-people-card:hover {
    isolation: isolate;
}
/* Remove img hover transition from cards — use card-level transform instead */
.lv-card:not(:hover) .lv-card__thumb img,
.lv-people-card:not(:hover) .lv-people-card__img img {
    transform: none;
}

/* ═══════════════════════════════════════════════
   CATEGORY FILTER — All pill + Category dropdown
   ═══════════════════════════════════════════════ */
.lv-cat-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ALL pill */
.lv-cat-btn {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.lv-cat-btn:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.lv-cat-btn.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #000;
}

/* Dropdown wrapper */
.lv-cat-dropdown-wrap {
  position: relative;
}

/* Dropdown trigger button */
.lv-cat-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  padding: 8px 14px 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
  min-width: 160px;
  justify-content: space-between;
}
.lv-cat-dropdown-btn:hover,
.lv-cat-dropdown-btn.open {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}
.lv-cat-dropdown-btn.has-value {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(201,168,76,0.06);
}
.lv-cat-dropdown-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.lv-cat-dropdown-btn.open .lv-cat-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.lv-cat-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 100;
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.lv-cat-dropdown-menu.open {
  display: block;
  animation: lv-dropdown-in 0.15s ease;
}
@keyframes lv-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown items */
.lv-cat-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--clr-text);
  font-size: 0.83rem;
  font-weight: 500;
  font-family: var(--ff-body);
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lv-cat-dropdown-item:hover {
  background: rgba(201,168,76,0.08);
  color: var(--clr-accent);
}
.lv-cat-dropdown-item.active {
  background: rgba(201,168,76,0.12);
  color: var(--clr-accent);
  font-weight: 700;
}
.lv-cat-dropdown-item.active::before {
  content: '✓';
  margin-right: 6px;
  font-size: 0.75rem;
}
.lv-cat-dropdown-count {
  font-size: 0.7rem;
  color: var(--clr-muted);
  background: var(--clr-surface);
  padding: 1px 7px;
  border-radius: 100px;
  font-weight: 600;
  flex-shrink: 0;
}
.lv-cat-dropdown-item.active .lv-cat-dropdown-count {
  background: rgba(201,168,76,0.15);
  color: var(--clr-accent);
}
