.event__banner .event__heading {
    margin-top: 65px;
    margin-bottom: 60px;
}

.event__banner .image img {
    height: 350px !important;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

.event__filter-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 50px;
    gap: 20px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.event__filter-top .event__list--total {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.2625px;
    text-transform: uppercase;
    color: #2957A4;
}

.page-template-events .events__list--box {
    margin-top: 60px;
}

.event__schedule a {
    padding: 15px 35px;
    padding-right: 60px;
    border: 1px solid #D45515;
    background: #D45515;
    font-family: 'Barlow';
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.2625px;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
    vertical-align: top;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.event__schedule a:focus,
.event__schedule a:hover {
    color: #2957a4;
    border-color: #2957a4;
    background-color: transparent;
    color: #2957a4;
}

.event__schedule a.schedule span {
    position: relative;
}

.event__schedule a.schedule span:after,
.event__schedule a.schedule span:before {
    content: '';
    width: 12px;
    height: 10px;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2215%22%20height%3D%2216%22%20viewBox%3D%220%200%2015%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.83434%204.05921L11.6415%203.9696L11.5519%2010.7767%22%20stroke%3D%22white%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M11.1899%204.28465L3.51236%2011.9622%22%20stroke%3D%22white%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22square%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: -23px;
    top: 4px;
    -webkit-transition: opacity .6s ease, -webkit-transform .6s ease;
    transition: opacity .6s ease, -webkit-transform .6s ease;
    -o-transition: transform .6s ease, opacity .6s ease;
    transition: transform .6s ease, opacity .6s ease;
    transition: transform .6s ease, opacity .6s ease, -webkit-transform .6s ease;
}

.event__schedule a.schedule span:after {
    opacity: 0;
    -webkit-transform: translate3d(0);
            transform: translate3d(0);
}

.event__schedule a.schedule:hover span:after,
.event__schedule a:focus span:before ,
.event__schedule a:hover span:before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" width%3D"15" height%3D"16" viewBox%3D"0%200%2015%2016" fill%3D"none"%3E%3Cpath d%3D"M4.83434%204.05921L11.6415%203.9696L11.5519%2010.7767" stroke%3D"%232957A4" stroke-width%3D"1.4" stroke-linejoin%3D"round"%2F%3E%3Cpath d%3D" M11.1899%204.28465L3.51236%2011.9622" stroke%3D"%232957A4" stroke-width%3D"1.4" stroke-linecap%3D"square"%2F%3E%3C%2Fsvg%3E');
    -webkit-transition: opacity .6s ease, -webkit-transform .6s ease;
    transition: opacity .6s ease, -webkit-transform .6s ease;
    -o-transition: transform .6s ease, opacity .6s ease;
    transition: transform .6s ease, opacity .6s ease;
    transition: transform .6s ease, opacity .6s ease, -webkit-transform .6s ease;
}

.event__schedule a.schedule:hover span:before {
    -webkit-transform: translate3d(10px, -10px, 0);
            transform: translate3d(10px, -10px, 0);
    opacity: 0;
}

.event__schedule a.schedule:hover span:after {
    opacity: 1;
    -webkit-transform: translate3d(0);
            transform: translate3d(0);
}

.event__filter-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.list--item-filter {
    padding: 12px 0;
    margin: 0;
    list-style: none;
}

.event__filter-form .filter__item {
    position: relative;
}

.list--item-filter li {
    padding: 4px 36px;
    background: #FFFFFF;
}

.list--item-filter a {
    color:#000000;
}

.list--item-filter a:hover {
    color: #2957A4;
}

.list--item-filter a:before {
    opacity: 0;
}

.list--item-filter li:hover a:before {
    opacity: 0;
}

.filter__item .list {
    position: absolute;
    top: 100%;
    width: 100%;
    border: 1px solid #2957A4;
    border-top: 0;
    z-index: 2;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    background: #FFFFFF;
}

.filter__item .list::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.filter__item .list::-webkit-scrollbar
{
	width: 5px;
	background-color: #F5F5F5;
}

.filter__item .list::-webkit-scrollbar-thumb
{
	background-color: #000000;
	border: 2px solid #555555;
}

.event__filter-form .value {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 15px 36px;
    padding-right: 60px;
    gap: 10px;
    border: 1px solid #2957A4;
    font-family: 'Barlow';
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    text-align: right;
    letter-spacing: 0.2625px;
    text-transform: uppercase;
    color: #2957A4;
    cursor: pointer;
    position: relative;
    min-width: 169px;
}

.event__filter-form .month .value {
    padding-right: 70px;
    min-width: 190px;
}

.event__filter-form .value:before {
    content: '';
    position: absolute;
    right: 33px;
    top: 15px;
    width: 24px; /* Set width */
    height: 24px; /* Set height */
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%209L12%2015L18%209%22%20stroke%3D%22%232957A4%22%2F%3E%3C%2Fsvg%3E');
    background-position: center; /* Optional: centers the SVG in the element */
    -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
            transform: scaleY(1);
    -webkit-transition: -webkit-transform .5s ease-in-out;
    transition: -webkit-transform .5s ease-in-out;
    -o-transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out, -webkit-transform .5s ease-in-out;
}

.events__list--wrapper .events__list--event {
    margin-top: 25px;
    padding-bottom: 30px;
}

.event__filter-form .active .value:before {
    -webkit-transform: scaleY(-1);
        -ms-transform: scaleY(-1);
            transform: scaleY(-1);
}

.events__list--wrapper .events-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 40px 1fr 40px 1fr;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 50px;
    margin-bottom: 50px;
}

