.freyt-gallery .content-bottom .content-wrapper{
    max-width: 1332px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 942px;
    overflow: auto;
}

.freyt-gallery .content-bottom::-webkit-scrollbar {
    display: none;
}

.freyt-gallery .images {
    display: flex;
    justify-content: space-between;
}

.freyt-gallery .images.mobile {
    display: none;
}

.freyt-gallery .col {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-direction: column;
}

.freyt-gallery .left-col,
.freyt-gallery .right-col {
    width: calc(34.72% - 20px);
}

.freyt-gallery .left-col {
    align-items: flex-end;
}

.freyt-gallery .right-col {
    align-items: flex-start;
}

.freyt-gallery .center-col {
    width: calc(30.56% - 20px);
}

.freyt-gallery img {
    width: var(--width);
    height: auto;
    cursor: pointer;
}
.wp-admin .freyt-gallery .title, 
.wp-admin .freyt-gallery .description, 
.wp-admin .freyt-gallery .subtitle{
    transform: translateY(0);
}

.freyt-gallery .video-inner video,
.freyt-gallery .video-inner iframe{
    aspect-ratio: 16 / 9;
    max-width: 100%;
    height: auto;
}
.freyt-gallery .video-inner{
    text-align: center;
}
.freyt-gallery:before{
    content: '';
    width: 100%;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.4) -34.69%, rgba(217, 217, 217, 0) 40.76%);
    pointer-events: none;
}
.freyt-gallery .content-bottom{
    position: relative;
    padding-top: 42px;
    margin-top: 15px;
    padding-bottom: 2px;
}
.freyt-gallery .video{
    margin-top: 90px;
}
.freyt-gallery .description-bottom{
    font-size: 16px;
    line-height: 30px;
    letter-spacing: -0.02px;
}
.freyt-gallery .content-bottom:before{
    content: '';
    width: 100%;
    height: 170px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #FFFFFF 26.18%, rgba(255, 255, 255, 0.95) 52.11%, rgba(255, 255, 255, 0.6) 68.83%, rgba(255, 255, 255, 0.3) 79.16%, rgba(255, 255, 255, 0) 90.92%);
    pointer-events: none;
}
.freyt-gallery .content-bottom:after{
    content: '';
    width: 100%;
    height: 165px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.4) 72.6%, rgba(255, 255, 255, 0) 95.17%);
    pointer-events: none;
}
.freyt-gallery{
    padding-top: 113px;
    padding-bottom: 125px;
    overflow: hidden;
    position: relative;
}

.freyt-gallery .subtitle{
    color: #9BE06A;
    font-family: Raleway;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 1.96px;
    text-transform: uppercase;
    transform: translateY(100vh);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.freyt-gallery .title{
    margin-top: 25px;
    margin-bottom: 24px;
    font-size: 90px;
    font-weight: 300;
    line-height: 101.7px;
    letter-spacing: -0.9px;
    transform: translateY(100vh);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.1s;
    max-width: 1050px;
}

.freyt-gallery.on-screen .wp-block-button{
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.freyt-gallery .wp-block-button{
    margin-top: 28px;
    transform: translateY(100vh);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s;
}
.freyt-gallery .description{
    color: #717171;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    transform: translateY(100vh);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s;
}
.freyt-gallery .text-fadeup{
    transform: translateY(100vh);
    display: inline;
}

.freyt-gallery.on-screen .subtitle,
.freyt-gallery.on-screen .title,
.freyt-gallery.on-screen .description {
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-animate-start.freyt-gallery .title-animation .text-animation .text-animation-clone {
    animation: erase var(--time) ease-in-out forwards;
    animation-delay: var(--delay);
}

.text-animate-start.freyt-gallery .title-animation .text-animation:last-child .text-animation-clone {
    animation: erase var(--time) cubic-bezier(0.0, 0.0, 0.2, 1) forwards;
    animation-delay: var(--delay);
}

.freyt-gallery .description p:not(:last-child){
    margin-bottom: 29px;
}

@media(max-width: 1440.98px){
    .freyt-gallery{
        padding-top: 81px;
        padding-bottom: 116px;
    }
    .freyt-gallery .title {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .freyt-gallery .content-bottom{
        margin-top: 11px;
    }
    .freyt-gallery .content-bottom:after{
        height: 240px;
    }
    .freyt-gallery .video {
        margin-top: 94px;
    }
    .freyt-gallery .content-bottom .content-wrapper{
        height: 735px;
        max-width: 1050px;
    }

    .freyt-gallery .left-col,
    .freyt-gallery .right-col {
        width: calc(34.74% - 13px);
    }

    .freyt-gallery .center-col {
        width: calc(30.52% - 13px);
    }

    .freyt-gallery .col {
        gap: 20px;
    }
}

@media(max-width: 1200px){
    .freyt-gallery .title{
        font-size: 70px;
        font-weight: 300;
        line-height: 103.077%;
        letter-spacing: -0.01em;
    }
    .freyt-gallery .item[column-index="1"] {
        padding-left: var(--paddingLt);
    }
    .freyt-gallery .item[column-index="3"] {
        padding-right: var(--paddingLt);
    }
}
@media(max-width: 991px){
    .freyt-gallery .content-bottom .content-wrapper {
        height: 570px;
    }
}

@media(max-width: 767.98px){
    .freyt-gallery{
        margin-top: 0px;
        padding-top: 70px;
    }
    .freyt-gallery .title{
        font-size: 60px;
        line-height: 67px;
        letter-spacing: -0.65px;
        margin-top: 25px;
        margin-bottom: 26px;
    }

    .freyt-gallery .description p{
        line-height: 28px;
        font-size: 14px;
    }
    .freyt-gallery .item[column-index="1"] {
        padding-left: var(--paddingMb);
        padding-right: 5.5px;
    }
    .freyt-gallery .item[column-index="2"] {
        padding-right: var(--paddingMb);
        padding-left: 5.5px;
    }
    .freyt-gallery .content-bottom:after {
        height: 150px;
    }
    .freyt-gallery .content-bottom:before{
        height: 115px;
    }
    .freyt-gallery .item {
        margin-bottom: 11px;
    }

    .freyt-gallery .images.mobile {
        display: flex;
    }

    .freyt-gallery .images.desktop {
        display: none;
    }

    .freyt-gallery .col {
        gap: 11px;
    }

    .freyt-gallery .left-col {
        width: calc(46.94% - 5.5px);
    }

    .freyt-gallery .right-col {
        width: calc(53.06% - 5.5px);
    }
}


@media(max-width: 375.98px){
    .freyt-gallery .title{
        font-size: 45px;
        line-height: 50px;
        letter-spacing: -0.65px;
    }
}

.freyt-gallery #lightbox img{
    position: relative;
    z-index: 2;
}
body.lightbox-open .freyt-gallery #lightbox{
    opacity: 1;
    pointer-events: initial;
}
body.lightbox-open{
    overflow: hidden;
}
.freyt-gallery #lightbox .close{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000B2;
}
.freyt-gallery #lightbox {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all .8s;
    padding: 36px;
}
@media(max-width: 767.98px){
    .freyt-gallery #lightbox{
        padding: 30px;
    }
}