/*===============================
Archive Layout 1
==============================*/
.default-layout{
    .rishi-post{
        margin-bottom: 60px;
        @include media(sm){
            margin-bottom: 40px;
        }
        &:last-of-type{
            margin-bottom: 30px;
        }
    }
    .site-main{
        .rishi-breadcrumb-main-wrap{
            padding-top: 0;
        }
    }
    &.blog-classic{
        .entry-content-main-wrap{
            .rt-featured-image{
                &:first-child{
                    margin-top: 0;
                }
            }
        }
    }
    &.blog-list{
        .post-content .entry-content-main-wrap{
            .list-cont-wrap{
                @include media(sm){
                    width: 100%;
                    padding: 20px 0 0;
                }
            }
        }
        .rishi-post{
            width: 100%;
            &.no-post-thumbnail{
                .list-cont-wrap{
                    padding: 0;
                } 
            }
        }
    }
    &.blog-grid,
    &.blog-grid-masonry{
        .rishi-container-wrap{
            margin-left: -30px;
            margin-right: -30px;
            @include media(md){
                margin-left: -15px;
                margin-right: -15px;
            }
            @include media(sm){
                margin-left: 0;
                margin-right: 0;
            }
        }
        .rishi-post{
            border-right: 1px solid rgba(41, 41, 41, 0.05);
            padding-left: 30px;
            padding-right: 30px;
            padding-top: 30px;
            @include media(md){
                padding-left: 15px;
                padding-right: 15px;
            }
            @include media(sm){
                border: none;
                padding-left: 0;
                padding-right: 0;
            }
            .post-content{
                .rt-featured-image{
                    margin-left: 0;
                    margin-right: 0;
                }
            }
            &:last-of-type{
                border-right: none;
            }
        }
    }
    &.error404{
        .rishi-container-wrap{
            .posts-wrap article{
                .entry-header{
                    padding: 0;
                }

                .entry-meta-pri-wrap{
                    padding: 0;
                }
            }
        }  
    }
}

