/*
 * Shared event responsive contracts and later refinements.
 * Loaded after events-single.css to preserve the established cascade.
 */
/* KYoiQ unified responsive events 2026-06-21 */
:root {
  --kyoiq-font-family: "Noto Sans JP", sans-serif;
  --kyoiq-blue: #0f6fa5;
  --kyoiq-blue-dark: #005c86;
  --kyoiq-blue-soft: #eaf6fd;
  --kyoiq-pink: #f2367d;
  --kyoiq-orange: #ff8300;
  --kyoiq-ink: #061225;
  --kyoiq-muted: var(--kyoiq-color-text);
  --kyoiq-border: #b9d9ee;
  --kyoiq-card-shadow: 0 18px 42px rgba(6, 18, 37, 0.08);
}

html,
body,
body button,
body input,
body select,
body textarea,
body optgroup,
body table,
.tribe-common,
.tribe-events {
  font-family: var(--kyoiq-font-family) !important;
}

body *:not(svg):not(path):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.dashicons):not(.lg-icon):not(.ab-icon):not([class^="fa-"]):not([class*=" fa-"]):not([class^="dashicons"]):not([class*=" dashicons"]) {
  font-family: var(--kyoiq-font-family) !important;
}

html body .tribe-events i.fa-solid.tribe-common-c-svgicon,
html body .tribe-common i.fa-solid.tribe-common-c-svgicon {
  color: inherit !important;
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html body .tribe-events .tribe-common-c-loader__dot,
html body .tribe-common.tribe-events .tribe-common-c-loader__dot {
  color: var(--kyoiq-color-primary-hover) !important;
}

html body .tribe-events .tribe-common-c-loader__dot circle,
html body .tribe-common.tribe-events .tribe-common-c-loader__dot circle {
  fill: currentColor !important;
}

body.post-type-archive-tribe_events #primary,
body.post-type-archive-tribe_events #secondary,
.tribe-events,
.tribe-events * {
  box-sizing: border-box;
}

.custom-event-image-wrap {
  position: relative;
  overflow: hidden;
}

.custom-event-image-wrap .custom-event-labels {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
  margin: 0 !important;
  pointer-events: none;
}

.custom-event-image-wrap .custom-event-labels .event-label,
.tribe-events-view--list .event-labels .event-featured-label,
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-organizer-title,
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-tag-label,
.tribe-events-view--list .event-labels .event-status-label,
.tribe-events-view--latest-past .event-labels .event-featured-label,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-organizer-title,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-tag-label,
.tribe-events-view--latest-past .event-labels .event-status-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  height: 30px !important;
  max-width: 100% !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.custom-event-image-wrap .custom-event-labels .event-label i {
  flex: 0 0 auto;
  margin-right: 6px;
  color: currentColor !important;
  font-size: 12px;
  line-height: 1;
}

.custom-event-image-wrap .custom-event-labels .label-featured,
.tribe-events-view--list .event-labels .event-featured-label,
.tribe-events-view--latest-past .event-labels .event-featured-label {
  background: var(--kyoiq-pink) !important;
}

.custom-event-image-wrap .custom-event-labels .label-status,
.tribe-events-view--list .event-labels .event-status-label,
.tribe-events-view--latest-past .event-labels .event-status-label {
  background: var(--kyoiq-orange) !important;
}

.custom-event-image-wrap .custom-event-labels .label-tag,
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-tag-label,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-tag-label {
  background: var(--kyoiq-blue-dark) !important;
}

.custom-event-image-wrap .custom-event-labels .label-organizer,
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-organizer-title,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-organizer-title {
  background: var(--kyoiq-color-organizer-label) !important;
}

.custom-event-image-wrap .custom-event-labels .label-featured { order: 1; }
.custom-event-image-wrap .custom-event-labels .label-status { order: 2; }
.custom-event-image-wrap .custom-event-labels .label-tag { order: 3; }
.custom-event-image-wrap .custom-event-labels .label-organizer { order: 4; }

.tribe-events-view--list .event-labels,
.tribe-events-view--latest-past .event-labels {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
  margin: 18px 0 0 !important;
}

.tribe-events-view--list .event-labels .event-featured-label,
.tribe-events-view--latest-past .event-labels .event-featured-label { order: 2 !important; }
.tribe-events-view--list .event-labels .event-status-label,
.tribe-events-view--latest-past .event-labels .event-status-label { order: 3 !important; }
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-tag-label,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-tag-label { order: 4 !important; }
.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-organizer-title,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-organizer-title { order: 5 !important; }

.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-venue,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-venue {
  order: 1 !important;
  width: 100% !important;
  margin: 0 0 2px !important;
  color: var(--kyoiq-muted) !important;
  font-weight: 700 !important;
}

.tribe-events-view--list .event-labels .tribe-events-calendar-list__event-venue-title,
.tribe-events-view--latest-past .event-labels .tribe-events-calendar-latest-past__event-venue-title {
  color: var(--kyoiq-muted) !important;
}

.tribe-events-view--list .tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-datetime-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.tribe-events-view--list .tribe-events-calendar-list__event-datetime,
.tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-datetime {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px !important;
  height: 42px !important;
  max-width: 100% !important;
  padding: 0 14px 0 58px !important;
  border: 1px solid var(--kyoiq-blue-dark) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--kyoiq-blue-dark) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.tribe-events-view--list .tribe-events-calendar-list__event-datetime::before,
.tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-datetime::before {
  content: "\f133" !important;
  position: absolute !important;
  top: -1px !important;
  bottom: -1px !important;
  left: -1px !important;
  width: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px 0 0 6px !important;
  background: var(--kyoiq-blue-dark) !important;
  color: #fff !important;
  font-family: "Font Awesome 6 Free" !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.tribe-events-calendar-list__event-date-tag,
.tribe-events-calendar-latest-past__event-date-tag {
  width: 78px !important;
  min-width: 78px !important;
  flex: 0 0 78px !important;
  margin: 0 !important;
}

.tribe-events-calendar-list__event-date-tag-datetime,
.tribe-events-calendar-latest-past__event-date-tag-datetime {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 78px !important;
  height: 96px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--kyoiq-color-event-primary), var(--kyoiq-color-event-heading)) !important;
  box-shadow: 0 14px 26px rgba(0, 92, 134, 0.18) !important;
  color: #fff !important;
  text-align: center !important;
}

