/* Talks page. Compact academic table layout matching Publications page style. */

.talks-page {
  background: #ffffff;
  color: #111827;
}

.talks-title-block {
  padding: 34px 0 18px;
  text-align: center;
}

.talks-title-block h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111827;
}

.talks-title-block p {
  margin: 10px 0 0;
}

.talks-title-block a {
  color: #0066ff;
  text-decoration: none;
}

.talks-title-block a:hover {
  text-decoration: underline;
}

.talks-list-section {
  padding: 18px 0 64px;
}

.talks-table-wrap {
  max-width: 1180px;
  overflow-x: auto;
}

.talks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  line-height: 1.45;
}

.talks-table th {
  text-align: left;
  font-weight: 800;
  color: #111827;
  border-bottom: 1px solid #d8dee9;
  padding: 10px 12px;
  white-space: nowrap;
}

.talks-table td {
  vertical-align: top;
  padding: 12px 12px;
  color: #111827;
}

.talks-table tbody tr:nth-child(odd) {
  background: #eef6ff;
}

.talks-table td:nth-child(1) {
  width: 125px;
  white-space: nowrap;
  font-weight: 700;
}

.talks-table td:nth-child(2) {
  width: 175px;
  white-space: nowrap;
}

.talks-table td:nth-child(3) {
  width: 39%;
  font-weight: 650;
}

.talks-table td:nth-child(4) {
  width: 34%;
}

.talks-table a {
  color: #0066ff;
  text-decoration: none;
}

.talks-table a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .talks-table,
  .talks-table thead,
  .talks-table tbody,
  .talks-table th,
  .talks-table td,
  .talks-table tr {
    display: block;
  }

  .talks-table thead {
    display: none;
  }

  .talks-table tr {
    padding: 12px;
    border-bottom: 1px solid #d8dee9;
  }

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

  .talks-table td:nth-child(1),
  .talks-table td:nth-child(2),
  .talks-table td:nth-child(3),
  .talks-table td:nth-child(4) {
    width: auto;
    white-space: normal;
  }

  .talks-table td::before {
    content: attr(data-label) ": ";
    font-weight: 800;
    color: #4b5563;
  }

  .talks-table td:nth-child(3) {
    font-weight: 650;
  }
}
