.events-block {
    padding: 100px 0;
}

.events-list {
    padding: 20px 20px 40px;
    border: 20px solid var(--orange);
    position: relative;
}

.events-list li:not(:last-child) {
    border-bottom: 1px solid #D4D1D1;
}

.events-time {
    margin: 30px 0 15px;
    font-weight: 500;
    display: block;
    font-size: 14px;
    line-height: 16px;
}

.events-title{
    font-size: 18px;
    line-height: 24px;
}
.events-title:hover{
    text-decoration: none;
}

.events-desc {
    margin-bottom: 32px;
    padding: 0;
    font-size: 14px;
    line-height: 16px;
}

.events-list:after,
.events-list:before {
    position: absolute;
    content: '';
    width: calc(100% - 75px);
    left: 0;
    right: 0;
    margin: auto;
    height: 20px;
    background: var(--light-gray);
}

.events-list:after {
    bottom: -20px;
}

.events-list:before {
    top: -20px;
}
.events-block .events-list .no-events{
    text-align: center;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    padding-top: 15px;
    padding-bottom: 0;
}
.events-block .events-list .no-events a{
        /* color: #4287d6; */
        font-size: 18px;
       font-style: italic;
}
@media all and (min-width:768px) {
    .events-block {
        padding: 100px 0;
    }
    .events-list {
        padding: 20px 120px 40px;
        border-width: 30px;
    }

    .events-list:after,
    .events-list:before {
        height: 30px;
        width: calc(100% - 245px);
    }

    .events-list:after {
        bottom: -30px;
    }

    .events-list:before {
        top: -30px;
    }
}

@media all and (min-width:992px) {
    .events-list {
        padding: 20px 160px 40px;
    }
    .events-list:after,
    .events-list:before {
        width: calc(100% - 300px);
    }

}