.blog_section {
    display: flex;
    flex-wrap: wrap;
}
.blog_list_wrap {
    width: 66.66%;
}
.blog_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}
.blog_category {
    width: 33.33%;
    padding-left: 30px;
}
.blog_cat_wrap {
    border-radius: 15px;
    padding: 15px;
}
.blog_category .top_search ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.blog_category .top_search ul li {
    padding: 0;
}
.category_list {
    margin: 15px 0;
}
.blog_cat_wrap h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
}
.category_list ul {
    margin: 0;
    padding: 15px;
}
.category_list li,
.category_list li a {
    font-size: 16px;
    font-weight: 600;
    color: var(--txt-s-color);
}
.category_list a {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}
.blog_cat_wrap .toggle_div i {
    font-size: 18px;
    right: 0;
    color: var(--secondary-color);
}
.toggle_div {
    position: relative;
    cursor: pointer;
}
.toggle_div i {
    position: absolute;
    right: 25px;
    top: 5px;
    font-size: 24px;
}
.category_list li {
    margin-bottom: 5px;
}
.show_more i {
    margin-left: 10px;
}
.recent_post {
    margin-top: 25px;
}
.recent_post_box {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}
.recent_post_box .blog_image {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
}
.recent_post_box .blog_image img {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    transition: all 0.5s ease;
}
.rpb_detail {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}
.recent_post_box .b_date {
    width: 100%;
    padding: 0 20px;
    margin-top: auto;
}
.recent_post_box .b_date i {
    margin-right: 5px;
}
.rpb_detail h4 {
    font-size: 18px;
    line-height: 20px;
    transition: all 0.5s ease;
}
.recent_post_box a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.recent_post_box:hover .blog_image img {
    transform: scale(1.2);
    transition: all 0.5s ease;
}
.recent_post_box:hover h4 {
    color: var(--primary-color);
    transition: all 0.5s ease;
}
/* Blog Starts  */
.blog {
    margin-top: -50px;
    padding-top: 60px;
}
.blog_block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}
.blog_box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    background: #ffffff;
    position: relative;
    z-index: 0;
    transition: all 0.5s ease;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.15);
}
.blog_box:hover {
    -webkit-box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.15);
}
.blog_box:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    transition: all 0.5s ease;
}
.blog_box:hover:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    transition: all 0.5s ease;
}
.blog_image {
    width: 100%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.blog_image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog_info {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.blog_info i {
    margin-right: 5px;
}
.b_date,
.b_creator {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    align-items: center;
    font-size: 14px;
}
.b_title h4 {
    color: var(--txt-s-color);
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
}
.blog_box p {
    padding: 0 20px;
    font-size: 15px;
    color: var(--txt-p-color);
    line-height: normal;
}
.blog_bg {
    background: #ffffff;
    border-radius: 10px;
    height: 100%;
}
.blog .btn_section {
    padding: 0;
}
.blog_list_wrap h2 {
    font-size: 30px;
    font-family: var(--s-fonts);
    font-weight: 700;
    margin-top: 20px;
}
.blog_share {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.blog_share .blog_info {
    width: 50%;
    color: var(--primary-color);
}
.blog_share .b_date,
.blog_share .b_creator {
    padding: 10px 0;
}
.blog_share .blog_info i {
    color: var(--primary-color);
}
.blog_share .b-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}
.blog_share .b-social a {
    color: var(--txt-color);
    font-size: 18px;
    margin: 0 7px;
}
.blog_desc {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.blog_desc img {
    width: 100%;
    border-radius: 15px;
    height: auto;
    margin: 15px 0;
    max-height: 500px;
    object-fit: cover;
}
.blog_btn {
    padding: 10px 15px;
    width: 100%;
    justify-content: flex-start;
    display: flex;
}
.blog_form {
    border-top: 1px solid #cccccc;
    padding: 20px 0;
    margin-top: 10px;
}
.blog_form h3 {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 20px;
    font-family: var(--s-fonts);
}
.blog_share .b_date,
.blog_share .b_creator {
    width: auto;
}
.blog_share .b_creator {
    margin-left: 15px;
}
.form_box {
    box-shadow: none;
}
.f_block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 25px;
    align-items: flex-end;
}
.f_block .form_box {
    width: calc(50% - 30px);
    margin: 8px 15px;
}
.f_block .wd-full {
    width: calc(100% - 30px);
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.form_box textarea {
    resize: none;
}
.form_box input[type="file"] {
    border-radius: 0;
    height: auto;
    margin-bottom: 5px;
}
.form_box > label {
    font-weight: 600;
    color: var(--secondary-color);
    width: 100%;
}
.form_title {
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    margin: 15px;
}
.form_title h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.form_box label span {
    color: red;
}
.form_box.wd-full {
    width: 100%;
}
/* End Blog  */

@media only screen and (max-width: 991px) {
    .blog_list_wrap {
        width: 100%;
    }
    .blog_category {
        width: 100%;
        padding-top: 30px;
        padding-left: 0;
    }
    .blog_block {
        grid-template-columns: 1fr;
    }
    .blog_box {
        max-width: 400px;
        margin: 15px auto;
    }
}
@media only screen and (max-width: 640px) {
    .blog_share .blog_info {
        width: 100%;
    }
    .blog {
        margin-top: -15px;
        padding-top: 40px;
    }
    .blog_list {
        grid-template-columns: 1fr;
    }
}
