.pagegallery-section{
    margin-bottom: 80px;
}
.pagegallery-title{
    font-weight: 700;
    font-size: 40px;
    line-height: 45px;
    color: var(--secondary);
    margin-bottom: -40px;
}
.pagegallery-section{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.pagegallery-section .image-page::after {
    content: "";
    display: block;
    width: 100%;
    height: 0%;
    position: absolute;
    z-index: 1;
    background: var(--primary);
    opacity: 0.8;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;


}
.width-sidebar .pagegallery-section .image-page::after{
    max-width: 258px;
}
.pagegallery-section .image-page:hover:after{
    height: 100%;
}


.pagegallery-section .image-page .article-hover{
    position: absolute;
    z-index: 2;
    top:0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
    padding: 0 10px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    opacity: 0;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;

}
.width-sidebar .pagegallery-section .image-page .article-hover{
    max-width: 258px;
}
.pagegallery-section .image-page:hover .article-hover{
    opacity: 1;
}
.pagegallery-section-box{
    padding-top: 60px;
}
.pagegallery-section-box .image-page {
    margin: 0 10px;
    position: relative;
}
.pagegallery-section-box .image-page img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pagegallery-section-box  .slick-arrow{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    cursor: pointer;
    position: absolute;
    top: 0;
}
.pagegallery-section-box .slick-arrow svg{
    font-size: 20px;
    color: #333333;
    transition: all 0.5s ease ;
    -webkit-transition: all 0.5s ease ;
    -moz-transition: all 0.5s ease ;
    -o-transition: all 0.5s ease ;
}
.pagegallery-section-box  .slick-arrow:hover svg{
    transition: all 0.5s ease ;
    -webkit-transition: all 0.5s ease ;
    -moz-transition: all 0.5s ease ;
    -o-transition: all 0.5s ease ;
    color: #BC1E21;
}
.pagegallery-section-box  .slick-arrow.slick-prev {
    right: 40px;
}
.pagegallery-section-box  .slick-arrow.slick-next{
    right: 0;
}
.pagegallery-section .wrapper{
    width: 100%!important;
    padding: 0!important;
}


@media only screen and (max-width: 1024px) {
    .pagegallery-section-box .image-page{

        margin-right:0;
    }
    .pagegallery-section-box .image-page img{
        width: 100%;
        height: auto;
    }
    .pagegallery-title{
        font-size: 3.5rem;
        line-height: 3.4rem;
    }
    .pagegallery-section-box {
        margin-left: 0;
        width: 100vw;
    }
    .pagegallery-section-box .slick-prev{
        top: -50px;
        right: 65px;
    }
    .pagegallery-section-box .slick-next{
        top: -50px;
        right: 35px;
    }
    .pagegallery-section .image-page .article-hover,
    .width-sidebar .pagegallery-section .image-page .article-hover,
    .pagegallery-section .image-page::after,
    .width-sidebar .pagegallery-section .image-page::after {

        max-width: 100%;

    }
}

