/* Papers, workshop notes, talks and seminar pages */

.page-head { display: grid; gap: 0.9rem; max-width: var(--measure); }
.page-head .lede { font-size: var(--step-1); line-height: 1.55; }
.page-head p { color: var(--muted); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
}
.jump a { text-decoration: none; }
.jump a:hover { text-decoration: underline; }

/* A group: heading in a left column, entries on the right */
.group {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  scroll-margin-top: 1rem;
}
.group-head { display: grid; gap: 0.4rem; align-content: start; }
.group-head h2 { font-size: var(--step-1); }
.group-head p { color: var(--muted); font-size: var(--step--1); }

.entries { list-style: none; margin: 0; padding: 0; display: grid; }
.entries > li {
  display: grid;
  gap: 0.2rem;
  padding: 0 0 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
  max-width: var(--measure);
}
.entries > li:last-child { border-bottom: 0; margin-bottom: 0; }
.entry-title { font-family: var(--serif); font-size: var(--step-1); font-weight: 500; line-height: 1.3; }
.entry-title a { text-decoration: none; }
.entry-title a:hover { text-decoration: underline; }
.who { color: var(--muted); font-size: var(--step--1); }
.desc { font-size: var(--step--1); }
.extra { font-size: var(--step--1); color: var(--muted); }

.unavailable {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.05rem 0.4rem;
  margin-left: 0.4rem;
  vertical-align: 0.15em;
  white-space: nowrap;
}

/* Talks: date column */
.talks > li { grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.5rem; max-width: 52rem; }
.talks .when {
  grid-row: span 3;
  font-size: var(--step--1);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
}
.talks .when + * , .talks .who, .talks .extra { grid-column: 2; }

/* Seminar schedule */
.schedule-wrap { overflow-x: auto; max-width: 100%; }
.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.schedule th, .schedule td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.schedule th { font-weight: 600; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.schedule td.date { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.schedule td.speaker { white-space: nowrap; }
.schedule td.title { font-family: var(--serif); font-size: var(--step-0); }
.schedule td.links { white-space: nowrap; }
.schedule td.links > * + * { margin-left: 0.75rem; }
.schedule .sub { display: block; font-family: var(--sans); font-size: var(--step--1); color: var(--muted); }
.schedule .none { color: var(--muted); }

/* AIM 2008 timetable */
.timetable td, .timetable th { text-align: left; }
.timetable td em { color: var(--muted); }

@media (max-width: 760px) {
  .group { grid-template-columns: minmax(0, 1fr); }
  .talks > li { grid-template-columns: minmax(0, 1fr); }
  .talks .when { grid-row: auto; padding-top: 0; }
  .talks .when + *, .talks .who, .talks .extra { grid-column: 1; }
}

.timetable-wrap { margin-top: 2rem; }
.section .schedule-wrap { margin-top: 0; }

.arxiv { font-size: var(--step--1); font-family: var(--mono); }
