:root {
  --primary-very-light: #d9eeff;
  --primary-light: #58b4ff;
  --primary: #4fa2e5;
  --primary-dark: #3e7eb3;
  --primary-very-dark: #2c5a80;
  --global-border-radius: 4px;
  --global-padding: 1em;
}

html,
body {
  font-family: "Inter", sans-serif, monospace;
  margin: 0;
  padding: 0;
  font-size: 1em;
}

.container {
  display: block;
  max-width: 800px;
  margin: 4em auto;
}

.section {
  text-align: center;
}

#app {
  opacity: 1;
}

.notes {
  margin-bottom: 2em;
  text-align: left !important;
}

.notes ul,
.notes ul li {
  text-align: left !important;
}

blockquote {
  margin: 0 0 var(--global-padding) 0;
  padding: var(--global-padding);
  background-color: rgb(245, 245, 245);
  border-radius: var(--global-border-radius);
}

blockquote > *:last-child {
  margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="submit"] {
  font-size: 1em;
  font-family: "Inter", sans-serif, monospace;
}

a,
.fake-link {
  color: var(--primary-dark);
  text-decoration: none;
  cursor: pointer;
}

a:hover,
.fake-link:hover {
  color: var(--primary);
}

a:active,
.fake-link:active {
  color: var(--primary-very-dark);
}

em {
  font-family: "Inter", "Arial", sans-serif;
  font-style: italic !important;
}

.subscribe-button,
button,
input[type="submit"] {
  display: inline-block;
  margin: 0 0 0.25em 0;
  padding: 1em;
  border: 0;
  border-radius: var(--global-border-radius);
  background-color: rgb(128, 128, 128);
  color: white;
  opacity: 0.75;
  cursor: pointer;
}

.subscribe-button {
  color: white !important;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 25%;
}

.subscribe-button:hover {
  opacity: 1;
}

.subscribe-button-announcement {
  opacity: 1;
  background-color: hsl(60, 100%, 60%);
  color: black !important;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  gap: 0.5em;
}

.subscribe-button-announcement,
.subscribe-button-announcement * {
  text-align: left !important;
}

.subscribe-button-announcement:hover {
  background-color: hsl(60, 100%, 70%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.subscribe-button-announcement:active {
  color: white !important;
}

.subscribe-button-announcement img {
  height: 2em !important;
  margin-right: 0.5em !important;
}

.subscribe-button-announcement:active img {
  filter: invert(100%);
}

.subscribe-button-rss {
  background-color: orange;
}

.subscribe-button-itunes {
  background-color: #af4ede;
}

.subscribe-button-spotify {
  background-color: #15883e;
}

.subscribe-button-google {
  background-color: #4285f4;
}

.subscribe-button-tunein {
  background-color: #1c203c;
}

.subscribe-button-amazon {
  background-color: #3a0cc7;
}

.subscribe-button-podurama {
  background-color: #ee2f79;
}

.subscribe-button-podcast-addict {
  background-color: #fc7e0f;
}

.subscribe-button-email {
  background-color: var(--primary) !important;
  width: unset;
}

.subscribe-button-youtube {
  background-color: red;
}

.subscribe-button:active {
  background-color: black;
}

.subscribe-button img {
  height: 1em;
  width: auto;
  margin-right: 0.25em;
}

.stores-small {
  margin-bottom: calc(var(--global-padding) * 2);
  padding: var(--global-padding);
  background-color: var(--primary-very-light);
  border-radius: var(--global-border-radius);
}

.stores-small > p:first-child {
  margin-bottom: calc(var(--global-padding) * 1.5);
  text-align: center;
}

.stores-small .stores-small-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: stretch;
  gap: var(--global-padding);
}

.stores-small .stores-small-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  gap: 0.5em;
}

.stores-small .stores-small-item,
.stores-small .stores-small-item * {
  text-align: left;
}

.stores-small .stores-small-item:not(:hover) {
  color: black;
}

.stores-small .stores-small-item > *:has(img) {
  height: 3em;
  min-height: 3em;
  max-height: 3em;
}

.stores-small .stores-small-item img {
  display: inline-block;
  margin: 0;
  padding: calc(var(--global-padding) / 2);
  border-radius: var(--global-border-radius);
  width: 3em;
  min-width: 3em;
  max-width: 3em;
  height: 3em;
  min-height: 3em;
  max-height: 3em;
  box-sizing: border-box;
  background-color: grey;
}

