/* Baby Fred Update – Global Stylesheet */
/* Created: 2026-02-17 */
/* Purpose: Site-wide typography, colors, layout rules */

/* ===== Brand Colors ===== */

:root {
  --bf-teal: #3aa7a3;
  --bf-seafoam: #7fd1cc;
  --bf-dark: #1f2a30;
  --bf-light: #eef2f5;
  --bf-accent: #4cc9f0;
}

/* ===== Global Typography ===== */

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--bf-dark);
}

/* ===== Global Audio Player Width Fix (example) ===== */

audio {
  width: 100%;
}

/* ===== Utility Classes ===== */

.bf-center {
  text-align: center;
}

.bf-hidden {
  display: none;
}

/* Baby Fred Update – Sticky Global Audio Player */

#bf-global-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;

  background: #1a1f24;
  color: #e6edf3;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;
  box-sizing: border-box;

  border-top: 1px solid #3a4652;
  z-index: 9999;
}

.bf-player-left {
  flex: 2;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bf-player-center {
  flex: 1;
  text-align: center;
}

.bf-player-center button {
  background: none;
  border: none;
  color: #e6edf3;
  font-size: 18px;
  margin: 0 8px;
  cursor: pointer;
}

.bf-player-center button:hover {
  color: #66d9ff;
}

.bf-player-right {
  flex: 2;
}

#bf-seek {
  width: 100%;
}

/* Prevent page content from hiding behind player */
body {
  padding-bottom: 70px;
}


/* Baby Fred Update – Migrated from WordPress Additional CSS
   2026-02-17
   This file is now the global authority */

.page-id-11 .entry-title {
  display: none;
}

:where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}
.footer-publishing {
  white-space: nowrap;
}

.footer-legal {
  text-align: left;
  margin-bottom: 3rem;
  padding-left: 0;
}

.footer-publishing {
  margin-bottom: 0.5rem;
}
.lyrics-panel.is-hidden {
  display: none;
}

.lyrics-panel {
  display: block;
}
.lyrics-toggle:focus,
.lyrics-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
/* Baby Fred – Now Playing highlight (refined) */
.wp-block-audio.bf-now-playing {
  background-color: rgba(0, 0, 0, 0.035);
  border-left: 3px solid rgba(0, 0, 0, 0.3);
  padding-left: 12px;
}

/* Baby Fred – Album transport bar (polished) */
.bf-transport {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 16px;
  background: rgba(245, 245, 245, 0.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
  z-index: 100;
}
/* Transport buttons */
.bf-transport button {
  font-size: 1.1rem;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease,
              box-shadow 0.15s ease,
              transform 0.05s ease;
}

.bf-transport button:hover {
  background: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.bf-transport button:active {
  transform: translateY(1px);
  box-shadow: none;
}
/* Play Album button */
.bf-play-album {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease,
              box-shadow 0.15s ease,
              transform 0.05s ease;
}

.bf-play-album:hover {
  background: #f5f5f5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.bf-play-album:active {
  transform: translateY(1px);
  box-shadow: none;
}
/* Center Play Album button between separators */
.bf-play-album {
  display: block;
  margin: 24px auto;
  text-align: center;
}
/* Hide Gutenberg separators but keep spacing */
.wp-block-separator {
  border: none !important;
  background: transparent !important;
  height: 1px;
}
/* Tighten Singles grid spacing */
.wp-block-post-template {
  gap: 0.5rem !important;
}

/* Reduce image-to-title spacing */
.wp-block-post-featured-image {
  margin-bottom: 0.25rem !important;
}

/* Reduce title spacing */
.wp-block-post-title {
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
}

/* Remove extra space around audio/content */
.wp-block-post-content {
  margin-top: 0 !important;
}
.wp-site-blocks .wp-block-post-template.is-layout-grid {
  gap: 4rem !important;
}
/* Baby Fred Update: Lyrics button size lock */

.wp-block-button.lyrics-toggle .wp-block-button__link {
  padding: 0.35em 0.85em;
  font-size: 0.85rem;
  line-height: 1.2;
}
/* Baby Fred Update: Lyrics button focus/active lock
   2026-02-02 19:42 EST */

.wp-block-button.lyrics-toggle .wp-block-button__link:focus,
.wp-block-button.lyrics-toggle .wp-block-button__link:focus-visible,
.wp-block-button.lyrics-toggle .wp-block-button__link:active {
  background-color: #000;
  color: #fff;
  border-color: #000;
  outline: none;
  box-shadow: none;
}
/* Baby Fred Update: Lyrics toggle (non-Gutenberg button)
   2026-02-02 20:18 EST */

.lyrics-toggle {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.35em 0.85em;
  font-size: 0.85rem;
  line-height: 1.2;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

/* Baby Fred Test – force background */

html body {
  background-color: #f8fbfc !important;
}

/* Baby Fred Test

.wp-site-blocks {
  outline: 6px solid lime !important;
}  */

/* Baby Fred Update – Global Audio Width
   2026-02-17 */

/* Make audio players fill their container */
.wp-block-audio audio {
  width: 100% !important;
  display: block;
}

/* Remove extra padding around audio block */
.wp-block-audio {
  margin-bottom: 1rem;
}

/* Ensure players don't get squeezed inside narrow columns */
.wp-block-audio.alignwide,
.wp-block-audio.alignfull {
  width: 100%;
}

/* Baby Fred Update – Global Page Spacing */

.wp-site-blocks {
  padding-left: 24px;
  padding-right: 24px;
}

/* Comfortable vertical rhythm */
.wp-site-blocks > * {
  margin-top: 1.5rem;
}


/* Baby Fred Test – visible background

.wp-site-blocks {
  background-color: #008080 !important;
}
 */