.tribe-events-calendar-list__event-date-tag-year,
.tribe-events-calendar-latest-past__event-date-tag-year {
  order: 1 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.tribe-events-calendar-list__event-date-tag-month,
.tribe-events-calendar-list__event-date-tag-daynum,
.tribe-events-calendar-latest-past__event-date-tag-month,
.tribe-events-calendar-latest-past__event-date-tag-daynum {
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

.tribe-events-calendar-list__event-date-tag-month,
.tribe-events-calendar-latest-past__event-date-tag-month { order: 2 !important; }
.tribe-events-calendar-list__event-date-tag-daynum,
.tribe-events-calendar-latest-past__event-date-tag-daynum { order: 3 !important; }

.tribe-events-calendar-list__event-title,
.tribe-events-calendar-latest-past__event-title {
  margin: 16px 0 0 !important;
  color: var(--kyoiq-ink) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.tribe-events-calendar-list__event-title-link,
.tribe-events-calendar-latest-past__event-title-link {
  color: inherit !important;
  border: 0 !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button,
.tribe-common .tribe-events-c-subscribe-dropdown__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 12px !important;
  white-space: nowrap !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
.tribe-common .tribe-events-c-subscribe-dropdown__button-text,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon,
.tribe-common .tribe-events-c-subscribe-dropdown__button-icon {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.tribe-events .tribe-events-calendar-list__month-separator {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 52px 0 28px !important;
}

.tribe-events .tribe-events-calendar-list__month-separator-text {
  flex: 0 0 auto !important;
  color: var(--kyoiq-ink) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.tribe-events .tribe-events-calendar-list__month-separator::after {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  height: 1px !important;
  background: #d5d5d5 !important;
}

.tribe-events .tribe-events-c-events-bar {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #d5e8f5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(6, 18, 37, 0.08) !important;
}

.tribe-events .tribe-events-c-events-bar__search-button::before,
.tribe-events .tribe-events-c-events-bar__search-button::after,
.tribe-events .tribe-events-c-view-selector__button::before,
.tribe-events .tribe-events-c-view-selector__button::after {
  content: none !important;
  display: none !important;
}

.tribe-events .tribe-events-c-events-bar__search-button,
.tribe-events .tribe-events-c-view-selector__button {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--kyoiq-ink) !important;
  cursor: pointer !important;
}

.tribe-events .tribe-events-c-events-bar__search-button svg,
.tribe-events .tribe-events-c-view-selector__button svg,
.tribe-events .tribe-events-c-view-selector__list-item-link svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.tribe-events .tribe-events-c-search,
.tribe-events .tribe-events-c-events-bar__search-form {
  width: 100% !important;
  max-width: none !important;
}

.tribe-events .tribe-events-c-search__input-group,
.tribe-events .tribe-events-c-search__input-control {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tribe-events .tribe-events-c-search__input-control-icon-svg {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  z-index: 2 !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  stroke: none !important;
  opacity: .82 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.tribe-events .tribe-events-c-search__input:focus ~ .tribe-events-c-search__input-control-icon-svg,
.tribe-events .tribe-events-c-search__input:not(:placeholder-shown) ~ .tribe-events-c-search__input-control-icon-svg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.tribe-events .tribe-events-c-search__input:placeholder-shown:not(:focus) ~ .tribe-events-c-search__input-control-icon-svg {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.tribe-events .tribe-events-c-search__input,
.tribe-events .tribe-common-form-control-text__input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid #d7e5ef !important;
  border-radius: 6px !important;
  background: #f7fafc !important;
  color: var(--kyoiq-ink) !important;
  font-size: 14px !important;
  line-height: 44px !important;
}

.tribe-events .tribe-events-c-search__input:placeholder-shown:not(:focus) {
  padding-left: 42px !important;
}

.tribe-events .tribe-events-c-search__input::placeholder {
  color: transparent !important;
}

.tribe-events .tribe-events-c-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-width: 118px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--kyoiq-blue-dark) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 18px rgba(0, 92, 134, 0.2) !important;
}

.tribe-events .tribe-events-c-view-selector__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.tribe-events .tribe-events-c-view-selector__list-item,
.tribe-events .tribe-events-c-view-selector__list-item-link {
  min-width: 0 !important;
}

.tribe-events .tribe-events-c-view-selector__list-item-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: var(--kyoiq-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.tribe-events .tribe-events-c-view-selector__list-item-link:hover,
.tribe-events .tribe-events-c-view-selector__list-item-link:focus {
  background: var(--kyoiq-blue-soft) !important;
  color: var(--kyoiq-blue-dark) !important;
  text-decoration: none !important;
}

.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link,
.tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"] {
  background: var(--kyoiq-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 111, 165, 0.25) !important;
}

.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link svg,
.tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"] svg {
  color: #fff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-link,
.tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-link {
  display: block !important;
  width: 100% !important;
}

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image,
.tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  box-shadow: 0 12px 24px rgba(6, 18, 37, 0.08) !important;
}

@media (min-width: 1200px) {
  body.post-type-archive-tribe_events #secondary {
    display: block !important;
  }

.tribe-events .tribe-events-c-events-bar {
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 68px !important;
    padding: 10px !important;
  }

.tribe-events .tribe-events-c-events-bar__search-button,
  .tribe-events .tribe-events-c-view-selector__button {
    display: none !important;
  }

.tribe-events .tribe-events-c-events-bar__search-container {
    position: static !important;
    display: block !important;
    grid-column: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

.tribe-events .tribe-events-c-search,
  .tribe-events .tribe-events-c-events-bar__search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }

.tribe-events .tribe-events-c-events-bar__views {
    display: block !important;
    grid-column: 2 !important;
    justify-self: end !important;
    min-width: 0 !important;
  }

.tribe-events .tribe-events-c-view-selector,
  .tribe-events .tribe-events-c-view-selector__content {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

.tribe-events .tribe-events-c-view-selector__list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-row,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 40px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--kyoiq-card-shadow) !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-date-tag,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag {
    display: flex !important;
    width: 78px !important;
    min-width: 78px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
    align-self: start !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-date-tag-datetime,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag-datetime {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 78px !important;
    height: 96px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--kyoiq-color-event-primary), var(--kyoiq-color-event-heading)) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(0, 92, 134, 0.18) !important;
    text-align: center !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-date-tag-year,
  .tribe-events-view--list .tribe-events-calendar-list__event-date-tag-month,
  .tribe-events-view--list .tribe-events-calendar-list__event-date-tag-daynum,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag-year,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag-month,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag-daynum {
    color: #fff !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-details,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-link,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    box-shadow: 0 12px 24px rgba(6, 18, 37, 0.08) !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.post-type-archive-tribe_events #content-inside.right-sidebar,
  body.post-type-archive-tribe_events #primary {
    width: 100% !important;
    max-width: 100% !important;
  }

body.post-type-archive-tribe_events #primary.content-area {
    float: none !important;
    padding-right: 0 !important;
    border-right: 0 !important;
  }

body.post-type-archive-tribe_events #secondary {
    display: none !important;
  }

.tribe-events .tribe-events-c-events-bar {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-areas: "search spacer views" "form form form" !important;
    align-items: center !important;
    gap: 0 10px !important;
    min-height: 58px !important;
    margin-bottom: 28px !important;
    padding: 6px 10px !important;
  }

.tribe-events .tribe-events-c-events-bar.kyoiq-view-selector-is-open {
    margin-bottom: 92px !important;
  }

.tribe-events .tribe-events-c-events-bar__search-button {
    display: inline-flex !important;
    grid-area: search !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-events-bar__views {
    display: block !important;
    grid-area: views !important;
    justify-self: end !important;
    position: static !important;
    width: 44px !important;
    height: 44px !important;
  }

.tribe-events .tribe-events-c-view-selector {
    position: static !important;
  }

.tribe-events .tribe-events-c-view-selector__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-view-selector__button-icon-caret-svg {
    display: none !important;
  }

.tribe-events .tribe-events-c-events-bar__search-container {
    display: none !important;
    grid-area: form !important;
    width: 100% !important;
    margin: 8px 0 4px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-events-bar.kyoiq-search-is-open .tribe-events-c-events-bar__search-container,
  .tribe-events .tribe-events-c-events-bar__search-button[aria-expanded="true"] + .tribe-events-c-events-bar__search-container {
    display: block !important;
  }

.tribe-events .tribe-events-c-search,
  .tribe-events .tribe-events-c-events-bar__search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

.tribe-events .tribe-events-c-view-selector__content {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;
    display: none !important;
    width: 100% !important;
    padding: 6px !important;
    border: 1px solid #d5e8f5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(6, 18, 37, 0.12) !important;
  }

.tribe-events .tribe-events-c-view-selector.kyoiq-view-selector-is-open .tribe-events-c-view-selector__content,
  .tribe-events .tribe-events-c-view-selector__button[aria-expanded="true"] + .tribe-events-c-view-selector__content {
    display: block !important;
  }

.tribe-events .tribe-events-c-view-selector__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 6px !important;
  }

.tribe-events .tribe-events-c-view-selector__list-item-link {
    width: 100% !important;
    padding: 0 10px !important;
  }

.tribe-events .tribe-events-c-top-bar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

.tribe-events .tribe-events-c-top-bar__today-button {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 110px !important;
    height: 44px !important;
    margin: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-row,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 40px !important;
    padding: 24px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--kyoiq-card-shadow) !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-wrapper {
    min-width: 0 !important;
    width: 100% !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-date-tag,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag {
    width: 78px !important;
    min-width: 78px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-details,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  body.post-type-archive-tribe_events #content-inside.right-sidebar,
  body.post-type-archive-tribe_events #primary {
    width: 100% !important;
    max-width: 100% !important;
  }

body.post-type-archive-tribe_events #primary.content-area {
    float: none !important;
    padding-right: 0 !important;
    border-right: 0 !important;
  }

body.post-type-archive-tribe_events #secondary {
    display: none !important;
  }

.custom-event-image-wrap .custom-event-labels {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }

.custom-event-image-wrap .custom-event-labels .event-label {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

.tribe-events .tribe-events-c-events-bar {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-areas: "search spacer views" "form form form" !important;
    align-items: center !important;
    gap: 0 8px !important;
    min-height: 58px !important;
    margin: 0 0 28px !important;
    padding: 6px 10px !important;
  }

.tribe-events .tribe-events-c-events-bar.kyoiq-view-selector-is-open {
    margin-bottom: 92px !important;
  }

.tribe-events .tribe-events-c-events-bar__search-button {
    display: inline-flex !important;
    grid-area: search !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-events-bar__views {
    display: block !important;
    grid-area: views !important;
    justify-self: end !important;
    position: static !important;
    width: 44px !important;
    height: 44px !important;
  }

.tribe-events .tribe-events-c-view-selector {
    position: static !important;
  }

.tribe-events .tribe-events-c-view-selector__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-view-selector__button-icon-caret-svg {
    display: none !important;
  }

.tribe-events .tribe-events-c-events-bar__search-container {
    display: none !important;
    grid-area: form !important;
    width: 100% !important;
    margin: 8px 0 4px !important;
    padding: 0 !important;
  }

.tribe-events .tribe-events-c-events-bar.kyoiq-search-is-open .tribe-events-c-events-bar__search-container,
  .tribe-events .tribe-events-c-events-bar__search-button[aria-expanded="true"] + .tribe-events-c-events-bar__search-container {
    display: block !important;
  }

.tribe-events .tribe-events-c-search,
  .tribe-events .tribe-events-c-events-bar__search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

.tribe-events .tribe-events-c-view-selector__content {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;
    display: none !important;
    width: 100% !important;
    padding: 6px !important;
    border: 1px solid #d5e8f5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(6, 18, 37, 0.12) !important;
  }

.tribe-events .tribe-events-c-view-selector.kyoiq-view-selector-is-open .tribe-events-c-view-selector__content,
  .tribe-events .tribe-events-c-view-selector__button[aria-expanded="true"] + .tribe-events-c-view-selector__content {
    display: block !important;
  }

.tribe-events .tribe-events-c-view-selector__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 4px !important;
  }

.tribe-events .tribe-events-c-view-selector__list-item-link svg {
    width: 16px !important;
    height: 16px !important;
  }

.tribe-events .tribe-events-c-top-bar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

.tribe-events .tribe-events-c-top-bar__today-button {
    display: none !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-row,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-row {
    display: block !important;
    width: auto !important;
    margin: 0 16px 36px !important;
    padding: 22px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--kyoiq-card-shadow) !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-date-tag,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag {
    display: none !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-wrapper,
  .tribe-events-view--list .tribe-events-calendar-list__event,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event,
  .tribe-events-view--list .tribe-events-calendar-list__event-details,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-details {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-datetime,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-datetime {
    width: auto !important;
    max-width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    padding-left: 54px !important;
    font-size: 12px !important;
  }

.tribe-events-view--list .tribe-events-calendar-list__event-datetime::before,
  .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-datetime::before {
    width: 40px !important;
  }

.tribe-events-calendar-list__event-title,
.tribe-events-calendar-latest-past__event-title {
    font-size: 18px !important;
  }
  body.post-type-archive-tribe_events .site-header .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

.tribe-events .tribe-events-c-view-selector__list-item-link {
    width: 100% !important;
    min-height: 40px !important;
    gap: 4px !important;
    padding: 0 4px !important;
    font-size: 12px !important;
  }

.tribe-events .tribe-events-c-search__button {
    min-width: 84px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}

/* End KYoiQ unified responsive events 2026-06-21 */

/* KYoiQ final events topbar contract 2026-06-21 */
.tribe-common.tribe-events .tribe-events-c-top-bar > .tribe-events-c-top-bar__today-button,
.tribe-events .tribe-events-c-top-bar > .tribe-events-c-top-bar__today-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .tribe-common.tribe-events .tribe-events-c-top-bar__nav,
  .tribe-events .tribe-events-c-top-bar__nav,
  .tribe-events .tribe-events-c-top-bar__nav.tribe-common-a11y-hidden {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

.tribe-common.tribe-events .tribe-events-c-top-bar__nav-list,
  .tribe-events .tribe-events-c-top-bar__nav-list {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

.tribe-common.tribe-events .tribe-events-c-top-bar__nav-list-item,
  .tribe-events .tribe-events-c-top-bar__nav-list-item,
  .tribe-common.tribe-events .kyoiq-topbar-today-item,
  .tribe-events .kyoiq-topbar-today-item {
    display: list-item !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

.tribe-common.tribe-events .tribe-events-c-top-bar__nav-link,
  .tribe-events .tribe-events-c-top-bar__nav-link {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

.tribe-common.tribe-events .kyoiq-topbar-today-item .tribe-events-c-top-bar__today-button,
  .tribe-events .kyoiq-topbar-today-item .tribe-events-c-top-bar__today-button,
  .tribe-events .kyoiq-topbar-today-item .tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 110px !important;
    min-width: 110px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    overflow: visible !important;
    pointer-events: auto !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 767px) {
  .tribe-common.tribe-events .tribe-events-c-top-bar__nav,
  .tribe-events .tribe-events-c-top-bar__nav,
  .tribe-common.tribe-events .tribe-events-c-top-bar__nav.tribe-common-a11y-hidden,
  .tribe-events .tribe-events-c-top-bar__nav.tribe-common-a11y-hidden,
  .tribe-common.tribe-events .kyoiq-topbar-today-item,
  .tribe-events .kyoiq-topbar-today-item,
  .tribe-common.tribe-events .tribe-events-c-top-bar__today-button,
  .tribe-events .tribe-events-c-top-bar__today-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 1199px) {
  .tribe-common.tribe-events .tribe-events-c-events-bar__search-button,
  .tribe-events .tribe-events-c-events-bar__search-button,
  .tribe-common.tribe-events .tribe-events-c-view-selector__button,
  .tribe-events .tribe-events-c-view-selector__button {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 4 !important;
  }

.tribe-common.tribe-events .tribe-events-c-events-bar__search-button::before,
  .tribe-common.tribe-events .tribe-events-c-events-bar__search-button::after,
  .tribe-events .tribe-events-c-events-bar__search-button::before,
  .tribe-events .tribe-events-c-events-bar__search-button::after,
  .tribe-common.tribe-events .tribe-events-c-view-selector__button::before,
  .tribe-common.tribe-events .tribe-events-c-view-selector__button::after,
  .tribe-events .tribe-events-c-view-selector__button::before,
  .tribe-events .tribe-events-c-view-selector__button::after {
    display: none !important;
    content: none !important;
  }

.tribe-common.tribe-events .tribe-events-c-view-selector__button-icon,
  .tribe-events .tribe-events-c-view-selector__button-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

.tribe-common.tribe-events .tribe-events-c-events-bar__search-button svg,
  .tribe-events .tribe-events-c-events-bar__search-button svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    fill: currentColor !important;
    stroke: none !important;
  }

.tribe-common.tribe-events .tribe-events-c-events-bar__search-button svg *,
  .tribe-events .tribe-events-c-events-bar__search-button svg * {
    fill: currentColor !important;
    stroke: none !important;
  }

.tribe-common.tribe-events .tribe-events-c-view-selector__button svg,
  .tribe-events .tribe-events-c-view-selector__button svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
  }
}
/* End KYoiQ final events topbar contract 2026-06-21 */

/* KYoiQ tablet events final contract 2026-06-21 */
@media (min-width: 768px) and (max-width: 1199px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar {
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) auto !important;
    grid-template-areas: "form views" !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 10px !important;
    overflow: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-container {
    grid-area: form !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-form {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input-group {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input-control {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input {
    width: 100% !important;
    min-width: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 112px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__views {
    grid-area: views !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__button {
    display: none !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__content {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item {
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    color: var(--kyoiq-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: transparent !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-icon {
    display: none !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(180deg, var(--kyoiq-color-event-accent) 0%, #0d5f8f 100%) !important;
    box-shadow: 0 8px 16px rgba(13, 95, 143, .22) !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link:hover {
    color: var(--kyoiq-blue) !important;
    background: #eef8ff !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:hover,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="page"]:hover {
    color: #fff !important;
    background: linear-gradient(180deg, var(--kyoiq-color-event-accent) 0%, #0d5f8f 100%) !important;
  }
  body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-row,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-row {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 40px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-date-tag,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-date-tag {
    display: flex !important;
    width: 78px !important;
    min-width: 78px !important;
    flex: 0 0 78px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-wrapper,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-details,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-featured-image-link,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-link,
  body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-featured-image,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__event-featured-image,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }
}
/* End KYoiQ tablet events final contract 2026-06-21 */

