:root{
  --bo-red:#E01B2F;
  --bo-green:#007A6D;
  --bo-red-hover:#B31626;
  --bo-green-hover:#006257;
  --bo-green-soft:#E6F2F0;
}
/* The list of stories you can hear, and the third home button's partner look on this page. */
.listen-intro{
  font-size:1.15rem;
  line-height:1.5;
  max-width:36em;
  margin:0 0 8px;
}
#listen-count{
  color:dimgray;
  margin:0 0 18px;
}
.listen-list{
  list-style:none;
  padding:0;
  margin:0 0 2.5em;
  max-width:42em;
}
.listen-item{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0;
  padding:8px 0;
  border-bottom:1px solid #e6d8c4;
  scroll-margin-top:16px;
}
.listen-play{
  flex:none;
  width:48px;
  height:48px;
  border:2px solid var(--bo-green);
  border-radius:50%;
  background:var(--bo-green);
  color:#fff;
  font:700 18px/1 inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.listen-play:hover,
.listen-play:focus-visible{
  background:var(--bo-green-hover);
  border-color:var(--bo-green-hover);
  color:#fff;
}
.listen-item a{
  font-size:1.2rem;
  line-height:1.4;
  color:var(--bo-green);
  text-decoration:none;
  font-weight:600;
}
.listen-item a:hover,
.listen-item a:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--bo-green-hover);
}
.listen-item.is-playing a{
  color:var(--bo-green-hover);
}
.listen-play:focus-visible,
.listen-item a:focus-visible{
  outline:3px solid var(--bo-green);
  outline-offset:3px;
}
@media(max-width:700px){
  .listen-item a{font-size:1.15rem}
}

.listen-item.now-playing{
  background:var(--bo-green-soft);
  margin:0 -8px;
  padding-left:8px;
  padding-right:8px;
  border-radius:10px;
}
@media(max-width:700px){
  /* Play icons sit to the right of the mid-left Back button */
  .listen-list{padding-left:56px}
}

/* Long titles wrap beside their play button, not under it */
.listen-item a{flex:1 1 0;min-width:0}

/* Beat parchment body-link color so list titles stay logo green */
body.story-parchment .listen-item a:not(.btn){
  color:var(--bo-green);
}
body.story-parchment .listen-item a:not(.btn):hover,
body.story-parchment .listen-item a:not(.btn):focus-visible{
  color:var(--bo-green-hover);
}
body.story-parchment .listen-item.is-playing a:not(.btn),
body.story-parchment .listen-item.now-playing a:not(.btn){
  color:var(--bo-green-hover);
}
