/* EchoParse styles */
/* EchoParse styles */
:root {
  --white: #fff;
  --bg: #111;
  --ink: #fff;
  --ink-2: #d0d0d0;
  --ink-card: #282828;
  --ink-card-2: #434042;
  --blue-1: #3291a0;
  --blue-2: #3291a0;
  --blue-3: #3291a0;
  --line-dark: #3b3b3b;
  --line-light: #e8eded;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .06);
  --gap: 16px;
  --gap-lg: 24px;
  --gap-xl: 32px;
  --maxw: 1100px;
  --control-h: 44px;
}

/* Media links: YouTube anchor color override (keep Audio teal) */
.result-card .media-links a[href*="youtube.com"],
.result-card .media-links a[href*="youtube.com"]:visited,
.result-card .media-links a[href*="youtube.com"]:hover,
.result-card .media-links a[href*="youtube.com"]:active,
.result-card .media-links a[href*="youtu.be"],
.result-card .media-links a[href*="youtu.be"]:visited,
.result-card .media-links a[href*="youtu.be"]:hover,
.result-card .media-links a[href*="youtu.be"]:active {
  color: #B22222 !important;
}

/* Media links: Spotify anchor color override */
.result-card .media-links a[href*="spotify.com"],
.result-card .media-links a[href*="spotify.com"]:visited,
.result-card .media-links a[href*="spotify.com"]:hover,
.result-card .media-links a[href*="spotify.com"]:active,
.card .media-links a[href*="spotify.com"],
.card .media-links a[href*="spotify.com"]:visited,
.card .media-links a[href*="spotify.com"]:hover,
.card .media-links a[href*="spotify.com"]:active {
  color: #4CBB17 !important;
}

/* Fallback if older template uses .links instead of .media-links */
.result-card .links a[href*="youtube.com"],
.result-card .links a[href*="youtube.com"]:visited,
.result-card .links a[href*="youtube.com"]:hover,
.result-card .links a[href*="youtube.com"]:active,
.result-card .links a[href*="youtu.be"],
.result-card .links a[href*="youtu.be"]:visited,
.result-card .links a[href*="youtu.be"]:hover,
.result-card .links a[href*="youtu.be"]:active {
  color: #B22222 !important;
}

/* Legacy .card support (harmless if unused) */
.card .media-links a[href*="youtube.com"],
.card .media-links a[href*="youtu.be"],
.card .links a[href*="youtube.com"],
.card .links a[href*="youtu.be"] {
  color: #B22222 !important;
}

/* Echoes: linked timestamp color override (beats .result-card a {... !important}) */
.result-card details a.ts-link,
.result-card details a.ts-link:visited,
.result-card details a.ts-link:hover,
.result-card details a.ts-link:active {
  color: #B22222 !important;
}

/* (Optional legacy template support; harmless if present) */
.card details a.ts-link,
.card details a.ts-link:visited,
.card details a.ts-link:hover,
.card details a.ts-link:active {
  color: #B22222 !important;
}

/* Echoes: linked timestamps only */
.result-card a.ts-link,
.card a.ts-link {
  color: #B22222;
}

.result-card a.ts-link:visited,
.card a.ts-link:visited {
  color: #B22222;
}

/* Extra space between Echoes and media links (only when Echoes exist) */
.result-card details+.media-links,
.card details+.media-links {
  margin-top: 0.5rem;
  /* one extra “space” worth of gap */
}

/* Bold + left-aligned media links (one line) */
.result-card .media-links,
.card .media-links {
  text-align: left;
  white-space: nowrap;
  /* keep Full Episode: YouTube or Spotify on one line */
}

.result-card .media-links a,
.card .media-links a {
  font-weight: 700;
  /* bold links */

  /* Nudge the link text down so it lines up vertically
     with the "Episode Link:" label */
  position: relative;
  top: 0pix;
}

/* Spacing between echo entries (keep bullets, no other changes) */
.result-card details ul>li+li {
  margin-top: 1.75rem;
  /* doubled from 0.75rem for more space between echoes */
}

