/* Lyricsy Modern UI layer — WordPress 7.1 */
:root {
  --lyricsy-bg: #f4f7fb;
  --lyricsy-surface: #ffffff;
  --lyricsy-surface-soft: #f8fafc;
  --lyricsy-text: #172033;
  --lyricsy-muted: #667085;
  --lyricsy-border: #e4e7ec;
  --lyricsy-primary: #2563eb;
  --lyricsy-primary-dark: #1d4ed8;
  --lyricsy-accent: #f97316;
  --lyricsy-radius: 14px;
  --lyricsy-shadow: 0 8px 28px rgba(16, 24, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lyricsy-bg);
  color: var(--lyricsy-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body a { color: var(--lyricsy-primary); transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
body a:hover { color: var(--lyricsy-primary-dark); }
img { max-width: 100%; height: auto; }
input, textarea, select, button { font: inherit; }

#wrapper {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 24px auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--lyricsy-text);
}

/* Header */
#header {
  width: 100%;
  height: auto;
  min-height: 118px;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid var(--lyricsy-border);
  border-radius: 18px;
  box-shadow: var(--lyricsy-shadow);
}
#logo { position: static; display: inline-flex; align-items: center; flex: 0 0 auto; }
#logo img { display: block; max-width: 260px; max-height: 72px; width: auto; height: auto; }
#header-ad { position: static; margin-left: auto; max-width: 468px; overflow: hidden; }
#header-ad img { border: 0; border-radius: 10px; }
#dosearch { position: static; margin-left: auto; width: min(440px, 100%); overflow: visible; }
.searchform fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; }
.searchform input { margin: 0; }
.searchfield {
  width: 100%;
  min-width: 0;
  height: 44px;
  line-height: normal;
  padding: 0 15px;
  text-align: left;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: var(--lyricsy-text);
  font-size: .95rem;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
.searchfield:focus { outline: 3px solid rgba(37,99,235,.14); border-color: var(--lyricsy-primary); }
.searchfield:hover { color: var(--lyricsy-text); }
.searchbutton, .findsubmit, .submit {
  width: auto;
  height: 44px;
  line-height: normal;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--lyricsy-primary);
  color: #fff;
  font-weight: 700;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
}
.searchbutton:hover, .findsubmit:hover, .submit:hover { background: var(--lyricsy-primary-dark); color: #fff; }

/* Navigation */
#menu {
  width: 100%;
  height: auto;
  min-height: 54px;
  margin: 14px 0 0;
  padding: 6px 10px;
  background: #111827;
  border-radius: 14px;
  font-size: 1rem;
  letter-spacing: 0;
  text-align: left;
  box-shadow: 0 6px 20px rgba(16,24,40,.08);
}
#menu > div, #menu ul { width: 100%; }
#menu ul { height: auto; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
#menu ul li { display: block; }
#menu ul li a {
  display: block;
  height: auto;
  line-height: 1.2;
  padding: 12px 14px;
  border: 0;
  border-radius: 9px;
  color: #e5e7eb;
  font-weight: 650;
}
#menu ul li a:hover, #menu ul li.current-menu-item > a, #menu ul li.current_page_item > a {
  color: #fff;
  background: rgba(255,255,255,.11);
  border: 0;
}

/* Main layout */
#bigcolumn { float: none; width: 100%; overflow: visible; margin-top: 20px; }
#listwrapper, #listwrapperright { width: calc(100% - 336px); max-width: none; overflow: visible; margin-top: 20px; }
#listwrapper { float: left; }
#listwrapperright { float: right; }
#listwrapper-2, #listwrapper-2right { width: 100%; overflow: visible; }
#sidebar, #sidebarleft { width: 316px; margin-top: 20px; }
#sidebar { float: right; }
#sidebarleft { float: left; }
#leftcolumn, #rightcolumn { width: calc(50% - 8px); margin: 0; }
#leftcolumn { float: left; }
#rightcolumn { float: right; }
#nosidebarcolumn { width: 100%; padding: 28px; margin: 20px 0 0; background: var(--lyricsy-surface); border: 1px solid var(--lyricsy-border); border-radius: var(--lyricsy-radius); box-shadow: var(--lyricsy-shadow); }
#commentwrap { width: 100%; padding: 24px; margin: 18px 0 0; background: var(--lyricsy-surface); border: 1px solid var(--lyricsy-border); border-radius: var(--lyricsy-radius); box-shadow: var(--lyricsy-shadow); }
.clear { clear: both; }

/* Homepage cards */
.category_widget {
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: var(--lyricsy-radius);
  box-shadow: var(--lyricsy-shadow);
}
.category_widget h3 {
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 15px 20px;
  line-height: 1.4;
  background: transparent;
  border-bottom: 1px solid var(--lyricsy-border);
  color: var(--lyricsy-text);
  font-size: 1.05rem;
  font-weight: 750;
}
.category_widget h4 { width: 100%; margin: -48px 0 0; line-height: 42px; pointer-events: none; }
.category_widget h4 a { pointer-events: auto; }
.category_widget .cat_container { width: 100%; padding: 8px 18px 14px; background: transparent; }
.category_widget .cat_footer { display: none; }
.category_widget .cat_post { margin: 0; padding: 18px; background: transparent; }
.category_widget p { color: var(--lyricsy-muted); text-align: left; }
.list_items { padding: 0; margin: 0; }
.list_items li {
  padding: 11px 2px;
  line-height: 1.45;
  border-bottom: 1px solid #eef1f5;
  color: var(--lyricsy-muted);
}
.list_items li:last-child { border-bottom: 0; }
.list_items li a { font-weight: 600; }
.smalltitle { color: var(--lyricsy-text); }
.smalltitle:hover { color: var(--lyricsy-primary); }
.minimizecat, .minimizeblog, .minimizedynwidget, .minimizesidebar, .minus, .plus { opacity: .5; }

