/* Newest articles block styles */

/* Slick slider Custom CSS */
.newest-articles-block .item {
    min-height: 520px;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    flex-direction: column;
    background-size: cover !important;
    background-position: center !important;
}

.newest-articles-block .main-slider-next {
    right: 0;
}

.newest-articles-block .main-slider-prev {
    left: 0;
}

.newest-articles-block .main-slider-prev, 
.newest-articles-block .main-slider-next {
    position: absolute;
    display: block;
    z-index: 3;
    top: 50%;
    background: #13336D !important;
    padding: .7rem 1.3rem;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    font-size: 2.5rem;
    color: #FFFFFF;
    opacity: 1;
    border: none;
    outline: none;
    background: transparent;
}

.newest-articles-block .main-slider-prev:hover, 
.newest-articles-block .main-slider-next:hover {
    opacity: 1;
}

.newest-articles-block .display-4 {
    font-weight: 700;
}

.newest-articles-block span {
    display: block;
}

.newest-articles-block .caption {
    max-width: 65%;
}

.newest-articles-block .slick-slide img {
    height: 200px;
    object-fit: cover;
}

.newest-articles-block .item a.btn {
    position: absolute;
    bottom: 0;
}

@media screen and (max-width:1280px) {
    
    
    .newest-articles-block .caption {
        max-width: 75%;
        margin: 0 auto;
    }

}

@media screen and (max-width:991px) {
    
    .newest-articles-block .caption {
        max-width: 85%;
        margin: 0 auto;
    }

}

@media screen and (max-width:767px) {
    .newest-articles-block .item a.btn {
        position: relative;
    }
    .newest-articles-block .caption {
        max-width: 100%;
    }

}