.a-gallery {
    margin: 0 auto;
}

.a-gallery__wrapper {
    max-width: $ARTICLE_TOTAL;
    @include min-screen($ARTICLE_TOTAL) {
        padding-right: $ARTICLE_RIGHT_TOTAL;
    }
}

.a-gallery__message {
    margin-bottom: $MOBILE_SLICE_MARGIN;

    @include at-medium-size {
        margin-bottom: $TABLET_SLICE_MARGIN;
    }
}

.a-gallery__message-btn {
    @include button-single();
    @include button-single-light();

    &:hover {
        @include button-single-light-hover();
    }
}

.g-image-nav {
    width: $TABLET_SIDE_GUTTER;

    @include at-medium-size {
        width: $TABLET_SIDE_GUTTER;
    }

    @include at-x-large-size {
        width: $DESKTOP_SIDE_GUTTER;
    }
}

.g-image-nav__btns {
    margin: 0 auto;
    width: 35px;
}

.g-image-nav__btn {
    background-color: $wild-sand;
    border-radius: 50%;
    width: 35px;
    height: 35px;

    &:hover {
        background-color: $black;

        svg {
            fill: $white;
        }
    }

    svg {
        fill: $black;
        height: 15px;
        width: 15px;
    }
}

.g-image-nav__btn--previous {
    margin-top: 5px;
}

.g-image-nav__btn--next {
    margin-top: 5px;
}

.g-image-nav__btn[disabled] {
    background-color: $white;
    border: 1px solid $wild-sand;

    svg {
        fill: $wild-sand;
    }
}

.a-gallery__image-list {}
.a-gallery__image-listitem {
    margin-bottom: 48px;

    @include at-x-large-size {
        margin-bottom: 60px;
    }
}

.a-gallery__thumbnail-list {
    margin-left: -2px;
    margin-right: -2px;

    @include at-x-large-size {
        margin-left: -12px;
        margin-right: -12px;
    }
}

.a-gallery__thumbnail {
    box-sizing: border-box;
    margin: 4px 0 0 0;
    padding: 0 2px;

    &:nth-child(-n+3) {
        margin-top: 0;
    }

    @include at-x-large-size {
        margin: 24px 0 0 0;
        padding: 0 12px;
    }
}

.a-gallery__thumbnail-hover {
    background-color: rgba(17, 17, 17, 0.6);
    left: 2px;
    right: 2px;
    width: auto;

    svg {
        fill: $white;
        width: 38px;
    }

    @include at-x-large-size {
        left: 12px;
        right: 12px;
    }
}