.page-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.page-hero p {
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--muted);
}

.talks-section {
  padding: 48px 0 96px;
}

.talks-section .container {
  overflow-x: hidden;
}

/* --- Filter bar --- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.active {
  color: var(--text);
  font-weight: 600;
}

.filter-btn.active::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--text);
  margin-top: 2px;
}

/* --- Table --- */

.talks-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}

.talks-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.talks-table tbody tr:first-child {
  border-top: 1px solid var(--line);
}

.talks-table td {
  padding: 20px 0;
  vertical-align: top;
}

.talk-title {
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.talk-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

.talk-venue {
  color: var(--muted);
  padding-left: 48px;
  width: 220px;
  min-width: 0;
}

.talk-link {
  width: 32px;
  text-align: right;
  vertical-align: middle;
}

.talk-link a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.15s;
}

.talk-link a:hover {
  color: var(--text);
  opacity: 1;
}

/* --- Mobile --- */

@media (max-width: 860px) {
  .page-hero h1 {
    font-size: 36px;
  }

  .talk-venue {
    display: none;
  }

  .talks-table td {
    padding: 24px 0;
  }

  .talk-link {
    width: 44px;
  }

  .filter-bar {
    gap: 20px;
  }
}
