/* DS-007: token replacement for the watch/archive family. */
.watch-intro {
  margin-bottom: var(--tkc-space-6);
  color: var(--tkc-color-text-muted);
  font-size: var(--tkc-size-200);
  text-align: center;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--tkc-space-8) * 5)), 1fr));
  gap: var(--tkc-space-5);
}

.watch-card {
  overflow: hidden;
  color: var(--tkc-color-text);
  background-color: var(--tkc-color-surface);
  border: thin solid var(--tkc-color-border);
  border-radius: var(--tkc-radius-md);
  box-shadow: var(--tkc-shadow-sm);
  transition: box-shadow var(--tkc-motion-fast) ease;
}

.watch-card:hover,
.watch-card:focus-within {
  border-color: var(--tkc-color-accent);
  box-shadow: var(--tkc-shadow-md);
}

.watch-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--tkc-color-surface);
}

.watch-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-meta {
  padding: var(--tkc-space-4) var(--tkc-space-5);
}

.watch-title {
  margin: 0 0 var(--tkc-space-1);
  color: var(--tkc-color-text);
  font-size: var(--tkc-size-200);
  font-weight: var(--tkc-weight-bold);
  line-height: var(--tkc-leading-tight);
}

.watch-speaker {
  margin: 0 0 var(--tkc-space-3);
  color: var(--tkc-color-text-muted);
  font-style: italic;
}

.watch-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tkc-space-3);
}

.watch-links a {
  color: var(--tkc-color-accent);
  font-weight: var(--tkc-weight-bold);
  text-decoration: none;
}

.watch-links a:hover,
.watch-links a:focus-visible {
  color: var(--tkc-color-accent-strong);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .watch-card {
    transition-duration: 0s;
  }
}
