.section__gallery__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.section__gallery__wrapper .gallery_item {
    display: flex;
    flex-wrap: wrap-reverse;
    width: 100%;
    margin-bottom: 6rem;
}

.section__gallery__wrapper .item_caption {
    display:flex;
    flex-direction: column;
    width: 100%;
}

.section__gallery__wrapper .gallery_item h5 {
    display: inline-block;
    width: 100%;
    font-size: 1.5em;
    font-weight: 100;
    text-transform: uppercase;
}

.section__gallery__wrapper .gallery_item ul {
    display: inline-block;
    width: auto;
    font-size: 0.8em;
    margin: 8px auto 0 calc(var(--page-padding) * 3);
}

.section__gallery__wrapper .gallery_item li {
    margin-bottom: 7px;
}

.section__gallery__wrapper figure {
    width: 100%;
    margin-bottom: 1em;
}

.section__gallery__wrapper video {
    width: 100%;
}


.section__gallery__wrapper figure svg {
    display: block;
    max-width: 400px;
    margin: auto 3em;
}

.section__gallery__wrapper figure svg .outline{
    stroke-width: 5px;
}

svg#gfx-tag-manager .outline {
    fill: rgb(var(--secondary-color));
}

@media screen and (min-width: 768px) {
    .section__gallery__wrapper .item_caption {
        width: 45%;
    }

	.section__gallery__wrapper .gallery_item h5 {
        font-size: 1.5em;
    }

    .section__gallery__wrapper .gallery_item ul {
        margin: 8px auto 0 calc(var(--page-padding) * 3);
    }

    .section__gallery__wrapper figure {
        width: 55%;
        padding-left: var(--page-padding);
        margin-bottom:0;
    }
}

@media screen and (min-width: 1024px) {
    .section__gallery__wrapper .gallery_item {
        flex-direction: row;
    }

    .section__gallery__wrapper .gallery_item h5 {
        width: 100%;
        font-size: 2em;
    }

    .section__gallery__wrapper .gallery_item ul {
        width: 50%;
        margin: 8px auto 0 calc(var(--page-padding) * 6);
    }

    .section__gallery__wrapper figure svg {
        margin: auto;
    }
}

@media screen and (min-width: 1200px) {
    .section__gallery__wrapper .gallery_item ul {
        font-size: 1em;
        margin-left: calc(var(--page-padding) * 3);
    }
}