.hugo--event-list .events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.hugo--event-list .event-item {
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    overflow: hidden;
    color: #333;
    transition: all .3s;
}

.hugo--event-list .event-item:hover,
.hugo--event-list .event-item:focus,
.hugo--event-list .event-item:active {
    box-shadow: 0px 0px 5px #888;
}

.hugo--event-list .event-item.hidden {
    display: none;
}

.hugo--event-list .event-item .info {
    flex: 0 0 150px;
    text-align: center;
    background-color: var(--hugo-event-week-1);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.hugo--event-list .event-item:nth-child(5n+1) .info { background-color: var(--hugo-event-week-1); }
.hugo--event-list .event-item:nth-child(5n+2) .info { background-color: var(--hugo-event-week-2); }
.hugo--event-list .event-item:nth-child(5n+3) .info { background-color: var(--hugo-event-week-3); }
.hugo--event-list .event-item:nth-child(5n+4) .info { background-color: var(--hugo-event-week-4); }
.hugo--event-list .event-item:nth-child(5n+5) .info { background-color: var(--hugo-event-week-5); }

.hugo--event-list .event-item .info img {
    object-fit: cover;
    height: 150px;
    width: 100%;
}

.hugo--event-list .event-item .content .date {
    text-align: center;
    font-size: .8rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.hugo--event-list .event-item .content {
    flex: 1 0 auto;
    text-align: center;
    padding: 1rem;
}

.hugo--event-list .event-item .name {
    padding: 0;
    margin: 1rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: normal;
}

.hugo--event-list .event-item .classes {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.hugo--event-list .event-item .classes .class {
    display: inline-block;
    margin-right: 4px;
    border-radius: 50%;
    border: 1px solid #3333;
    width: 20px;
    height: 20px;
}

.hugo--event-list .event-item .classes .class.class-ruzova { background-color: var(--hugo-event-class-ruzova); }
.hugo--event-list .event-item .classes .class.class-cervena { background-color: var(--hugo-event-class-cervena); }
.hugo--event-list .event-item .classes .class.class-oranzova { background-color: var(--hugo-event-class-oranzova); }
.hugo--event-list .event-item .classes .class.class-fialova { background-color: var(--hugo-event-class-fialova); }
.hugo--event-list .event-item .classes .class.class-bila { background-color: var(--hugo-event-class-bila); }
.hugo--event-list .event-item .classes .class.class-zelena { background-color: var(--hugo-event-class-zelena); }
.hugo--event-list .event-item .classes .class.class-modra { background-color: var(--hugo-event-class-modra); }
.hugo--event-list .event-item .classes .class.class-zluta { background-color: var(--hugo-event-class-zluta); }


.hugo--event-list form {
    border: 1px solid #DDD;
    background-color: #F8F8F8;
    border-radius: 15px;
    padding: 15px;
}

.hugo--event-list form .classes-filter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.hugo--event-list form .form-label {
    display: block;
    font-weight: 700;
}