.stores-small .stores-small-item:hover img {
  filter: brightness(110%);
}

.stores-small .stores-small-item:active img {
  filter: brightness(90%);
}

.stores-small .stores-small-item-apple-podcasts img {
  background-color: #af4ede;
}

.stores-small .stores-small-item-youtube img {
  background-color: red;
}

.stores-small .stores-small-item-spotify img {
  background-color: #15883e;
}

.stores-small .stores-small-item-podcast-addict img {
  background-color: #fc7e0f;
}

.stores-small .listen-on {
  opacity: 0.5;
}

button.is-dark {
  background-color: rgb(74, 74, 74);
  color: white;
  opacity: 1;
}

button.is-dark:hover {
  background-color: rgb(50, 50, 50);
}

button.is-dark:active {
  background-color: black;
}

input[type="text"],
input[type="email"] {
  padding: 0 0.5em;
  border-radius: var(--global-border-radius);
  border: 2px solid rgb(200, 200, 200);
  height: calc(3em + 0px);
}

b,
strong {
  font-family: "IBM Plex Sans", sans-serif, monospace;
  font-weight: 700;
}

h1 {
  font-family: "IBM Plex Sans", sans-serif, monospace;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
  max-width: 75%;
  margin: 0 auto var(--global-padding) auto;
}

h1.title {
  /* font-size: 3.25em; */
  margin-bottom: 0;
  max-width: unset;
}

h1:has(+ h2) {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 var(--global-padding) 0;
  font-weight: 400;
}

.subtitle {
  margin-top: -0.25em;
  font-size: 1.5em;
  color: #333333;
}

.light {
  color: rgb(172, 172, 172);
}

p {
  width: 100%;
  text-align: left;
  margin: 0 0 var(--global-padding) 0;
}

ol {
  margin-top: 0;
  margin-bottom: var(--global-padding);
}

audio {
  display: block;
  width: 100%;
  margin: 0 auto;
}

select {
  padding: 0.5em;
  font-size: 2em;
  font-family: "Inter", sans-serif, monospace;
}

option {
  font-family: "Inter", sans-serif, monospace;
}

hr {
  background-color: black;
  margin: calc(var(--global-padding) * 2) 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 4px;
}

hr.little {
  padding: 0;
  border: 0;
  width: 25% !important;
  min-width: 25% !important;
  max-width: 25% !important;
  height: 4px;
  background-color: rgb(235, 235, 235);
}

img {
  max-width: 100%;
}

.header {
  text-align: center;
  font-size: 1.5em;
}

.header * {
  text-align: center;
}

.header h1 {
  color: black;
}

.announcement-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.has-text-left {
  text-align: left;
}

.has-text-centered {
  text-align: center;
}

.has-text-primary {
  color: var(--primary) !important;
}

.has-text-primary-dark {
  color: var(--primary-dark) !important;
}

.has-background-primary {
  background-color: var(--primary) !important;
}

.has-background-primary-dark {
  background-color: var(--primary-dark) !important;
}

.has-bottom-margin-small {
  margin-bottom: 0.25em;
}

.has-bottom-margin {
  margin-bottom: var(--global-padding);
}

img.logo {
  max-width: 25%;
}

img.text-image {
  height: 1em;
  width: auto;
}

.mp3-player-container {
  margin-bottom: calc(2 * var(--global-padding));
  padding: 1em;
  background-color: rgb(245, 245, 245);
  border-radius: var(--global-border-radius);
  width: calc(100% - 2em);
  text-align: center;
  font-family: monospace !important;
}

.mp3-player-track-container {
  margin-bottom: var(--global-padding);
}

.mp3-player-track-container,
.mp3-player-track {
  width: 100%;
}

.mp3-player-controls {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  font-size: 1.15em;
}

.mp3-player-speed-select {
  font-size: unset;
  padding: unset;
}

.mp3-player-control-button {
  border: 0;
  padding: 1em;
  background-color: rgb(128, 128, 128);
  border-radius: var(--global-border-radius);
  cursor: pointer;
  opacity: 0.85;
}

.mp3-player-control-button:hover,
.mp3-player-play-button.is-playing:hover {
  opacity: 1;
}

