:root {
  --podcast-bg: #f6f6f6;
  --podcast-ink: #0b1e28;
  --podcast-muted: #466484;
  --podcast-line: #dde2e9;
  --podcast-accent: #e83c66;
  --podcast-card: #ffffff;
}

* {
  box-sizing: border-box;
}

body.podcast-dynamic-page {
  background:
    radial-gradient(58% 42% at 50% -9%, rgba(232, 60, 102, 0.12), rgba(232, 60, 102, 0)),
    radial-gradient(54% 36% at 16% 36%, rgba(120, 151, 184, 0.1), rgba(120, 151, 184, 0)),
    var(--podcast-bg);
  color: var(--podcast-ink);
  font-family: "Open Sans", Arial, sans-serif;
  margin: 0;
}

.podcast-dynamic-main {
  margin: 0 auto;
  max-width: 1040px;
  padding: 56px 20px 96px;
}

.podcast-dynamic-cover {
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(11, 30, 40, 0.16);
  height: 432px;
  margin: 0 auto;
  overflow: hidden;
  width: 432px;
}

.podcast-dynamic-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.podcast-dynamic-head {
  margin: 30px auto 0;
  max-width: 900px;
  text-align: center;
}

.podcast-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.podcast-category-row span {
  background: rgba(232, 60, 102, 0.1);
  border: 1px solid rgba(232, 60, 102, 0.22);
  border-radius: 999px;
  color: var(--podcast-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
}

.podcast-dynamic-head h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.podcast-dynamic-meta {
  color: var(--podcast-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 14px 0 0;
}

.podcast-dynamic-excerpt {
  color: var(--podcast-ink);
  font-size: 20px;
  line-height: 1.55;
  margin: 22px auto 0;
  max-width: 760px;
}

.podcast-embed-card,
.podcast-related-card {
  background: var(--podcast-card);
  border: 2px solid var(--podcast-line);
  border-radius: 22px;
  box-shadow:
    0 24px 48px rgba(11, 30, 40, 0.1),
    0 2px 8px rgba(16, 24, 40, 0.08);
}

.podcast-embed-card {
  margin: 42px auto 0;
  max-width: 970px;
  padding: 10px;
}

.podcast-embed-card iframe {
  border: 0;
  border-radius: 16px;
  display: block;
  min-height: 232px;
  width: 100%;
}

.podcast-platforms-card {
  background: var(--podcast-card);
  border: 2px solid var(--podcast-line);
  border-radius: 22px;
  box-shadow:
    0 24px 48px rgba(11, 30, 40, 0.1),
    0 2px 8px rgba(16, 24, 40, 0.08);
  margin: 30px auto 0;
  max-width: 970px;
  overflow: hidden;
}

.podcast-platform-row {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 1fr) auto;
  min-height: 150px;
  padding: 30px 36px;
  text-decoration: none;
}

.podcast-platform-row + .podcast-platform-row {
  border-top: 1px solid #d4d8dd;
}

.podcast-platform-logo {
  align-self: center;
  display: block;
  height: auto;
  max-height: none;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 6px 0;
  width: 350px;
}

.podcast-platform-action {
  align-items: center;
  background: linear-gradient(180deg, #f6f6f6 0%, #d9d9d9 100%);
  border: 1px solid #cfd3d8;
  border-radius: 18px;
  color: #050505;
  display: inline-flex;
  font-size: 26px;
  font-weight: 700;
  justify-content: center;
  min-height: 86px;
  min-width: 250px;
  padding: 0 30px;
  text-align: center;
}

.podcast-dynamic-content {
  color: #1f2937;
  font-size: 20px;
  line-height: 1.55;
  margin: 22px auto 0;
  max-width: 820px;
}

.podcast-dynamic-content > :first-child {
  margin-top: 0;
}

.podcast-dynamic-content > :last-child {
  margin-bottom: 0;
}

.podcast-dynamic-content h2,
.podcast-dynamic-content h3 {
  color: var(--podcast-ink);
  line-height: 1.25;
  margin: 1.35em 0 0.55em;
}

.podcast-dynamic-content p {
  margin: 0 0 1em;
}

.podcast-dynamic-content a {
  color: #5f84ad;
  font-weight: 700;
}

.podcast-dynamic-content img {
  border-radius: 14px;
  display: block;
  height: auto;
  max-width: 100%;
}

.podcast-dynamic-content ul,
.podcast-dynamic-content ol {
  display: inline-block;
  margin: 0 0 1em;
  padding-left: 24px;
  text-align: left;
}

.podcast-related-card {
  margin: 42px auto 0;
  max-width: 820px;
  overflow: hidden;
}

.podcast-related-card h2 {
  border-bottom: 1px solid #d4d8dd;
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
  padding: 24px 22px 20px;
}

.podcast-related-list {
  display: flex;
  flex-direction: column;
}

.podcast-related-item {
  border-bottom: 1px solid #d4d8dd;
}

.podcast-related-item:last-child {
  border-bottom: 0;
}

.podcast-related-item a {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 18px;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 20px 22px;
  text-decoration: none;
}

.podcast-related-item img {
  border: 1px solid #d6dbe2;
  border-radius: 4px;
  height: 112px;
  object-fit: cover;
  width: 112px;
}

.podcast-related-item h3 {
  font-size: 19px;
  line-height: 1.24;
  margin: 0 0 8px;
}

.podcast-related-item p {
  color: #466484;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.podcast-related-empty {
  color: #466484;
  padding: 22px;
}

@media (hover: hover) and (pointer: fine) {
  .podcast-platform-row:hover .podcast-platform-action {
    border-color: rgba(232, 60, 102, 0.34);
    color: var(--podcast-accent);
  }

  .podcast-related-item a:hover h3 {
    color: var(--podcast-accent);
  }
}

@media (max-width: 767px) {
  .podcast-dynamic-main {
    padding: 32px 12px 64px;
  }

  .podcast-dynamic-cover {
    height: auto;
    max-width: 432px;
    width: 100%;
  }

  .podcast-dynamic-cover::before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .podcast-dynamic-cover {
    position: relative;
  }

  .podcast-dynamic-cover img {
    inset: 0;
    position: absolute;
  }

  .podcast-dynamic-head h1 {
    font-size: 25px;
    line-height: 1.2;
  }

  .podcast-dynamic-meta {
    font-size: 16px;
  }

  .podcast-dynamic-excerpt {
    font-size: 16px;
  }

  .podcast-dynamic-content {
    font-size: 16px;
  }

  .podcast-platforms-card {
    border-radius: 16px;
  }

  .podcast-platform-row {
    gap: 16px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px 18px;
  }

  .podcast-platform-logo {
    max-height: none;
    width: 260px;
  }

  .podcast-platform-action {
    border-radius: 14px;
    font-size: 20px;
    min-height: 64px;
    min-width: 0;
    width: 100%;
  }

  .podcast-related-card {
    border-radius: 16px;
  }

  .podcast-related-card h2 {
    font-size: 22px;
    padding: 20px 16px 16px;
  }

  .podcast-related-item a {
    align-items: start;
    gap: 14px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 16px;
  }

  .podcast-related-item img {
    height: 92px;
    width: 92px;
  }

  .podcast-related-item h3 {
    font-size: 16px;
  }
}
