#home-events { 


    width: 100%; 
}

#home-events h2 {
    background: #1B2E3A;
    border-radius: 8px; 
    color: #fff;
    font-weight: 400;
    letter-spacing: .06em;
    margin: 0 0 16px; 
    padding: 8px 12px 6px;
    position: relative;
    text-transform: uppercase;
    font-size: 1.6em;
    box-shadow: 0 2px 14px -4px #222;
   
}

#home-events > div > div {    display: flex;
    gap: 20px;}

#home-events h2 img {
    display: inline-block;
    height: 22px;
    margin-right: 8px; 
    vertical-align: baseline; 
}

#home-events h2 a {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    right: 14px; 
    text-transform: none;
    top: 13px;
}

#home-events h2 a:hover {
    color: #ffa;
    text-decoration: none;
}

#home-events > div:first-of-type {
    height: auto !important;
}

#home-events .ccm-block-calendar-event-list-event {
    background: #fff;
    border-radius: 8px; 
    box-shadow: 0 3px 8px -3px #aaa;
    margin-bottom: 20px; 
    padding: 20px;
    flex: 0 0 33%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#home-events .ccm-block-calendar-event-list-event-date {
    display: none; 
}

#home-events .ccm-block-calendar-event-list-event-title {
  
}

#home-events .ccm-block-calendar-event-list-event-title a {
    color: #1B2E3A;
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1.2em; 
    padding: 4px 0 6px;
}

#home-events .ccm-block-calendar-event-list-event-title a:hover {
    color: #205b81;
    text-decoration: none;
}

#home-events .ccm-block-calendar-event-list-event-date-full {
    color: #6A7481;
    font-size: 0.9em;
    font-weight: 700;
 
}

#home-events .ccm-block-calendar-event-list-event-description {

}

#home-events .ccm-block-calendar-event-list-event-description p {
    margin-bottom: 16px;
    margin-top: 10px;
    line-height: 1.4em;
}

#home-events .trainers {
    background: #DAE1EA;
    border-radius: 0 0 8px 8px;
    padding: 8px 16px;
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
}

#home-events .trainers span {
    display: inline-block;
    margin-right: 12px; 
    font-size: .9em;
    font-style: italic;
}

/* #home-events .trainers span:before {
    background: #fff;
    border-radius: 50%; 
    content: "";
    display: inline-block; 
    height: 22px;
    margin-right: 6px; 
    vertical-align: middle; 
    width: 22px;
} */

/* #home-events .trainers img {
    height: 34px;
    margin-right: 8px;
} */

#home-events .trainers img:nth-of-type(2) {
    margin-left: 16px;
}

@media screen and (max-width: 1790px) {
    #home-events .ccm-block-calendar-event-list-event-description p {
        font-size: .9em;
    }
}

@media screen and (max-width: 1080px) {
  
    #home-events .ccm-block-calendar-event-list-event {
        height: 200px;
    }
    #home-events h2 {font-size: 1.2em;}
    #home-events div {overflow:visible!important;}
    #home-events .ccm-block-calendar-event-list-event {box-shadow: 0px 0px 8px 2px #aaa;}
}

@media screen and (max-width: 1024px) {
    #home-events {
        clear: both; 
        float: none; 
        padding: 8px 6%; 
        width: 100%; 
    }

 
 
}

@media screen and (max-width: 800px) {
    #home-events h2 a {
        position: static;
    }

    #home-events h2 a {
  
        font-size: 13px;
   
    }
    #home-events .ccm-block-calendar-event-list-event {
        height: 215px;
    }
}