.homon-events {
  display: grid;
  gap: 34px;
  margin: 32px 0;
}

.homon-schedule {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.homon-schedule--notice,
.homon-schedule__empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.homon-schedule__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  font-size: 14px;
}

.homon-schedule-today {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.homon-schedule-today__item {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42,33,27,.06);
}

.homon-schedule-today__facility {
  margin: 0;
  color: var(--brown);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

.homon-schedule-today__status {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.homon-schedule-week,
.homon-schedule-month {
  display: grid;
  gap: 8px;
}

.homon-schedule-week__row,
.homon-schedule-month__day {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(42,33,27,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}

.homon-schedule-week__date,
.homon-schedule-month__date {
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
}

.homon-schedule-month__items {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.homon-schedule-event {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.homon-schedule-event__facility,
.homon-schedule-event__type {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 8px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.homon-schedule-event__facility {
  color: var(--brown);
  background: rgba(185,150,90,.15);
}

.homon-schedule-event__type {
  color: rgba(42,33,27,.72);
  background: rgba(42,33,27,.07);
}

.homon-schedule-event--event .homon-schedule-event__type {
  color: #7a4a18;
  background: rgba(185,150,90,.18);
}

.homon-schedule-event--private .homon-schedule-event__type,
.homon-schedule-event--closed .homon-schedule-event__type {
  color: #5f3428;
  background: rgba(126,62,43,.13);
}

.homon-schedule-event--available .homon-schedule-event__type,
.homon-schedule-event--normal .homon-schedule-event__type {
  color: #3f5d45;
  background: rgba(67,111,76,.12);
}

.homon-schedule-event__title {
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

a.homon-schedule-event__title:hover {
  color: var(--brown);
  text-decoration: underline;
}

.homon-schedule-event__time,
.homon-schedule-event__intro {
  color: var(--muted);
}

.homon-schedule__month-head {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) auto minmax(84px, 1fr);
  gap: 10px;
  align-items: center;
}

.homon-schedule__month-title {
  margin: 0;
  color: var(--brown);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
}

.homon-schedule__pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: .5rem .86rem;
  border: 1px solid rgba(42,33,27,.18);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.homon-schedule__pager--prev {
  justify-self: start;
}

.homon-schedule__pager--next {
  justify-self: end;
}

@media (max-width: 760px) {
  .homon-schedule-today {
    grid-template-columns: 1fr;
  }

  .homon-schedule-week__row,
  .homon-schedule-month__day {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 12px;
  }

  .homon-schedule-event {
    font-size: 13px;
  }

  .homon-schedule-event__facility,
  .homon-schedule-event__type {
    min-height: 20px;
    padding: 1px 7px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .homon-schedule__month-head {
    grid-template-columns: 1fr 1fr;
  }

  .homon-schedule__month-title {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 22px;
  }

  .homon-schedule__pager {
    grid-row: 2;
    width: 100%;
  }
}

.homon-events--empty,
.homon-events--notice {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.homon-events__month {
  display: grid;
  gap: 16px;
}

.homon-events__month-head {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  gap: 12px;
}

.homon-events__month-title {
  margin: 0;
  color: var(--brown);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
}

.homon-events__pager,
.homon-events__pager-spacer {
  min-height: 42px;
}

.homon-events__pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .62rem .95rem;
  border: 1px solid rgba(42,33,27,.18);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
}

.homon-events__pager:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(42,33,27,.32);
}

.homon-events__pager--prev {
  justify-self: start;
}

.homon-events__pager--prev::before {
  content: "<";
  margin-right: .45em;
}

.homon-events__pager--next {
  justify-self: end;
}

.homon-events__pager--next::after {
  content: ">";
  margin-left: .45em;
}

.homon-events__list {
  display: grid;
  gap: 12px;
}

.homon-events__item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.homon-events__item--no-action {
  grid-template-columns: 150px 1fr;
}

.homon-events__item--status {
  background: rgba(255,255,255,.74);
  box-shadow: none;
}

.homon-events__date {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: start;
  column-gap: 8px;
  row-gap: 2px;
  color: var(--brown);
}

.homon-events__date-main {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.homon-events__weekday {
  min-width: 2.2em;
  padding: 2px 8px;
  border: 1px solid rgba(42,33,27,.18);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.homon-events__body {
  min-width: 0;
}

.homon-events__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
}

.homon-events__intro {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.homon-events__action {
  display: flex;
  justify-content: flex-end;
}

.homon-events__button {
  min-width: 112px;
  min-height: 44px;
}

@media (max-width: 820px) {
  .homon-events {
    gap: 30px;
    margin: 28px 0;
  }

  .homon-events__item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 18px;
  }

  .homon-events__item--no-action {
    grid-template-columns: 1fr;
  }

  .homon-events__date {
    grid-template-columns: auto auto;
    column-gap: 8px;
  }

  .homon-events__action {
    width: 100%;
  }

  .homon-events__button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .homon-events__month-head {
    grid-template-columns: 1fr 1fr;
  }

  .homon-events__month-title {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 22px;
  }

  .homon-events__pager,
  .homon-events__pager-spacer {
    grid-row: 2;
    width: 100%;
  }

  .homon-events__date-main {
    font-size: 25px;
  }

  .homon-events__date {
    grid-template-columns: auto auto;
  }

}
