@import "../../../../assets/scss/mixin";
.g5plus-posts {
    article{
        border: 1px solid #DFDFDF;
    }
    a:hover {
        color: var(--g5-color-accent);
    }
    .slick-track {
        padding-bottom: 1px;
    }
    h3.entry-post-title {
        -ms-word-wrap: break-word;
        word-wrap: break-word;
        font-size: 18px;
        letter-spacing: -0.025em;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 5px;
        a {
            color: #000;
        }
        &:hover a {
            color: var(--g5-color-accent);
        }
    }
    .slick {
        article {
            margin: 0 15px;
        }
    }
    &.style-post-default article .entry-content-wrap {
        padding: 20px 15px 0 15px;
    }
    ul,
    li {
        display: inline-block;
        list-style: none;
        padding: 0 !important;
        margin: 0;
        font-size: 14px;
        font-style: italic;
        a,
        p,
        span {
            color: #AFAFAF;
        }
    }
    .entry-excerpt {
        line-height: 2.14;
        max-height: 8.56em;
        overflow: hidden;
        font-weight: 400;
        margin-bottom: 19px;
    }

    /*Style Default*/
    &.style-post-default {
        article.format-gallery .slick-dots{
            position: absolute;
            bottom: 0;
            margin: 0;
            left: 0;
        }
        article.format-gallery .entry-thumbnail.slick-slide .image-link-hover{
            left: 0;
            right: 0;
            width: 100%;
        }
        .entry-thumb-wrap {
            margin: 0;
        }
        .entry-meta{
            ul li+li{
                margin-left: 5px;
            }
        }
        .slick-dots {
            margin-top: 15px;
            width: 100%;
        }
        .columns-3 {
            article {
                width: 33.33333333%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 50%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 100%;
                padding: 0 15px;
                float: left;
            }
        }
        .no-slick{
            article{
                margin-bottom: 30px;
                border: none;
                .entry-content-wrap{
                    border-left: 1px solid #dfdfdf;
                    border-right: 1px solid #dfdfdf;
                    border-bottom: 1px solid #dfdfdf;
                }
            }
        }
    }
    &.style-post-default .g5plus-slick-slider .slick-slide{
        padding-left: 0;
        padding-right: 0;
    }

    /*Style List Vertical*/

    &.style-post-list {
        .slick-arrow {
            display: none!important;
        }
        .slick-dots{
            display: none!important;
        }

        h3.entry-post-title {
            font-size: 16px;
            font-weight: bold;
            text-transform: capitalize;
            margin: 0 0 5px 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .entry-meta {
            line-height: 1.2;
            font-size: 13px;
        }
        .entry-excerpt {
            line-height: 1.714;
            max-height: 3.428em;
            overflow: hidden;
            font-weight: 400;
            margin: 0;
            font-size: 14px;
        }

        article {
            border: none;
            @include d-flex();
            margin: 0;
            .slick-slide{
                padding: 0;
            }
            .slick-dots{
                display: none!important;
            }
            .slick-arrow{
                display: none;
            }
            + article {
                margin-top: 30px;
            }
        }

        .entry-thumb-wrap {
            @include flex-shrink-0();
            width:  120px;
            margin: 0 15px 0 0;
        }

        .entry-thumbnail {
            display: block;
        }

        .entry-content-wrap {
            @include flex-grow-1();
            width: 1px;
        }

        .light-gallery-link, .light-gallery-hover{
            height: 30px;
            width: 30px;
            border-width: 1px;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            border-radius: 0;
            line-height: 28px;
        }
        .image-link-hover div > a{
            height: 28px;
            width: 28px;
        }
        .entry-thumbnail:hover .image-link-hover .light-gallery-link {
            left: 38px;
        }

        .entry-thumbnail:hover .image-link-hover .light-gallery-hover {
            right: 38px;
        }
        .play-video-hover i {
            height: 30px;
            width: 45px;
            line-height: 28px;
            font-size: 16px;
        }
    }

}

@media (max-width: 991px) {
    .g5plus-posts .slick-arrow {
        display: none;
    }
    .g5plus-posts.style-post-default {
        .columns-3 {
            article {
                width: 50%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 50%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 100%;
                padding: 0 15px;
                float: left;
            }
        }
    }
}
@media (max-width: 599px){
    .g5plus-posts.style-post-default {
        .columns-3 {
            article {
                width: 100%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 100%;
                padding: 0 15px;
                float: left;
            }
        }
        .columns-2 {
            article {
                width: 100%;
                padding: 0 15px;
                float: left;
            }
        }
    }
}
