/*
 * Later event archive responsive refinements migrated from Additional CSS.
 * This file intentionally loads after the shared header layer.
 */
/* KYoiQ tablet events container padding 2026-06-21 */
@media (min-width: 768px) and (max-width: 1199px) {
  body.post-type-archive-tribe_events .tribe-events-view section.tribe-common-l-container.tribe-events-l-container,
  body.post-type-archive-tribe_events .tribe-common.tribe-events section.tribe-common-l-container.tribe-events-l-container,
  body.post-type-archive-tribe_events section.tribe-common-l-container.tribe-events-l-container,
  .post-type-archive-tribe_events .tribe-events-view section.tribe-common-l-container.tribe-events-l-container,
  .post-type-archive-tribe_events section.tribe-common-l-container.tribe-events-l-container,
  .page-template-template-onepress .tribe-events-view section.tribe-common-l-container.tribe-events-l-container,
  .page-template-template-onepress section.tribe-common-l-container.tribe-events-l-container,
  .tribe-events-view section.tribe-common-l-container.tribe-events-l-container {
    padding: 64px 19.5px 220px !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator,
  body.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator,
  .post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator,
  .tribe-events .tribe-events-calendar-list__month-separator {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 42px !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator-text,
  body.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator-text,
  .post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator-text,
  .tribe-events .tribe-events-calendar-list__month-separator-text {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator:after,
  body.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator:after,
  .post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__month-separator:after,
  .tribe-events .tribe-events-calendar-list__month-separator:after {
    content: "" !important;
    display: block !important;
    flex: 1 1 auto !important;
    height: 1px !important;
    margin: 0 !important;
    background: #d7d7d7 !important;
  }
}

/* KYoiQ mobile icon view controls 2026-06-21 */
@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-areas:
      "search views"
      "form form" !important;
    align-items: center !important;
    gap: 8px 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    overflow: visible !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar.kyoiq-view-selector-is-open,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar.kyoiq-view-selector-is-open {
    margin-bottom: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button {
    grid-area: search !important;
    position: static !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;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button svg {
    display: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8px !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__views,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__views {
    grid-area: views !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !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,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !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,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__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-view-selector__content,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__content {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !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;
    overflow: visible !important;
    pointer-events: auto !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !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,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #111827 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-text,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-text {
    display: none !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    color: currentColor !important;
    fill: currentColor !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link:hover,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .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:focus,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link:focus {
    background: #eef8ff !important;
    color: var(--kyoiq-color-event-primary) !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-common.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="true"],
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"] {
    background: linear-gradient(180deg, var(--kyoiq-color-event-accent) 0%, #0d5f8f 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(13, 95, 143, .22) !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-container,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-container {
    grid-area: form !important;
    position: static !important;
    display: none !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.kyoiq-search-is-open .tribe-events-c-events-bar__search-container,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar.kyoiq-search-is-open .tribe-events-c-events-bar__search-container,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button[aria-expanded="true"] + .tribe-events-c-events-bar__search-container,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button[aria-expanded="true"] + .tribe-events-c-events-bar__search-container {
    display: block !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-form,
  body.post-type-archive-tribe_events .tribe-common.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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input-control,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__input-group,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__input-control {
    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,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input:focus,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__input:focus {
    padding-left: 14px !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__input-control:focus-within .tribe-events-c-search__input-control-icon-svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__input-control:focus-within .tribe-events-c-search__input-control-icon-svg {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-search__button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 112px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
  }
}
/* End KYoiQ mobile icon view controls 2026-06-21 */

/* KYoiQ mobile event card layout 2026-06-21 */
@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button svg,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    opacity: .72 !important;
    stroke: currentColor !important;
    stroke-width: 1.45px !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link svg *,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link svg *,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button svg *,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button svg * {
    stroke: currentColor !important;
    stroke-width: 1.45px !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 svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link svg,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"] svg,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"] svg {
    opacity: .9 !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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-row,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-row {
    display: block !important;
    width: 100% !important;
    margin: 0 0 32px !important;
    padding: 22px !important;
    padding-top: 0 !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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-date-tag,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-date-tag {
    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;
  }

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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-wrapper,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-wrapper {
    display: block !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,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 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-wrapper,
  body.post-type-archive-tribe_events .tribe-events-view--latest-past .tribe-events-calendar-latest-past__event-featured-image-wrapper,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-featured-image-wrapper,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper {
    order: 1 !important;
    align-self: flex-start !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 0 0 24px !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 .tribe-events-calendar-list__event-featured-image-link,
  body.post-type-archive-tribe_events .tribe-events .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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-featured-image,
  body.post-type-archive-tribe_events .tribe-events .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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-featured-image,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-featured-image {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !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,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-details,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-details {
    order: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* End KYoiQ mobile event card layout 2026-06-21 */

/* KYoiQ mobile thin search icon and image top 2026-06-22 */
@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button {
    position: relative !important;
    color: #111827 !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button::before {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    top: 11px !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    border: 1.45px solid currentColor !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button::after {
    content: "" !important;
    position: absolute !important;
    left: 25px !important;
    top: 25px !important;
    display: block !important;
    width: 8px !important;
    height: 1.45px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transform: rotate(45deg) !important;
    transform-origin: left center !important;
  }

}
/* End KYoiQ mobile thin search icon and image top 2026-06-22 */

/* KYoiQ mobile thin view icons and remove date tag gap 2026-06-22 */
@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-height: 44px !important;
    overflow: visible !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-icon,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link svg,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link svg {
    display: none !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    opacity: .78 !important;
    color: currentColor !important;
    box-sizing: border-box !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"]::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link[aria-current="true"]::before {
    opacity: 1 !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--list .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--list .tribe-events-c-view-selector__list-item-link::before {
    border: 1.25px solid currentColor !important;
    border-radius: 2px !important;
    background:
      linear-gradient(currentColor, currentColor) 4px 4px / 10px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 4px 8px / 10px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 4px 12px / 10px 1px no-repeat !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--month .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--month .tribe-events-c-view-selector__list-item-link::before {
    border: 1.25px solid currentColor !important;
    border-radius: 2px !important;
    background:
      linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat,
      linear-gradient(currentColor, currentColor) 5.5px 7px / 1px 8px no-repeat,
      linear-gradient(currentColor, currentColor) 11.5px 7px / 1px 8px no-repeat,
      linear-gradient(currentColor, currentColor) 3px 9.5px / 12px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 3px 13px / 12px 1px no-repeat !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--day .tribe-events-c-view-selector__list-item-link::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item--day .tribe-events-c-view-selector__list-item-link::before {
    border: 1.25px solid currentColor !important;
    border-radius: 2px !important;
    background:
      linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat,
      linear-gradient(currentColor, currentColor) 5px 10px / 8px 1px no-repeat !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-date-tag,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-date-tag,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-latest-past__event-date-tag,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-date-tag {
    display: none !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-row,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-row,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-latest-past__event-row,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-row {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    padding-top: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-wrapper,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-wrapper,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-latest-past__event-wrapper,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-wrapper,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-latest-past__event,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
/* End KYoiQ mobile thin view icons and remove date tag gap 2026-06-22 */

/* KYoiQ mobile icon center alignment 2026-06-22 */
@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link {
    height: 44px !important;
    min-height: 44px !important;
    line-height: 0 !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button {
    position: relative !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button::before,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button::before {
    left: 12px !important;
    top: 11px !important;
    width: 14px !important;
    height: 14px !important;
    border-width: 1.35px !important;
  }

body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-events-bar__search-button::after,
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-events-bar__search-button::after {
    left: 24.5px !important;
    top: 24.5px !important;
    width: 8px !important;
    height: 1.35px !important;
  }
}
/* End KYoiQ mobile icon center alignment 2026-06-22 */

/* KYoiQ mobile remove list date tag space 2026-06-22 */
@media (max-width: 767px) {
  html body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-row > .tribe-events-calendar-list__event-date-tag,
  html body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-row > .tribe-events-calendar-list__event-date-tag,
  html body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-date-tag.tribe-common-g-col,
  html body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-date-tag.tribe-common-g-col,
  html body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-date-tag,
  html body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-date-tag,
  html body .tribe-events .tribe-events-calendar-list__event-date-tag,
  html body .tribe-common.tribe-events .tribe-events-calendar-list__event-date-tag {
    display: none !important;
    flex: 0 0 0 !important;
    grid-column: auto !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

html body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-row,
  html body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-row,
  html body .tribe-events .tribe-events-calendar-list__event-row,
  html body .tribe-common.tribe-events .tribe-events-calendar-list__event-row {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    gap: 0 !important;
    padding-top: 24px !important;
  }

html body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-wrapper,
  html body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-calendar-list__event-wrapper,
  html body .tribe-events .tribe-events-calendar-list__event-wrapper,
  html body .tribe-common.tribe-events .tribe-events-calendar-list__event-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
/* End KYoiQ mobile remove list date tag space 2026-06-22 */

/* KYoiQ datepicker align under heading 2026-06-22 */
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar,
body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-top-bar {
  overflow: visible !important;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__datepicker,
body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker {
  position: relative !important;
  overflow: visible !important;
  z-index: 10020 !important;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__datepicker-container,
body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-container {
  position: absolute !important;
  top: calc(100% + 34px) !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  width: min(360px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  overflow: visible !important;
  z-index: 10030 !important;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__datepicker-container .datepicker,
body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-container .datepicker {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__datepicker-container,
  body.post-type-archive-tribe_events .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-container {
    top: calc(100% + 30px) !important;
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
  }
}
/* /KYoiQ datepicker align under heading 2026-06-22 */

/* KYoiQ day view mirror list card 2026-06-22 */
@media (min-width: 768px) {
  html body.post-type-archive-tribe_events .tribe-events-view--day .tribe-events-calendar-day__event.kyoiq-day-event-card {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 40px 0 32px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
    min-height: 0 !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-date-tag.custom-day-date-tag {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: start !important;
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, var(--kyoiq-color-event-primary), var(--kyoiq-color-event-heading)) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(31,111,165,.22) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-date-tag .tribe-events-calendar-day__event-date-tag-datetime {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 78px !important;
    height: auto !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;
    transform: translateY(-4px) !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-wrapper.tribe-events-calendar-list__event-wrapper {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-content.tribe-events-calendar-day__event-content {
    display: grid !important;
    grid-template-columns: minmax(0, calc((100% - 24px) / 2)) minmax(0, calc((100% - 24px) / 2)) !important;
    gap: 24px !important;
    align-items: start !important;
    align-content: start !important;
    justify-content: stretch !important;
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-main.tribe-events-calendar-day__event-details {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: initial !important;
    align-self: start !important;
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-media.tribe-events-calendar-day__event-featured-image-wrapper {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: initial !important;
    justify-self: stretch !important;
    align-self: start !important;
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-media .tribe-events-calendar-day__event-featured-image-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

html body.post-type-archive-tribe_events .tribe-events-view--day .kyoiq-day-event-media .tribe-events-calendar-day__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;
  }
}
/* End KYoiQ day view mirror list card 2026-06-22 */

/* KYoiQ list/day vertical rhythm 2026-06-22 */
body.post-type-archive-tribe_events .tribe-events-view--list,
body.post-type-archive-tribe_events .tribe-events-view--day {
  --kyoiq-gap-header-separator: 40px;
  --kyoiq-gap-separator-card: 40px;
  --kyoiq-gap-card-subscribe: 36px;
  --kyoiq-event-card-bottom-space: 32px;
}
body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-header,
body.post-type-archive-tribe_events .tribe-events-view--day .tribe-events-header {
  margin-bottom: var(--kyoiq-gap-header-separator) !important;
  padding-bottom: 0 !important;
}
body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-calendar-list__month-separator,
body.post-type-archive-tribe_events .tribe-events-view--day .tribe-events-calendar-day__time-separator {
  margin-top: 0 !important;
  margin-bottom: var(--kyoiq-gap-separator-card) !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--day .tribe-events-calendar-day__event.kyoiq-day-event-card {
  margin-top: 0 !important;
  margin-bottom: var(--kyoiq-event-card-bottom-space) !important;
}
body.post-type-archive-tribe_events .tribe-events-view--list .tribe-events-c-ical,
body.post-type-archive-tribe_events .tribe-events-view--day .tribe-events-c-ical {
  margin-top: var(--kyoiq-gap-card-subscribe) !important;
}
/* End KYoiQ list/day vertical rhythm 2026-06-22 */
/* KYoiQ list/day event label icons 2026-06-22 */
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .event-status-label::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .event-status-label::before,
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .tribe-events-calendar-list__event-tag-label::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .tribe-events-calendar-day__event-tag-label::before,
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .tribe-events-calendar-list__event-organizer-title::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .tribe-events-calendar-day__event-organizer-title::before {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: 14px !important;
  margin-right: 6px !important;
  color: currentColor !important;
  font-family: "Font Awesome 6 Free" !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .event-status-label::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .event-status-label::before {
  content: "\f133" !important;
  font-weight: 400 !important;
}
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .tribe-events-calendar-list__event-tag-label::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .tribe-events-calendar-day__event-tag-label::before {
  content: "\f02b" !important;
}
body.post-type-archive-tribe_events .tribe-events-view--list .event-labels .tribe-events-calendar-list__event-organizer-title::before,
body.post-type-archive-tribe_events .tribe-events-view--day .event-labels .tribe-events-calendar-day__event-organizer-title::before {
  content: "\f500" !important;
  font-weight: 900 !important;
}
/* End KYoiQ list/day event label icons 2026-06-22 */

