.gallery-carousel {
    background: var(--c-light);
}
.gallery-carousel__wrap {
    position: relative;
}
.gallery-carousel.pt-0 {
    padding-top: 0;
}
.gallery-carousel.pb-0 {
    padding-bottom: 0;
}

.gallery-carousel__slide {
    height: 15rem;
    width: auto;
    max-width: var(--width-container);
    padding: 0 1rem;
}

.gallery-carousel__slide img {
    width: auto;
    height: 15rem;
}

.gallery-carousel__controls {
    position: absolute;
    right: 1rem;
    left: 1rem;
    top: calc(50% - 1rem);
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    z-index: 1313;
}

.gallery-carousel__prev,
.gallery-carousel__next {
    background: var(--c-inv);
    color: var(--c-main);
    border: none;
    border-radius: 0;
    padding: .375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.gallery-carousel__prev:hover,
.gallery-carousel__next:hover,
.gallery-carousel__prev:focus,
.gallery-carousel__next:focus {
    background: var(--c-second);
    color: var(--c-inv);
}

.gallery-carousel__slide {
	position: relative;
}

.gallery-carousel__slide .image-caption {
	margin: 0;
	right: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .3) 70%, transparent);
	bottom: 0;
	box-sizing: border-box;
	color: #fff;
	font-size: 13px;
	left: 0;
	margin-bottom: 0;
	overflow: auto;
	padding: 0 15px 10px;
	position: absolute;
	text-align: center;
	width: 100%;
}

@media(min-width:720px) {
    .gallery-carousel__slide {
        height: 20rem;
    }
    .gallery-carousel__slide img {
        height: 20rem;
    }

    .gallery-carousel__controls {
        right: 2rem;
        left: 2rem;
    }
}

@media(min-width:960px) {
    .gallery-carousel__slide {
        height: 26rem;
    }
    .gallery-carousel__slide img {
        height: 26rem;
    }
}