/* (Optional legacy card template support, harmless if unused) */
.card details ul>li+li {
  margin-top: 1.75rem;
}

/* Emphasized podcast title (card) */
.result-card .podcast-title,
.card .podcast-title {
  font-size: 1.25rem;
  /* ~two steps up from ~1rem base */
  font-weight: 700;
  /* bold */
  color: #fff;
  /* white */
  text-align: center;
  /* left-aligned */
}

/* Emphasized episode title (card) */
.result-card .episode-title,
.card .episode-title {
  font-size: 0.95rem;
  /* one step up from base text */
  font-weight: 700;
  /* bold */
  color: #ccc;
  /* match the grey used for guest & upload date details */
  text-align: center;
  /* center the episode title within the card */
}

@media (max-width: 600px) {

  .card,
  .result-card {
    margin: 0.5rem;
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .echoes-list {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .feedback {
    font-size: 0.9rem;
  }
}

/* Make default placeholder text grey */
.combo-input::placeholder {
  color: #aaa;
  /* same grey as the main search box placeholder */
  opacity: 1;
  /* ensure consistent across browsers */
}

/* Ensure selected/typed text is readable on dark background */
.combo-input {
  color: #fff;
}

* {
  box-sizing: border-box
}

/* Make the HTML hidden attribute rock-solid in all browsers */
[hidden] {
  display: none !important;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;

  /* ✅ lock the grid to the viewport width */
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;

  min-height: 100vh;
  min-width: 0;
}

.container {
  /* ✅ ensure containers can shrink inside the grid/flex layouts */
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gap);
  min-width: 0;
}

.row {
  display: flex;
  gap: var(--gap)
}

.wrap {
  flex-wrap: wrap
}

.center-v {
  align-items: center
}

.center-h {
  justify-content: center
}

.space-between {
  justify-content: space-between
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap
}

/* Headings: teal instead of white */
h1,
h2 {
  color: var(--blue-1);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--blue-1);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px
}

.skip-link:focus {
  left: 12px;
  top: 12px
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line-dark);
  background: var(--bg);
  color: var(--ink);
  padding: 24px 0
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink)
}

/* EchoParse logo turns teal and glows on hover/focus */
.brand:hover,
.brand:focus {
  color: var(--blue-1);
  /* same teal as your outlines (#3291a0) */
  text-shadow: 0 0 6px rgba(50, 145, 160, 0.8);
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: inline-block;
  fill: currentColor
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0
}

.nav a {
  color: var(--ink);
  text-decoration: none
}

.nav a:hover,
.nav a:focus {
  color: var(--blue-1);
  text-shadow: 0 0 6px rgba(50, 145, 160, 0.8);
}

/* Search + Filters */
.search-area {
  padding: var(--gap-xl) 0 var(--gap-lg);
  text-align: center;
  color: var(--ink)
}

.search-form {
  display: flex;
  justify-content: center;
  margin-bottom: var(--gap-lg);
  flex-direction: column;
  align-items: center;
}

.search-input {
  width: min(780px, 92vw);
  height: var(--control-h);
  border: 2px solid transparent;
  /* keep layout, remove visible border colour */
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 0 16px;
  font-size: 1rem;
  outline: none;
  background: #404040;
  /* search box background */
  color: #fff;
  /* keep text readable on dark bg */
}

.search-input::placeholder {
  color: #8a8f94
}

/* Checkbox row under the search input */
.search-title-only {
  margin-top: 8px;
  width: min(780px, 92vw);
  display: flex;
  justify-content: center;
  /* center align */
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-align: center;
  /* center the label text as well */
}

/* Fully custom checkbox */
.search-title-only input[type="checkbox"] {
  appearance: none;
  /* remove default checkbox */
  -webkit-appearance: none;

  width: 20px;
  height: 20px;
  border-radius: 4px;
  /* slight rounding (optional) */
  background: #404040;
  /* same grey as search input */
  border: none;
  /* remove borders */
  cursor: pointer;
  position: relative;
  /* needed for tick */
}

