/* Archive additions: search + post lists. The audio player uses the vendored
   AudioIgniter CSS (ai-* classes), so no custom player styles live here. */
:root { --accent: #0000ff; }

/* The player wrapper is built by JS; give it a sensible cursor + clickable bits. */
.ai-audio-control, .ai-btn, .ai-track-control, .ai-track-progress-bar { cursor: pointer; }
/* Enlarge the thin (5px) seek bar's grab area without changing its look, and keep
   drag scrubbing smooth (don't let the browser hijack the gesture as a scroll). */
.ai-wrap .ai-track-progress-bar { position: relative; touch-action: none; }
.ai-wrap .ai-track-progress-bar::after {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px;
}

/* Search. Results reuse the vendored Twenty Fifteen markup/classes (.hentry,
   .entry-*, .page-header, .page-content, .taxonomy-description), so they match
   the live listing pages and inherit the theme's responsive content alignment.
   The query is initiated from the sidebar search widget (no on-page input). */
/* margin-bottom:0 so the paragraph's default bottom margin doesn't stack on the
   page-header's padding-bottom (which made the bottom padding look doubled). */
.aiq-count { color: #777; margin-bottom: 0; } /* result count, shown as the .taxonomy-description in the page-header */
.aiq-none { color: #777; }             /* empty state, wrapped in .page-content for alignment */

/* The theme creates the gap below the page-header via `.page-header + .hentry`,
   but our results are nested in #aiq-results so that adjacency never matches.
   Re-add the same responsive top margin to the first result / empty state
   (subsequent results already get it via `.hentry + .hentry`). */
@media screen and (min-width: 38.75em) {
  #aiq-results > article:first-child,
  #aiq-results > .page-content { margin-top: 7.6923%; }
}
@media screen and (min-width: 59.6875em) {
  #aiq-results > article:first-child,
  #aiq-results > .page-content { margin-top: 8.3333%; }
}

/* Archive header post-count line. */
.aiq-list-meta { color: #999; font-size: 0.82em; }
