
.outer-gallery {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    background-color: rgba(0, 0, 0, .68);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .7s, visibility .7s;
    -o-transition: opacity .7s, visibility .7s;
    transition: opacity .7s, visibility .7s;
}
.active.outer-gallery {
    opacity: 1;
    visibility: visible;
}
.outer-gallery__figure {
    position: relative;
}
.outer-gallery__text {
    text-transform: uppercase;
    color: #fff;
    font-family: 'Futura', sans-serif;
    font-weight: 500;
}

.outer-gallery .slick-prev {
    margin-left: -9rem;
}
.outer-gallery .slick-next {
    margin-right: -9rem;
}
.outer-gallery__close {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    color: #000;
    text-align: center;
}
.outer-gallery .slick-dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.outer-gallery .slick-dots li {
    color: var(--main-color);
    display: none;
}
.outer-gallery .slick-dots .slick-active {
    display: inline-block;
}
@media only screen and (min-width : 961px) {
    .outer-gallery__row {
        height: 100vh;
    }
    .outer-gallery__col {
        padding: 0 10.9%;
    }
    .outer-gallery__figure {
        height: 66.8rem;
    }
    /* .outer-gallery__figure::before {
        content: "";
        width: 100%;
        height: 100%;
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        background: rgb(255, 255, 255);
        background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.7931547619047619) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(65%, rgba(255, 255, 255, 0)), to(rgba(0, 0, 0, 0.7931547619047619)));
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.7931547619047619) 100%);
        z-index: 1;
    } */
    .outer-gallery__figcaption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2;
        text-align: center;
        padding: 0 3rem 3.2rem 3rem;
    }
    .outer-gallery__text {
        font-size: 1.6rem;
        line-height: 1.43em;
        letter-spacing: .05em;
    }
    .outer-gallery__close {  
        margin: 4rem;
        height: 4.591rem;
        width: 4.591rem;
    }
    .outer-gallery__close i {
        font-size: 1.8rem;
        line-height: 4.591rem;
    }
    .outer-gallery .slick-dots {
        bottom: -4.9rem;
    }
    .outer-gallery .slick-dots li {
        font-size: 1.8rem;
        line-height: 1.44em;
        letter-spacing: .02em;
    }
    .outer-gallery .slick-arrow:hover {
        background-color: var(--main-color);
    }
}

@media only screen 
and (min-width : 768px)
and (max-width : 961px) 
and (orientation: portrait ) {
    .outer-gallery .outer-gallery__figure {
        height: 38rem;
    }
    .outer-gallery__figcaption p{
        max-width: 50rem;
        margin: 0 auto;
    }
}

@media only screen and (max-width : 961px) {
    .outer-gallery__row {
        height: 100vh;
    }
    .outer-gallery__figure {
        height: 19.837rem;
        overflow: visible!important;
    }
    .outer-gallery__figcaption {
        width: 100%;
        text-align: center;
        position: absolute;
        top: -9rem;
        left: 0;
    }
    .outer-gallery__text {
        font-size: 1.6rem;
        line-height: 1.31em;
        letter-spacing: .05em;
        max-height: 8rem;
        overflow-y: auto;
    }
    .outer-gallery__close {  
        margin: 3rem;
        height: 4.591rem;
        width: 4.591rem;
    }
    .outer-gallery__close i {
        font-size: 1.8rem;
        line-height: 4.591rem;
    }
    .outer-gallery .slick-track {
        padding-top: 9rem;
    }
    .outer-gallery .slick-dots {
        bottom: -4.9rem;
    }
    .outer-gallery .slick-dots li {
        font-size: 1.8rem;
        line-height: 1.44em;
        letter-spacing: .02em;
    }
}