/* Checked state: teal background with white tick */
.search-title-only input[type="checkbox"]:checked {
  background: #3291a0;
  /* teal */
}

/* White checkmark pseudo-element */
.search-title-only input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  /* WHITE TICK */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Teal clear “X” inside the search field (Chrome/Edge/WebKit) */
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  /* inline SVG X using the same teal as var(--blue-1) (#3291a0) */
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%233291a0' d='M4.22 4.22a.75.75 0 0 1 1.06 0L8 6.94l2.72-2.72a.75.75 0 1 1 1.06 1.06L9.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L8 9.06l-2.72 2.72a.75.75 0 1 1-1.06-1.06L6.94 8 4.22 5.28a.75.75 0 0 1 0-1.06z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.search-input::-webkit-search-cancel-button:hover {
  filter: brightness(1.1);
}

.search-input:focus {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 3px rgba(50, 145, 160, .25)
}

.combo {
  position: relative
}

.combo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink-2);
  border-radius: var(--radius);
  height: var(--control-h);
  padding: 0 12px;
  background: var(--white);
  min-width: 220px;
  color: var(--ink-card)
}

.combo-input {
  border: 0;
  outline: none;
  font-size: 1rem;
  width: 100%;
  background: transparent;
  color: #fff;
}

.combo-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: .9rem;
  color: var(--ink-card-2);

  /* NEW: position the arrow over the right side of the pill
     so it no longer “steals” width from the input */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.combo-wrap:focus-within {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 3px rgba(50, 145, 160, .25)
}

.combo-listbox {
  position: absolute;
  left: 12px;
  right: 12px;
  /* width matches the straight edge inside the pill (combo-wrap has 12px side padding) */
  top: calc(100% + 4px);
  background: #505050;
  border: none;
  border-radius: 10px;
  /* keep existing shape/curvature */
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 12rem;
  overflow: auto;
  z-index: 10;
  color: #fff;
}

.combo-option {
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
}

[aria-selected="true"],
.combo-option:hover {
  background: var(--blue-1);
  color: #fff;
}

/* Reset button */
.btn.reset-btn {
  background: var(--blue-1);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.reset-btn:hover,
.btn.reset-btn:focus {
  background: var(--blue-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-h);
  height: var(--control-h);
  padding: 0;
  color: var(--white);
  cursor: pointer;
}

.icon-btn .icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Feedback */
.feedback {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: normal;
  color: #ffffff;
  /* white text */
}

.feedback .msg {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: #2f2f2f;
  border: 1px solid var(--line-dark);
  color: var(--ink)
}

/* Results bar */
.results-bar {
  width: 75%;
  max-width: 700px;
  margin: 1.5rem auto 0;
  text-align: left;
}

@media (max-width: 768px) {
  .results-bar {
    width: 100%;
    margin: 1rem 0;
  }
}

.sort-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.sort-select {
  /* 25% shorter than the standard control height */
  height: calc(var(--control-h) * 0.75);

  /* No visible border by default */
  border: 2px solid transparent;

  border-radius: var(--radius);
  padding: 0 12px;

  /* New background + text colour */
  background: #484848;
  color: #ffffff;
}

.sort-select:focus {
  /* Teal border when active */
  border-color: var(--blue-1);
  box-shadow: 0 0 0 3px rgba(50, 145, 160, .25);
  outline: none;
}

.result-count {
  color: var(--ink-2);
  margin-left: 2px
}

/* Results grid + cards */
.results-grid {
  display: block;
  margin: 12px 0 var(--gap-xl);
}

@media (min-width: 600px) and (max-width: 899px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 599px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-card)
}

.card h3 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  color: var(--ink-card)
}

.meta {
  font-size: .95rem;
  color: var(--ink-card-2)
}

.meta dt {
  font-weight: 600
}

