
.events-list {
    text-align: center;
    align-items: end;
}
.events-list > a {
    border-width: 8px;
    border-style: solid;
    font-size: calc(8px + 8px);
    text-decoration: none;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-radius: 1px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    max-width: 200px;
    float: left;
    margin: 1%;
}
.events-list > a:hover {
    text-decoration: underline;
    outline: 3px solid #000;
    border-radius: 0px;
    box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.8);
}
.events-list > a .title {
    color: #000;
    padding: 0.4em 0.2em 0.3em;
}
.events-list > a .date {
    margin-top: auto;
    color: #fff;
    font-weight: bold;
    padding-top: 0.4em;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

@supports (display: grid) {
    .events-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 1em;
    }
    .events-list > a {
        max-width: initial;
    }

}
