/* Talks page */
.talk-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line);
}

.talk-summary-line {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.talk-summary-line strong {
  font-weight: 600;
}

.talk-summary-note {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.talk-sections {
  padding-top: 54px;
}

.talk-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  padding: 0 0 54px;
}

.talk-section + .talk-section {
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.talk-section-head h2 {
  position: sticky;
  top: 28px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.talk-scroll {
  max-height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 52, 77, 0.32) transparent;
}

.talk-scroll.short {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.talk-scroll::-webkit-scrollbar { width: 7px; }
.talk-scroll::-webkit-scrollbar-track { background: transparent; }
.talk-scroll::-webkit-scrollbar-thumb {
  background: rgba(31, 52, 77, 0.24);
  border-radius: 999px;
}

.talk-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.talk-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 15px;
}

.talk-item + .talk-item {
  padding-top: 15px;
  border-top: 1px solid rgba(216, 210, 200, 0.7);
}

.talk-meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-top: 1px;
}

.talk-year {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.055em;
}

.invited-star {
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
}

.invited-star.empty { visibility: hidden; }

.talk-title {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.38;
}

.talk-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 52, 77, 0.2);
}

.talk-title a:hover { border-bottom-color: var(--accent); }

.talk-venue {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.42;
}

.talk-links {
  margin-left: 8px;
  white-space: nowrap;
}

.talk-links a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 820px) {
  .talk-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .talk-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .talk-section-head h2 { position: static; }
}

@media (max-width: 560px) {
  .talk-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .talk-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }
}
