.content-images__inner {
    padding-top: 3rem;
    /*padding-bottom: 3rem*/
    height: 22rem;
}

@media (min-width: 1024px) {
    .content-images__inner {
        padding-top: 7rem;
        /*padding-bottom: 7rem;*/
        /*padding-bottom: 5rem*/
    }
}

.content-images__inner {
    -webkit-clip-path: polygon(100% 0, 100% 90%, 90% 100%, 0 100%, 0 0);
    clip-path: polygon(100% 0, 100% 90%, 90% 100%, 0 100%, 0 0)
}

@media (max-width: 450px) {
    .content-images__inner {
        -webkit-clip-path: polygon(100% 0, 100% 98%, 95% 100%, 0 100%, 0 0);
        clip-path: polygon(100% 0, 100% 98%, 95% 100%, 0 100%, 0 0);
        /*padding-bottom: 24rem*/
    }
}

.content-images .btn-container {
    margin-bottom: 4rem
}

.content-images .btn-container a {
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    -webkit-transition-duration: .15s;
    transition-duration: .15s
}

.content-images .btn-container a:hover {
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, var(--tw-text-opacity))
}

.content-images__gallery-outer {
    position: absolute;
    left: 50%;
    --tw-translate-x: -50%;
    -webkit-transform: var(--tw-transform);
    transform: var(--tw-transform);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 90rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.content-images__gallery-outer {
    bottom: 2rem
}
.content-images__empty-space {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
    padding-bottom: 3rem
}


@media (min-width: 319px) {
    .content-images__gallery-outer_he {
        height: 25rem;
    }

    .content-images__gallery-outer {
        bottom: -1rem;
        height: 300px;
    }
    .content-images__empty-space {
        padding-top: 1rem;
        padding-bottom: 5rem
    }

}

@media (min-width: 374px) {
    .content-images__empty-space {
        padding-top: 5.5rem;
        padding-bottom: 0rem
    }
    .content-images__inner {
    /*padding-bottom: 3rem*/
    height: 25rem;
    }
}


@media (min-width: 449px) {
    .content-images__gallery-outer_he {
        height: 25rem;
    }

    .content-images__gallery-outer {
        bottom: 5rem;
        height: 300px;
    }
    .content-images__empty-space {
        padding-top: 7.5rem;
        padding-bottom: 0rem
    }

}


@media (min-width: 639px) {

    .content-images__gallery-outer_he {
        height: 25rem;
    }

    .content-images__gallery-outer {
        bottom: 6rem;
        height: 400px
    }
    .content-images__empty-space {
        padding-top: 9.5rem;
        padding-bottom: 0rem
    }
    .content-images__inner {
    /*padding-bottom: 3rem*/
    height: 30rem;
    }
}

@media (min-width: 768px) {

    .content-images__gallery-outer_he {
        height: 25rem;
    }

    .content-images__gallery-outer {
        bottom: 6rem;
        height: 450px
    }
    .content-images__empty-space {
        padding-top: 8.3rem;
        padding-bottom: 2.5rem
    }
    .content-images__inner {
       height: 35rem;
    }
    
}

@media (min-width: 1024px) {

    .content-images__gallery-outer_he {
        height: 40rem;
    }

    .content-images__gallery-outer {
        bottom: 12rem;
        height: 500px
    }
    .content-images__empty-space {
        padding-top: 10rem;
      
    }
    .content-images__inner {
       height: 45rem;
    }
}

@media (min-width: 1440px) {

    .content-images__gallery-outer_he {
        height: 40rem;
    }

    .content-images__gallery-outer {
        bottom: 17rem;
        height: 500px
    }
    .content-images__empty-space {
        padding-top: 14rem;
      
    }
    .content-images__inner {
    /*padding-bottom: 3rem*/
    height: 45rem;
    }
}


@media (min-width: 1539px) {
    .content-images__gallery-outer {
        padding-left: 0;
        padding-right: 0
    }

    .content-images__gallery-outer {
        bottom: 13rem;
        height: 550px
    }
    .content-images__empty-space {
        padding-top: 14rem;
      
    }
    .content-images__inner {
       height: 45rem;
    }
}

@media (min-width: 1739px) {

    .content-images__gallery-outer {
        bottom: 21rem;
        height: 600px
    }
    .content-images__empty-space {
        padding-top: 17.5rem;
        
    }
    .content-images__inner {
       height: 50rem;
    }
}

@media (min-width: 1920px) {

    .content-images__empty-space {
        padding-top: 18.5rem;
        
    }
    .content-images__gallery-outer {
        bottom: 24rem;
        
    }
    
}

@media (min-width: 2560px) {

    .content-images__empty-space {
        padding-top: 11.5rem;
        
    }
    .content-images__gallery-outer {
        bottom: 10rem;
       
    }
    
}

@media (min-width: 3839px) {

    .content-images__empty-space {
        padding-top: 15rem;
        
    }
    .content-images__gallery-outer {
        bottom: 17rem;
       
    }
    
}

.content-images__gallery {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    grid-template-rows:repeat(2, minmax(0, 1fr));
    grid-gap: 1rem;
    gap: 1rem
}

@media (min-width: 768px) {
    .content-images__gallery {
        grid-template-columns:repeat(8, minmax(0, 1fr));
        grid-template-rows:repeat(1, minmax(0, 1fr))
    }
}

.content-images__item {
    height: auto
}

@media (min-width: 768px) {
    .content-images__item {
        height: 24rem
    }
}

@media (min-width: 1024px) {
    .content-images__item {
        height: 32rem
    }
}

@media (min-width: 1740px) {
    .content-images__item {
        height: 40rem
    }
}

.content-images__item:first-of-type {
    grid-column: span 4/span 4
}

.content-images__item:nth-child(3) {
    height: 90%
}

.content-images__item:nth-child(4) {
    height: 80%
}

.content-images__item:nth-child(5) {
    height: 70%
}













