/* Studio Calendar — matches screenshot at /our-events. */

.studio-calendar {
  width: 100%;
  box-sizing: border-box;
  font-family: "helvetica-w01-roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3a3a3a;
  padding: 0 4px 24px;
}

.studio-calendar * {
  box-sizing: border-box;
}

/* Header bar: < April 2026 > */
.studio-calendar .sc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 18px;
}

.studio-calendar .sc-title {
  min-width: 160px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #333;
  user-select: none;
}

.studio-calendar .sc-nav {
  background: transparent;
  border: 0;
  color: #5a5a5a;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.studio-calendar .sc-nav:hover,
.studio-calendar .sc-nav:focus-visible {
  background: #efefef;
  color: #111;
  outline: none;
}

/* Weekly grid: 7 day columns */
.studio-calendar .sc-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  background: #fff;
}

.studio-calendar .sc-day-head {
  text-align: center;
  padding: 12px 6px 10px;
  font-size: 12px;
  color: #8a8a8a;
  letter-spacing: 0.04em;
  border-right: 1px solid #e6e6e6;
  background: #fff;
}

.studio-calendar .sc-day-head .sc-day-label {
  display: block;
  text-transform: capitalize;
}

.studio-calendar .sc-day-head .sc-day-number {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #444;
}

.studio-calendar .sc-day-head.is-today .sc-day-label,
.studio-calendar .sc-day-head.is-today .sc-day-number {
  color: #2cdbb0;
}

/* Day body cells */
.studio-calendar .sc-day {
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  min-height: 320px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
}

.studio-calendar .sc-day.is-empty {
  background: #f4f4f4;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  font-size: 14px;
}

/* Class card */
.studio-calendar .sc-card {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.studio-calendar .sc-card .sc-time {
  font-size: 14px;
  color: #222;
}

.studio-calendar .sc-card .sc-title-line {
  color: #2a2a2a;
  font-size: 13px;
  margin-bottom: 4px;
}

.studio-calendar .sc-card .sc-meta {
  color: #6d6d6d;
  font-size: 12px;
  margin: 0;
}

.studio-calendar .sc-card .sc-status {
  color: #8a8a8a;
  font-size: 12px;
  margin-top: 2px;
}

.studio-calendar .sc-card .sc-book {
  margin-top: 6px;
  display: inline-block;
  text-align: center;
  /* Brand green (#5CF0BA), matching the Book button on the Wix site. Dark text
     rather than white — white on this mint fails contrast. */
  background: #5cf0ba;
  color: #181818;
  font-weight: 600;
  border: 0;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}

.studio-calendar .sc-card .sc-book:hover,
.studio-calendar .sc-card .sc-book:focus-visible {
  background: #33d99b;
  outline: none;
}

.studio-calendar .sc-card.is-closed .sc-book {
  display: none;
}

.studio-calendar .sc-card.is-closed .sc-status {
  color: #9a9a9a;
}

.studio-calendar .sc-noscript {
  padding: 24px;
  color: #666;
  text-align: center;
}

/* Mobile: stack as a vertical list */
@media (max-width: 760px) {
  .studio-calendar .sc-grid {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 0;
  }
  .studio-calendar .sc-day-head {
    text-align: left;
    padding: 14px 12px 6px;
    border-right: 0;
    border-top: 1px solid #e6e6e6;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .studio-calendar .sc-day-head .sc-day-label,
  .studio-calendar .sc-day-head .sc-day-number {
    display: inline;
    margin: 0;
    font-size: 14px;
  }
  .studio-calendar .sc-day {
    border-right: 0;
    min-height: 0;
    padding: 8px 12px 16px;
  }
  .studio-calendar .sc-day.is-empty {
    min-height: 60px;
    padding: 12px;
  }
}