/* Posts / lyric page */
.post { color: var(--lyricsy-text); font-family: inherit; font-size: 1rem; opacity: 1; }
.post_title {
  width: 100%;
  height: auto;
  min-height: 52px;
  margin: 0;
  padding: 15px 20px;
  line-height: 1.4;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-bottom: 0;
  border-radius: var(--lyricsy-radius) var(--lyricsy-radius) 0 0;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 750;
  text-shadow: none;
}
.post .post_container { width: 100%; margin: 0; padding: 0; background: transparent; }
.post .post_inside {
  margin: 0;
  padding: 26px;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: var(--lyricsy-radius);
  box-shadow: var(--lyricsy-shadow);
}
.post_title + .post_container .post_inside { border-radius: 0 0 var(--lyricsy-radius) var(--lyricsy-radius); }
.post .post_footer { display: none; }
.post p { line-height: 1.75; margin: 0 0 1em; color: var(--lyricsy-text); }
.post h1, .post h2, .post h3, .post h4, .post h5, .post h6 { font-family: inherit; color: var(--lyricsy-text); line-height: 1.25; }
.post img { border-radius: 10px; }

.single_title {
  width: 100%;
  margin: 0 0 14px;
  line-height: 1.5;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: var(--lyricsy-radius);
  box-shadow: var(--lyricsy-shadow);
  text-shadow: none;
  font-family: inherit;
}
.single_title h1 { width: 100%; padding: 8px 20px; background: transparent; font-family: inherit; }
.single_title table { width: 100% !important; border-collapse: collapse; }
.single_title td { padding: 11px 8px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.single_title tr:last-child td { border-bottom: 0; }
.single_title td:first-child { width: 120px !important; color: var(--lyricsy-muted); font-size: .88rem; }
.single_title_f { display: none !important; }
span.stitlecolor { color: var(--lyricsy-text); font-size: 1.08rem; font-weight: 750; }
.single_title small { font-size: .88rem; color: var(--lyricsy-muted); }

#seperatedtags, #infopost, .index_tags {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: 12px;
}
.post-tags a { margin: 3px 2px; padding: 5px 9px; background: #eff6ff; color: var(--lyricsy-primary); border-radius: 999px; }
.post-tags a:hover { background: #dbeafe; color: var(--lyricsy-primary-dark); }
.underpostnavigation { min-height: 54px; }
.underpostnavigation a { color: var(--lyricsy-primary); font-weight: 650; }

/* Sidebar */
.sidebar_box, .sidebar_widgets > li {
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: var(--lyricsy-radius);
  box-shadow: var(--lyricsy-shadow);
}
.sidebar_box { width: 100%; }
.sidebar_box h2, .sidebar_widgets h2 {
  margin: 0;
  padding: 14px 17px;
  background: var(--lyricsy-surface-soft);
  border-bottom: 1px solid var(--lyricsy-border);
  color: var(--lyricsy-text);
  font-size: .95rem;
  font-weight: 750;
}
.sidebar_box div { background: transparent; }
.sidebar_box p { color: var(--lyricsy-muted); line-height: 1.55; }
span.sidebar_footer { display: none; }
.sidebar_widgets > li { padding-bottom: 8px; }
.sidebar_widgets li li, .sidebar_widgets ul li { padding: 9px 16px; border-bottom: 1px solid #eef1f5; line-height: 1.4; }
.sidebar_widgets li li:last-child { border-bottom: 0; }
.sidebar_widgets a { color: var(--lyricsy-text); }
.sidebar_widgets a:hover { color: var(--lyricsy-primary); }
.admin_menu { padding: 8px 16px 14px; }
.admin_menu li { padding: 9px 0; border-bottom: 1px solid #eef1f5; line-height: 1.45; }
.sidebar_thumb img { width: auto; max-width: 100%; border: 0; border-radius: 10px; }

/* Forms and comments */
input, textarea, select { padding: 9px 11px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: var(--lyricsy-text); }
.text { width: min(100%, 360px); padding: 9px 11px; }
#respond textarea { width: 100%; min-height: 160px; padding: 12px; }
.comments_box h3 { font-family: inherit; font-size: 1.25rem; font-weight: 750; letter-spacing: 0; color: var(--lyricsy-text); }
ol.commentlist { border-top: 1px solid var(--lyricsy-border); }
ol.commentlist li { border-bottom: 1px solid var(--lyricsy-border); }

/* Ads */
#big-ad, .big-ad-h, .big-ad-b, .big-ad-f { width: 100%; background: transparent; }
#big-ad { padding: 14px; margin-top: 16px; background: var(--lyricsy-surface); border: 1px solid var(--lyricsy-border); border-radius: 12px; overflow: hidden; }
.big-ad-h, .big-ad-f { display: none !important; }
#big-ad img { max-width: 100%; height: auto; border: 0; }

/* Footer */
#footer_menu {
  width: 100%;
  height: auto;
  margin: 20px 0 0;
  padding: 10px 14px;
  background: var(--lyricsy-surface);
  border: 1px solid var(--lyricsy-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: .92rem;
}
#footer_menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; height: auto; margin: 0; }
#footer_menu ul li { display: block; }
#footer_menu ul li a { display: block; height: auto; line-height: 1.3; padding: 8px 10px; border: 0; color: var(--lyricsy-muted); }
#footer_menu ul li a:hover { border: 0; background: var(--lyricsy-surface-soft); color: var(--lyricsy-primary); }
#footer {
  width: 100%;
  height: auto;
  margin: 20px 0 0;
  padding: 0;
  background: transparent;
  color: var(--lyricsy-muted);
  font-family: inherit;
  font-size: .88rem;
}
#footer-inner { width: 100%; margin: 0; padding: 20px 4px; border-top: 1px solid var(--lyricsy-border); }
.des, .copy { float: none; display: inline-block; width: 49%; vertical-align: top; }
.copy { padding: 0; }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }

/* Responsive */
@media (max-width: 900px) {
  #wrapper { width: min(100% - 24px, 760px); margin-top: 12px; }
  #header { flex-wrap: wrap; padding: 20px; }
  #dosearch { order: 3; width: 100%; margin-left: 0; }
  #header-ad { order: 2; max-width: 100%; }
  #listwrapper, #listwrapperright, #sidebar, #sidebarleft { float: none; width: 100%; }
  #sidebar, #sidebarleft { margin-top: 16px; }
  #leftcolumn, #rightcolumn { float: none; width: 100%; }
  .category_widget { margin-bottom: 14px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  #wrapper { width: 100%; margin: 0; }
  #header { border-radius: 0; border-left: 0; border-right: 0; padding: 18px 16px; gap: 16px; }
  #logo img { max-width: 210px; max-height: 62px; }
  #menu { margin-top: 0; border-radius: 0; padding: 6px 8px; }
  #menu ul { gap: 0; }
  #menu ul li a { padding: 10px 9px; font-size: .9rem; }
  #bigcolumn, #listwrapper, #listwrapperright, #sidebar, #sidebarleft { padding-left: 12px; padding-right: 12px; }
  #leftcolumn, #rightcolumn { width: 100%; }
  .searchform fieldset { gap: 6px; }
  .searchbutton { padding: 0 14px; }
  .post .post_inside, #commentwrap, #nosidebarcolumn { padding: 18px; }
  .single_title h1 { padding: 6px 12px; }
  .single_title td { display: block; width: 100% !important; padding: 5px 8px; border-bottom: 0; }
  .single_title td:first-child { width: 100% !important; padding-top: 10px; padding-bottom: 1px; }
  .single_title tr { display: block; padding-bottom: 8px; border-bottom: 1px solid #eef1f5; }
  .single_title tr:last-child { border-bottom: 0; }
  .des, .copy { display: block; width: 100%; text-align: center; }
  .copy { margin-top: 8px; }
  #footer-inner { padding: 18px 14px; }
}

/* =========================================================
   Lyricsy v4 — structural redesign
   ========================================================= */
:root {
  --lyricsy-bg: #f6f8fc;
  --lyricsy-surface: #ffffff;
  --lyricsy-text: #152033;
  --lyricsy-muted: #6b7280;
  --lyricsy-border: #e7eaf0;
  --lyricsy-primary: #1769e0;
  --lyricsy-primary-dark: #0f52b8;
  --lyricsy-navy: #0f1b2d;
  --lyricsy-soft-blue: #eef5ff;
  --lyricsy-radius: 18px;
  --lyricsy-shadow: 0 10px 35px rgba(18, 32, 56, .06);
}

#wrapper { width: min(1280px, calc(100% - 40px)); max-width: 1280px; }
#header { min-height: 104px; padding: 20px 26px; border-radius: 20px; }
#logo img { max-width: 290px; max-height: 68px; }
#menu { min-height: 52px; border-radius: 14px; }
#menu ul { justify-content: center; }
#menu ul li a { padding: 11px 13px; font-size: .93rem; }

.eyebrow, .card-kicker, .sidebar-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--lyricsy-primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Homepage */
.lyricsy-home { margin-top: 22px; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 42px;
  align-items: center;
  padding: 44px 48px;
  border: 1px solid #dfe7f3;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f1f6ff 100%);
  box-shadow: var(--lyricsy-shadow);
}
.home-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.03; letter-spacing: -.04em; }
.home-hero p { max-width: 680px; margin: 15px 0 0; color: var(--lyricsy-muted); font-size: 1.06rem; }
.hero-search { display: flex; padding: 7px; border: 1px solid #d9dfeb; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(17, 24, 39, .06); }
.hero-search input { flex: 1; min-width: 0; border: 0; box-shadow: none; padding: 12px 13px; }
.hero-search input:focus { outline: 0; }
.hero-search button { border: 0; border-radius: 10px; padding: 0 20px; background: var(--lyricsy-primary); color: #fff; font-weight: 800; cursor: pointer; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; margin: 34px 2px 16px; }
.home-section-heading h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.02em; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-card { overflow: hidden; background: #fff; border: 1px solid var(--lyricsy-border); border-radius: 20px; box-shadow: var(--lyricsy-shadow); }
.home-card-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid #edf0f4; }
.home-card-heading h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.015em; }
.card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lyricsy-soft-blue); color: var(--lyricsy-primary); font-weight: 800; }
.modern-song-list { list-style: none; margin: 0; padding: 7px 12px 13px; }
.modern-song-list li { margin: 0; padding: 0; border-bottom: 1px solid #f0f2f6; }
.modern-song-list li:last-child { border-bottom: 0; }
.modern-song-list li > a { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(120px, .65fr); gap: 16px; align-items: center; padding: 12px 11px; border-radius: 10px; color: var(--lyricsy-text); text-decoration: none; }
.modern-song-list li > a:hover { background: #f8faff; }
.song-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.song-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: var(--lyricsy-muted); font-size: .88rem; }
.legacy-most-viewed li { padding: 12px 11px; color: var(--lyricsy-muted); }
.legacy-most-viewed li a { display: inline; padding: 0; color: var(--lyricsy-text); font-weight: 750; }
.modern-comments-list { padding: 14px 24px 22px; color: var(--lyricsy-muted); line-height: 1.8; }
.modern-comments-list ul { margin: 0; padding-left: 18px; }

/* Single lyric page */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 22px; }
#listwrapper.single-main { float: none; width: auto; margin: 0; }
#sidebar.modern-sidebar { float: none; width: auto; margin: 0; }
.song-hero { padding: 34px 38px; border: 1px solid var(--lyricsy-border); border-radius: 22px; background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%); box-shadow: var(--lyricsy-shadow); }
.song-hero h1 { margin: 2px 0 8px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; }
.song-byline { margin: 0; color: var(--lyricsy-muted); font-size: 1.06rem; }
.song-byline a { font-weight: 800; text-decoration: none; }
.song-meta-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.song-meta-pills > span { display: inline-flex; gap: 7px; align-items: center; padding: 8px 11px; border: 1px solid #e0e6ef; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--lyricsy-muted); font-size: .82rem; }
.song-meta-pills strong { color: var(--lyricsy-text); font-weight: 800; }
.lyrics-card { margin-top: 18px; padding: 34px 38px 42px; border: 1px solid var(--lyricsy-border); border-radius: 22px; background: #fff; box-shadow: var(--lyricsy-shadow); }
.lyrics-content { max-width: 760px; font-size: 1.08rem; line-height: 1.86; color: #1c2738; }
.lyrics-content p { margin: 0 0 1.25em; }
.lyrics-content br { line-height: 1.9; }
.modern-tags { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 16px; }
.modern-tags > span { margin-right: 3px; color: var(--lyricsy-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.modern-tags a { padding: 6px 10px; border-radius: 999px; background: var(--lyricsy-soft-blue); text-decoration: none; font-size: .82rem; font-weight: 700; }
.modern-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.modern-post-nav > div > a { display: flex; min-height: 86px; flex-direction: column; justify-content: center; padding: 17px 19px; border: 1px solid var(--lyricsy-border); border-radius: 16px; background: #fff; color: var(--lyricsy-text); text-decoration: none; box-shadow: 0 5px 18px rgba(18,32,56,.04); }
.modern-post-nav .nav-next a { text-align: right; }
.modern-post-nav span { color: var(--lyricsy-muted); font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.modern-post-nav strong { margin-top: 4px; color: var(--lyricsy-primary); }
.related-card, .comments-card { margin-top: 18px; padding: 28px 30px; border: 1px solid var(--lyricsy-border); border-radius: 20px; background: #fff; box-shadow: var(--lyricsy-shadow); }
.section-title h2, .comments-heading h2 { margin: 0; font-size: 1.38rem; letter-spacing: -.02em; }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.related-list li { padding: 9px 0; border-bottom: 1px solid #eef1f5; }
.related-list a { font-weight: 700; text-decoration: none; }

/* v4 sidebar */
.sidebar-card { margin: 0 0 16px; padding: 22px; border: 1px solid var(--lyricsy-border); border-radius: 18px; background: #fff; box-shadow: var(--lyricsy-shadow); }
.sidebar-card h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.sidebar-card p { margin: 9px 0 14px; color: var(--lyricsy-muted); line-height: 1.55; }
.sidebar-button { display: inline-block; padding: 9px 13px; border-radius: 10px; background: var(--lyricsy-soft-blue); font-size: .88rem; font-weight: 800; text-decoration: none; }
.album-art-card { padding: 12px; }
.album-art-card img { display: block; width: 100%; border-radius: 13px; }
.sidebar-heading { margin-bottom: 10px; }
.sidebar-song-list { margin: 0; padding: 0; list-style: none; }
.sidebar-song-list li { border-bottom: 1px solid #eef1f5; }
.sidebar-song-list li:last-child { border-bottom: 0; }
.sidebar-song-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--lyricsy-text); font-size: .91rem; font-weight: 650; text-decoration: none; }
.sidebar-song-list a span { color: #a7b0bf; font-size: 1.25rem; }
.empty-state { padding: 10px 0; color: var(--lyricsy-muted); font-size: .9rem; }
.admin-quick-card { padding-top: 16px; padding-bottom: 16px; }
.admin-quick-card p { margin: 0; }
.sidebar-ad { overflow: hidden; }
.sidebar-ad img { max-width: 100%; height: auto; }

/* Comments v4 */
#commentwrap.comments-card { width: auto; padding: 28px 30px; }
.modern-comments .comments-heading { margin-bottom: 16px; }
.modern-comment-list { margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--lyricsy-border); }
.modern-comment-list > li { padding: 20px 0; border-bottom: 1px solid var(--lyricsy-border); }
.modern-comment-list .comment-body { position: relative; padding-left: 62px; min-height: 50px; }
.modern-comment-list .avatar { position: absolute; left: 0; top: 2px; border-radius: 50%; }
.modern-comment-list .comment-author { font-weight: 800; }
.modern-comment-list .comment-meta { margin: 2px 0 10px; font-size: .78rem; color: var(--lyricsy-muted); }
.modern-comment-list .reply a { display: inline-block; margin-top: 5px; font-size: .82rem; font-weight: 800; }
.comment-notes { color: var(--lyricsy-muted); font-size: .9rem; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--lyricsy-text); font-size: .88rem; font-weight: 750; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #d9dee8; border-radius: 11px; background: #fff; }
.comment-form textarea { min-height: 180px; }
.comment-form-author, .comment-form-email, .comment-form-url { max-width: 560px; }
.modern-submit { min-height: 44px; padding: 0 18px; }

/* Footer cleanup */
.index_tags { padding: 20px 24px; line-height: 2.2; text-align: center; }
.index_tags a { margin: 3px 4px; text-decoration: none; }
#footer { margin-top: 24px; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
  .single-layout { grid-template-columns: 1fr; }
  #sidebar.modern-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  #sidebar.modern-sidebar .sidebar-card { margin: 0; }
}

@media (max-width: 720px) {
  #wrapper { width: 100%; }
  .lyricsy-home, .single-layout { padding-left: 12px; padding-right: 12px; }
  .home-hero { padding: 28px 22px; border-radius: 18px; }
  .home-grid { grid-template-columns: 1fr; }
  .modern-song-list li > a { grid-template-columns: 1fr; gap: 2px; }
  .song-artist { text-align: left; }
  .song-hero { padding: 28px 22px; border-radius: 18px; }
  .lyrics-card { padding: 26px 22px 32px; border-radius: 18px; }
  .lyrics-content { font-size: 1.02rem; }
  .modern-post-nav, .related-list { grid-template-columns: 1fr; }
  .modern-post-nav .nav-next a { text-align: left; }
  #sidebar.modern-sidebar { grid-template-columns: 1fr; }
  .related-card, .comments-card, #commentwrap.comments-card { padding: 24px 20px; }
}

/* ===== Lyricsy v5: artist discovery + archive modernization ===== */
.artists-page, .artist-archive-page, .generic-archive-page { width: 100%; margin: 22px 0 0; }
.artists-hero, .artist-profile-hero { padding: 38px 42px; border: 1px solid var(--lyricsy-border); border-radius: 22px; background: linear-gradient(135deg,#fff 0%,#f2f6ff 100%); box-shadow: var(--lyricsy-shadow); }
.artists-hero h1, .artist-profile-hero h1 { margin: 4px 0 8px; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.05; letter-spacing: -.04em; }
.artists-hero p, .artist-profile-hero p { margin: 0; color: var(--lyricsy-muted); font-size: 1rem; }
.section-kicker { display: block; margin-bottom: 7px; color: var(--lyricsy-primary); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.artists-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 28px; padding: 10px; border: 1px solid var(--lyricsy-border); border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(18,32,56,.035); }
.artists-az a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 9px; border-radius: 10px; color: var(--lyricsy-text); font-weight: 800; text-decoration: none; }
.artists-az a:hover { background: var(--lyricsy-soft-blue); color: var(--lyricsy-primary); }
.artists-az a.is-active { background: var(--lyricsy-primary); color: #fff; }
.artists-az a.is-empty:not(.is-active) { opacity: .32; }
.artist-letter-section { margin: 0 0 28px; }
.artist-letter-heading { display: flex; align-items: center; gap: 12px; margin: 0 2px 13px; }
.artist-letter-heading > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #111b2e; color: #fff; font-size: 1.2rem; font-weight: 900; }
.artist-letter-heading p { margin: 0; color: var(--lyricsy-muted); }
.artist-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.artist-index-card { display: flex; align-items: center; gap: 14px; min-height: 82px; padding: 15px 17px; border: 1px solid var(--lyricsy-border); border-radius: 16px; background: #fff; color: var(--lyricsy-text); text-decoration: none; box-shadow: 0 5px 18px rgba(18,32,56,.035); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.artist-index-card:hover { transform: translateY(-2px); border-color: #cbd9f3; box-shadow: 0 10px 26px rgba(18,32,56,.08); }
.artist-avatar, .artist-profile-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--lyricsy-soft-blue); color: var(--lyricsy-primary); font-weight: 900; }
.artist-index-info { min-width: 0; flex: 1; }
.artist-index-info strong, .artist-index-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-index-info strong { font-size: .96rem; }
.artist-index-info small { margin-top: 3px; color: var(--lyricsy-muted); font-size: .79rem; }
.artist-arrow { color: #a7b0bf; font-size: 1.45rem; }
.artists-empty { padding: 42px; border: 1px dashed #d7deea; border-radius: 18px; background: rgba(255,255,255,.7); text-align: center; color: var(--lyricsy-muted); }
.artists-empty h2 { margin: 0 0 5px; color: var(--lyricsy-text); }
.artist-profile-hero { display: flex; align-items: center; gap: 24px; }
.artist-profile-avatar { width: 82px; height: 82px; font-size: 2rem; }
.artist-description { max-width: 760px; margin-top: 14px; color: var(--lyricsy-muted); }
.artist-songs-card { margin-top: 18px; padding: 28px 30px; border: 1px solid var(--lyricsy-border); border-radius: 20px; background: #fff; box-shadow: var(--lyricsy-shadow); }
.artist-songs-heading h2 { margin: 0 0 16px; font-size: 1.45rem; }
.artist-song-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px; }
.artist-song-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 15px; border: 1px solid #edf0f5; border-radius: 12px; color: var(--lyricsy-text); text-decoration: none; }
.artist-song-row:hover { background: #f8faff; border-color: #dce5f5; }
.artist-song-row strong, .artist-song-row small { display: block; }
.artist-song-row small { margin-top: 3px; color: var(--lyricsy-muted); font-size: .76rem; }
.artist-song-row > span:last-child { color: #a7b0bf; font-size: 1.3rem; }
.modern-pagination { margin-top: 24px; }
.modern-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.modern-pagination .page-numbers { padding: 8px 11px; border: 1px solid var(--lyricsy-border); border-radius: 9px; background: #fff; text-decoration: none; }
.modern-pagination .current { background: var(--lyricsy-primary); color: #fff; border-color: var(--lyricsy-primary); }
.popular-artists-footer { margin-top: 24px; padding: 26px 28px; border: 1px solid var(--lyricsy-border); border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(18,32,56,.035); }
.popular-artists-heading { margin-bottom: 14px; }
.popular-artists-heading h2 { margin: 0; font-size: 1.25rem; }
.popular-artist-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.popular-artist-links a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 11px; border-radius: 10px; color: var(--lyricsy-text); text-decoration: none; }
.popular-artist-links a:hover { background: #f8faff; }
.popular-artist-links span { color: var(--lyricsy-muted); font-size: .8rem; }
.admin-quick-card { background: transparent; border-style: dashed; box-shadow: none; padding: 10px 4px; }
.admin-quick-card .sidebar-kicker { display: none; }
.admin-quick-card p { font-size: .82rem; }
#footer .copy { text-align: right; }
@media (max-width: 900px) { .artist-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .popular-artist-links { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) { .artists-page,.artist-archive-page,.generic-archive-page { padding: 0 12px; } .artists-hero,.artist-profile-hero { padding: 28px 22px; border-radius: 18px; } .artist-profile-hero { align-items: flex-start; } .artist-profile-avatar { width: 62px; height: 62px; font-size: 1.45rem; } .artists-az { gap: 4px; } .artists-az a { min-width: 34px; height: 34px; } .artist-card-grid,.artist-song-grid,.popular-artist-links { grid-template-columns: 1fr; } .artist-songs-card { padding: 22px 18px; } #footer .copy { text-align: center; } }

/* ===== Lyricsy v6: streamlined artist filter + scalable comments ===== */
/* The dark global A-Z menu is the only artist alphabet navigation. */
.artists-page .artist-groups { margin-top: 28px; }

/* Remove legacy comment-list layout rules that squeezed long discussions. */
#commentwrap.comments-card {
  padding: 30px 32px;
  overflow: visible;
}
.modern-comments { width: 100%; min-width: 0; }
.comments-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.comments-heading-row h2,
.comment-form-heading h2,
.comments-empty-state h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.comments-summary { margin: 0 0 2px; color: var(--lyricsy-muted); font-size: .82rem; }
.modern-comment-feed {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.modern-comment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--lyricsy-border);
  border-radius: 14px;
  background: #fff;
}
.modern-comment-card.is-comment-hidden { display: none; }
.comment-avatar-wrap { width: 42px; }
.modern-comment-card .comment-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.comment-card-content { min-width: 0; }
.comment-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.comment-author-name { display: block; color: var(--lyricsy-text); font-size: .9rem; }
.comment-date { display: inline-block; margin-top: 2px; color: var(--lyricsy-muted); font-size: .74rem; text-decoration: none; }
.comment-card-header .comment-reply-link {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--lyricsy-soft-blue);
  color: var(--lyricsy-primary);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}
.comment-reply-context {
  margin: 8px 0 0;
  color: var(--lyricsy-muted);
  font-size: .75rem;
}
.comment-text { margin-top: 8px; color: var(--lyricsy-text); font-size: .91rem; line-height: 1.62; overflow-wrap: anywhere; }
.comment-text p { margin: 0 0 8px; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-edit-link { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 750; }
.comments-more-wrap { margin-top: 15px; text-align: center; }
.comments-more-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #ccdaef;
  border-radius: 11px;
  background: #f7faff;
  color: var(--lyricsy-primary);
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}
.comments-more-button:hover { background: var(--lyricsy-soft-blue); }
.modern-comment-form-wrap {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--lyricsy-border);
}
.modern-comment-form-wrap .comment-respond { margin: 0; }
.modern-comment-form-wrap .logged-in-as { margin: 5px 0 16px; color: var(--lyricsy-muted); font-size: .82rem; }
.modern-comment-form-wrap .comment-form-comment { margin-bottom: 13px; }
.modern-comment-form-wrap .comment-form textarea {
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}
.modern-comment-form-wrap .form-submit { margin: 12px 0 0; }
.modern-comment-form-wrap .modern-submit {
  border: 0;
  border-radius: 10px;
  background: var(--lyricsy-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.comments-empty-state { padding: 6px 0 2px; }
.comments-empty-state p,
.comments-closed { color: var(--lyricsy-muted); }

/* Neutralize old nested comment CSS if a plugin injects a traditional comment list. */
#commentwrap .commentlist,
#commentwrap .commentlist li,
#commentwrap .children { width: auto; max-width: none; float: none; margin-left: 0; }

@media (max-width: 650px) {
  #commentwrap.comments-card { padding: 23px 18px; }
  .comments-heading-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .modern-comment-card { grid-template-columns: 34px minmax(0, 1fr); padding: 13px; }
  .comment-avatar-wrap,
  .modern-comment-card .comment-avatar { width: 34px; height: 34px; }
  .comment-card-header { gap: 8px; }
}

/* ===== Lyricsy v7: brand, primary navigation, artist browser, reading polish ===== */
.site-header-v7 {
  margin-top: 18px;
  padding: 0;
  border: 1px solid var(--lyricsy-border);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--lyricsy-shadow);
  overflow: hidden;
}
.site-header-main {
  display: grid;
  grid-template-columns: auto minmax(360px,1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 16px 22px;
}
.site-brand-v7 {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--lyricsy-text);
  text-decoration: none;
  white-space: nowrap;
}
.site-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg,#1264e8,#3083f5);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: -.03em;
  box-shadow: 0 8px 20px rgba(24,105,229,.22);
}
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.site-brand-copy strong { font-size: 1.05rem; letter-spacing: -.02em; }
.site-brand-copy small { margin-top: 5px; color: var(--lyricsy-muted); font-size: .68rem; font-weight: 600; }
.site-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.site-primary-nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #43506a;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-primary-nav a:hover { background: var(--lyricsy-soft-blue); color: var(--lyricsy-primary); }
.header-search-v7 { width: 230px; }
.header-search-v7 .searchform fieldset { display: flex; margin: 0; padding: 0; border: 0; }
.header-search-v7 .searchform { display: flex; width: 100%; }
.header-search-v7 .searchfield {
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dce2eb;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  background: #fbfcfe;
  font-size: .82rem;
}
.header-search-v7 .searchbutton {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0 11px 11px 0;
  background: var(--lyricsy-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}
.artist-alpha-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 15px;
  background: #111b2e;
  box-shadow: 0 7px 18px rgba(17,27,46,.13);
}
.artist-alpha-label {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,.13);
  color: #9fc3ff;
  font-size: .73rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.artist-alpha-letters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}
.artist-alpha-letters a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.artist-alpha-letters a:hover,
.artist-alpha-letters a.is-active { background: #2d3b54; color: #fff; }

/* Improve the reading rhythm without making long songs feel oversized. */
.lyrics-card { padding-top: 32px; padding-bottom: 38px; }
.lyrics-content {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.82;
  letter-spacing: -.006em;
}
.lyrics-content p { margin-bottom: 1.25em; }
.comment-text { font-size: .95rem; line-height: 1.68; }
.comment-reply-context { color: #8a94a6; font-size: .72rem; }

/* The sidebar already handles song discovery; don't repeat Popular Artists below a song. */
.single-post .popular-artists-footer { display: none; }

/* Anchor targets should not hide under the admin bar/header. */
#latest-lyrics, #popular-lyrics { scroll-margin-top: 24px; }

@media (max-width: 1050px) {
  .site-header-main { grid-template-columns: auto 1fr; gap: 14px 22px; }
  .site-primary-nav { justify-content: flex-end; }
  .header-search-v7 { grid-column: 1 / -1; width: 100%; }
  .header-search-v7 .searchform { max-width: 520px; margin-left: auto; }
  .artist-alpha-nav { overflow-x: auto; }
  .artist-alpha-letters { min-width: 760px; gap: 2px; }
}
@media (max-width: 720px) {
  .site-header-v7 { margin: 10px 12px 0; border-radius: 17px; }
  .site-header-main { display: flex; flex-wrap: wrap; min-height: 0; padding: 14px; gap: 12px; }
  .site-brand-v7 { flex: 1 1 auto; }
  .site-brand-mark { width: 40px; height: 40px; }
  .site-brand-copy small { display: none; }
  .site-primary-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-top: 4px; }
  .site-primary-nav a { padding: 9px 11px; }
  .header-search-v7 { order: 2; width: 44px; }
  .header-search-v7 .searchfield { display: none; }
  .header-search-v7 .searchbutton { border-radius: 11px; }
  .artist-alpha-nav { margin: 10px 12px 0; border-radius: 14px; }
  .artist-alpha-label { position: sticky; left: 0; z-index: 2; background: #111b2e; }
  .lyrics-content { max-width: none; font-size: 1.04rem; line-height: 1.78; }
}

/* ===== Lyricsy v8: focused search + recently updated discovery ===== */
.search-results-page {
  width: 100%;
  max-width: 1120px;
  margin: 24px auto 0;
}
.search-results-hero {
  padding: 34px 38px;
  border: 1px solid var(--lyricsy-border);
  border-radius: 22px;
  background: linear-gradient(135deg,#fff 0%,#f3f7ff 100%);
  box-shadow: var(--lyricsy-shadow);
}
.search-results-hero h1 {
  margin: 4px 0 8px;
  color: var(--lyricsy-text);
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.search-results-hero > p {
  margin: 0;
  color: var(--lyricsy-muted);
  font-size: .96rem;
}
.search-results-form {
  display: flex;
  max-width: 700px;
  margin-top: 22px;
}
.search-results-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #d7dfeb;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #fff;
  color: var(--lyricsy-text);
  font: inherit;
}
.search-results-form button {
  flex: 0 0 auto;
  min-width: 96px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--lyricsy-primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.search-result-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.search-result-card {
  margin: 0 !important;
  padding: 0;
  border: 1px solid var(--lyricsy-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18,32,56,.035);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.search-result-card:hover {
  transform: translateY(-1px);
  border-color: #cbd9f3;
  box-shadow: 0 10px 28px rgba(18,32,56,.07);
}
.search-result-main { padding: 22px 24px 20px; }
.search-result-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.search-result-artist {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--lyricsy-primary);
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.search-result-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.search-result-card h2 a { color: var(--lyricsy-text); text-decoration: none; }
.search-result-card h2 a:hover { color: var(--lyricsy-primary); }
.search-result-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--lyricsy-soft-blue);
  color: var(--lyricsy-primary);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}
.search-result-excerpt {
  max-width: 820px;
  margin: 13px 0 0;
  color: #566176;
  font-size: .95rem;
  line-height: 1.68;
}
.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.search-result-meta span {
  padding: 5px 9px;
  border: 1px solid #e4e9f1;
  border-radius: 999px;
  background: #fafbfd;
  color: var(--lyricsy-muted);
  font-size: .72rem;
  font-weight: 650;
}
.search-pagination { margin: 22px 0 0; }
.search-empty-state {
  margin-top: 18px;
  padding: 54px 28px;
  border: 1px solid var(--lyricsy-border);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 5px 18px rgba(18,32,56,.035);
}
.search-empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--lyricsy-soft-blue);
  color: var(--lyricsy-primary);
  font-size: 1.6rem;
  font-weight: 900;
}
.search-empty-state h2 { margin: 0 0 7px; font-size: 1.45rem; }
.search-empty-state p { margin: 0; color: var(--lyricsy-muted); }
.search-browse-artists { display: inline-block; margin-top: 16px; font-weight: 800; text-decoration: none; }

@media (max-width: 720px) {
  .search-results-page { padding: 0 12px; }
  .search-results-hero { padding: 28px 22px; border-radius: 18px; }
  .search-results-form { width: 100%; }
  .search-results-form button { min-width: 82px; }
  .search-result-main { padding: 19px 18px 18px; }
  .search-result-card h2 { font-size: 1.18rem; }
  .search-result-arrow { width: 34px; height: 34px; flex-basis: 34px; }
  .search-result-excerpt { font-size: .91rem; }
}

/* ===== Lyricsy v8.3: purpose-built mobile header + compact phone layout ===== */
.site-nav-group {
  display: contents;
}
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }

  .site-header-v7 {
    margin: 8px 10px 0;
    border-radius: 16px;
  }
  .site-header-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 0;
    padding: 10px 12px;
    gap: 8px;
  }
  .site-brand-v7 {
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
  }
  .site-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: .78rem;
  }
  .site-brand-copy strong { font-size: .96rem; }
  .site-brand-copy small { display: none; }

  .mobile-menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dce4ef;
    border-radius: 11px;
    background: #f7f9fc;
    color: var(--lyricsy-text);
    cursor: pointer;
  }
  .mobile-menu-icon {
    display: grid;
    gap: 4px;
    width: 18px;
  }
  .mobile-menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .site-header-v7.is-menu-open .mobile-menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header-v7.is-menu-open .mobile-menu-icon span:nth-child(2) { opacity: 0; }
  .site-header-v7.is-menu-open .mobile-menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav-group {
    display: none;
    order: 3;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #edf0f5;
  }
  .site-header-v7.is-menu-open .site-nav-group { display: block; }

  .site-primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 0;
    overflow: visible;
  }
  .site-primary-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #f7f9fc;
    font-size: .84rem;
  }

  .header-search-v7 {
    display: block;
    width: 100%;
    margin-top: 8px;
  }
  .header-search-v7 .searchform { max-width: none; margin: 0; }
  .header-search-v7 .searchfield {
    display: block;
    height: 42px;
    font-size: .88rem;
  }
  .header-search-v7 .searchbutton {
    flex-basis: 46px;
    height: 42px;
    border-radius: 0 11px 11px 0;
  }

  .artist-alpha-nav {
    margin: 8px 10px 0;
    padding: 6px 8px;
    gap: 7px;
    border-radius: 13px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .artist-alpha-nav::-webkit-scrollbar { display: none; }
  .artist-alpha-label {
    position: sticky;
    left: 0;
    z-index: 3;
    padding: 7px 9px;
    background: #111b2e;
    font-size: .67rem;
  }
  .artist-alpha-letters {
    flex: 0 0 auto;
    min-width: 790px;
    gap: 1px;
  }
  .artist-alpha-letters a {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: .7rem;
  }

  .lyricsy-home,
  .single-layout { padding-left: 10px; padding-right: 10px; }
  .lyricsy-home { margin-top: 14px; }
  .home-hero {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 18px;
  }
  .home-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
    line-height: 1.02;
  }
  .home-hero p {
    margin-top: 12px;
    font-size: .98rem;
    line-height: 1.58;
  }
  .hero-search { padding: 5px; border-radius: 13px; }
  .hero-search input { padding: 10px 9px; font-size: .91rem; }
  .hero-search button { min-width: 88px; padding: 0 14px; }
  .home-section-heading { margin: 26px 2px 12px; }
  .home-section-heading h2 { font-size: 1.35rem; }
  .home-grid { gap: 14px; }
  .home-card { border-radius: 17px; }
  .home-card-heading { padding: 18px 18px 13px; }

  .artists-page,
  .artist-archive-page,
  .generic-archive-page { padding: 0 10px; }
  .artists-hero,
  .artist-profile-hero {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .artists-hero h1,
  .artist-profile-hero h1 {
    font-size: 2.05rem;
    line-height: 1.06;
  }
  .artist-letter-heading { margin-top: 2px; }
  .artist-index-card { min-height: 72px; padding: 12px 14px; }
  .artist-avatar { width: 42px; height: 42px; }

  .song-hero { padding: 24px 18px; }
  .song-hero h1 { font-size: 2rem; }
  .lyrics-card { padding: 24px 18px 30px; }
  .related-card,
  .comments-card,
  #commentwrap.comments-card { padding: 21px 17px; }

  .search-results-page { padding: 0 10px; }
  .search-results-hero { padding: 24px 18px; }
}

@media (max-width: 390px) {
  .site-primary-nav { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 2.05rem; }
  .hero-search { display: grid; grid-template-columns: 1fr auto; }
  .hero-search button { min-width: 78px; }
}

/* ===== Lyricsy v9: real Popular/New directories + smarter discovery ===== */
.lyrics-directory-page {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
}
.lyrics-directory-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border: 1px solid var(--lyricsy-border);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
  box-shadow: 0 10px 30px rgba(18,32,56,.045);
}
.lyrics-directory-hero h1 {
  margin: 7px 0 8px;
  color: var(--lyricsy-text);
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.04;
}
.lyrics-directory-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--lyricsy-muted);
  font-size: .98rem;
  line-height: 1.65;
}
.lyrics-directory-tabs {
  display: flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid #dfe6f0;
  border-radius: 13px;
  background: #fff;
}
.lyrics-directory-tabs a {
  padding: 9px 14px;
  border-radius: 10px;
  color: #536077;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.lyrics-directory-tabs a.is-active {
  background: var(--lyricsy-primary);
  color: #fff;
}
.lyrics-directory-list {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--lyricsy-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(18,32,56,.035);
}
.lyrics-directory-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 13px 20px;
  border-bottom: 1px solid #edf0f4;
}
.lyrics-directory-row:last-child { border-bottom: 0; }
.lyrics-directory-row:hover { background: #fbfcff; }
.lyrics-directory-rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--lyricsy-soft-blue);
  color: var(--lyricsy-primary);
  font-size: .9rem;
  font-weight: 900;
}
.lyrics-directory-date {
  display: flex;
  flex-direction: column;
  color: var(--lyricsy-text);
  line-height: 1.05;
}
.lyrics-directory-date strong { font-size: .83rem; }
.lyrics-directory-date small { margin-top: 4px; color: var(--lyricsy-muted); font-size: .69rem; }
.lyrics-directory-artist {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--lyricsy-primary);
  font-size: .7rem;
  font-weight: 850;
  text-decoration: none;
}
.lyrics-directory-song h2 { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.lyrics-directory-song h2 a { color: var(--lyricsy-text); text-decoration: none; }
.lyrics-directory-song h2 a:hover { color: var(--lyricsy-primary); }
.lyrics-directory-stats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lyrics-directory-stats span {
  padding: 5px 8px;
  border: 1px solid #e4e9f1;
  border-radius: 999px;
  color: var(--lyricsy-muted);
  background: #fafbfd;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.lyrics-directory-open {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f7ff;
  color: var(--lyricsy-primary);
  font-weight: 900;
  text-decoration: none;
}
.lyrics-directory-open:hover { background: var(--lyricsy-primary); color: #fff; }
.lyrics-directory-pagination { margin-top: 20px; }

/* Search result ranking is handled in PHP; keep the strongest hit visually clear. */
.search-result-list .search-result-card:first-child {
  border-color: #cfe0ff;
  box-shadow: 0 9px 28px rgba(35,112,232,.07);
}

@media (max-width: 720px) {
  .lyrics-directory-page { width: auto; margin: 14px 10px 0; }
  .lyrics-directory-hero {
    display: block;
    padding: 24px 18px;
    border-radius: 18px;
  }
  .lyrics-directory-hero h1 { font-size: 2rem; }
  .lyrics-directory-tabs { width: fit-content; margin-top: 18px; }
  .lyrics-directory-row {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 11px;
    min-height: 78px;
    padding: 12px 13px;
  }
  .lyrics-directory-rank { width: 38px; height: 38px; }
  .lyrics-directory-stats { display: none; }
  .lyrics-directory-open { grid-column: 3; width: 32px; height: 32px; }
  .lyrics-directory-song h2 { font-size: .96rem; }
  .lyrics-directory-date { font-size: .75rem; }
}
.card-icon-link { text-decoration: none; }


/* V9.1: directory pagination */
.lyrics-directory-pagination {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--lyricsy-border);
  border-radius: 16px;
}
.lyrics-directory-pagination > .page-numbers {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.lyrics-directory-pagination > .page-numbers > li { margin: 0; padding: 0; }
.lyrics-directory-pagination > .page-numbers > li > .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--lyricsy-border);
  border-radius: 10px;
  background: #fff;
  color: var(--lyricsy-text);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.lyrics-directory-pagination > .page-numbers > li > a.page-numbers:hover {
  border-color: #bfd4fb;
  background: #f3f7ff;
  color: var(--lyricsy-primary);
}
.lyrics-directory-pagination > .page-numbers > li > .page-numbers.current {
  border-color: var(--lyricsy-primary);
  background: var(--lyricsy-primary);
  color: #fff;
}
.lyrics-directory-pagination > .page-numbers > li > .page-numbers.dots {
  min-width: 26px;
  padding: 0 3px;
  border-color: transparent;
  background: transparent;
  color: var(--lyricsy-muted);
}
.lyrics-directory-pagination > .page-numbers > li > .prev,
.lyrics-directory-pagination > .page-numbers > li > .next { min-width: auto; }

@media (max-width: 720px) {
  .lyrics-directory-pagination { padding: 12px; }
  .lyrics-directory-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .lyrics-directory-pagination > .page-numbers {
    flex: 1;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .lyrics-directory-pagination::before {
    content: "Page " attr(data-current) " of " attr(data-total);
    order: 2;
    color: var(--lyricsy-muted);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .lyrics-directory-pagination > .page-numbers > li:not(:has(.prev)):not(:has(.next)) { display: none; }
  .lyrics-directory-pagination > .page-numbers > li > .prev,
  .lyrics-directory-pagination > .page-numbers > li > .next {
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    font-size: .75rem;
  }
}
