:root {
    --bpm-color-blue: #001689;
    --bpm-color-dark-blue: #0b195e;
    --bpm-color-yellow: #ffd100;
    --bpm-color-black: #333333;
    --tec-color-accent-primary: var(--bpm-color-blue) !important;
    --tec-color-accent-primary-hover: color-mix(in srgb, var(--bpm-color-blue) 80%, transparent) !important;
    --tec-color-accent-primary-active: color-mix(in srgb, var(--bpm-color-blue) 90%, transparent) !important;
    --tec-color-accent-primary-background: color-mix(in srgb, var(--bpm-color-blue) 7%, transparent) !important;
    --tec-color-text-primary: var(--bpm-color-dark-blue) !important;
    --tec-color-text-events-title: var(--bpm-color-dark-blue) !important;
    --tec-color-link-accent: var(--bpm-color-blue) !important;
    --tec-color-link-accent-hover: color-mix(in srgb, var(--bpm-color-blue) 80%, transparent) !important;
    --tec-color-button-primary: var(--bpm-color-blue) !important;
    --tec-color-button-primary-hover: color-mix(in srgb, var(--bpm-color-blue) 80%, transparent) !important;
    --tec-font-family-sans-serif: "Nunito", sans-serif !important;
    --tec-font-weight-regular: 500 !important;
    --tec-font-weight-bold: 700 !important;
    --tec-color-text-disabled: color-mix(in srgb, var(--bpm-color-black) 70%, transparent) !important;
    --tec-color-border-default: color-mix(in srgb, var(--bpm-color-blue) 80%, transparent) !important;
    --tec-color-text-secondary: color-mix(in srgb, var(--bpm-color-black) 80%, transparent) !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border {
    border: none !important;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
    font-weight: 600 !important;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input {
    padding: var(--tec-spacer-1) var(--tec-spacer-2) var(--tec-spacer-1) var(--tec-spacer-8) !important;
    border: 2px solid var(--tec-color-border-default) !important;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border-small, .tribe-common--breakpoint-medium.tribe-common a.tribe-common-c-btn-border-small {
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small {
    border: 2px solid var(--tec-color-accent-primary) !important;
}

.tribe-common.tribe-common--breakpoint-medium button.tribe-events-c-top-bar__datepicker-button {
    font-size: var(--tec-font-size-5) !important;
    font-weight: 600 !important;
}

.tribe-events-calendar-list__event-header h4 {
    text-align: left !important;
    font-weight: 800 !important;
}

.tribe-events-single .tribe-events-event-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important; /* or 'contain' depending on desired behavior */
}
.tribe-events-calendar-list__event-featured-image-wrapper a {
    display: block !important;
    overflow: hidden !important;
    outline: 3px solid color-mix(in srgb, var(--bpm-color-blue) 60%, transparent) !important;
    transition: outline-color 0.3s ease !important;
}
.tribe-events-calendar-list__event-featured-image-wrapper a img {
    transition: transform 0.3s ease !important;
}
.tribe-events-calendar-list__event-featured-image-wrapper a:hover {
    outline-color: var(--bpm-color-blue) !important;
}
.tribe-events-calendar-list__event-featured-image-wrapper a:hover img {
    transform: scale(1.05) !important;
}
.tribe-events-pg-template {
    padding-top: 6rem !important;
}
#tribe-events-footer {
    display: none !important;
}
.tribe-events-meta-group a {
    color: var(--tec-color-link-accent) !important;
    text-decoration: none !important;
}
.tribe-events .tribe-events-calendar-list-nav {
    border-top-width: 2px !important;
}
.tribe-events-titlebar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tribe-events-schedule {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin: var(--tec-spacer-1) 0 var(--tec-spacer-1) !important;
}
.tribe-event-date-start {
    font-family: "hardware", sans-serif !important;
    font-size: 2rem !important;
    color: var(--tec-color-text-primary) !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item {
    font-family: "Nunito", sans-serif !important;
    font-size: var(--tec-font-size-4) !important;
    font-weight: 600 !important;
    padding: var(--tec-spacer-2) var(--tec-spacer-3) !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list {
    background-color: white !important;
    border: 1px solid var(--tec-color-accent-primary) !important;
    width: fit-content !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:focus,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:focus-within,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:active,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:hover {
    background-color: var(--tec-color-accent-primary) !important;
    &>a {
        color: white !important;
    }
}
.single-tribe_events .tribe-events-c-subscribe-dropdown,
.tribe-events .tribe-events-c-subscribe-dropdown {
    font-size: var(--tec-font-size-3) !important;
    margin: var(--tec-spacer-3) 0 !important;
}
.tribe-events-back a {
    display: inline-block !important;
    color: #fff !important;
    border: none !important;
    box-shadow: inset 0 0 0 4px var(--bpm-color-yellow) !important;
    border-radius: .9em !important;
    background-color: var(--bpm-color-blue) !important;
    font-size: 17px !important;
    line-height: 1;
    text-transform: uppercase !important;
    padding: 0.8rem 1.4rem !important;
    text-decoration: none !important;
    font-family: "hardware", sans-serif !important;
    letter-spacing: 0.05em !important;
    outline-offset: 2px !important;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
    background-color: white !important;
    border: 1px solid var(--tec-color-accent-primary) !important;
    border-radius: var(--tec-border-radius-default);
    color: var(--tec-color-accent-primary) !important;
    padding: 11px 20px;
    text-align: center;
    transition: var(--tec-transition);
}
.tribe-events-single-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: var(--tec-spacer-5) !important;
}
.tribe-events-meta-group {
    flex: 1 !important;
    margin-right: 0 !important;
}
.tribe-events-meta-group-gmap {
    flex: 0 0 50% !important;
}
.tribe-events-venue-map {
    width: 100% !important;
    height: 250px !important;
    margin: 0 !important;
}
.tribe-events-venue-map iframe {
    width: 100% !important;
}
.tribe-events-event-meta {
    font-family: "Nunito", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}
.tribe-events-single-section {
    border-top: 1px solid color-mix(in srgb, var(--bpm-color-blue) 40%, transparent) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--bpm-color-blue) 40%, transparent) !important;
    margin-top: var(--tec-spacer-5) !important;
}
.tribe-events-single-section .tribe-events-meta-group {
    padding: 2rem 0 !important;
}
.tribe-events-single-event-title {
    font-family: "hardware", sans-serif !important;
    font-size: 3rem !important;
    color: var(--tec-color-text-primary) !important;
    text-align: left !important;
}
.tribe-events-meta-group
.tribe-events-single-section-title {
    font-family: "hardware", sans-serif !important;
    font-size: 24px !important;
    color: var(--tec-color-text-primary) !important;
    text-align: left !important;
    margin: 0 0 1rem 0 !important;
}
.tribe-events-venue-map {
    background-color: var(--bpm-color-blue) !important;
}
.tribe-common .tribe-common-h6 {
    font-size: var(--tec-font-size-8) !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row {
    margin-top: var(--tec-spacer-6);
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row:last-child {
    margin-bottom: var(--tec-spacer-8);
}

@media (max-width: 768px) {
    .tribe-events-pg-template {
        padding-top: 3.5rem !important;
    }
    .tribe-events-titlebar {
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 0 !important;
    }
    .tribe-events-single-section {
        flex-direction: column !important;
    }
    .tribe-events-meta-group,
    .tribe-events-meta-group-gmap {
        flex: none !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .tribe-events-single-section .tribe-events-meta-group {
        padding: 0 0 1rem 0 !important;
    }
    .tribe-events-single-section {
        gap: var(--tec-spacer-1) !important;
    }
    .tribe-common .tribe-common-h6 {
        font-size: var(--tec-font-size-6) !important;
    }
}
@media (min-width: 768px) {
    .tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
        max-height: 250px !important;
    }
}
@media (min-width: 768px) {
    .tribe-events-meta-group {
        padding: 0 !important;
        width: auto !important;
    }
}
