.performance-calendar-section {
  background: var(--charcoal);
  color: var(--white);
  letter-spacing: 0;
  scroll-margin-top: 120px;
}

.performance-calendar-section [hidden] {
  display: none !important;
}

.performance-calendar-section > .container > .section-kicker {
  text-align: center;
}

.performance-calendar-section .section-heading {
  margin-bottom: 46px;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.performance-calendar {
  min-width: 0;
  border: 1px solid #454040;
  background: #191717;
}

.calendar-toolbar {
  display: flex;
  min-height: 92px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #454040;
}

.calendar-month {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 300;
  overflow-wrap: anywhere;
}

.calendar-month span {
  display: inline-block;
  margin-left: 10px;
  font-size: 1rem;
  color: #c5bdbb;
}

.calendar-navigation {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.calendar-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #655a58;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.calendar-icon-button:hover {
  background: var(--red-dark);
  border-color: #d18a82;
}

.calendar-icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.calendar-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-mode: alpha;
}

.calendar-icon-previous {
  -webkit-mask-image: url("../icons/calendar/chevron-left.svg");
  mask-image: url("../icons/calendar/chevron-left.svg");
}

.calendar-icon-next {
  -webkit-mask-image: url("../icons/calendar/chevron-right.svg");
  mask-image: url("../icons/calendar/chevron-right.svg");
}

.calendar-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.calendar-grid th {
  height: 42px;
  padding: 0 4px;
  background: #272222;
  color: #c7bdbc;
  font-size: 0.76rem;
  font-weight: 400;
  text-align: center;
}

.calendar-grid abbr {
  text-decoration: none;
}

.calendar-grid td {
  height: 100px;
  padding: 0;
  border: 1px solid #383131;
  vertical-align: top;
}

.calendar-grid td:first-child {
  border-left: 0;
}

.calendar-grid td:last-child {
  border-right: 0;
}

.calendar-grid tr:last-child td {
  border-bottom: 0;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  height: 100px;
  min-width: 0;
  margin: 0;
  padding: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eee7e5;
  font: inherit;
  line-height: 1.2;
  text-align: left;
}

.calendar-day-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  font-size: 0.86rem;
}

.calendar-day.is-outside-month {
  color: #746b69;
}

.calendar-day.has-events {
  background: #49211f;
  box-shadow: inset 3px 0 0 #cc7b70;
  cursor: pointer;
}

.calendar-day.has-events .calendar-day-number {
  background: #f0dfdb;
  color: #3b1410;
}

.calendar-day.has-events:hover {
  background: #602b26;
}

.calendar-day.is-selected {
  outline: 1px solid #f0b2a8;
  outline-offset: -1px;
}

.calendar-day[aria-current="date"] .calendar-day-number {
  outline: 1px solid #d8a29a;
  outline-offset: 1px;
}

.calendar-cell-title {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.73rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.calendar-cell-count {
  margin-top: auto;
  color: #edc9c1;
  font-size: 0.68rem;
}

.calendar-day-dot {
  display: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0b2a8;
}

.calendar-agenda {
  min-width: 0;
  border-top: 2px solid #a86057;
}

.calendar-agenda-heading {
  padding: 21px 0 22px;
}

.calendar-eyebrow {
  margin: 0 0 9px;
  color: #dda69e;
  font-size: 0.8rem;
}

.calendar-agenda-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.calendar-all-dates {
  margin: 12px 0 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid #a86057;
  background: transparent;
  color: #f0c7bf;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.calendar-event-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-event {
  padding: 23px 0;
  border-top: 1px solid #49403d;
  overflow-wrap: anywhere;
}

.calendar-event time {
  color: #e0b1aa;
  font-size: 0.83rem;
}

.calendar-event h4 {
  margin: 12px 0 13px;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 300;
}

.calendar-event p {
  margin: 8px 0 0;
  color: #d0c9c6;
  font-size: 0.92rem;
}

.calendar-event .calendar-event-category {
  color: #dfa69c;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.calendar-event .calendar-event-unannounced {
  margin-top: 17px;
  color: #b7adaa;
  font-size: 0.85rem;
}

.calendar-event a {
  display: inline-block;
  margin-top: 17px;
  color: #f0c7bf;
  font-size: 0.9rem;
  text-underline-offset: 5px;
}

.calendar-empty {
  margin: 0;
  padding: 23px 0;
  border-top: 1px solid #49403d;
  color: #c8bfbc;
}

.calendar-load-status {
  margin: 0 0 20px;
  text-align: center;
  color: #d0c9c6;
}

.performance-calendar-section button:focus-visible,
.performance-calendar-section a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.performance-calendar-section .calendar-day:focus-visible {
  outline-offset: -4px;
}

.calendar-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 950px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .calendar-event-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }
}

@media (max-width: 560px) {
  .performance-calendar-section {
    padding: 64px 18px;
    scroll-margin-top: 90px;
  }

  .performance-calendar-section .section-heading {
    margin-bottom: 30px;
    font-size: 1.65rem;
  }

  .calendar-toolbar {
    min-height: 84px;
    padding: 16px 12px;
    gap: 10px;
  }

  .calendar-month {
    font-size: 1.4rem;
  }

  .calendar-month span {
    display: block;
    margin: 4px 0 0;
    font-size: 0.85rem;
  }

  .calendar-navigation {
    gap: 6px;
  }

  .calendar-grid th {
    height: 36px;
    font-size: 0.64rem;
  }

  .calendar-grid td,
  .calendar-day {
    height: 59px;
  }

  .calendar-day {
    align-items: center;
    padding: 7px 2px;
    gap: 6px;
  }

  .calendar-day-number {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .calendar-cell-title,
  .calendar-cell-count {
    display: none;
  }

  .calendar-day-dot {
    display: block;
  }

  .calendar-event-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
