@import url("../home.css");

.talks-shell {
  max-width: 860px;
}

.talks-header {
  max-width: 700px;
  margin-bottom: 3.25rem;
}

.talks-nav {
  margin-bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
}

.talks-header .deck {
  max-width: 56ch;
}

.talk-list {
  display: grid;
  gap: 2rem;
}

.talk-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

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

.talk-copy {
  padding: 1.35rem 1.5rem 1.5rem;
}

.talk-meta {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.talk-copy h3,
.meetup-block h2 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.3;
}

.talk-copy h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.talk-copy p:not(.talk-meta):not(.talk-links) {
  max-width: 64ch;
}

.talk-links {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.meetup-block {
  padding: 1.75rem;
  border-radius: 10px;
  background: var(--accent-pale);
}

.meetup-block .eyebrow {
  margin-bottom: 0.65rem;
}

.meetup-block h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.meetup-block > p:not(.eyebrow):not(.meetup-link) {
  max-width: 60ch;
}

.meetup-link {
  margin-top: 1.25rem;
}

@media (max-width: 620px) {
  .talks-header {
    margin-bottom: 2.5rem;
  }

  .talks-nav {
    margin-bottom: 2rem;
  }

  .talk-copy {
    padding: 1.1rem 1.125rem 1.25rem;
  }

  .talk-copy h3 {
    font-size: 1.125rem;
  }

  .meetup-block {
    padding: 1.35rem 1.125rem;
  }

  .meetup-link .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media print {
  .video-frame {
    display: none;
  }
}
