/* Gym Skills Events — brand styling for The Events Calendar views (month / list / day / single event) */

:root,
.tribe-common,
.tribe-events,
.tec-events-elementor-widget,
.tribe-events-single {
  --tec-font-family-sans-serif: 'Poppins', Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;

  --tec-color-text-primary: #333333;
  --tec-color-text-primary-light: #5B6B7F;
  --tec-color-text-secondary: #5B6B7F;
  --tec-color-text-events-title: #05458F;
  --tec-color-text-event-title: #05458F;
  --tec-color-text-event-date: #05458F;
  --tec-color-text-secondary-event-date: #5B6B7F;
  --tec-color-text-disabled: #A9B4C2;

  --tec-color-accent-primary: #05458F;
  --tec-color-accent-primary-hover: #1CBBB4;
  --tec-color-accent-primary-active: #05458F;
  --tec-color-accent-primary-background: #EEF3F9;
  --tec-color-accent-secondary: #FFAF00;
  --tec-color-accent-secondary-hover: #FFC23D;
  --tec-color-accent-secondary-active: #E69D00;
  --tec-color-accent-secondary-background: #FFF4D6;

  --tec-color-link-primary: #05458F;
  --tec-color-link-accent: #1CBBB4;
  --tec-color-link-accent-hover: #05458F;

  --tec-color-button-primary: #05458F;
  --tec-color-button-primary-hover: #1CBBB4;
  --tec-color-button-primary-active: #05458F;
  --tec-color-button-primary-background: #05458F;
  --tec-color-button-secondary: #EEF3F9;
  --tec-color-button-secondary-hover: #FFAF00;

  --tec-color-background-events: #FFFFFF;
  --tec-color-background-events-bar: #EEF3F9;
  --tec-color-background-events-bar-submit-button: #05458F;
  --tec-color-background-events-bar-submit-button-hover: #1CBBB4;
  --tec-color-background-events-bar-submit-button-active: #05458F;
  --tec-color-background-secondary: #EEF3F9;
  --tec-color-background-secondary-hover: #E4F3F1;
  --tec-color-background-primary-multiday: rgba(5, 69, 143, .18);
  --tec-color-background-primary-multiday-hover: rgba(5, 69, 143, .28);
  --tec-color-background-secondary-multiday: rgba(28, 187, 180, .25);
  --tec-color-background-secondary-multiday-hover: rgba(28, 187, 180, .35);
  --tec-color-background-view-selector: #FFFFFF;
  --tec-color-background-view-selector-list-item-hover: #EEF3F9;
  --tec-color-background-messages: #EEF3F9;

  --tec-color-border-default: #E4E9F0;
  --tec-color-border-secondary: #E4E9F0;
  --tec-color-border-active: #1CBBB4;
  --tec-color-border-hover: #1CBBB4;

  --tec-color-day-marker-month: #5B6B7F;
  --tec-color-day-marker-current-month: #05458F;
  --tec-color-day-marker-past-month: #A9B4C2;

  --tec-color-icon-primary: #5790CC;
  --tec-color-icon-secondary: #5B6B7F;
  --tec-color-icon-active: #05458F;
  --tec-color-icon-focus: #1CBBB4;
  --tec-color-icon-disabled: #C9D3DF;

  --tec-color-box-shadow-tooltip: 0 12px 30px rgba(5, 69, 143, .16);
  --tec-color-box-shadow-multiday-calendar-event-hover: 0 6px 18px rgba(5, 69, 143, .16);
}

