/* AltWire Search summary card. Inherits the theme's fonts and colors. */
.aws-summary {
  /* Always the full row, even when the theme lays results out in a flex or
     grid list or in CSS columns; otherwise the placeholder shrinks to fit
     its skeleton and widens when the text arrives. */
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  column-span: all;
  align-self: stretch;
  float: none;
  clear: both;
  box-sizing: border-box;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 4%, transparent);
  line-height: 1.5;
  overflow: hidden;
}
.aws-summary * { box-sizing: border-box; }
.aws-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 0.6rem;
}
.aws-body { display: flex; gap: 1rem; align-items: flex-start; }
.aws-main { flex: 1 1 auto; min-width: 0; }
.aws-figure {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.aws-figure a, .aws-figure img { display: block; width: 100%; height: 100%; }
.aws-figure img { object-fit: cover; margin: 0; max-width: none; border: 0; color: transparent; font-size: 0; }
/* A missing or slow image shows the grey box, not a broken-image icon or alt text. */
.aws-figure img.aws-img-error { visibility: hidden; }
.aws-answer { margin: 0 0 0.6rem; font-size: 1.02rem; }
.aws-cite { font-size: 0.7em; line-height: 0; vertical-align: super; }
.aws-cite a { text-decoration: none; padding: 0 0.1em; }
.aws-sources { margin: 0 0 0.6rem; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.aws-sources a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.15rem 0.55rem 0.15rem 0.2rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aws-n {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.aws-artist { font-size: 0.85rem; }
.aws-note { margin: 0.7rem 0 0; font-size: 0.72rem; opacity: 0.82; }
.aws-note a { color: inherit; }

/* The card's height is fixed (loading or not) so the results below never
   move; longer summaries get "Show more", and expanding on click doesn't
   count as a layout shift. */
.aws-clamp { position: relative; height: 15rem; }
.aws-has-more::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, transparent, var(--aws-bg, Canvas) 70%);
  pointer-events: none;
}
.aws-summary .aws-more.aws-more.aws-more {  /* beats themes' button:not(:hover):not(:active) rules */
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0.6rem;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  background: var(--aws-bg, Canvas);
  color: inherit;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.3;
  cursor: pointer;
}
.aws-summary .aws-more.aws-more.aws-more:hover { background: color-mix(in srgb, currentColor 8%, var(--aws-bg, Canvas)); }
.aws-ph { flex: 0 0 104px; }
.aws-skeleton span {
  display: block;
  height: 0.75rem;
  margin: 0.25rem 0 0.7rem;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  animation: aws-pulse 1.4s ease-in-out infinite;
}
.aws-skeleton span:nth-child(3) { width: 85%; }
.aws-skeleton span:nth-child(4) { width: 55%; margin-top: 1.1rem; }
.aws-skeleton span:nth-child(5) { width: 70%; }
.aws-in .aws-body, .aws-in .aws-note { animation: aws-fade 0.25s ease-out; }
.aws-collapse { transition: height 0.25s ease, margin 0.25s ease, padding 0.25s ease, opacity 0.2s ease; margin: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-width: 0; }
@keyframes aws-pulse { 50% { opacity: 0.45; } }
@keyframes aws-fade { from { opacity: 0; } }
@media (max-width: 600px) {
  .aws-summary { padding: 0.9rem 1rem; }
  .aws-clamp { height: 19rem; }
  .aws-body { display: block; }
  .aws-figure, .aws-ph { float: left; width: 64px; height: 64px; margin: 0.2rem 0.75rem 0.3rem 0; }
  .aws-sources a { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .aws-skeleton span, .aws-in .aws-body, .aws-in .aws-note { animation: none; }
  .aws-collapse { transition: none; }
}
.aws-top { margin: 0 0 0 1.2rem; padding: 0; font-size: 0.95rem; }
.aws-top li { margin: 0.3rem 0; }
.aws-date { font-size: 0.78rem; opacity: 0.6; margin-left: 0.3rem; }

/* ------------------------------------------------------------------
   AltWire Search results page (templates/search.php)
   ------------------------------------------------------------------ */
.aws-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 16px 3rem;
}
.aws-page *, .aws-page *::before, .aws-page *::after { box-sizing: border-box; }
.aws-form { display: flex; gap: 0.5rem; max-width: 680px; margin: 0 0 0.6rem; }
.aws-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.9rem;
  padding: 0 1.1rem;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  background: transparent;
  color: inherit;
}
.aws-form button {
  height: 2.9rem;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: currentColor;
}
.aws-form button { color: Canvas; background: CanvasText; }
.aws-count { margin: 0 0 1.4rem 1.1rem; font-size: 0.85rem; opacity: 0.65; }
.aws-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}
.aws-primary { min-width: 0; }
.aws-primary .aws-summary { margin-top: 0; }
.aws-clamp.aws-clamp-page { height: 12.5rem; } /* only while clamped: "Show more" removes .aws-clamp */

