/* NLH v13: compact audio showcase. Scoped to the listening section. */
#listen.audio-showcase {
  padding-block: clamp(36px, 5vw, 64px);
  min-height: 0;
}

#listen .audio-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 152px;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 980px;
  min-height: 0;
  margin: 0 auto 24px;
}

#listen .audio-showcase-intro > div { min-width: 0; }
#listen .kicker { margin: 0; font-size: 12px; line-height: 1.5; }
#listen h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 10px 0 12px;
  max-width: none;
}
#listen .showcase-copy {
  max-width: 48ch;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}
#listen .quiet-link { font-size: 14px; line-height: 1.6; }

/* Explicit height overrides the image's old height="900" attribute. */
#listen .showcase-poster {
  position: relative;
  inset: auto;
  width: 152px;
  min-width: 0;
  max-width: 152px;
  height: auto;
  min-height: 0;
  margin: 0;
  align-self: center;
  justify-self: end;
}
#listen .showcase-poster::after { display: none; }
#listen .showcase-poster img {
  display: block;
  width: 152px;
  max-width: 100%;
  height: 114px;
  min-height: 0;
  max-height: 114px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(215, 202, 178, .2);
}
#listen .showcase-poster figcaption {
  position: static;
  inset: auto;
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: #c7bda9;
  text-shadow: none;
}

#listen .audio-tracks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}
#listen .audio-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(240px, .9fr);
  grid-template-rows: repeat(4, auto);
  column-gap: 20px;
  row-gap: 3px;
  align-items: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(215, 202, 178, .22);
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s ease;
}
#listen .audio-card:hover { transform: none; }
#listen .audio-card > * { min-width: 0; }

/* Both a real cover and the star fallback stay exactly thumbnail-sized. */
#listen .audio-card .audio-art {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: start;
  position: relative;
  inset: auto;
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 202, 178, .16);
}
#listen .audio-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
}
#listen .audio-art-placeholder::after { font-size: 28px; }
#listen .audio-art-placeholder span { top: 7px; left: 8px; font-size: 12px; }
#listen .audio-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
#listen .audio-card > p:not(.audio-role):not(.audio-credit):not([role="status"]) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#listen .audio-card .audio-role {
  grid-column: 2;
  grid-row: 3;
  margin: 0 !important;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#listen .audio-card .audio-credit {
  grid-column: 2;
  grid-row: 4;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#listen .audio-card audio {
  grid-column: 3;
  grid-row: 1 / 5;
  align-self: center;
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  color-scheme: dark;
}
#listen .audio-card [role="status"] {
  grid-column: 2 / -1;
  grid-row: 5;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e2b59e;
}
#listen .audio-card [role="status"]:empty { display: none; }

@media (max-width: 760px) {
  #listen .audio-showcase-intro { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; }
  #listen .showcase-poster { width: 104px; max-width: 104px; }
  #listen .showcase-poster img { width: 104px; height: 78px; max-height: 78px; }
  #listen .audio-card { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  #listen .audio-card .audio-art { width: 64px; min-width: 64px; max-width: 64px; height: 64px; min-height: 64px; max-height: 64px; }
  #listen .audio-card h3 { font-size: 24px; }
  #listen .audio-art-placeholder::after { font-size: 24px; }
  #listen .audio-card audio { grid-column: 1 / -1; grid-row: 5; margin-top: 12px; }
  #listen .audio-card [role="status"] { grid-column: 1 / -1; grid-row: 6; }
}

@media (max-width: 480px) {
  #listen .audio-showcase-intro { grid-template-columns: minmax(0, 1fr) 88px; align-items: start; }
  #listen .showcase-poster { width: 88px; max-width: 88px; align-self: start; }
  #listen .showcase-poster img { width: 88px; height: 66px; max-height: 66px; }
  #listen .showcase-poster figcaption { display: none; }
}