.events__list--wrapper .events-list > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.events__list--wrapper .events-list > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.events__list--wrapper .events-list > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
}

.events__list--wrapper .event__list--total {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.2625px;
    text-transform: uppercase;
    color: #2957A4;
}

.card__item .card__image img {
    aspect-ratio: 355/355;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

.card__item .card__title {
    padding-top: 24px;
}

.card__item .card__title a {
    font-family: 'Barlow';
    font-weight: 600;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.3px;
    color: #000000;
}

.card__item .card__title a:hover {
    color: #2957A4;
}

.card__item .card__info {
    margin-top: 5px;
}

.card__item .event__info:not(:first-child) {
    margin-top: 3px;
}

.card__item .event__info svg {
    position: absolute;
    left: 0;
}

.card__item .event__info.location svg {
    left: 1px;
    top: 2px;
}

.card__item .event__info.contact svg {
    left: 2px;
    top: 3px;
}

.card__item .event__info {
    position: relative;
    padding-left: 32px;
}

.card__item .event__info .text {
    font-family: 'Barlow';
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #000000;
}

.card__item .event__info a.text:hover {
    color: #2957A4;
}

.events__list--wrapper .event__pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.events__list--wrapper .event__pagination .pagination-link {
    width: 44px;
    height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.events__list--wrapper .event__pagination .pagination-link span,
.events__list--wrapper .event__pagination .pagination-link a {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    color: #2957A4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.events__list--wrapper .event__pagination .pagination-link:hover span:not(.dots),
.events__list--wrapper .event__pagination .pagination-link:hover a,
.events__list--wrapper .event__pagination .pagination-link span.current {
    background: #2957A4 !important;
    color: #fff;
}

.events__list--wrapper .event__pagination .pagination-link:hover a svg path {
    stroke: #fff;
}

@media only screen and (max-width: 991px) {
    .events__list--wrapper .events-list {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    }

    .event__banner .event__heading {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .events__list--wrapper .events-list {
        -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 660px) {
    .event__filter-top .event__schedule,
    .event__schedule a,
    .event__filter-form,
    .event__filter-form .filter__item {
        width: 100%;
    }

    .event__filter-form .value,
    .event__filter-form .month .value {
        min-width: initial;
    }

    .event__schedule a {
        text-align: center;
    }

    .event__filter-form .value {
        padding: 15px 20px;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
}

@media only screen and (max-width: 475px) {
    .event__filter-form .value {
        padding: 15px;
    }

    .event__filter-form {
        gap: 15px;
    }
    .event__filter-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 20px;
    }
}