.aws-results { list-style: none; margin: 0; padding: 0; }
.aws-result {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.aws-result:first-child { border-top: 0; padding-top: 0.2rem; }
.aws-thumb {
  display: block;
  width: 168px;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 7%, transparent);
}
.aws-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.aws-meta { margin: 0 0 0.25rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.65; }
.aws-title { margin: 0 0 0.35rem; font-size: 1.25rem; line-height: 1.25; }
.aws-title a { text-decoration: none; }
.aws-title a:hover { text-decoration: underline; }
.aws-excerpt { margin: 0; font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }
.aws-pages { margin: 1.5rem 0 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.aws-pages .page-numbers {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  text-decoration: none;
}
.aws-pages .current { font-weight: 700; background: color-mix(in srgb, currentColor 8%, transparent); }
.aws-empty { font-size: 1.05rem; }

/* Artist panel */
.aws-side { min-width: 0; position: sticky; top: 1.5rem; }
.aws-panel {
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.45;
}
.aws-panel > :not(.aws-panel-img) { margin-left: 1rem; margin-right: 1rem; }
.aws-panel-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.aws-panel-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; color: transparent; font-size: 0; }
/* Artist photos are mostly portrait: crop from near the top so the face stays in frame, not the middle of the figure. */
.aws-panel-img img, .aws-figure img { object-position: 50% 12%; }
.aws-panel-img img.aws-img-error { visibility: hidden; }
.aws-panel-name { margin: 0.85rem 1rem 0.1rem; font-size: 1.35rem; line-height: 1.2; }
.aws-panel-sub { margin-top: 0; margin-bottom: 0.7rem; opacity: 0.65; }
.aws-facts { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.3rem 0.8rem; margin-top: 0; margin-bottom: 0.8rem; }
.aws-facts dt { font-weight: 600; margin: 0; }
.aws-facts dd { margin: 0; }
.aws-panel-links { margin-top: 0; margin-bottom: 0.8rem; }
.aws-panel .aws-note { margin-top: 0; margin-bottom: 0.9rem; }
.aws-panel-loading .aws-skeleton { padding: 0.9rem 0 0.4rem; }

@media (max-width: 860px) {
  .aws-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .aws-side { position: static; }
  .aws-panel { max-width: 420px; }
  .aws-panel-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .aws-page { padding-top: 1.25rem; }
  .aws-clamp.aws-clamp-page { height: 16rem; }
  .aws-result { grid-template-columns: 96px minmax(0, 1fr); gap: 0.85rem; }
  .aws-thumb { width: 96px; aspect-ratio: 1; }
  .aws-title { font-size: 1.05rem; }
  .aws-excerpt { display: none; }
}

