.blogSec {
    background-color: #fff;
    position: relative;
    z-index: 1;

    &.blogDetTop {
        &::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            background: url(../images/cow-bg.png);
            background-repeat: no-repeat;
            width: 100%;
            height: 430px;
            z-index: -1;
        }
    }

    .blogSecInn {
        padding-bottom: 120px;

        .blogListWrap {
            padding-right: 30px;

            &.cards {
                .innerCard {
                    margin-bottom: 25px;
                }
            }

            .blogWrap {
                row-gap: 30px;
                padding-top: 20px;

                .blogCard {
                    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
                    padding-bottom: 25px;

                    &:nth-child(5n + 5) {
                        border-bottom: none;
                        padding-bottom: 0;
                    }

                    &:nth-child(6n + 6) {
                        border-bottom: none;
                        padding-bottom: 0;
                    }
                }
            }
        }

        .blogSidebar {

            .srchWrap {
                .frmWrap {
                    position: relative;
                    display: block;

                    .srchBtn {
                        position: absolute;
                        width: 55px;
                        height: 55px;
                        border: none;
                        border-radius: 50%;
                        background: url(../images/blog/search.png) no-repeat center center;
                        left: 0;
                    }

                    .inputTxt {
                        width: 100%;
                        min-height: 55px;
                        border-radius: 8px;
                        border: 1px solid #C6C6C6;
                        background-color: #fff;
                        padding: 0px 20px 0px 48px;
                        text-align: right;
                        outline: 0;
                        color: #BCBCBC;
                        font-family: "Zabal DEMO";
                        font-size: 18px;
                        font-weight: 500;

                        &::placeholder {
                            color: #C6C6C6;
                        }
                    }
                }
            }

            h4 {
                font-size: 24px;
                font-weight: bold;
                margin-bottom: 20px;
                color: #fff;
            }

            .blockListBg {
                padding: 30px;
                background-color: #D71006;
                border-radius: 15px;

                &.blockCList {
                    border-radius: 15px;
                    border: 1px solid rgba(0, 0, 0, 0.20);
                    background: #FFF;

                    h4 {
                        color: #000;
                    }
                }

                .catList {
                    li {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding: 24px 0px;

                        &:first-child {
                            padding-top: 0;
                        }

                        &:not(:last-child) {
                            border-bottom: 1px solid #D4D4D4;
                        }

                        a {
                            width: calc(100% - 70px);
                            color: #000;
                            font-weight: normal;
                            font-size: 18px;
                            padding-left: 15px;
                            position: relative;
                            transition: all 0.3s;

                            &::before {
                                width: 6px;
                                height: 6px;
                                content: "";
                                position: absolute;
                                left: 0;
                                top: 8px;
                                background-color: #000;
                                border-radius: 50%;
                            }
                        }

                        span {
                            color: #000;
                        }

                        &.active {
                            a {
                                color: #D71006;
                                font-weight: 500;

                                &::before {
                                    background-color: #C7070E;
                                }
                            }

                            span {
                                color: #D71006;
                                font-weight: 500;
                            }
                        }

                        &:hover {
                            a {
                                color: #D71006;

                                &::before {
                                    background-color: #C7070E;
                                }
                            }

                            span {
                                color: #D71006;
                            }
                        }
                    }
                }

                .tagList {
                    display: flex;
                    flex-wrap: wrap;

                    li {
                        width: auto;
                        max-width: 100%;
                        min-width: 100px;
                        margin-right: 10px;

                        a {
                            width: 100%;
                            border-radius: 6px;
                            background: #FFF;
                            color: #000;
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 14px;
                            display: block;
                            padding: 10px 16px;
                            text-align: center;
                            transition: 0.5s;
                            margin-bottom: 15px;

                            &:hover {
                                background-color: #000;
                                color: #fff;
                            }
                        }
                    }
                }
            }

            .blogPostList {
                border-radius: 15px;
                border: 1px solid rgba(0, 0, 0, 0.20);
                background: #FFF;
                padding: 30px;
                margin-top: 25px;

                h4 {
                    color: #000;
                }

                .postList {
                    li {
                        display: flex;
                        align-items: flex-start;

                        &:not(:last-child) {
                            margin-bottom: 40px;
                        }

                        .postImg {
                            width: 100px;
                            height: 100px;
                            border-radius: 10px;
                            overflow: hidden;

                            a {
                                width: 100%;
                                display: block;
                                height: 100%;
                            }

                            img {
                                width: 100%;
                                height: 100%;
                                object-position: center center;
                                object-fit: cover;
                            }
                        }

                        .postText {
                            width: calc(100% - 100px);
                            display: flex;
                            align-items: end;
                            padding-left: 15px;
                            gap: 8px;

                            .postSummery {
                                width: calc(100% - 40px);

                                p {
                                    font-size: 15px;
                                    margin-bottom: 5px;
                                    color: #656565;
                                }

                                .postSummaryTxt {
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 3;

                                    a {
                                        color: #000000;
                                        font-weight: 500;
                                        transition: 0.5s;
                                    }
                                }

                                &:hover {
                                    a {
                                        color: #C7070E;
                                    }
                                }
                            }

                            .postArrow {
                                width: 40px;
                                display: flex;
                                justify-content: end;
                                position: relative;
                                bottom: -4px;
                                color: #000;

                                a {
                                    color: #000;

                                    img {
                                        filter: brightness(0) saturate(100%) invert(16%) sepia(97%) saturate(2742%) hue-rotate(212deg) brightness(103%) contrast(114%);
                                    }
                                }
                            }
                        }

                        &:hover {
                            .postSummery {
                                a {
                                    color: #D71006;
                                }
                            }

                            .postArrow {
                                a {
                                    color: #D71006;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .blogDetDiv {
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: 20px;
        padding: 35px 30px;

        .blogDetTop {
            position: relative;
            width: 100%;
            height: auto;
            /* border-radius: 20px; */
            overflow: hidden;
            margin-bottom: 30px;

            .blogDetTxt {
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                border-top: 1px solid #fff;
                margin-bottom: 20px;

                .blogDetTxtInn {
                    position: relative;
                    margin-bottom: 5px;

                    .blogDat {
                        position: relative;

                        &::before {
                            content: "\f073";
                            position: absolute;
                            top: 2px;
                            left: 0;
                            font-family: fontawesome;
                            font-size: 16px;
                            color: #656565;

                        }
                    }

                    &:not(:last-child) {
                        /* margin-right: 80px; */

                        /* &::after {
                            content: '';
                            position: absolute;
                            width: 10px;
                            height: 10px;
                            border-radius: 50%;
                            background-color: #DA0A0A;
                            right: -40px;
                            top: 50%;
                            transform: translateY(-50%);
                        } */
                    }

                    .blogCat {
                        /* margin-bottom: 5px; */
                        position: relative;

                        &::before {
                            content: "\f02c";
                            position: absolute;
                            top: 2px;
                            left: 0;
                            font-family: fontawesome;
                            font-size: 16px;
                            color: #656565;
                        }

                        a {
                            color: #8C8C8C;
                            font-weight: 500;
                        }
                    }

                    .blogAdmin {
                        position: relative;

                        &::before {
                            content: "\f2bd";
                            position: absolute;
                            top: -2px;
                            left: 0;
                            font-family: fontawesome;
                            font-size: 16px;
                            color: #656565;
                        }

                        /* display: flex;
                        flex-wrap: wrap;
                        align-items: center; */

                        /* .blogDetTxtImg {
                            width: 60px;
                            height: 60px;
                            margin-right: 20px;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                border-radius: 50%;
                            }
                        } */

                        p {
                            color: #999;
                            font-family: "Zabal DEMO";
                            font-size: 18px;
                            font-weight: 600;
                            line-height: 20px;
                            padding-left: 26px;
                        }
                    }

                    p {
                        color: #999;
                        font-family: "Zabal DEMO";
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 600;
                        padding-left: 26px;
                    }

                    a {
                        color: #999;
                        font-family: "Zabal DEMO";
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 600;
                        padding-left: 26px;
                    }
                }
            }

            .blogDetFig {
                width: 100%;
                height: 400px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 20px;
                }
            }
        }

        .blogDivBtm {
            .blogDivBtmCont {
                padding-bottom: 30px;

                h2 {
                    color: #D71006;
                    font-family: "Quicksand";
                    font-size: 26px;
                    font-weight: 600;
                    line-height: 1.4;
                    margin-bottom: 10px;
                }

                p {
                    color: #000;
                    font-family: "Zabal DEMO";
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 28px;
                }
            }

            .blogDivLinks {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                border-top: 1px solid rgba(163, 163, 163, 0.45);
                padding-top: 30px;

                .blogLinksInn {
                    h6 {
                        color: #D71006;
                        font-family: "Zabal DEMO";
                        font-size: 24px;
                        font-weight: 600;
                        margin-bottom: 15px;
                    }

                    .blogLinksIcon {
                        display: flex;
                        align-items: center;
                        gap: 20px;
                        flex-wrap: wrap;

                        a {
                            color: #000;
                            font-size: 25px;
                            transition: all 0.5s;

                            &:hover {
                                color: #C7070E;
                            }
                        }
                    }

                    .blogLinksTag {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 6px;

                        a {
                            margin-bottom: 0;
                            color: #000;
                        }
                    }
                }
            }
        }

        .blogDetForm {
            margin-top: 50px;
            background-color: #f1f1f1;
            border-radius: 20px;
            width: 100%;
            max-width: 90%;
            padding: 100px 70px;

            h5 {
                color: #D71006;
                font-family: 'Poppins';
                font-size: 35px;
                font-weight: 700;
                line-height: 26px;
                margin-bottom: 35px;
            }

            form {
                .form-group {
                    margin-bottom: 30px;
                }

                input {
                    width: 100%;
                    height: 60px;
                    display: block;
                    border-radius: 9px;
                    border: 1px solid #E3E3E3;
                    background: #FDFDFD;
                    color: #A3A3A3;
                    font-family: 'Poppins';
                    font-size: 18px;
                    font-style: italic;
                    font-weight: 500;
                    line-height: 18px;
                    padding: 8px 12px;
                }

                textarea {
                    width: 100%;
                    height: 120px;
                    display: block;
                    border-radius: 9px;
                    border: 1px solid #E3E3E3;
                    background: #FDFDFD;
                    color: #A3A3A3;
                    font-family: 'Poppins';
                    font-size: 18px;
                    font-style: italic;
                    font-weight: 500;
                    line-height: 18px;
                    resize: none;
                    padding: 8px 12px;
                }

                label {
                    display: block;
                    width: 100%;
                    color: #828282;
                    font-family: 'Poppins';
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 18px;
                    margin-bottom: 15px;

                    span {
                        color: #C7070E;
                    }
                }

                .commonBtn {
                    display: flex;
                    justify-content: end;
                    padding-right: 100px;

                    .quoteText {
                        background-color: #f1f1f1;
                    }
                }
            }
        }
    }

    /* ======== blog details form =========== */
    .comments-area {
        .comment-respond {
            .comment-reply-title {
                margin-bottom: 10px;
                font-weight: 600;
            }

            .comment-form {
                display: flex;
                flex-direction: column;

                label {
                    margin-bottom: 5px;
                    font-size: 18px;
                    font-weight: 500;
                }

                input[type="text"],
                textarea {
                    width: 100%;
                    border: none;
                    border-radius: 30px;
                    padding: 8px 20px;
                    padding-right: 40px;
                    height: 55px;
                    box-shadow: 0 0 10px 0px #ccc;
                    outline: none;
                    color: #000;
                    font-family: "Zabal DEMO";
                    font-size: 18px;
                    font-weight: 500;
                    resize: none;
                }

                textarea {
                    height: 130px;
                }

                .comment-notes {
                    order: 1;
                }

                .comment-form-comment {
                    order: 5;
                }

                .comment-form-author {
                    order: 2;
                }

                .comment-form-email {
                    order: 3;
                }

                .comment-form-url {
                    order: 4;
                }

                .comment-form-cookies-consent {
                    order: 6;
                    display: flex;
                    gap: 8px;
                    input {
                        width: 13px;
                        height: 13px;
                    }

                    label {
                        font-size: 16px;
                        width: calc(100% - 20px);
                        line-height: 18px;
                    }
                }

                .form-submit {
                    order: 7;

                    input {
                        background-color: #DA0A0A;
                        color: #fff;
                        border-radius: 30px;
                        line-height: 45px;
                        padding: 0px 30px;
                        font-weight: 500;
                        border: 2px solid transparent;
                        transition: 0.5s;
                        font-size: 18px;
                    }
                }
            }
        }
    }
}

.relatedBlog {
    background-repeat: no-repeat;
    background-size: cover;

    .headingWrap {
        .secH {
            margin-bottom: 40px;
        }
    }
}



/* ========== start responsive ============== */

@media(max-width: 1366px) {
    .innerbanner {
        & .innerBannerText {
            .bannerText {
                margin: 0 30px 0 0;
            }
        }
    }
}

@media(max-width: 1199px) {
    .page-template-blog {
        .blogSec {

            & .blogItem {
                margin-right: 0;

                .blogItemInner {
                    flex-direction: column;

                    & .blogLeft {
                        h3 {
                            font-size: 30px;
                        }
                    }

                    .blogRight {
                        width: 100%;
                        border-left: none;
                        border-top: 1px solid rgba(0, 0, 0, 0.25);
                        padding-top: 20px;
                        padding-left: 0;

                        &::before {
                            left: 10px;
                            top: 5px;
                            transform: rotate(-90deg);
                        }

                        & .blogRightInner {
                            & .blogTitle {
                                a {
                                    font-size: 20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .blogSec {
        padding-bottom: 150px;

        & .blogSlider {
            .slick-arrow {
                top: auto;
                bottom: -120px;
            }
        }

        & .blogSecInn {
            & .blogSidebar {
                h4 {
                    font-size: 22px;
                    margin-bottom: 14px;
                }

                & .srchWrap {
                    & .frmWrap {
                        .srchBtn {
                            height: 40px;
                        }

                        .inputTxt {
                            height: 40px;
                            min-height: 40px;
                            font-size: 16px;
                        }
                    }
                }

                .blockListBg {
                    padding: 20px;

                    & .catList {
                        li {
                            padding: 15px 0px;

                            a {
                                font-size: 16px;
                            }

                            span {
                                font-size: 16px;
                            }
                        }
                    }
                }

                .blogPostList {
                    padding: 20px;

                    & .postList {
                        & li {
                            &:not(:last-child) {
                                margin-bottom: 18px;
                            }

                            & .postText {
                                & .postSummery {
                                    width: calc(100% - 20px);

                                    & .postSummaryTxt {
                                        a {
                                            font-size: 16px;
                                        }
                                    }
                                }

                                & .postArrow {
                                    width: 20px;

                                    & a {
                                        img {
                                            width: 12px;
                                            bottom: 0px;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .pagination {
        .page-numbers {
            width: 45px;
            height: 45px;
            font-size: 17px;
        }
    }
}

@media(max-width: 1024px) {
    .blogSec {
        & .blogDetDiv {
            & .blogDivBtm {
                & .blogDivLinks {
                    & .blogLinksInn {
                        & .blogLinksIcon {
                            a {
                                font-size: 22px;
                            }
                        }
                    }
                }
            }
        }
    }

    /* end blog details date */
}


@media(max-width: 991px) {
    .blogSec {
        & .blogSecInn {
            & .blogListWrap {
                & .blogWrap {
                    row-gap: 20px;
                    padding-top: 0;

                    .blogCard {
                        padding-bottom: 20px;
                    }
                }
            }

            & .blogSidebar {
                margin-top: 60px;

                & .srchWrap {
                    & .frmWrap {
                        .inputTxt {
                            text-align: left;
                        }
                    }
                }

                & .blogPostList {
                    & .postList {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;

                        li {
                            width: calc(50% - 10px);
                        }
                    }
                }
            }
        }
    }

    .pagination {
        justify-content: center;
    }
}

@media(max-width: 767px) {
    .blogSec {
        & .blogItem {
            & .blogItemInner {
                & .blogLeft {
                    h3 {
                        color: #DA0A0A;
                    }
                }

                & .blogRight {
                    &::before {
                        border-right: 15px solid #DA0A0A;
                    }

                    & .blogRightInner {
                        & .blogCat {
                            a {
                                color: #DA0A0A;
                            }
                        }
                    }
                }
            }
        }

        & .blogItem {
            .btnTwo {
                color: #DA0A0A;

                &::after {
                    transform: rotate(0deg);
                    background-color: #DA0A0A;
                    color: #fff;
                }
            }
        }

        & .blogSecInn {
            & .blogListWrap {
                & .blogWrap {
                    & .blogCard {

                        &:nth-child(5n + 5) {
                            border-bottom: 1px solid rgba(0, 0, 0, 0.25);
                            padding-bottom: 25px;
                        }
                    }
                }
            }

            & .blogSidebar {
                & .blogPostList {
                    & .postList {
                        display: block;

                        li {
                            width: 100%;

                            .postText {
                                flex-direction: column;

                                & .postSummery {
                                    width: 100%;
                                }

                                & .postArrow {
                                    width: 100%;
                                    justify-content: left;

                                }
                            }

                        }
                    }
                }
            }
        }

        /* blog details date  */

        & .blogDetDiv {
            & .blogDetTop {
                & .blogDetTxt {
                    & .blogDetTxtInn {
                        &:not(:last-child) {
                            margin-right: 50px;
                        }

                        & .blogAdmin {
                            .blogDetTxtImg {
                                width: 50px;
                                height: 50px;
                            }
                        }
                    }
                }
            }

            & .blogDivBtm {
                .blogDivBtmCont {
                    padding-bottom: 20px;

                    h2 {
                        font-size: 24px;
                    }
                }

                .blogDivLinks {
                    padding-top: 20px;

                    & .blogLinksInn {
                        h6 {
                            font-size: 22px;
                        }

                        & .blogLinksIcon {
                            a {
                                font-size: 20px;
                            }
                        }
                    }
                }
            }
        }

        & .comments-area {
            & .comment-respond {
                & .comment-form {
                    input[type="text"] {
                        height: 48px;
                        font-size: 16px;
                    }

                    label {
                        font-size: 16px;
                    }

                    & .form-submit {
                        margin-bottom: 0;

                        input {
                            line-height: 42px;
                            padding: 0px 20px;
                            font-size: 16px;
                        }
                    }
                }
            }
        }

        /* end blog details date */
    }


    .pagination {
        .page-numbers {
            width: 37px;
            height: 37px;
            font-size: 14px;
        }
    }
}

@media(max-width: 575px) {
    .page-template-blog {
        .blogSec {

            & .blogItem {
                & .blogItemInner {
                    & .blogLeft {
                        margin-bottom: 10px;

                        h3 {
                            font-size: 24px;

                            span {
                                font-size: 16px;
                                line-height: 18px;
                            }
                        }
                    }
                }

                & .btnTwo {
                    font-size: 17px;

                    &::after {
                        width: 30px;
                        height: 30px;
                        font-size: 14px;
                    }
                }
            }
        }
    }


    .blogSec {
        .headingWrap {
            margin-bottom: 20px;
        }


        & .blogSecInn {
            & .blogSidebar {
                h4 {
                    font-size: 20px;
                }
            }
        }

        /* start blog details date */
        & .blogDetDiv {
            padding: 25px 20px;

            & .blogDetTop {
                margin-bottom: 15px;

                .blogDetFig {
                    height: 320px;
                }

                & .blogDetTxt {
                    flex-direction: column;
                    align-items: flex-start;
                    margin-bottom: 10px;

                    & .blogDetTxtInn {
                        /* padding-left: 15px; */
                        margin-right: 0;

                        margin: 0 0 10px;
                        &:not(:last-child) {
                        }

                        /* &::after {
                            content: '';
                            position: absolute;
                            width: 10px;
                            height: 10px;
                            border-radius: 50%;
                            background-color: #DA0A0A;
                            right: auto;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                        } */

                        &:first-child {
                            order: 3;
                        }

                        &:nth-child(2) {
                            order: 2;
                        }

                        &:nth-child(3) {
                            order: 1;
                        }
                    }
                }
            }

            & .blogDivBtm {
                & .blogDivBtmCont {
                    h2 {
                        font-size: 22px;
                    }

                    p {
                        font-size: 16px;
                    }
                }

                & .blogDivLinks {
                    display: block;

                    & .blogLinksInn {
                        h6 {

                            font-size: 20px;
                            margin-bottom: 10px;
                        }

                        & .blogLinksIcon {
                            gap: 15px;

                            a {
                                font-size: 18px;
                            }
                        }

                        &:not(:last-child) {
                            margin: 0 0 15px;
                        }
                    }
                }
            }
        }

        /* blog details form */
        & .comments-area {
            & .comment-respond {
                .comment-reply-title {
                    font-size: 22px;
                }

                & .comment-form {
                    & .form-submit {
                        input {
                            line-height: 38px;
                        }
                    }
                }
            }
        }

        /* end blog details form */

        /* end blog details date */
    }
}

@media(max-width: 480px) {
    .blogSec {
        & .blogSecInn {
            & .blogSidebar {
                & .blogPostList {
                    & .postList {
                        & li {
                            .postImg {
                                width: 90px;
                                height: 90px;
                            }

                            .postText {
                                width: calc(100% - 90px);
                            }
                        }
                    }
                }
            }
        }

        /* blog details */
        & .blogDetDiv {
            padding: 20px 15px;
        }
    }
}

/* ============== end responsive ================= */