.meta dd {
  margin: 0 0 8px 0
}

.actions {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  align-items: center
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--blue-1);
  font-weight: 600
}

.icon-link:hover,
.icon-link:focus {
  color: var(--blue-2)
}

.echoes-toggle {
  cursor: pointer;
  user-select: none;
  color: var(--blue-1);
  font-weight: 600
}

.echoes {
  display: none;
  padding-top: 4px
}

.echoes.open {
  display: block
}

.echo-item {
  padding: 8px 10px;
  border-left: 3px solid var(--blue-3);
  background: #f7fbfc;
  margin-bottom: 8px;
  color: var(--ink-card)
}

.echo-time {
  font-weight: 700;
  margin-right: 8px
}

mark {
  background: #fff2a8;
  padding: 0 2px;
  color: inherit
}

/* Shared box behind BOTH podcast + guest dropdowns */
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;

  background: #000000;
  /* match page background / no fill */
  border: 1px solid #484848;
  /* grey outline */
  border-radius: 16px;
  /* slightly curved outline on desktop (same as mobile) */
  padding: 8px 16px;
  /* space between box edge and pills */

  /* shrink pill to content and center it under the search box */
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

/* Row that holds the two dropdown pills */
.filters-row {
  display: flex;
  column-gap: 16px;
  margin-top: -4px;
  /* pull dropdowns up to sit flush under the hint */
}

/* Hint text inside the filters box */
.filters-hint {
  margin: 0;
  /* no extra margin above/below */
  line-height: 1.2;
  /* tighter than body default (1.6) to reduce internal spacing */
  text-align: center;
  color: var(--ink-2);
  /* same grey as "XX episodes(s) found" */
  font-size: 0.85rem;
  /* one step smaller than default body text */
  font-weight: 400;
  /* unbolded */
}

@media (max-width: 600px) {
  .filters {
    border-radius: 16px;
    /* revert to slight curve on mobile */

    /* ✅ make the bordered box a real containing width on mobile */
    width: 100%;
    box-sizing: border-box;
  }

  .filters-row {
    flex-direction: column;
    align-items: center;
    row-gap: 12px;

    /* ✅ allow children to size against a known width */
    width: 100%;
  }

  /* Outer combo container grows to full width */
  .combo {
    width: 100%;
    max-width: 100%;
  }

  /* ✅ pill fits inside the .filters box (no overflow) */
  .combo-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .combo-listbox {
    max-height: 12rem;
    width: 100% !important;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 18px 0;
  background: var(--bg);
  color: var(--ink)
}

/* --- Force Echoes, YouTube, and Audio links to teal --- */
details summary {
  color: #3291a0 !important;
  /* Echoes toggle */
  cursor: pointer;
}

details summary:hover {
  color: #3291a0 !important;
  /* keep teal on hover */
}

.result-card a {
  color: #3291a0 !important;
  /* YouTube and Audio links */
  text-decoration: none;
}

.result-card a:hover {
  color: #3291a0 !important;
  /* keep teal on hover */
  text-decoration: underline;
}

#resultCount {
  margin-top: 0.5rem;
  /* increase if you want more space */
  display: block;
}

.foot-nav {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0
}

.foot-nav a {
  color: var(--ink);
  text-decoration: none
}

.foot-nav a:hover,
.foot-nav a:focus {
  color: var(--blue-1);
  text-shadow: 0 0 6px rgba(50, 145, 160, 0.8);
}

.combo-input::placeholder,
.search-input::placeholder {
  color: #757575;
  /* matches the default main search placeholder */
  opacity: 1;
}

.combo-input {
  color: #fff;
  /* keep selected/typed text readable on dark background */
}

/* Results container */
.results {
  display: flex;
  flex-wrap: wrap;
  /* allow multiple rows if needed */
  justify-content: center;
  /* center cards */
  gap: 1rem;
  /* space between cards */
  margin-top: 1.5rem;
  padding: 0.5rem;
}

