.schedule-filter {
  padding: 18px;
  margin-bottom: 18px;
}
.schedule-filter form {
  max-width: 360px;
}
.calendar-card {
  padding: 22px;
  margin-bottom: 18px;
}
.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.schedule-calendar article {
  padding: 12px;
  border: 1px solid #eadfd5;
  border-radius: 12px;
  text-align: center;
}
.schedule-calendar strong,
.schedule-calendar small,
.schedule-calendar span {
  display: block;
}
.schedule-calendar strong {
  font-size: 1.2rem;
}
.schedule-calendar small,
.schedule-calendar span {
  color: #78685d;
  margin-top: 3px;
}
.schedule-list {
  display: grid;
  gap: 18px;
}
.schedule-item {
  padding: 22px;
}
.schedule-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.schedule-heading h2 {
  margin: 0;
}
.schedule-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.schedule-form fieldset {
  border: 1px solid #eadfd5;
  border-radius: 12px;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.week-days label {
  cursor: pointer;
}
.week-days input {
  position: absolute;
  opacity: 0;
}
.week-days span {
  display: block;
  padding: 10px 4px;
  border: 1px solid #ddcfc3;
  border-radius: 9px;
  text-align: center;
}
.week-days input:checked + span {
  background: #b96e1d;
  border-color: #b96e1d;
  color: #fff;
}
@media (max-width: 800px) {
  .schedule-calendar {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 560px) {
  .schedule-calendar {
    grid-template-columns: repeat(2, 1fr);
  }
  .week-days {
    grid-template-columns: repeat(4, 1fr);
  }
  .schedule-item {
    padding: 16px;
  }
  .schedule-form .primary {
    width: 100%;
  }
}
