@font-face {
  font-family: "NextExit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NextExit-Light.ttf") format("truetype");
}

@font-face {
  font-family: "NextExit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NextExit-Bold.ttf") format("truetype");
}

.elementor-widget-shortcode.sbs-schedule-host {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  align-self: stretch !important;
}

.elementor-widget-shortcode.sbs-schedule-host > .elementor-widget-container,
.elementor-widget-shortcode.sbs-schedule-host .elementor-shortcode {
  width: 100% !important;
  max-width: 100% !important;
}

.sbs-schedule {
  --sbs-burgundy: #8b4746;
  --sbs-burgundy-deep: #6f3435;
  --sbs-orange: #ffad2f;
  --sbs-white: #fffaf6;
  --sbs-paper: #f4f3f2;
  --sbs-muted: #f0d9d2;
  --sbs-sticky-top: 0px;
  width: min(1120px, 100%);
  min-width: 0;
  margin-inline: auto;
  overflow: visible;
  color: var(--sbs-white);
  font-family: "NextExit", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.sbs-schedule *,
.sbs-schedule *::before,
.sbs-schedule *::after {
  box-sizing: border-box;
}

.sbs-schedule__tabs {
  position: sticky;
  top: max(var(--sbs-sticky-top), var(--sbs-header-bottom, 0px));
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(var(--sbs-tab-count, 7), minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 2px 0 16px;
  background-color: var(--sbs-sticky-background, var(--sbs-burgundy));
}

.sbs-schedule--pinned .sbs-schedule__tabs {
  /* Cover the space beneath an overhanging header logo without moving the layout. */
  box-shadow: 0 calc(-1 * var(--sbs-sticky-overhang, 0px)) 0 var(--sbs-sticky-background, var(--sbs-burgundy));
}

/* Keep swipe animations clipped without making the sticky tabs a scroll container. */
.sbs-schedule__panels {
  overflow: hidden;
}

body.admin-bar .sbs-schedule {
  --sbs-sticky-top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .sbs-schedule {
    --sbs-sticky-top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .sbs-schedule {
    --sbs-sticky-top: 0px;
  }
}

.sbs-schedule__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 20px;
  appearance: none;
  color: var(--sbs-burgundy);
  background: var(--sbs-paper);
  box-shadow: none;
  font-family: "NextExit", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.sbs-schedule__tab-label {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  justify-content: center;
  transform: translateY(-2px);
}

.sbs-schedule__tab:hover,
.sbs-schedule__tab:focus-visible {
  color: var(--sbs-burgundy-deep) !important;
  background: var(--sbs-white);
  box-shadow: inset 0 0 0 2px rgba(255, 173, 47, 0.9);
}

.sbs-schedule__tab[aria-selected="true"],
.sbs-schedule__tab[aria-selected="true"]:hover,
.sbs-schedule__tab[aria-selected="true"]:focus-visible {
  color: var(--sbs-burgundy-deep) !important;
  background: var(--sbs-orange);
  box-shadow: none;
}

.sbs-schedule__tab:focus-visible,
.sbs-schedule__panel:focus-visible {
  outline: 3px solid var(--sbs-white);
  outline-offset: 4px;
}

.sbs-schedule__panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 390px;
  padding: 38px 48px;
  border: 0;
  background: transparent;
}

.sbs-schedule--enhanced .sbs-schedule__panel[hidden] {
  display: none;
}

.sbs-schedule__list {
  display: grid;
  gap: 2px;
  max-width: 920px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.sbs-schedule__event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 84px;
  padding: 21px 12px;
  border-bottom: 1px solid rgba(255, 250, 246, 0.08);
  text-align: right;
}

.sbs-schedule__event:last-child {
  border-bottom: 0;
}

.sbs-schedule__event > * {
  transform: translateY(-2px);
}

.sbs-schedule__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.sbs-schedule__time {
  color: var(--sbs-orange);
  font-family: "NextExit", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  direction: ltr;
  text-align: right;
}

.sbs-schedule__time-divider {
  flex: 0 0 14px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--sbs-orange);
  transform: translateY(2px);
}

.sbs-schedule__emoji {
  display: inline-grid;
  place-items: center;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(2px);
}

.sbs-schedule__details {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--sbs-white);
  font-family: "NextExit", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.15vw, 1.8rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.sbs-schedule__sport {
  color: var(--sbs-muted);
  font-weight: 600;
}

.sbs-schedule__detail-separator {
  display: inline-block;
  margin-inline: 0.28em;
  color: rgba(255, 250, 246, 0.46);
  font-size: 0.8em;
  vertical-align: 0.08em;
}

.sbs-schedule__day-empty,
.sbs-schedule__empty {
  margin: 0;
  padding: 32px 24px;
  border: 0;
  color: var(--sbs-white);
  font-family: "NextExit", Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .sbs-schedule__panels {
    touch-action: pan-y;
    overscroll-behavior-inline: contain;
    user-select: none;
    -webkit-user-select: none;
  }

  .sbs-schedule__tabs {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    padding-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .sbs-schedule__tabs::-webkit-scrollbar {
    display: none;
  }

  .sbs-schedule__tab {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    scroll-snap-align: start;
  }

  .sbs-schedule__panel {
    padding-inline: 28px;
  }
}

@media (max-width: 600px) {
  .sbs-schedule__tabs {
    margin-inline: 0;
    padding: 10px 6px 14px;
    scroll-padding-inline: 6px;
  }

  .sbs-schedule__tab {
    height: 48px;
    padding: 8px 20px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  .sbs-schedule__panel {
    min-height: 0;
    padding: 20px 2px 6px;
    background: transparent;
  }

  .sbs-schedule__event {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 9px;
    min-height: 74px;
    padding: 17px 8px;
  }

  .sbs-schedule__meta {
    gap: 6px;
  }

  .sbs-schedule__time {
    font-size: 1.25rem;
  }

  .sbs-schedule__time-divider {
    flex-basis: 10px;
    width: 10px;
    transform: translateY(1px);
  }

  .sbs-schedule__emoji {
    font-size: 1.05rem;
    transform: translateY(1px);
  }

  .sbs-schedule__details {
    font-size: 1.1rem;
    line-height: 1.45;
    letter-spacing: 0.018em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-schedule__tab {
    transition: none;
  }
}

.sbs-schedule__opening {
  margin: 0 0 16px;
  color: var(--sbs-orange);
  font: inherit;
  text-align: center;
}
