.panel {
    margin-bottom: 15px;
}

.panel .grid-matches {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.post-item-video {
    width: 100%;
    float: left;
    position: relative;
    margin-bottom: 15px;
    background-color: #181818;
    color: #000;
    -webkit-box-shadow: 0 2px 5px 0 hsla(0, 0%, 62%, .75);
    box-shadow: 0 2px 5px 0 hsla(0, 0%, 21%, 0.75);
    min-height: 250px;
    border-radius: 5px;
}

.post-item-video .post-item-image {
    overflow: hidden;
    max-height: 200px;
    position: relative;
}

.post-item-video .caption {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    font-size: .875rem;
    font-weight: 400;
    min-height: 70px;
}

.post-item-video .post-item-image > a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.post-item-video:hover .post-item-image > a img {
    transform: scale(1.1);
}

.post-item-video .post-item-image > a {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 1;
    height: 100%;
}

.post-item-video .post-item-image-big {
    height: 410px;
    overflow: hidden;
    max-height: 300px;
}

.post-item-video .overlay {
    bottom: 0;
    content: "";
    height: 60%;
    opacity: 0.8;
    position: absolute;
    transition: all 0.3s ease-in 0s;
    width: 100%;
    will-change: opacity;
}

.post-item-video h3.title_name {
    color: #000;
    font-weight: 400;
    font-size: .875rem;
    margin: 0px;
    line-height: 20px;
}

.post-item-video a h3 {
    color: #fff;
    line-height: 0;
    font-size: 1rem;
}

.post-icon-xl {
    width: 48px!important;
    height: 48px!important;
}

.post-icon {
    position: absolute!important;
    right: 0!important;
    left: 0!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    background: rgba(0,0,0,0.3)!important;
    border-radius: 100%!important;
    z-index: 10!important;
    pointer-events: none!important;
    float: none!important;
}

.sub_videos {
    width: 100%;
    height: 415px;
    float: right;
}


.post-item-video .post-item-image >a::before{
    content:"";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-left: 20px solid #fff6;
    border-bottom: 15px solid transparent;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-width: 37px 0 37px 60px;
    transition:0.5s;
}

.post-item-video .post-item-image >a:hover::before{
  border-left-color: #fff;
}

@media screen and (max-width: 991px) {
    .post-item-video .caption {
        text-align: left;
    }

    .post-item-video {
        min-height: unset;
    }

    .icon-video-play {
        width: 24px;
        height: 24px;
        background-size: contain;
        position: absolute;
        bottom: 10%;
        left: 10px;
    }

    .post-item-video .post-item-image >a::before {
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-left: 20px solid #fff6;
        border-bottom: 15px solid transparent;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-width: 17px 0 17px 24px;
        transition: 0.5s;
    }
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
}

.pagination .current {
    background-color: var(--scl-primary);
    color: #fff;
    border-color: var(--scl-primary);
}


.caption a {
    color: #fff !important;
}