body {
    background-color: #f8f8f8;
}

body.single-post {
    background-color: #fff;
}

.blog .list_post {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 15px;
}

.blog .list_post .photo {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.blog .list_post .photo img {
    position: relative;
    object-fit: cover;
}

.blog .list_post .item {
    box-shadow: 0 0 30px #eee;
    border-radius: 4px;
    background-color: #fff;
}

.blog .list_post .item .title {
    font-size: 20px;
    font-weight: 500;
}

.blog .list_post .item .title a {
    color: #1f2732;
    font-weight: bold;
}

.blog .list_post .item .title a:hover {
    color: #5c9447;
}

.blog .list_post .item .photo {
    position: relative;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.blog .list_post .item .photo a {
    z-index: 1;
    transition: all .5s;
}

.blog .list_post .item .photo a img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all .5s;
}

.blog .list_post .item .photo a:hover img {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.blog .list_post .item .desc {
    padding: 30px;
}

.blog .list_post .item .desc .excerpt {
    margin-bottom: 15px;
}

.blog .list_post .item .desc .read_more {
    color: #5c9447;
}

.blog .list_post .item .desc .read_more svg path {
    stroke: #5c9447;
}

.blog_item {
    display: flex;
    gap: 30px;
}

.blog_item .item_article {
    width: 100%;
    color: #424242;
    word-break: break-word;
    font-size: 17px;
}

.blog_item .item_article .image {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.blog_item .item_article .date {
    display: flex;
    gap: 6px;
    font-size: 14px;
}

.blog_item .item_article .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.blog_item .item_article iframe{
    width: 100%!important;
}

.blog_item .item_sidebar {
    max-width: 300px;
    width: 100%;
}

.blog_item .item_sidebar .widget-area .widget-container {
    position: relative;
    background-color: #fff;
    padding: 20px;
    box-shadow: 1px 1px 11px 0px #eee;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
}

.blog_item .item_sidebar .widget-area .widget-container ul {
    padding: 0 18px;
}

.blog_item .item_sidebar .widget-area .widget-title {
    font-size: 20px;
}

.blog_item .item_sidebar .widget-area [aria-label="Categories"]>ul {
    padding: 0px 15px;
}


.blog_item .item_sidebar .widget-area [aria-label="Categories"] ul {
    margin-bottom: 0;
}

.blog_item .item_sidebar .widget-area [aria-label="Categories"] ul li {
    margin-bottom: 0;

    min-height: 40px;
    position: relative;
    word-break: break-word;
}

.blog_item .item_sidebar .widget-area [aria-label="Categories"] ul li a {
    color: #7f7f7f;
    display: inline-block;
    padding: 10px 0;
    border-bottom: 1px solid #dedfe1;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
}

.blog_item .item_sidebar .widget-area [aria-label="Categories"] ul li.current-cat a {
    color: #5c9447;
}

/* .blog_item .item_sidebar .widget-area [aria-label="Categories"] ul li:last-child{
    border-bottom: 0;
} */

.blog_item .item_sidebar .widget-area .tagcloud {
    /* background-color: #fff; */
}

.blog_item .item_sidebar .widget-area .tagcloud a {
    padding: 5px 9px;
    border: 1px solid #5c9447;
    border-radius: 20px;
    color: #1f2732;
    font-size: 12px !important;
    position: relative;
    display: inline-flex;
    margin: 2px;
}

.blog_item .item_sidebar .widget-area .tagcloud *:nth-child(n + 15) {
    display: none;
}

.blog_item .item_sidebar .widget-area .tagcloud a:hover {
    background-color: #5c9447;
    color: #fff;
}

.blog_item .item_sidebar .widget-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog_item .item_sidebar .widget-area .search-form {
    display: flex;
}

.blog_item .item_sidebar .widget-area .search-form input[type="search"] {
    width: 100%;
    padding: 7px 12px;
    outline: none;
    border: 1px solid #5c9447;
    border-radius: 10px 0 0 10px;
}

.blog_item .item_sidebar .widget-area .search-form label {
    width: 100%;
}

.blog_item .item_sidebar .widget-area .search-form input[type="submit"] {
    background-color: #5c9447;
    text-transform: uppercase;
    font-size: 12px;
    outline: none;
    padding: 7px 20px;
    border: 1px solid #5c9447;
    color: #fff;
    border-left: 0;
    border-radius: 0px 10px 10px 0px;
}

.blog_item .item_sidebar .widget-area .search-form input[type="submit"]:hover {
    background: none;
    border: 1px solid #5c9447;
    color: #1f2732;
    border-left: 0;
}

.blog_item .item_sidebar .widget-area ul li a {
    color: #1f2732;
}

.blog_item .item_sidebar .widget-area ul li a:hover {
    color: #5c9447;
}

.related-posts ul {
    padding: 0;
    list-style: none;
}

.related-posts ul li a:hover {
    color: #5c9447;
}

/* responsive */

@media (max-width: 767.98px) {
    .blog_item {
        flex-direction: column;
    }

    .blog .list_post {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 10px;
    }

    .blog .list_post .item .photo {
        height: 160px;
    }

    .blog .list_post .item .desc {
        padding: 10px;
    }

    .blog .list_post .item .title a {
        font-size: 20px;
    }

    .blog .list_post .item .desc .excerpt {
        font-size: 14px;
    }

    .blog .list_post .item .desc .read_more {
        font-size: 14px;
    }

    .blog_item .item_sidebar {
        max-width: 100%;
    }

    .blog_item .item_article iframe{
        height: 200px!important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .blog .list_post {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 15px;
    }

    .blog .list_post .photo {
        height: 200px;
    }

    .blog .list_post .item .desc {
        padding: 15px;
    }

    .blog .list_post .item .title a {
        font-size: 20px;
    }

    .blog .list_post .item .desc .read_more {
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    header .header_main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog .list_post {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: 15px;
    }

    .blog .list_post .photo {
        height: 200px;
    }

    .blog .list_post .item .desc {
        padding: 15px;
    }

    .blog .list_post .item .title a {
        font-size: 20px;
    }

    .blog .list_post .item .desc .read_more {
        font-size: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1366.98px) {
    .blog .list_post .photo {
        height: 200px;
    }

    .blog .list_post {
        grid-gap: 15px;
    }
}