.podcast-episode-art {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at var(--podcast-art-x) var(--podcast-art-y), color-mix(in srgb, var(--podcast-art-accent) 78%, transparent) 0 4%, transparent 17%),
    radial-gradient(circle at 79% 30%, color-mix(in srgb, var(--podcast-art-pop) 55%, transparent), transparent 28%),
    linear-gradient(135deg, var(--podcast-art-mid), var(--podcast-art-bg) 72%);
  isolation: isolate;
}

.podcast-episode-art::before,
.podcast-episode-art::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid color-mix(in srgb, var(--podcast-art-accent) 68%, transparent);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.podcast-episode-art::before {
  width: 58%;
  height: 72%;
  right: 7%;
  top: 8%;
  box-shadow: 0 0 42px color-mix(in srgb, var(--podcast-art-mid) 52%, transparent);
}

.podcast-episode-art::after {
  width: 46%;
  height: 112%;
  right: 12%;
  top: -20%;
  border-color: color-mix(in srgb, var(--podcast-art-pop) 55%, transparent);
  transform: rotate(30deg);
}

.podcast-episode-art__grid {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.podcast-episode-art__orb {
  position: absolute;
  right: 25%;
  top: 32%;
  width: 42px;
  height: 42px;
  border: 7px solid color-mix(in srgb, var(--podcast-art-accent) 24%, transparent);
  border-radius: 50%;
  background: var(--podcast-art-accent);
  box-shadow: 0 0 28px var(--podcast-art-accent);
}

.podcast-episode-art__show,
.podcast-episode-art > strong,
.podcast-episode-art__title {
  position: absolute;
  z-index: 2;
  left: 24px;
  max-width: 48%;
  text-shadow: 0 2px 18px color-mix(in srgb, var(--podcast-art-bg) 88%, transparent);
}

.podcast-episode-art__show {
  top: 22px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.podcast-episode-art > strong {
  top: 51px;
  color: var(--podcast-art-accent);
  font-size: clamp(24px, 3.4vw, 50px);
  line-height: .9;
  letter-spacing: -.055em;
}

.podcast-episode-art__title {
  bottom: 22px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.podcast-episode-art__wave {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.podcast-episode-art__wave i {
  width: 3px;
  height: 32%;
  border-radius: 99px;
  background: var(--podcast-art-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--podcast-art-accent) 72%, transparent);
}

.podcast-episode-art__wave i:nth-child(2n) { height: 76%; }
.podcast-episode-art__wave i:nth-child(3n) { height: 48%; }
.podcast-episode-art__wave i:nth-child(4n) { height: 100%; }

.podcast-hero-feature-art .podcast-episode-art__title { max-width: 54%; }

.podcast-hero-compact-art .podcast-episode-art__grid,
.podcast-hero-compact-art .podcast-episode-art__show,
.podcast-hero-compact-art .podcast-episode-art__title,
.podcast-hero-compact-art .podcast-episode-art__wave,
.podcast-hero-compact-art .podcast-episode-art::after { display: none; }

.podcast-hero-compact-art .podcast-episode-art::before {
  width: 78%;
  height: 52%;
  right: -18%;
  top: 9%;
}

.podcast-hero-compact-art .podcast-episode-art__orb {
  right: 11px;
  top: 12px;
  width: 17px;
  height: 17px;
  border-width: 3px;
}

.podcast-hero-compact-art .podcast-episode-art > strong {
  left: 7px;
  top: auto;
  bottom: 8px;
  max-width: calc(100% - 14px);
  font-size: 13px;
}

@media (max-width: 700px) {
  .podcast-episode-art__show,
  .podcast-episode-art > strong,
  .podcast-episode-art__title { left: 17px; }
  .podcast-episode-art__show { top: 16px; }
  .podcast-episode-art > strong { top: 42px; }
  .podcast-episode-art__title { bottom: 16px; }
  .podcast-episode-art__wave { right: 14px; bottom: 14px; }
}
