.blog-hero {
    width: 100%;
    height: auto;
    padding: 150px 0 100px;
    background-color: #eee;
}

.blog-hero-ins {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-text {
    width: 100%;
    margin-bottom: 30px;
}

.blog-hero-ins h1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.blog-hero-ins h2 {
    font-size: 2.8rem;
}

.hero-img {
    width: 100%;
    position: relative;
    padding-bottom: 50%;
    overflow: hidden;;
    border-radius: 15px;
}

.hero-img img {
    position: absolute;
    width: 100%;
}


.hero-img .overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    padding: 20px;
}

.hero-img .overlay .date {
    width: auto;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    color: #fff;
    background-color: #000;
    display: inline-block;
    border-radius: 7px;
}


.blog-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.blog-itm {
    width: calc(33% - 30px);
    height: auto;
    position: relative;
    border-radius: 10px;
    margin-bottom: 40px;
    margin: 0 15px 40px;
}

.blog-itm-img {
    width: 100%;
    padding-bottom: 55%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-itm-img img {
    width: 100%;
    border-radius: 10px;
    position: absolute;
    z-index: 1;
}

.blog-itm-img .overlay {
    width: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.3);
    padding: 15px;
    display: flex;
}

.blog-itm-img .overlay .date {
    width: auto;
    background-color: #000;
    height: 30px;
    padding: 0px 7px;
    border-radius: 7px;
    color: #fff;
    font-size: 0.8rem;
    line-height: 30px;
}

.blog-itm-txt {
    width: 100%;
    height: auto;
}

.blog-itm-txt h4 {
    font-size: 1.2rem;
    color: #333;
}

.blog-itm-txt h4 a {
    color: #333;
}

.blog-content-wrap {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.blog-content {
    width: calc(70% - 20px);
}

.blog-sidebar {
    width: calc(30% - 20px);
}

.blog-sidebar h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.sidebar-post-itm {
    width: 100%;
    min-height: 150px;
    border: solid 1px #ddd;
    border-radius: 5px;
    display: flex;
    margin-bottom: 25px;
}

.sidebar-post-itm-img {
    width: calc(50% - 10px);
    margin-right: 10px;
}

.sidebar-post-itm-txt {
    padding: 10px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-post-itm-txt .title {
    font-size: 0.9rem;
    color: #333;
}

.sidebar-post-itm-txt p.title a {
    color: #333;
}

.sidebar-post-itm-txt .date {
    font-size: 0.7rem;
    text-align: right;
    margin-bottom: 0;
}

.sidebar-post-itm-txt .date span {
    background-color: #333;
    color: #fff;
    display: inline-block;
    padding: 4px 7px;
    border-radius: 4px;
}


.blog-post-meta {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: solid 1px #ddd;
}

.blog-post-meta .meta-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: solid 1px #ddd;
    margin-right: 30px;
    background-color: #eee;
    overflow: hidden;
}


.blog-post-meta .meta-content {
    width: auto;
}

.meta-content p {
    margin-bottom: 0;
    line-height: 1.3;
}

.meta-cont-author {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.meta-cont-date {
    color: #333;
    font-size: 0.8rem;
    margin-top: 15px;
}


@media only screen and (max-width: 800px) {

    .blog-content-wrap {
        flex-wrap: wrap;
    }

    .blog-content {
        width: 100%;
        margin-bottom: 40px;
    }

    .blog-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .sidebar-post-itm {
        width: calc(33% - 20px);
        min-height: 150px;
        border: solid 1px #ddd;
        border-radius: 5px;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .sidebar-post-itm-img {
        width: 100%;
        margin: 0px 0 15px;
    }

    .sidebar-post-itm-txt {
        padding: 10px;
        width: 100%;
    }
}



@media only screen and (max-width: 480px) {
    .blog-hero-ins h2 {
        font-size: 1.8rem;
    }

    .blog-itm {
        width: 100%;
        height: auto;
        position: relative;
        border-radius: 10px;
        margin-bottom: 40px;
        margin: 0 15px 40px;
    }

    .sidebar-post-itm {
        width: 100%;
    }

    .sidebar-post-itm-img {
        width: calc(50% - 10px);
        margin-right: 10px;
    }
    
    .sidebar-post-itm-txt {
        padding: 10px;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}