.gallery .grid {
    display: block;
}

.teaser {
    width: 100%;
}

.social {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3em;
}


.photos {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.photos > a {
    flex: 1 100%;
    display: block;
    margin-bottom: 1em;
}

.photos > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 575px) {
    .photos > a {
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: calc(100% / 2 - 1em); /* bug in IE, darum auseinander */
    }

    .photos > a:nth-of-type(odd) {
        margin-right: 1em;
    }
}

@media screen and (min-width: 768px) {
    .photos > a {
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: calc(100% / 3 - 1em); /* bug in IE, darum auseinander */
        margin-right: 1em;
    }

    .photos > a:nth-of-type(3n+3) {
        margin-right: 0;
    }
}

@media screen and (min-width: 991px) {}

@media screen and (min-width: 1199px) {}