/*
 * Class schedule section (#classes). Display-only. One card per class (not per
 * day) — since each class runs the same days, a card shows the class name, who
 * it's for, the day range, and the time. Reuses xfit.css variables/type classes.
 */

.pk-cm-schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.pk-cm-class-card {
  border: 1px solid var(--colors--light-grey);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pk-cm-class-time {
  color: var(--colors--red);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: .75rem;
}

.pk-cm-class-name {
  margin: 0 0 .5rem;
}

.pk-cm-class-who {
  margin: 0 0 1.25rem;
}

.pk-cm-class-days {
  color: var(--colors--black);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--colors--light-grey);
  width: 100%;
}

@media screen and (max-width: 767px) {
  .pk-cm-schedule {
    grid-template-columns: 1fr;
  }
}
