/* Podcast page */
.podcast-top-block .podcast-lead {
  font-size: 1.4rem;
  font-weight: 500;
  max-width: 650px;
}

.podcast-logo-frame {
  max-width: 470px;
  padding: 12px;
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 20px 24px 0 rgba(0, 0, 0, 0.06);
  transform: rotate(2deg);
}

.podcast-logo {
  display: block;
  width: 100%;
  border-radius: 1rem;
}

.podcast-page {
  position: relative;
  z-index: 0;
  top: -70px;
  margin-bottom: -70px;
}

.podcast-heading-underline.in-view {
  animation: none;
}

.podcast-heading-underline::before {
  width: 42%;
  animation: podcast-heading-underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes podcast-heading-underline-grow {
  from {
    width: 0;
  }

  to {
    width: 42%;
  }
}

.podcast-episode {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.podcast-about-photo {
  position: relative;
}

.podcast-about-photo::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -4%;
  width: 88%;
  height: 90%;
  border-radius: 1.5rem;
  background-color: rgba(0, 0, 0, 0.06);
}

.podcast-about-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1.5rem;
}

.podcast-episode-side {
  background-color: #fff5f5;
}

.podcast-episode-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin-bottom: 2rem;
  border-radius: 50%;
  background-color: #f6b1a6;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  box-shadow: 9px 10px 0 rgba(255, 255, 255, 0.7);
}

.podcast-episode-duration {
  font-size: 0.95rem;
  opacity: 0.7;
}

.podcast-topics {
  list-style: none;
  padding-left: 0;
}

.podcast-topics li {
  position: relative;
  padding: 0 0 1rem 2rem;
}

.podcast-topics li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f6b1a6;
}

.podcast-player {
  padding: 1.5rem;
  background-color: #fff5f5;
  border-radius: 1.25rem;
}

.podcast-audio {
  width: 100%;
}

.podcast-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.podcast-play,
.podcast-volume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  color: #000;
  background-color: #f6b1a6;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.podcast-play:hover,
.podcast-volume:hover {
  background-color: #fdd28a;
  transform: scale(1.05);
}

.podcast-play:focus-visible,
.podcast-volume:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.podcast-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 2rem;
}

.podcast-play i,
.podcast-play i::before {
  display: block;
  line-height: 1;
}

.podcast-play .bi-play-fill {
  transform: translateX(0.08em);
}

.podcast-volume {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
}

.podcast-time {
  font-size: 0.9rem;
  white-space: nowrap;
}

.podcast-progress {
  --podcast-progress: 0%;
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 50px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #f6b1a6 var(--podcast-progress), #fff var(--podcast-progress));
  cursor: pointer;
}

.podcast-progress::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.podcast-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.podcast-progress:focus-visible {
  outline: 3px solid #f6b1a6;
  outline-offset: 4px;
}

.podcast-download {
  display: inline-block;
  margin-top: 1rem;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.podcast-download:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 992px) {
  .podcast-top-block {
    height: 930px;
  }

  .podcast-logo-frame {
    max-width: 390px;
    transform: rotate(1deg);
  }

  .podcast-page {
    top: -30px;
    margin-bottom: -30px;
  }
}

@media (max-width: 576px) {
  .podcast-top-block {
    height: 820px;
  }

  .podcast-logo-frame {
    max-width: 300px;
    padding: 8px;
    box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.06);
  }

  .podcast-top-block .podcast-lead {
    font-size: 1.15rem;
  }

  .podcast-controls {
    grid-template-columns: auto 1fr;
  }

  .podcast-volume {
    display: none;
  }

  .podcast-play {
    width: 56px;
    height: 56px;
  }
}
