.blogs_wrapper {
    padding: 70px 0 50px 0;
}

.blogs_box__img img {
    width: 100%;
    transition: .8s cubic-bezier(0.075, 0.82, 0.165, 1);
    height: 230px;
    object-fit: cover;
}

.blogs_box__content {
    background-color: #f9f9f9;
    padding: 1rem;
}

.blogs_box__content h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    color: var(--black-color);
}

.blogs_box__content p {
    margin-top: 10px;
    color: #131313;
}

.blog_bottom {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #666;
}

.blog_bottom h6 {
    text-transform: capitalize;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    color: var(--black-color);
    font-weight: 600;
    font-family: "Jost", sans-serif;
}

.blog_bottom h6 span {
    color: #666;
}

.blogs_box {
    margin-bottom: 20px;
    overflow: hidden;
}

.blogs_box__img {
    overflow: hidden;
    position: relative;
}

.blogs_box__img::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, .5);
    transition: .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.blogs_box:hover .blogs_box__img::after {
    top: 0;
    transition: .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.blogs_box:hover img {
    transform: scale(1.1);
}

.blog_details {
    padding: 50px 0 70px 0;
}

.blog_details__content p {
    font-size: 18px;
    line-height: 26px;
    margin-top: 20px;
}

.blog_details__content h3 {
    margin-top: 20px;
    font-size: 25px;
    font-weight: 600;
}

.blog_img {
    margin-top: 2rem;
}

.blog_img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog_form {
    padding-bottom: 60px;
}

.blog_form__heading h3 {
    text-transform: capitalize;
    font-weight: 600;
    font-size: 30px;
}

.blog_form__heading p {
    font-size: 18px;
    margin-top: 10px;
}

.blog_form__input {
    margin-top: 1rem;
}

.blog_form__input textarea,
.blog_form__input input {
    width: 100%;
    padding: 10px;
}

.blog_form__input button {
    background-color: var(--main-color);
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--white-color);
    border: none;
    padding: 10px 30px;
}

@media(max-width:768px) {
    .blogs_box__content h3 {
        font-size: 17px;
        line-height: 23px;
    }

    .blogs_box__content p {
        font-size: 14px;
        line-height: 22px;
        margin-top: 6px;
    }

    .blog_bottom h6 {
        font-size: 15px;
    }

    .blog_bottom {
        padding-top: 10px;
        margin-top: 10px;
    }

    .blogs_wrapper {
        padding: 50px 0 30px 0;
    }
}

@media(max-width:768px) {
    .blog_details__content p {
        font-size: 16px;
        margin-top: 12px;
        line-height: 25px;
    }

    .blog_details {
        padding: 30px 0 50px 0;
    }

    .blog_details__content h3 {
        font-size: 20px;
        margin-top: 12px;
    }

    .blog_form {
        padding-bottom: 30px;
    }

    .blog_form__heading h3 {
        font-size: 24px;
    }

    .blog_form__heading p,
    .blog_form__input button {
        font-size: 16px;
    }

    .blog_form__input {
        margin-top: 10px;
    }
}