.ee-events,
.ee-events * {
    box-sizing: border-box;
}

.ee-events {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 20px;
    font-family: inherit;
    color: #252a30;
}

.ee-events__grid {
    display: flex;
    gap: 22px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: 0 0 7px;
}

.ee-events__grid::-webkit-scrollbar {
    display: none;
}

.ee-events__card {
    flex: 0 0 calc(33.333333% - 14.666667px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #edf0f2;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 13px rgba(11, 35, 66, .045);
    scroll-snap-align: start;
}

.ee-events__photo {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1.9 / 1;
    overflow: hidden;
    background: #e4edf3;
}

.ee-events__photo:focus-visible {
    outline: 3px solid #ffbd00;
    outline-offset: -3px;
    z-index: 1;
}

.ee-events__image,
.ee-events__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ee-events__image {
    transition: transform .35s ease, filter .35s ease;
}

.ee-events__photo:hover .ee-events__image,
.ee-events__photo:focus-visible .ee-events__image {
    transform: scale(1.035);
    filter: brightness(.96) saturate(1.06);
}

.ee-events__placeholder {
    background: linear-gradient(135deg, #dcebf5, #a3cae1);
}

.ee-events__body {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    padding: 13px 17px 16px;
}

.ee-events .ee-events__title {
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
    min-height: max(2.5em, var(--ee-title-space, 0px)) !important;
    overflow: visible;
    font-size: 17px;
    line-height: 1.25 !important;
    font-weight: 800;
    letter-spacing: .005em;
    text-align: left;
    text-transform: uppercase;
    color: #06356c;
}

.ee-events .ee-events__title a,
.ee-events .ee-events__title a:visited {
    color: inherit;
    text-decoration: none !important;
    transition: color .2s ease;
}

.ee-events .ee-events__title a:hover,
.ee-events .ee-events__title a:focus-visible {
    color: #0076bc;
    text-decoration: none !important;
}

.ee-events__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 20px;
}

.ee-events .ee-events__detail {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 1.35em;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    font-size: 14px;
    line-height: 1.35 !important;
    color: #252a30;
}

.ee-events .ee-events__detail[aria-hidden="true"] {
    display: none;
}

.ee-events .ee-events__card--reserve-location .ee-events__detail--location {
    min-height: var(--ee-location-space, 0px);
}

.ee-events .ee-events__card--reserve-location .ee-events__detail--location[aria-hidden="true"] {
    display: flex;
    visibility: hidden;
}

.ee-events__detail svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #0076bc;
}

.ee-events__detail span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ee-events .ee-events__button,
.ee-events .ee-events__button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 72%);
    min-height: 41px;
    margin: auto auto 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 5px;
    background: #087fc4;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: none;
}

.ee-events .ee-events__button:hover,
.ee-events .ee-events__button:focus-visible {
    background: #065f9d;
    color: #fff;
    text-decoration: none;
}

.ee-events .ee-events__empty {
    margin: 20px 0;
    text-align: center;
}

.ee-events__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 20px 0 0;
}

.ee-events__controls[hidden] {
    display: none !important;
}

.ee-events .ee-events__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid #087fc4;
    border-radius: 50%;
    background: #fff;
    color: #087fc4;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ee-events .ee-events__arrow:hover:not(:disabled),
.ee-events .ee-events__arrow:focus-visible {
    background: #087fc4;
    color: #fff;
}

.ee-events .ee-events__arrow:disabled {
    opacity: .38;
    cursor: default;
}

.ee-events__counter {
    min-width: 65px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #06356c;
}

@media (prefers-reduced-motion: reduce) {
    .ee-events__image,
    .ee-events .ee-events__title a {
        transition: none;
    }
}

@media (max-width: 900px) {
    .ee-events__card {
        flex-basis: calc(50% - 11px);
    }
}

@media (max-width: 620px) {
    .ee-events__grid {
        gap: 18px;
    }

    .ee-events__card {
        flex-basis: 100%;
    }

    .ee-events .ee-events__button {
        width: 100%;
    }
}