/* Compact result cards */
.result-card {
  display: block;
  width: 75%;
  max-width: 700px;
  margin: 1.5rem auto;
  box-sizing: border-box;
  border: 1px solid transparent;
  /* keep layout, but no visible border */
  border-radius: 8px;
  padding: 1rem;
  background-color: #282828;
  color: #fff;
  min-height: auto;
  height: auto;
}

@media (max-width: 768px) {
  .result-card {
    width: 100%;
    margin: 1.5rem 0;
  }
}

.card {
  border: 1px solid transparent;
  /* keep layout, but no visible border */
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 700px;
  background-color: #282828;
  /* card grey */
  color: #fff;
}

@media (max-width: 600px) {

  .card,
  .result-card {
    min-height: auto;
    /* allow auto height on mobile */
  }
}

.result-card:hover {
  border-color: var(--blue-1);
  /* teal outline, matching the main search input */
  box-shadow: 0 0 0 3px rgba(50, 145, 160, .25);
  /* teal glow, same style as the search input focus */
}

.card h3,
.result-card h3 {
  margin-top: 0;
}

.echoes-toggle {
  cursor: pointer;
  font-weight: bold;
  margin-top: 0.5rem;
}

.echoes-list {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.echo-highlight {
  font-weight: bold;
  color: #00bcd4;
  /* highlight color */
}

.result-card h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  color: #fff;
}

.result-card h3 small {
  font-size: 0.85rem;
  color: #aaa;
}

.result-card p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #ccc;
}

.result-card a {
  color: #00aaff;
  text-decoration: none;
  font-size: 0.85rem;
}

.result-card a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Echoes (snippets) */
.result-card details {
  margin-top: 0.4rem;
  text-align: center;
  /* center the Echoes "button" inside the card */
}

.result-card summary {
  cursor: pointer;
  color: #00aaff;
  font-weight: bold;
  font-size: 0.85rem;
  text-align: center;
  display: inline-block;
  /* shrink to content so the border wraps just the text */
  padding: 0.35rem 0.75rem;
  border: 1px solid #008080;
  /* teal border around the Echoes "button" */
  border-radius: 8px;
  /* same curvature as the card */
  list-style: none;
  /* smooth background fade on hover */
  transition: background-color 0.18s ease;
}

/* hide the default disclosure arrow/marker */
.result-card summary::-webkit-details-marker {
  display: none;
}

.result-card summary::marker {
  content: "";
}

.result-card summary:hover {
  /* text and border stay the same; only background changes */
  background-color: #000000;
}

/* per-card echo hint line */
.result-card .echo-inline-hint {
  margin-top: 0.6rem;
  margin-bottom: 0.3rem;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  /* same as echo list items */
  font-style: normal;
  /* explicitly non-italic */
}

/* keep the echoes list itself left-aligned and unchanged */
.result-card ul {
  margin: 0.4rem 0 0 1rem;
  padding: 0;
  list-style-type: disc;
  text-align: left;
}

.result-card li {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  color: #ddd;
}

/* Force the EchoParse blue outline on combo inputs only */
.combo-input {
  border: 2px solid #008080;
  /* teal blue */
  border-radius: 8px;
  /* match your rounded corners */
  outline: none;
  /* remove native input outline */
  padding: 6px 10px;
}

/* Keep outline teal when combo is focused/clicked */
.combo-input:focus {
  border-color: #008080;
  outline: none;
}

/* Style the dropdown container instead of input text box */
.combo-wrap {
  border: 2px solid transparent;
  /* keep layout, but hide the border like the search box */
  border-radius: 999px;
  /* pill-shaped ends */
  padding: 0 12px;
  /* same horizontal padding as the original combo */
  display: inline-flex;
  align-items: center;
  background: #404040;
  /* new dropdown background colour */

  /* NEW: positioning context for the absolute arrow button */
  position: relative;
}

