
.gallery {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}
@media (min-width: 30em) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 60em) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    background: white;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
}



.gallery-item .gallery-caption {
    padding: 8px;
}


.gallery-item:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}
.gallery-item article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gallery-item h1 {
    font-size: 20px;
    margin: 0;
    color: #333;
}
.gallery-item p {
    flex: 1;
    line-height: 1.4;
}
.gallery-item span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 2em 0 0 0;
}
.gallery-item span img {
    max-height: 20px;
    display: inline-block;
    opacity: 0.1;
}
.gallery-item:hover span img {
    opacity: 0.6;
    transition: all .1s ease-in;
}
.gallery-item .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
    background-color: rgba(230,230,230,0.3);
}

.thumb-video {
    max-width: 100%;
    height: auto;
}

ul.neos-nodetypes-assetlist {
    margin-bottom: 60px
}

@media (min-width: 60em) {
    .item-1 {
        grid-column: 1 / span 2;
    }
    .item-1 h1 {
        font-size: 24px;
    }
}