/*!
 * PODCAST DESIGN 1 — STUDIO.
 * A modern podcast brand. Artwork leads, episodes are cards, the player is a
 * clean quiet block. Light, confident, product-like.
 *
 * ⛔ Every rule nested under .pubfmt-pod-d--studio. ⛔ Styles the player, never
 *    replaces it; never hides the provider host or the new-tab disclosure.
 */

.pubfmt-pod-d--studio {
  background: #ffffff;
  color: #141821;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.pubfmt-pod-d--studio .pubfmt-wrap { padding: clamp(24px, 4vw, 48px) 16px 72px; }

/* masthead */
.pubfmt-pod-d--studio .pubfmt-pod-art { border-radius: 18px; box-shadow: 0 18px 40px -22px rgba(16, 22, 38, .45); }
.pubfmt-pod-d--studio .pubfmt-eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #5c6680; font-weight: 700; margin: 0 0 10px;
}
.pubfmt-pod-d--studio .pubfmt-eyebrow a { color: inherit; text-decoration: none; }
.pubfmt-pod-d--studio .pubfmt-title {
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -.025em;
  font-weight: 760; margin: 0; color: #0d1119;
}
.pubfmt-pod-d--studio .pubfmt-meta { margin: 12px 0 0; font-size: 14px; color: #5c6680; }
.pubfmt-pod-d--studio .pubfmt-pod-head { padding-bottom: clamp(22px, 3vw, 34px); }
.pubfmt-pod-d--studio .pubfmt-prose { margin: 26px 0 0; font-size: 17px; line-height: 1.65; color: #38415a; }

/* episode cards */
.pubfmt-pod-d--studio .pubfmt-ep-list {
  display: grid; gap: clamp(16px, 2vw, 24px); margin-top: clamp(26px, 4vw, 40px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
}
.pubfmt-pod-d--studio .pubfmt-ep-item {
  border: 1px solid #e3e7ef; border-radius: 16px; padding: 14px; background: #fff;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.pubfmt-pod-d--studio .pubfmt-ep-item:hover {
  border-color: #cfd6e4; box-shadow: 0 16px 34px -24px rgba(16, 22, 38, .5); transform: translateY(-2px);
}
.pubfmt-pod-d--studio .pubfmt-pod-epart { border-radius: 11px; margin-bottom: 12px; }
.pubfmt-pod-d--studio .pubfmt-ep-link {
  font-size: 17px; font-weight: 650; line-height: 1.3; color: #0d1119; letter-spacing: -.01em;
}
.pubfmt-pod-d--studio .pubfmt-ep-item:hover .pubfmt-ep-link { color: #1d4ed8; }
.pubfmt-pod-d--studio .pubfmt-ep-meta { font-size: 13px; color: #6b7590; }
.pubfmt-pod-d--studio .pubfmt-sep { opacity: .5; }

/* the clean player */
.pubfmt-pod-d--studio .pubfmt-pod-player {
  background: #f5f7fb; border: 1px solid #e3e7ef; border-radius: 16px; padding: 16px;
}
.pubfmt-pod-d--studio .pubfmt-pod-audio { border-radius: 10px; }
.pubfmt-pod-d--studio .pubfmt-pod-player--link { background: #f5f7fb; }
.pubfmt-pod-d--studio .pubfmt-pod-launch {
  background: #141821; color: #fff; border-radius: 11px; justify-content: space-between;
}
.pubfmt-pod-d--studio .pubfmt-pod-launch-host { color: #cdd4e4; }
.pubfmt-pod-d--studio .pubfmt-pod-launch-note { color: #5c6680; }
.pubfmt-pod-d--studio .pubfmt-pod-fallback { color: #1d4ed8; }

/* episode page */
.pubfmt-pod-d--studio.pubfmt-pod-page--episode .pubfmt-title { font-size: clamp(27px, 3.6vw, 40px); }
.pubfmt-pod-d--studio .pubfmt-pod-meta-strip { font-size: 13px; color: #6b7590; }
.pubfmt-pod-d--studio .pubfmt-pod-meta-strip li::after { content: "·"; margin-left: 10px; opacity: .45; }
.pubfmt-pod-d--studio .pubfmt-pod-meta-strip li:last-child::after { content: none; }
.pubfmt-pod-d--studio .pubfmt-pod-epart--hero {
  border-radius: 18px; width: clamp(130px, 24vw, 220px); margin: 0 0 20px;
}

/* transcript */
.pubfmt-pod-d--studio .pubfmt-pod-chapter-at { color: #1d4ed8; font-weight: 700; }
.pubfmt-pod-d--studio .pubfmt-pod-chapter-label { font-weight: 650; }
.pubfmt-pod-d--studio .pubfmt-pod-cue-at { color: #8a94ad; }
.pubfmt-pod-d--studio .pubfmt-pod-cue-speaker { color: #0d1119; }
.pubfmt-pod-d--studio .pubfmt-pod-quote { border-left: 3px solid #1d4ed8; font-size: 19px; }

@media (max-width: 640px) {
  .pubfmt-pod-d--studio .pubfmt-ep-list { grid-template-columns: 1fr; }
  /* Same explicit placement as Bold Show: three children, two columns — the
     meta must not fall into the artwork column. */
  .pubfmt-pod-d--studio .pubfmt-ep-item {
    display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto;
    gap: 4px 12px; align-items: center;
  }
  .pubfmt-pod-d--studio .pubfmt-pod-epart { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-bottom: 0; }
  .pubfmt-pod-d--studio .pubfmt-ep-link { grid-column: 2; }
  .pubfmt-pod-d--studio .pubfmt-ep-meta { grid-column: 2; }
  .pubfmt-pod-d--studio .pubfmt-pod-player { padding: 12px; border-radius: 13px; }
}