.mp3-player-control-button:active {
  background-color: black;
}

.mp3-player-play-button {
  background-color: #23d160;
}

.mp3-player-play-button.is-playing {
  background-color: #ff3860;
}

.mp3-player-control-icon {
  width: 32px;
  height: auto;
  max-width: 32px;
  max-height: auto;
  min-width: 32px;
  min-height: auto;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.row > * {
  flex-basis: 100%;
}

.credits-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  max-height: 256px;
}

.credits-row > * {
  width: calc(100% / 3);
  min-width: calc(100% / 3);
  max-width: calc(100% / 3);
  flex-basis: calc(100% / 3);
  box-sizing: border-box;
  margin-bottom: var(--global-padding);
}

.centered-row {
  justify-content: center;
  gap: var(--global-padding);
}

.centered-row > * {
  flex-basis: unset;
  width: auto;
}

.has-hanging-indent {
  text-indent: -1.5em;
  margin-left: 1.5em;
}

#episode-title-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

#episode-titles {
  width: auto;
  text-align: left;
  margin: 0 auto;
}

.episode-title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0.5em;
}

.episode-title-left {
  width: 3em;
  padding-right: 0.33em;
  font-weight: 700;
}

.episode-title-right {
  width: 100%;
}

#mc_embed_signup {
  margin-bottom: calc(2 * var(--global-padding));
}

.has-extra-bottom-margin {
  margin-bottom: calc(2 * var(--global-padding));
}

.redirect-banner {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #fffbd9;
  padding: 0.75em;
  border-radius: 0 0 var(--global-border-radius) 0;
}

.episode-date-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  gap: 3em;
  color: gray;
}

.view-transcript-fake-link-container a {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-end;
  align-content: center;
  align-items: center;
  gap: 0.5em;
}

.show-transcript-button {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 0.5em;
  background-color: #ffff80;
  color: black;
  font-weight: bold;
  font-size: 1em;
}

.show-transcript-button:hover {
  background-color: #ffff00;
}

.show-transcript-button:active {
  background-color: #f2f200;
}

.view-transcript-fake-link-container .icon,
.show-transcript-button .icon {
  font-size: 1.5em;
}

@media (max-width: 800px) {
  .container {
    padding: 2em;
    max-width: calc(100% - 4em);
  }

  .header {
    font-size: unset;
  }

  h1 {
    max-width: 100%;
  }

  h1.title {
    font-size: 2.5em;
    margin-bottom: 0.15em;
  }

  .mp3-player-controls {
    display: block;
  }

  .mp3-player-control {
    margin: var(--global-padding) 0;
  }

  .mp3-player-control:last-of-type {
    margin-bottom: 0;
  }

  audio {
    width: 100%;
  }

  .row {
    display: block;
  }

  .credits-row {
    display: flex;
  }

  .credits-row > * {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
    flex-basis: 50%;
  }

  .centered-row,
  .social-icons-row {
    display: flex !important;
  }

  #mc_embed_signup {
    width: 100%;
  }

  #mc_embed_signup_scroll {
    text-align: center;
  }

  input[type="text"],
  input[type="email"] {
    margin-bottom: 0.25em;
    width: 100%;
    box-sizing: border-box;
  }

  .subscribe-button {
    display: flex;
    width: calc(100% - 2em);
  }

  .subscribe-button-email {
    width: 100%;
  }

  .stores-small .stores-small-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stores-small .stores-small-item {
    width: calc(50% - var(--global-padding));
  }

  .stores-small .stores-small-item:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .stores-small .stores-small-item:nth-child(odd),
  .stores-small .stores-small-item:nth-child(odd) * {
    text-align: right;
  }

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

@media (max-width: 600px) {
  .subscribe-button-announcement br {
    display: none;
  }

  .credits-row {
    display: block;
  }

  .credits-row > * {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .stores-small .stores-small-row {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: stretch;
  }

  .stores-small .stores-small-item {
    width: auto;
  }

  .stores-small .stores-small-item:nth-child(odd) {
    flex-direction: row;
  }

  .stores-small .stores-small-item:nth-child(odd),
  .stores-small .stores-small-item:nth-child(odd) * {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .subscribe-button-announcement {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .subscribe-button-announcement img {
    margin-bottom: 0.5em;
  }
}
