.event-cal-page .single-contents.events {
  width: 100%;
  max-width: 1100px;
}

.event-cal-page #page-sec-01 .inner {
  padding-bottom: 200px;
}

.event-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 28px;
  font-weight: bold;
  font-size: 16px;
}

.event-cal-nav a {
  text-decoration: none;
  color: #333;
}

.event-cal-nav a:hover {
  opacity: 0.7;
}

.event-cal {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px 14px;
  table-layout: fixed;
}

.event-cal th,
.event-cal td {
  text-align: center;
  vertical-align: top;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: bold;
}

.event-cal th {
  padding-bottom: 6px;
  font-size: 16px;
}

.event-cal th:nth-child(6) {
  color: #0033cc;
}

.event-cal th:nth-child(7) {
  color: #ff1f30;
}

.event-cal-day {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
}

button.event-cal-day {
  cursor: pointer;
}

button.event-cal-day:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}

.event-cal-num {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border-radius: 100px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  line-height: 50px;
}

.event-cal-cell.has-event .event-cal-num {
  background: #53b232;
  color: #fff;
}

.event-cal-cell.is-closed .event-cal-num {
  background: #ff1f30;
  color: #fff;
}

.event-cal-cell.is-today .event-cal-num {
  box-shadow: 0 0 0 2px #333;
}

.event-cal-title {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.event-cal-cell.is-closed .event-cal-title {
  color: #ff1f30;
}

.event-cal-cell.is-past {
  opacity: 0.6;
}

.event-cal-dot {
  display: none;
}

#event-cal-pop #todays_event {
  max-height: 50vh;
  overflow: auto;
}

@media screen and (max-width: 600px) {
  .event-cal {
    border-spacing: 2px 10px;
  }

  .event-cal th {
    font-size: 13px;
  }

  .event-cal-num {
    width: 32px;
    height: 32px;
    font-size: 13px;
    line-height: 32px;
    margin-bottom: 4px;
  }

  .event-cal-title {
    font-size: 10px;
  }

  .event-cal-cell.has-event .event-cal-title {
    display: none;
  }

  .event-cal-cell.has-event .event-cal-dot {
    display: block;
    width: 6px;
    height: 6px;
    margin: 4px auto 0;
    border-radius: 50%;
    background: #000;
  }

  .event-cal-nav {
    font-size: 14px;
  }
}
