/* Availability calendar on the light peach utility-page theme. */
.cal-months { display: grid; grid-template-columns: 1fr; gap: 24px; }
.cal-month {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-grid caption {
  padding-bottom: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  text-align: left;
  caption-side: top;
}
.cal-grid th {
  padding: .4rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
.cal-grid td { padding: 3px; border-bottom: 0; text-align: center; }
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: 15px;
  text-decoration: none;
}
.is-open .cal-day { border-color: var(--line); background: var(--white); color: var(--ink); font-weight: 600; }
.is-open a.cal-day:hover { border-color: var(--coral); background: var(--sand); }
.is-limited .cal-day { background: var(--coral); color: #fff; font-weight: 700; }
.is-booked .cal-day { border-color: var(--line); color: var(--muted); text-decoration: line-through; }
.is-blocked .cal-day { border: 1px dashed var(--line); color: var(--muted); }
.is-past .cal-day { color: var(--muted); opacity: .45; }
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.cal-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: .4rem;
  font-size: 13px;
}
.cal-key.is-open { border-color: var(--line); background: var(--white); color: var(--ink); font-weight: 600; }
.cal-key.is-limited { background: var(--coral); color: #fff; font-weight: 700; }
.cal-key.is-booked { border-color: var(--line); color: var(--muted); text-decoration: line-through; }
.cal-key.is-blocked { border: 1px dashed var(--line); color: var(--muted); }
.cal-key.is-past { color: var(--muted); opacity: .45; }
@media (min-width: 860px) {
  .cal-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