/* Gear: product panel, top-rated list, where to buy */
.aws-product { padding: 0.2rem 0 0.4rem; }
/* The panel already indents its children; don't indent the product's twice. */
.aws-panel .aws-product > * { margin-left: 0; margin-right: 0; }
.aws-product-type { margin-top: 0.9rem; margin-bottom: 0; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; }
.aws-score { display: flex; align-items: baseline; gap: 0.2rem; margin: 0.3rem 1rem 0.6rem; }
.aws-score-num { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.aws-score-of { font-size: 1rem; opacity: 0.6; }
.aws-score-label { margin-left: 0.6rem; font-size: 0.78rem; opacity: 0.65; }
.aws-bars { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.35rem 0.6rem; align-items: center; margin-top: 0; margin-bottom: 0.8rem; font-size: 0.85rem; }
.aws-bars dt { margin: 0; }
.aws-bars dd { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.aws-bar { flex: 1 1 auto; height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 12%, transparent); overflow: hidden; }
.aws-bar span { display: block; height: 100%; background: currentColor; opacity: 0.75; border-radius: 3px; }
.aws-bar-num { width: 1.4rem; text-align: right; font-variant-numeric: tabular-nums; }
.aws-pros, .aws-cons { margin: 0 1rem 0.6rem; font-size: 0.85rem; }
.aws-pros ul, .aws-cons ul { margin: 0.2rem 0 0 1.1rem; padding: 0; }
.aws-pros li, .aws-cons li { margin: 0.15rem 0; }
.aws-buy { margin: 0.4rem 1rem 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.aws-buy-label { width: 100%; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.aws-panel .aws-buy a, .aws-summary .aws-buy a, .aws-artist-box .aws-buy a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.aws-buy a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.aws-disclosure { width: 100%; margin: 0.2rem 0 0; font-size: 0.7rem; opacity: 0.6; }
.aws-summary .aws-buy { margin: 0.5rem 0 0; }
.aws-guide { margin: 0.4rem 0 0.7rem; padding: 0; list-style: none; counter-reset: aws-g; font-size: 0.9rem; }
.aws-guide li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr) auto; gap: 0.5rem; align-items: baseline; margin: 0.4rem 0; counter-increment: aws-g; }
.aws-guide li::before { content: counter(aws-g) "."; opacity: 0.6; }
.aws-guide-score { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Albums and shows (search panel and artist box) */
.aws-panel-extra > * { margin: 0 1rem 0.9rem; }
.aws-albums ul, .aws-shows ul { list-style: none; margin: 0.3rem 0 0.4rem; padding: 0; font-size: 0.88rem; }
.aws-albums li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 0.6rem; margin: 0.35rem 0; }
.aws-buy-inline { display: inline-flex; gap: 0.3rem; margin: 0; }
.aws-buy-inline a { padding: 0.15rem 0.6rem !important; font-size: 0.78rem !important; }
.aws-shows li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 0.5rem; align-items: baseline; margin: 0.35rem 0; }
.aws-show-date { font-weight: 700; font-variant-numeric: tabular-nums; }
.aws-show-where { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aws-tickets {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

/* Artist box at the end of articles and on tag pages */
.aws-artist-box {
  box-sizing: border-box;
  display: block;
  width: 100%;
  clear: both;
  margin: 2.5rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 3%, transparent);
  font-size: 0.95rem;
  line-height: 1.5;
}
.aws-artist-box * { box-sizing: border-box; }
.aws-artist-box.aws-box-pending { height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; visibility: hidden; } /* zero-height targets never count as visible to IntersectionObserver */
.aws-box-head { display: flex; gap: 1rem; align-items: flex-start; }
.aws-box-name { margin: 0 0 0.1rem; font-size: 1.4rem; line-height: 1.2; }
.aws-artist-box .aws-panel-sub { margin: 0 0 0.25rem; }
.aws-box-facts { margin: 0; font-size: 0.85rem; opacity: 0.8; }
.aws-box-facts a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.aws-box-facts a:hover { opacity: 1; text-decoration-thickness: 2px; }
.aws-box-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.5rem 2rem; margin-top: 1rem; }
.aws-coverage { margin: 0.3rem 0 0; padding: 0 0 0 1.1rem; font-size: 0.9rem; }
.aws-coverage li { margin: 0.3rem 0; }
.aws-artist-box .aws-note { margin-top: 0.8rem; }
.aws-artist-box .aws-shows .aws-note { margin-top: 0.2rem; }
.aws-in.aws-artist-box > * { animation: aws-fade 0.25s ease-out; }
@media (max-width: 600px) {
  .aws-box-head .aws-figure { width: 72px; height: 72px; flex-basis: 72px; }
}

