.ongoing-events h2,
.calendar h2,
.featured-events h2 {
    text-align: center;
}
.ongoing-events h2:after,
.calendar h2:after,
.featured-events h2:after {
    content: '';
    display: block;
    margin: 1em auto 2em;
    width: 225px;
    border-bottom: 2px solid #FFF;
}
.calendar h2:after {
    border-bottom-color: var(--main-blue);
}
.ongoing-events .flexed,
.calendar .flexed,
.featured-events .flexed {
    margin-bottom: 1.5em;
}
.ongoing-event,
.single-event,
.featured-event {
    flex-basis: 31%;
}
.ongoing-event,
.single-event {
    margin-bottom: 1.5em;
}
.ongoing-events .flexed:after,
.calendar .flexed:after {
    content: '';
    flex-basis: 31%;
}
.ongoing-event,
.single-event a,
.featured-event a {
    background: #FFF;
    padding-bottom: 50px;
}
.single-event a,
.featured-event a {
    display: block;
    position: relative;
    height: 100%;
}
.ongoing-event span,
.single-event span,
.featured-event span {
    display: block;
}
.ongoing-event span.event-photo,
.event-thumbnail,
.featured-event span.event-photo {
    line-height: 0;
    overflow: hidden;
}
.event-thumbnail,
.ongoing-event span.event-photo {
    height: 0;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all ease 0.3s;
}
.event-thumbnail.no-thumbnail {
    background-color: #efefef;
    background-size: 80% auto;
}
.event-thumbnail {
    margin-bottom: 10px;
}
.ongoing-event span.event-photo img,
.featured-event span.event-photo img {
    width: 100%;
    transition: all ease 0.3s;
}
.ongoing-event span.event-title,
.featured-event span.event-title {
    padding: 15px 20px;
    font-family: 'Arvo', serif;
    font-weight: 400;
    color: var(--main-blue);
}
.single-event h3 {
    font-size: 1.25rem;
    padding: 10px 20px;
}
.single-event p,
.ongoing-event span.event-description {
    padding: 0 20px 15px;
    font-size: 1.1875rem;
    color: var(--gray);
}
.single-event p:last-of-type {
    margin-bottom: 0;
}
.ongoing-event span.learn-more,
.single-event span.learn-more,
.featured-event span.learn-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 20px 15px;
    font-size: 1.1875rem;
    color: var(--gray);
    transition: all ease 0.3s;
}
.ongoing-event span.learn-more i.fas,
.single-event span.learn-more i.fas,
.featured-event span.learn-more i.fas {
    font-size: 0.875rem;
}
.ongoing-event span.learn-more a:hover,
.ongoing-event span.learn-more a:focus,
.single-event a:hover span.learn-more,
.single-event a:focus span.learn-more,
.featured-event a:hover span.learn-more,
.featured-event a:focus span.learn-more {
    color: var(--main-blue);
    text-decoration: underline;
}
.by .featured-event a:hover span.learn-more,
.by .featured-event a:focus span.learn-more {
    color: #000;
}
.featured-event a:hover span.event-photo img,
.featured-event a:focus span.event-photo img {
    transform: scale(1.1);
}

/*.calendar .container {
    max-width: 1100px;
}
.calendar .tribe-events-list-separator-month {
    font-size: 32px;
    font-size: 2rem;
}
.calendar .tribe-events-list .type-tribe_events,
.calendar .tribe-events-loop .type-tribe_events.tribe-events-last {
    border: 2px solid var(--gray, #444);
    padding: 1em;
}
.calendar #tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
    font-family: hind siliguri,sans-serif;
    font-weight: 600;
}*/

@media screen and (max-width: 1023px){
    .ongoing-events .flexed,
    .calendar .flexed,
    .featured-events .flexed {
        display: block;
    }
    .ongoing-event,
    .single-event,
    .featured-event {
        max-width: 600px;
        margin: 0 auto 1.5em;
    }
}