.next-lesson {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 20px;
  border: 1px solid #f0d8e1;
  border-left: 5px solid var(--pink);
  border-radius: 12px;
  background: #fff7fa;
  font-size: 14px;
}

.next-label {
  color: var(--pink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.next-place {
  padding: 1px 9px;
  border-radius: 5px;
  background: #fce6ef;
  color: #a71e52;
  font-size: 12px;
  font-weight: 750;
}

.next-program {
  font-weight: 750;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.next-lesson.tsuruoka-next {
  border-left-color: var(--orange);
  background: #fff9f3;
}

.tsuruoka-next .next-label,
.tsuruoka-next .next-arrow {
  color: var(--orange);
}

.tsuruoka-next .next-place {
  background: #fff0db;
  color: #925308;
}

.next-lesson [hidden] {
  display: none;
}

.next-arrow {
  color: var(--pink);
  font-weight: 850;
}

.price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.price.first-free strong {
  font-size: 23px;
  line-height: 1.55;
}

.participation-note {
  margin: -10px 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.participation-note strong {
  color: var(--ink);
}

footer .last-updated {
  display: block;
  margin-top: 3px;
  color: #88858e;
  font-size: 11px;
}

@media (max-width: 760px) {
  .next-lesson {
    grid-template-columns: auto 1fr auto;
    gap: 3px 10px;
    padding: 12px 14px;
  }

  .next-label {
    grid-column: 1 / -1;
  }

  .next-place {
    grid-column: 1;
    grid-row: 2 / span 2;
    justify-self: start;
  }

  .next-lesson strong,
  .next-program {
    grid-column: 2;
  }

  .next-arrow {
    grid-column: 3;
    grid-row: 2 / span 2;
  }

  .price.first-free strong {
    font-size: 20px;
    line-height: 1.55;
  }
}
