/* Speaking page. Uses tokens, site.css components and pages.css (split, row-list). */

.page-hero__actions {
  margin-top: var(--space-5);
}

/* Talk video: poster first, the YouTube player replaces it on click */
.talk__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.talk__frame .talk__poster,
.talk__frame .talk__poster img,
.talk__frame iframe {
  width: 100%;
  height: 100%;
}
.talk__frame iframe {
  display: block;
  border: 0;
}
.talk--page .talk__play {
  left: var(--space-5);
  bottom: var(--space-5);
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

/* Past engagements photo: text column width, never wider than the 800px original */
.past-photo {
  max-width: 800px;
  margin-bottom: var(--space-5);
}
.past-photo img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

/* Talks: numbered rows */
.topic-rows__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: baseline;
}
.topic-rows__item .numeral {
  font-size: 1.25rem;
}
.formats {
  margin-top: var(--space-4);
  color: var(--text-2);
}
.formats strong {
  color: var(--ink);
  font-weight: 600;
}

/* Events */
.event .row-list__title {
  font-size: 1.15rem;
}
.event .row-list__date {
  font-size: 1.1rem;
}
.event .next-event__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-meta);
}
.event-list__empty {
  color: var(--text-2);
}
.year-group + .year-group {
  margin-top: var(--space-5);
}
.year-group__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-2);
  font-variant-numeric: lining-nums;
}

/* Request form band */
.request {
  margin-top: var(--space-section);
  padding-block: var(--space-section);
  background: var(--surface);
}
.request__intro {
  margin-top: var(--space-3);
  color: var(--text-2);
  max-width: 22rem;
}

@media (max-width: 680px) {
  .talk--page .talk__play {
    left: var(--space-3);
    bottom: var(--space-3);
    padding: 0.6rem 1rem;
    font-size: var(--text-small);
  }
}
