/* ---------------------------------------------------------------------------
 * The parties page, over the shared chrome in site.css. One list of dates, and
 * above it the party that is on — the only place on the site where the page
 * says something is happening right now, so it is the only thing here wearing
 * a color.
 * ------------------------------------------------------------------------- */

:root {
  --live: hsl(135, 65%, 40%);
}

.head {
  padding: clamp(30px, 6vh, 60px) 0 8px;
  max-width: 760px;
}

h1 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.05;
}

.lede {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* --- the party that is on --------------------------------------------- */
.on {
  margin: clamp(26px, 5vh, 44px) 0 0;
  padding: 22px 24px 24px;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--live);
  background: rgba(255, 255, 255, 0.6);
}

.on-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1;
}

.on-emoji:empty {
  display: none;
}

.on-until {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.play:hover {
  color: var(--paper);
  background: var(--ink);
}

/* --- the list ---------------------------------------------------------- */
.agenda {
  padding: clamp(28px, 5vh, 48px) 0 clamp(40px, 8vh, 70px);
}

.month {
  margin: 0 0 30px;
}

.month h2 {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hair-soft);
}

.row:first-of-type {
  border-top: 1px solid var(--hair);
}

.row .glyph {
  font-size: 20px;
  line-height: 1;
}

.row .name {
  font-size: 17px;
  font-weight: 600;
}

.row .when {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 14px;
}

.row .lead {
  grid-row: 1;
  grid-column: 3;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.row.now .lead {
  color: var(--live);
  font-weight: 600;
}

.empty,
.fine {
  color: var(--ink-soft);
  font-size: 13px;
}

.fine {
  max-width: 640px;
  margin: 26px 0 0;
}

@media (max-width: 560px) {
  .row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .row .lead {
    grid-row: auto;
    grid-column: 2;
  }
}
