/* The clubs page (public/clubs.html): the week with start times in the margin, then every club. */

.club-day-name {
  margin: calc(var(--cell) / 2) 0 0;
  font-size: 1.118rem;
  line-height: var(--cell);
}

.club-day-list,
.club-times {
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-session {
  max-width: none;
}

.club-time {
  padding-top: calc(var(--cell) / 4);
}

.club-session-text {
  margin: 0;
  padding: calc(var(--cell) / 4) 0;
}

/* The club's name; a room link in the details keeps the details' weight. */
.club-session-text > a {
  font-weight: 700;
}

.club-meta,
.club-facts {
  color: var(--pencil);
  font-size: var(--size-note);
}

.club-entry .ruled-body {
  padding: calc(var(--cell) / 2) 0;
  border-bottom: 1px dashed var(--table-line);
}

.club-name {
  margin: 0;
  font-size: 1.176rem;
}

.club-description,
.club-facts,
.club-leader {
  margin: calc(var(--cell) / 6) 0 0;
}

.club-times {
  margin-top: calc(var(--cell) / 6);
  font-size: var(--size-note);
}

.club-times li {
  padding-left: calc(var(--cell) * 2 / 3);
  text-indent: calc(var(--cell) * -2 / 3);
}

.club-times li::before {
  content: "— ";
  color: var(--pencil);
}

/* A link to a club lands on its entry; the entry is underlined once, as a teacher would. */
.club-entry:target .club-name {
  text-decoration: underline 2px var(--ink);
  text-underline-offset: 4px;
}
