html {
  height: 100%;
}

body {
  font-family: Ubuntu, roboto, noto, segoe ui, futura, arial, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, sans-serif;
  background-color: #fff;
  color: #252530;
  margin: 0 auto;
}
@media (max-width: 586px) {
  body {
    font-size: 22px;
    max-width: 95%;
    overflow-x: hidden;
    hyphens: auto;
    word-break: break-word;
  }
}
@media (min-width: 586px) {
  body {
    font-size: 30px;
  }
  body > * {
    width: 40rem;
    max-width: 100%;
  }
}

a:link {
  color: #252530;
}
a:visited {
  color: #282525;
}

footer {
  padding: 1em;
  margin-bottom: 2rem;
  text-align: center;
}
footer div {
  margin-bottom: 0.7em;
}
footer .built-with {
  color: #aaa;
  font-size: 0.7em;
}
footer .built-with a {
  color: #aaa;
}

ul {
  list-style-type: none;
  margin-left: 0;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1em;
}
header h1 {
  font-size: 4rem;
  flex-grow: 0;
  margin: 0;
}
@media (max-width: 586px) {
  header h1 a, header h1 a:visited {
    font-size: 12vw;
  }
}

dt {
  font-size: 1.5rem;
}

dd {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  margin-left: 0;
}

audio.bonus {
  margin-bottom: 0;
  width: 50%;
}

#main-header {
  text-align: center;
  width: 100%;
}

@media (max-width: 586px) {
  #episodes-heading {
    font-size: 6vw;
  }
}

#pagination a[aria-current] {
  background-color: #ddd;
  text-decoration: none;
}

#prev-next {
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
#prev-next .prev-next-season {
  font-size: 0.5em;
}
#prev-next .prev-next-title {
  font-size: 0.6em;
}
#prev-next .prev-next-summary {
  font-size: 0.5em;
}
#prev-next .prev-next-section {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
#prev-next img {
  width: 80px;
}
#prev-next #previous {
  flex-direction: column;
  text-align: right;
}
#prev-next #middle {
  flex-grow: 1;
}
#prev-next #next {
  flex-direction: column;
  text-align: left;
}

.centered-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-stamp {
  margin-top: 1em;
  font-size: 0.6em;
  text-align: right;
}

.entry-meta {
  color: hsl(41, 10%, 20%);
}

.episode-player {
  margin-bottom: 1em;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.episode-player.index-episode-player {
  width: 100%;
  margin: 10px 0 0 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.episode-title {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.finding-links {
  font-size: 0.8em;
  margin-top: 0.5em;
}

.host-name {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.host-name .social-links a {
  font-size: 0.6em;
}

.listening-directions {
  padding: 0.5em;
  border-radius: 0.25em;
  border: hsla(210, 80%, 66%, 0.8) 4px solid;
  background: hsla(210, 80%, 66%, 0.1);
}
.listening-directions p {
  margin: 0.25em;
}
.listening-directions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.listening-directions li {
  display: inline;
  font-size: 0.8em;
}
.listening-directions span.dot {
  padding: 0 2px;
}

.media-list {
  padding: 0;
  margin: 0;
}
.media-list .pane {
  margin-bottom: 1em;
  padding: 1em;
  display: flex;
  flex-direction: column;
  border-radius: 0.25em;
  border: hsla(210, 0%, 66%, 0.8) 4px solid;
  width: 100%;
}
.media-list .pane h4:first-child {
  margin-top: 0;
}
.media-list li {
  margin-bottom: 1em;
}
.media-list h3 {
  font-weight: 200;
}
.media-list h4 {
  font-weight: 200;
  margin-bottom: 0.5em;
}

.middle {
  margin-left: 1em;
  margin-right: 1em;
  max-width: 30em;
}

.pane > dl > dt {
  font-weight: bold;
  text-align: center;
}
.pane img {
  width: 100%;
  height: auto;
  image-orientation: from-image;
  object-fit: contain;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.pane img.bonus {
  margin-bottom: 0;
  width: 50%;
}
.pane .episode-title {
  text-align: center;
}
.pane .episode-title .season-title {
  font-size: 0.6em;
}
.pane.index-pane {
  padding: 0.75em;
}
.pane.index-pane .index-media {
  align-items: start;
  display: flex;
}
.pane.index-pane .index-media .index-media-image {
  flex-basis: 200px;
  flex-shrink: 0;
  margin-right: 16px;
}
@media (max-width: 586px) {
  .pane.index-pane .index-media .index-media-image {
    flex-basis: 140px;
  }
}
.pane.index-pane .index-media .index-media-image .index-image {
  width: 100%;
}
.pane.index-pane .index-media .index-media-content {
  flex-grow: 1;
}
.pane.index-pane .index-media .index-media-content .episode-metadata {
  font-size: 0.6em;
  text-align: center;
}
.pane.index-pane .bonus-section {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pane.index-pane .bonus-section .bonus-section-item {
  margin-bottom: 0;
}
.pane.index-pane a.bonus-link {
  display: inline;
  text-decoration: none;
}
.pane.index-pane img.bonus {
  border-radius: 0;
  margin-right: 10px;
  width: 85px;
}
.pane .bonus-episode p {
  margin-top: 10px;
  margin-bottom: 50px;
}
.pane .bonus-episode:last-of-type p {
  margin-top: 10px;
  margin-bottom: 10px;
}
.pane .bonus-episode span.title {
  text-decoration: underline;
}
.pane #bluesky-post-link {
  font-size: 0.6em;
  text-align: right;
}

.summary {
  white-space: pre-wrap;
}