/* ---- Five-color brand bar across the top of every calendar view ---- */
.tribe-events .tribe-events-l-container::before,
.tribe-events-single .tribe-events-single-event-title::before {
  content: "";
  display: block;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 22px;
  background: linear-gradient(to right,
    #FFAF00 0 20%, #7BC64D 20% 40%, #1CBBB4 40% 60%, #5790CC 60% 80%, #05458F 80% 100%);
}

/* ---- Typography ---- */
.tribe-common,
.tribe-common *:not(i):not(svg),
.tribe-events-single {
  font-family: 'Poppins', Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
.tribe-common .tribe-common-h1,
.tribe-common .tribe-common-h2,
.tribe-common .tribe-common-h3,
.tribe-events-single .tribe-events-single-event-title {
  font-weight: 800;
  color: #05458F;
  letter-spacing: -.01em;
}
.tribe-common .tribe-events-c-top-bar__datepicker-button,
.tribe-common .tribe-events-c-top-bar__datepicker-desktop {
  font-weight: 700;
  color: #05458F;
}

/* ---- Buttons: pill shape, brand colors ---- */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border,
.tribe-common .tribe-events-c-search__button,
.tribe-common .tribe-events-c-subscribe-dropdown__button,
.tribe-events-single .tribe-events-c-subscribe-dropdown__button,
.tribe-events-single a.tribe-events-button,
.tribe-events-single .tribe-events-button {
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: 0;
}
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common .tribe-events-c-search__button,
.tribe-events-single a.tribe-events-button,
.tribe-events-single .tribe-events-button {
  background: #05458F;
  color: #fff;
}
.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:hover,
.tribe-common .tribe-events-c-search__button:hover,
.tribe-events-single a.tribe-events-button:hover {
  background: #1CBBB4;
  color: #05458F;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border,
.tribe-common .tribe-events-c-subscribe-dropdown__button {
  border: 2px solid #05458F;
  color: #05458F;
  background: #fff;
}
.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common .tribe-events-c-subscribe-dropdown__button:hover {
  background: #05458F;
  color: #fff;
}

/* ---- Events bar (search + view switcher) ---- */
.tribe-common .tribe-events-c-events-bar {
  border-radius: 999px;
  background: #EEF3F9;
}
.tribe-common .tribe-events-c-events-bar__search-container,
.tribe-common .tribe-events-c-view-selector__button {
  border-radius: 999px;
}
.tribe-common .tribe-events-c-view-selector__list-item-link:hover,
.tribe-common .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
  color: #05458F;
  background: #E4F3F1;
}
.tribe-common .tribe-events-c-view-selector__content {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(5, 69, 143, .16);
}

/* ---- Month view ---- */
.tribe-events .tribe-events-calendar-month__header-column-title {
  color: #05458F;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-date-link:hover {
  color: #05458F;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
  background: #FFAF00;
  color: #05458F;
  border-radius: 999px;
  padding: 2px 8px;
}
.tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured-icon svg,
.tribe-events .tribe-events-calendar-list__event-datetime-featured-icon svg {
  color: #FFAF00;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover {
  color: #1CBBB4;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
  border-radius: 999px;
  background: #05458F;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
  color: #fff;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
  background: #05458F;
  border-radius: 12px;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
  color: #fff;
}
.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
  background: #1CBBB4;
}
.tribe-events .tribe-events-calendar-month__calendar-event-tooltip {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(5, 69, 143, .16);
}

/* ---- List / day views: rounded event cards ---- */
.tribe-events .tribe-events-calendar-list__event-row,
.tribe-events .tribe-events-calendar-day__event {
  padding: 18px;
  border: 1px solid #E4E9F0;
  border-radius: 18px;
  margin-bottom: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tribe-events .tribe-events-calendar-list__event-row:hover,
.tribe-events .tribe-events-calendar-day__event:hover {
  border-color: #1CBBB4;
  box-shadow: 0 10px 28px rgba(5, 69, 143, .10);
}
.tribe-events .tribe-events-calendar-list__event-featured-image,
.tribe-events .tribe-events-calendar-day__event-featured-image {
  border-radius: 14px;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events .tribe-events-calendar-day__event-date-tag-weekday {
  color: #1CBBB4;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum,
.tribe-events .tribe-events-calendar-day__event-date-tag-daynum {
  color: #05458F;
  font-weight: 800;
}
.tribe-events .tribe-events-calendar-list__month-separator-text,
.tribe-events .tribe-events-calendar-day__time-separator-text {
  color: #05458F;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events .tribe-events-calendar-day__event-title-link:hover {
  color: #1CBBB4;
}
.tribe-events .tribe-events-calendar-list__event-cost,
.tribe-events .tribe-events-calendar-day__event-cost {
  color: #05458F;
  font-weight: 700;
}
.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime::after,
.tribe-events .tribe-events-calendar-day__event--featured .tribe-events-calendar-day__event-date-tag-datetime::after {
  background: #FFAF00;
}
.tribe-events .tribe-events-calendar-list__event-row--featured,
.tribe-events .tribe-events-calendar-day__event--featured {
  background: #EEF3F9;
}
.tribe-events .tribe-events-c-nav__list {
  border-top: 1px solid #E4E9F0;
}
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next,
.tribe-events .tribe-events-c-nav__today {
  color: #05458F;
  font-weight: 700;
}

/* ---- Datepicker ---- */
.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .year.active {
  background: #05458F;
  border-radius: 999px;
}
.tribe-events .datepicker .day.current {
  color: #05458F;
  font-weight: 700;
}

/* ---- Single event page ---- */
.tribe-events-single .tribe-events-schedule,
.tribe-events-single .tribe-events-event-meta {
  background: #EEF3F9;
  border: 0;
  border-radius: 18px;
  padding: 22px;
}
.tribe-events-single .tribe-events-single-section-title {
  color: #05458F;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}
.tribe-events-single .tribe-events-event-image img,
.tribe-events-single .tribe-events-event-image {
  border-radius: 18px;
  overflow: hidden;
}
.tribe-events-single .tribe-events-schedule .tribe-events-cost {
  color: #05458F;
  font-weight: 800;
}
.tribe-events-single .tribe-events-cal-links .tribe-events-button,
.tribe-events-single .tribe-events-back a {
  color: #05458F;
  font-weight: 700;
}