.combo-input {
  border: none;
  /* remove the inner text box border */
  outline: none;
  flex: 1;
  width: 100%;
  /* equal padding so the placeholder centers in the pill,
     with extra space on the right for the arrow */
  padding-left: 32px;
  padding-right: 32px;
  text-align: center;
  /* selected values right-aligned */
}

/* Center the default dropdown label; keep chosen values right aligned */
.combo-input:placeholder-shown {
  text-align: center;
  /* placeholder text centered in the pill */
}

.load-more-btn {
  display: block;
  margin: 20px auto;
  /* center horizontally with spacing */
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1rem;

  background: #000;
  /* black background */
  color: var(--blue-1);
  /* teal text */
  border: 2px solid var(--blue-1);
  /* teal outline like cards */
  border-radius: var(--radius);
  /* same rounded corners */
  box-shadow: var(--shadow);
  /* same shadow as cards */

  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-btn:hover,
.load-more-btn:focus {
  background: var(--blue-1);
  /* teal background on hover */
  color: #fff;
  /* white text when hovered */
  outline: none;
}

.site-footer small,
.site-footer a {
  font-size: 0.85rem;
  /* match the ©2025 echoparse.com size */
  color: var(--ink);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer small,
.site-footer a {
  font-size: 0.85rem;
  /* match ©2025 echoparse.com size */
  color: var(--ink);
  /* default footer text color */
  text-decoration: none;
}

.site-footer a:hover {
  color: #3291a0;
  /* teal on hover */
  text-decoration: none;
  /* no underline */
}

/* === EchoParse loader – horizontal ping/wave echo === */
.ep-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .15s ease;
  pointer-events: none;
  /* don't block clicks */
}

.ep-loader.hidden {
  opacity: 0;
}

.ep-eq {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 24px;
  /* ~logo height; tweak if needed */
}

.ep-eq span {
  width: 4px;
  /* slim bars like the logo */
  height: 10px;
  /* base height; overridden per bar below */
  border-radius: 2px;
  background: #ffffff;
  /* bright white bars */
  display: block;
  transform-origin: center bottom;
  animation: ep-ping 900ms infinite ease-in-out;
}

/* Static bar heights, echoing the EchoParse icon */
.ep-eq span:nth-child(1),
.ep-eq span:nth-child(6) {
  height: 10px;
}

.ep-eq span:nth-child(2),
.ep-eq span:nth-child(5) {
  height: 16px;
}

.ep-eq span:nth-child(3),
.ep-eq span:nth-child(4) {
  height: 24px;
}

/* Staggered delays so the “ping” travels left → right */
.ep-eq span:nth-child(1) {
  animation-delay: 0ms;
}

.ep-eq span:nth-child(2) {
  animation-delay: 90ms;
}

.ep-eq span:nth-child(3) {
  animation-delay: 180ms;
}

.ep-eq span:nth-child(4) {
  animation-delay: 270ms;
}

.ep-eq span:nth-child(5) {
  animation-delay: 360ms;
}

.ep-eq span:nth-child(6) {
  animation-delay: 450ms;
}

/* Ping / wave effect: brighter, punchier echo */
@keyframes ep-ping {

  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(1);
  }

  40% {
    opacity: 1;
    transform: scaleY(1.25);
  }

  60% {
    opacity: 0.8;
    transform: scaleY(1.1);
  }

}

/* Footer: 3-column bar (left label, centered icon, right links) */
.site-footer .footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

/* Keep existing alignment intents explicit */
.site-footer .footer-bar>small {
  justify-self: start;
}

.site-footer .footer-bar>.foot-nav {
  justify-self: end;
}

/* X icon styling */
.site-footer .footer-x {
  justify-self: center;
  line-height: 1;
  color: inherit;
  /* uses footer text color */
  text-decoration: none;
}

.site-footer .footer-x svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.site-footer .footer-x:hover {
  opacity: 0.85;
  /* Teal glow around the X icon */
  filter: drop-shadow(0 0 6px rgba(50, 145, 160, 0.8));
}


