#channels .featured-card {
  display: flex;
  flex-direction: column;
}

#channels .featured-thumb {
  position: relative;
  display: block;
}

#channels .featured-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-duration {
  position: absolute;
  inset: auto 12px 12px auto;
  border-radius: 6px;
  padding: 5px 9px;
  background: #111416;
  color: #f5f3ed;
  font-size: .875rem;
  font-weight: 700;
}

#channels .featured-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#channels .featured-copy h3 {
  margin-top: 0;
}

#channels .featured-actions,
.episode-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

#channels .featured-actions {
  margin-top: auto;
  padding-top: 14px;
}

.featured-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .625rem .875rem;
  border-radius: 8px;
  background: #ffae83;
  color: #111416;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
  text-decoration: none;
}

.featured-watch:hover {
  background: #ffc9ab;
  color: #111416;
}

.featured-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.featured-thumb:focus-visible,
.featured-watch:focus-visible,
.featured-secondary:focus-visible,
.history-watch-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.history-watch-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  width: min(100%, 660px);
  margin-top: 22px;
}

.history-watch-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.tech-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  align-items: center;
  gap: clamp(20px, 5vw, 62px);
  margin-bottom: 28px;
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid rgba(180, 210, 230, .24);
  border-radius: 22px;
  background: #101820;
  color: #f6f8fb;
  scroll-margin-top: 20px;
}

.tech-featured-copy h2 {
  margin: 10px 0 12px;
  max-width: 18ch;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.04;
}

.tech-featured-copy p {
  max-width: 37ch;
}

.tech-featured .featured-watch {
  margin-top: 12px;
  background: #7be1ff;
}

.tech-featured .featured-watch:hover {
  background: #bcf0ff;
}

.tech-featured-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 14px;
  background: #05090e;
}

.episode {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.episode h1 {
  max-width: 23ch;
  margin: .45em 0 .2em;
  font-size: clamp(2.15rem, 5.7vw, 4.8rem);
  line-height: 1.01;
  letter-spacing: -.045em;
}

.episode-duration {
  margin-bottom: 16px;
  color: #b8bdc0;
}

.episode .video-frame {
  margin-top: 0;
}

.episode-actions {
  margin-block: 16px 32px;
}

.episode > p:not(.episode-duration) {
  max-width: 69ch;
  line-height: 1.65;
}

.episode-sources {
  padding-inline-start: 1.25em;
  line-height: 1.7;
}

.episode-sources a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 640px) {
  .tech-featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-featured-player {
    width: min(100%, 290px);
    justify-self: center;
  }
}