.aws-shows + .aws-albums { margin-top: 1rem; }
.aws-albums .aws-disclosure { margin-top: 0.3rem; }

/* ---------------------------------------------------------------- What's Hot */
/* Headings use the theme's own heading styles (h2/h3), so the list matches the site;
   only size and spacing are set here. Override the badge colour with --aws-accent. */
.aws-popular { margin: 0 0 1.75rem; }
.aws-popular .aws-popular-title { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; }
.aws-popular .aws-popular-list { list-style: none; margin: 0; padding: 0; }
.aws-popular .aws-popular-item { margin: 0; padding: 0.7rem 0; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.aws-popular .aws-popular-item:first-child { border-top: 0; padding-top: 0.2rem; }
.aws-popular .aws-popular-link { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0.75rem; align-items: start; color: inherit; text-decoration: none; }
.aws-popular .aws-popular-thumb { display: block; width: 88px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: color-mix(in srgb, currentColor 8%, transparent); }
.aws-popular .aws-popular-img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.aws-popular .aws-popular-name { margin: 0 0 0.25rem; font-size: 1rem; line-height: 1.2; }
.aws-popular .aws-popular-link:hover .aws-popular-name,
.aws-popular .aws-popular-link:focus-visible .aws-popular-name { text-decoration: underline; text-underline-offset: 2px; }
.aws-popular .aws-popular-meta { display: block; font-size: 0.75rem; line-height: 1.3; opacity: 0.65; }
.aws-popular .aws-trending.aws-trending-archive { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px var(--aws-accent, #f4c20d); }
.aws-popular .aws-trending { display: inline-block; margin: 0 0 0.3rem; padding: 0.12rem 0.4rem; border-radius: 3px; background: var(--aws-accent, #f4c20d); color: #111; font-size: 0.66rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; }

/* AltWire Top 10: site-wide, numbered; a 5-across strip where there's room (sized by the
   space it's placed in, not the screen), a list otherwise. */
.aws-popular-top10 { container-type: inline-size; }
.aws-popular-top10 .aws-popular-title { font-size: 1.4rem; }
.aws-popular-top10 .aws-popular-link { grid-template-columns: 2rem 88px minmax(0, 1fr); }
.aws-popular-top10 .aws-popular-rank { font-family: inherit; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--aws-accent, #f4c20d); -webkit-text-stroke: 1px #111; paint-order: stroke fill; text-align: center; }
@container (min-width: 760px) {
  .aws-popular-top10 .aws-popular-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .aws-popular-top10 .aws-popular-item,
  .aws-popular-top10 .aws-popular-item:first-child { padding: 0; border-top: 0; }
  .aws-popular-top10 .aws-popular-link { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; position: relative; }
  .aws-popular-top10 .aws-popular-thumb { width: 100%; aspect-ratio: 16 / 10; }
  .aws-popular-top10 .aws-popular-rank { position: absolute; top: 0.35rem; left: 0.35rem; z-index: 1; min-width: 2rem; padding: 0.15rem 0.3rem; border-radius: 3px; background: #111; -webkit-text-stroke: 0; font-size: 1.1rem; }
}

/* Archive row: phones only (the sidebar widget covers larger screens). */
.aws-popular-row { display: none; }
@media (max-width: 768px) {
  .aws-popular-row { display: block; margin: 2rem 0; }
  .aws-popular-row .aws-popular-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .aws-popular-row .aws-popular-item { padding: 0; border-top: 0; }
  .aws-popular-row .aws-popular-link { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
  .aws-popular-row .aws-popular-thumb { width: 100%; aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------- Related reading */
/* After articles: four related stories. Headings use the theme's own styles. */
.aws-related { margin: 2.5rem 0 1rem; }
.aws-related .aws-related-title { margin: 0 0 0.9rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }
.aws-related .aws-related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
@media (min-width: 700px) { .aws-related .aws-related-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aws-related .aws-related-item { margin: 0; padding: 0; }
.aws-related .aws-related-link { display: block; color: inherit; text-decoration: none; }
.aws-related .aws-related-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: color-mix(in srgb, currentColor 8%, transparent); margin-bottom: 0.5rem; }
.aws-related .aws-popular-img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.aws-related .aws-related-kicker { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.2rem; }
.aws-related .aws-related-name { display: block; font-weight: 600; line-height: 1.25; }
.aws-related .aws-related-link:hover .aws-related-name, .aws-related .aws-related-link:focus-visible .aws-related-name { text-decoration: underline; text-underline-offset: 2px; }
.aws-related .aws-related-date { display: block; font-size: 0.75rem; opacity: 0.65; margin-top: 0.2rem; }

/* ------------------------------------------------------- Search suggestions */
.aws-suggest-host { position: relative; }
.aws-suggest { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; right: 0; min-width: min(360px, 92vw); max-height: 70vh; overflow-y: auto; background: #fff; color: #191919; border: 1px solid #d9d9e0; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16); padding: 0.3rem; }
.aws-suggest[hidden] { display: none; }
.aws-suggest-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.6rem; align-items: center; padding: 0.45rem 0.5rem; border-radius: 4px; color: inherit; text-decoration: none; }
.aws-suggest-item:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.aws-suggest-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; margin: 0; }
.aws-suggest-item[aria-selected="true"], .aws-suggest-item:hover { background: #f1eef7; }
.aws-suggest-title { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.25; }
.aws-suggest-meta { display: block; font-size: 0.72rem; opacity: 0.65; margin-top: 0.1rem; }
.aws-suggest-all { display: block; width: 100%; margin-top: 0.2rem; padding: 0.55rem 0.5rem; border: 0; border-top: 1px solid #ececf1; border-radius: 0 0 4px 4px; background: none; color: #311451; font: inherit; font-size: 0.85rem; font-weight: 700; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.aws-suggest-all[aria-selected="true"], .aws-suggest-all:hover { background: #f1eef7; color: #311451; }

/* ------------------------------------------------------------ Review scores */
/* Stars: a grey row of five with a gold row clipped to the score (--aws-stars, %). */
.aws-stars { position: relative; display: inline-block; font-size: 1.15em; line-height: 1; letter-spacing: 0.08em; vertical-align: -0.1em; color: color-mix(in srgb, currentColor 22%, transparent); }
.aws-stars::before { content: "★★★★★"; }
.aws-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--aws-stars, 0%); overflow: hidden; white-space: nowrap; color: var(--aws-accent, #dbaf02); }
.aws-score { margin: 2.25rem 0; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-top: 4px solid var(--aws-accent, #dbaf02); border-radius: 6px; padding: 1.1rem 1.25rem 1.2rem; font-size: 0.95rem; line-height: 1.5; }
.aws-score p { margin: 0; }
.aws-score-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem; align-items: center; }
.aws-score-label { grid-column: 1 / -1; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.aws-score-product { font-size: 1.15rem; font-weight: 700; }
.aws-score-value { display: flex; align-items: center; gap: 0.55rem; }
.aws-score-value .aws-stars { font-size: 1.5rem; }
.aws-score-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.aws-score-num span { font-size: 0.9rem; font-weight: 600; opacity: 0.6; }
.aws-score-lists { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
@media (min-width: 600px) { .aws-score-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aws-score-list-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem !important; }
.aws-score-list ul { margin: 0; padding: 0; list-style: none; }
.aws-score-list li { position: relative; padding-left: 1.3em; margin: 0.2rem 0; }
.aws-pros li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: #1e7a3c; }
.aws-cons li::before { content: "−"; position: absolute; left: 0; font-weight: 800; color: #b3261e; }

/* Article page: "Trending" / "Trending from the archive" and why (themes without their own placement). */
.aws-trending-note { margin: 0 0 1.2em; font-size: 0.9em; line-height: 1.45; }
.aws-trending-note .aws-trending { display: inline-block; margin-right: 0.4em; padding: 0.12rem 0.4rem; border-radius: 3px; background: var(--aws-accent, #f4c20d); color: #111; font-size: 0.72em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.1em; }
.aws-trending-note .aws-trending-archive { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px var(--aws-accent, #f4c20d); }
.aws-trending-why { opacity: 0.85; }

/* Listen: one Play button in the chosen service's colours (per each
   service's brand rules), which becomes that service's player when pressed;
   "Play on" switches service, "Also on" links to services without a player. */
.aws-listen { margin: 0 0 1rem; }
.aws-play { display: flex; align-items: center; gap: 0.75rem; margin: 0.4rem 0 0; padding: 0.65rem 0.8rem; border-radius: 12px; background: #121212; color: #fff !important; text-decoration: none !important; line-height: 1.25; --aws-play-dot: #1ed760; --aws-play-arrow: #000; }
.aws-play:hover, .aws-play:focus-visible { filter: brightness(1.15); }
.aws-play-apple-music { background: linear-gradient(135deg, #fa233b, #fb5c74); --aws-play-dot: #fff; --aws-play-arrow: #fa233b; }
.aws-play-youtube { background: #0f0f0f; --aws-play-dot: #ff0033; --aws-play-arrow: #fff; }
.aws-play-deezer { background: #191414; --aws-play-dot: #a238ff; --aws-play-arrow: #fff; }
.aws-play-soundcloud { background: #ff5500; --aws-play-dot: #fff; --aws-play-arrow: #ff5500; }
.aws-play-icon { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--aws-play-dot); }
.aws-play-icon::after { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--aws-play-arrow); }
.aws-play-text { display: flex; flex-direction: column; font-weight: 700; font-size: 0.95rem; }
.aws-play-text small { font-weight: 400; font-size: 0.78rem; opacity: 0.8; }
.aws-listen-frame { display: block; width: 100%; margin: 0.4rem 0 0; border: 0; border-radius: 12px; }
.aws-listen-frame.is-video { aspect-ratio: 16 / 9; height: auto; }
.aws-listen-more { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.5rem 0 0; font-size: 0.85rem; }
.aws-listen-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.aws-play-alt { padding: 0.12rem 0.55rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; text-decoration: none !important; font-size: 0.8rem; }
.aws-play-alt:hover { border-color: currentColor; }
.aws-play-alt.is-current { background: color-mix(in srgb, currentColor 12%, transparent); font-weight: 600; }

/* Photos in search results: one scrolling row above the articles. */
.aws-photos { margin: 0 0 1.6rem; }
.aws-photos-title { margin: 0 0 0.6rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.aw-archive-head .aws-photos { margin: 1.5rem 0 0.25rem; } /* artist pages: clear of the Follow button above */
.aws-photo-row { display: flex; gap: 0.75rem; margin: 0; padding: 0 0 0.5rem; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
/* Fade the right edge so a cut-off photo reads as "more this way". */
.aws-photo-row { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 40px; }
.aws-photo-row li { flex: 0 0 auto; scroll-snap-align: start; }
.aws-photo { display: grid; gap: 0.35rem; width: 190px; text-decoration: none; color: inherit; }
.aws-photo img { display: block; width: 190px; height: 127px; max-width: none; margin: 0; object-fit: cover; border-radius: 8px; background: color-mix(in srgb, currentColor 7%, transparent); }
.aws-photo-story { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.82rem; line-height: 1.3; opacity: 0.8; }
.aws-photo:hover .aws-photo-story, .aws-photo:focus-visible .aws-photo-story { text-decoration: underline; opacity: 1; }
.aws-photo:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 8px; }
@media (max-width: 600px) { .aws-photo, .aws-photo img { width: 150px; } .aws-photo img { height: 100px; } }

/* Filters above the results: All, Reviews, genres, gear types. */
.aws-facets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.25rem; }
.aws-facets a { padding: 0.3rem 0.75rem; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; font-size: 0.85rem; line-height: 1.2; color: inherit; text-decoration: none; }
.aws-facets a:hover { border-color: currentColor; }
.aws-facets a[aria-current] { background: var(--aws-accent, #f4c20d); border-color: var(--aws-accent, #f4c20d); color: #111; font-weight: 700; }
.aws-facet-n { opacity: 0.65; font-size: 0.78rem; }
/* Videos in search and on artist pages: each opens at the moment it matched. */
.aws-videos { margin: 0 0 1.6rem; }
.aw-archive-head .aws-videos { margin: 1.25rem 0 0.25rem; }
.aws-video-row { display: flex; gap: 0.9rem; margin: 0; padding: 0 40px 0.5rem 0; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.aws-video-row li { flex: 0 0 auto; scroll-snap-align: start; }
.aws-video { display: grid; gap: 0.35rem; align-content: start; width: 240px; text-decoration: none; color: inherit; }
.aws-video-thumb { position: relative; display: block; width: 240px; height: 135px; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, currentColor 7%, transparent); }
.aws-video-thumb img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.aws-video-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--aw-purple, #311451); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.aws-video-play::after { content: ""; position: absolute; left: 18px; top: 13px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.aws-video:hover .aws-video-play, .aws-video:focus-visible .aws-video-play { background: var(--aw-gold, #dbaf02); }
.aws-video-at { position: absolute; right: 6px; bottom: 6px; padding: 0.1rem 0.45rem; border-radius: 4px; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 0.75rem; font-weight: 600; }
.aws-video-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.aws-video-quote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8rem; line-height: 1.35; font-style: italic; opacity: 0.82; }
.aws-video-src { font-size: 0.75rem; opacity: 0.82; }
.aws-video:hover .aws-video-title, .aws-video:focus-visible .aws-video-title { text-decoration: underline; }
.aws-box-videos { margin-bottom: 1rem; }
.aws-episode { align-content: start; }
.aws-video-link { display: grid; gap: 0.35rem; text-decoration: none; color: inherit; }
.aws-video-link:hover .aws-video-title, .aws-video-link:focus-visible .aws-video-title { text-decoration: underline; }
.aws-episode .aws-video-thumb img { object-fit: contain; background: #111; }
.aws-listen-from summary { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--aw-purple, #311451); color: #fff; font-size: 0.82rem; font-weight: 600; cursor: pointer; list-style: none; }
.aws-listen-from summary::-webkit-details-marker { display: none; }
.aws-listen-from[open] summary { display: none; }
.aws-listen-from audio { width: 240px; max-width: 100%; }
/* Podcast transcripts on episode pages */
.aws-transcript { margin: 2rem 0; }
.aws-transcript summary { cursor: pointer; font: 600 1.1rem/1.3 var(--aw-head, inherit); text-transform: uppercase; letter-spacing: 0.03em; }
.aws-tr-body { max-height: 70vh; overflow-y: auto; margin-top: 0.75rem; padding-right: 0.5rem; }
.aws-tr-body p { margin: 0 0 0.85rem; line-height: 1.55; }
.aws-tr-who { margin-right: 0.25rem; }
.aws-ts { padding: 0.05rem 0.4rem; margin-right: 0.35rem; border: 0; border-radius: 4px; background: color-mix(in srgb, var(--aw-purple, #311451) 12%, transparent); color: var(--aw-purple-ink, #311451); font: 600 0.8rem/1.4 var(--aw-ui, sans-serif); cursor: pointer; font-variant-numeric: tabular-nums; }
.aws-ts:hover, .aws-ts:focus-visible { background: var(--aw-purple, #311451); color: #fff; }
[data-theme="dark"] .aws-ts { color: #d9c8f0; }
.aws-starts-at { margin: 0.4rem 0 0; font-size: 0.85rem; font-weight: 600; }
/* Castos transcript blocks keep working without SSP's stylesheet */
.ssp-transcript input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.ssp-transcript .tab-label { display: block; cursor: pointer; font: 600 1.1rem/1.3 var(--aw-head, inherit); text-transform: uppercase; letter-spacing: 0.03em; }
.ssp-transcript .tab-label::before { content: "▸ "; }
.ssp-transcript input:checked + .tab-label::before { content: "▾ "; }
.ssp-transcript .tab-content { display: none; max-height: 70vh; overflow-y: auto; margin-top: 0.75rem; line-height: 1.55; }
.ssp-transcript input:checked ~ .tab-content { display: block; }
.awp-subscribe { margin: 0.5rem 0 1.25rem; font-size: 0.9rem; }
/* A long source title ends in "…" instead of running off the card. */
.aws-src-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aws-photo-rights { margin-top: 0.35rem; }

/* ------------------------------------------------------------ Best-of guides ([altwire_best], [altwire_best_guides]) */
.aws-best { margin: 1.5rem 0 2rem; }
.aws-best-updated { font-size: 0.85rem; opacity: 0.75; margin: 0 0 1rem; }
.aws-best-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.aws-best-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; margin: 0 0 1.25rem; padding: 1.1rem; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: 8px; }
@media (min-width: 640px) { .aws-best-item { grid-template-columns: 220px minmax(0, 1fr); } .aws-best-item:not(:has(.aws-best-img)) { grid-template-columns: minmax(0, 1fr); } }
.aws-best-rank { position: absolute; top: -0.6rem; left: -0.6rem; z-index: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--aws-accent, #dbaf02); color: #111; font-weight: 800; font-size: 1rem; }
.aws-best-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.aws-best-body > * { margin: 0 0 0.5rem; }
.aws-best-name { font-size: 1.25rem; line-height: 1.25; }
.aws-best-name a { color: inherit; text-decoration: none; }
.aws-best-name a:hover { text-decoration: underline; }
.aws-best-score { display: flex; align-items: center; gap: 0.5rem; }
.aws-best-num { font-weight: 700; }
.aws-best-intro { font-size: 0.95rem; line-height: 1.5; }
.aws-best-pros { padding: 0; list-style: none; font-size: 0.92rem; }
.aws-best-pros li { position: relative; padding-left: 1.3em; margin: 0.2rem 0; }
.aws-best-pros li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: #1e7a3c; }
.aws-best-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem !important; }
.aws-best-actions a { display: inline-block; padding: 0.55rem 0.95rem; border-radius: 6px; font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.aws-best-read { box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.aws-best-buy { background: var(--aws-accent, #dbaf02); color: #111 !important; }
.aws-best-buy:hover, .aws-best-read:hover { filter: brightness(1.08); }
.aws-best-disclosure { font-size: 0.8rem; opacity: 0.7; }
.aws-best-note { padding: 0.75rem 1rem; border-left: 4px solid #996800; background: color-mix(in srgb, #dbaf02 12%, transparent); font-size: 0.9rem; }
.aws-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.aws-guide-card a { display: flex; flex-direction: column; gap: 0.4rem; height: 100%; color: inherit; text-decoration: none; }
.aws-guide-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.aws-guide-title { font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.aws-guide-card a:hover .aws-guide-title { text-decoration: underline; }
.aws-guide-top { font-size: 0.88rem; opacity: 0.8; }
