.blog_hero .txt form {
    position: relative;
}

.blog_hero .txt form .form-group {
    position: relative;
    max-width: 50%;
    margin: 28px auto 0;
}

.blog_hero .txt form .form-control {
    font-size: 20px;
    font-weight: 400;
    color: var(--c3);
    padding: 16px 20px;
    border: 1px solid var(--c3);
    background-color: unset;
}

.blog_hero .txt form .form-control::placeholder {
    font-size: 20px;
    font-weight: 400;
    color: var(--c3);
}

.blog_hero .txt form .form-group::before {
    position: absolute;
    content: "";
    top: 25px;
    right: 20px;
    width:8px;
	height:8px;
    color: var(--c3);
    font-size: 26px;
    font-weight: 900;
    border-right: 1px solid var(--c3);
    border-bottom: 1px solid var(--c3);
    border-width: initial;
    transform: rotate(45deg);
}

.blog_sec {
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
}

.blog_sec .nav-pills {
    margin-bottom: 40px;
}

.blog_sec .nav-pills li {
    margin-right: 24px;
}

.blog_sec .nav-pills li:last-of-type {
    margin-right: 0px;
}

.blog_sec .nav-pills li .nav-link {
    color: var(--ct);
    border-radius: 12px;
    border: 1px solid var(--ct);
    text-transform: capitalize;
}

.blog_sec .nav-pills li .nav-link.active {
    color: var(--cf);
    background-color: var(--c1);
    border: 1px solid transparent;
}

.blog_sec a {
    text-decoration: unset;
}

.blog_sec .col-lg-4 {
    margin-bottom: 40px;
}

.blog_sec .col-lg-4:nth-last-child(3),
.blog_sec .col-lg-4:nth-last-child(2),
.blog_sec .col-lg-4:nth-last-child(1) {
    margin-bottom: 0px;
}

.blog_sec .wrap {
    padding: 24px;
    border-radius: 20px;
    background: #F4F6F7;
}

.blog_sec .wrap .img img {
    border-radius: 20px;
}

.blog_sec .wrap .txt {
    padding-top: 20px;
}

.blog_sec .wrap .txt h3 {
    position: relative;
    padding-right: 30px;
}

.blog_sec .wrap .txt h3::before {
    position: absolute;
    content: "f061";
    top: 0;
    right: 12px;
    color: var(--c3);
    font-size: 18px;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    transform: rotate(-45deg);
}

.blog_sec .wrap .txt h5 {
    font-size: 20px;
    color: var(--c1);
}

@media(max-width:1300px) {
    .blog_sec .wrap .txt h5 {
        font-size: 18px;
    }
}

@media(max-width:990px) {
    .blog_hero .txt form .form-group {
        max-width: 65%;
    }
    .blog_sec .nav-pills {
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        padding-bottom: 16px;
    }
    .blog_sec .nav-pills li {
        white-space: nowrap;
        margin-right: 20px;
    }
    .blog_sec .col-lg-4:nth-last-child(3) {
        margin-bottom: 40px;
    }
}

@media(max-width:767px) {
    .blog_hero .txt form .form-group {
        max-width: 100%;
    }
    .blog_sec .col-lg-4:nth-last-child(2) {
        margin-bottom: 40px;
    }
}


/* -------- blog_detail_hero ------  */

.blog_detail_hero {
    position: relative;
    padding-top: 140px;
    margin-bottom: 80px;
}

.blog_detail_hero .md-container {
    padding-bottom: 60px;
    border-bottom: 1px solid #09090966;
}

.blog_detail_hero .title_sec {
    margin-bottom: 32px;
}

.blog_detail_hero .title_sec h5 {
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
    color: var(--cf);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    background-color: var(--c1);
}

.blog_detail_hero .title_sec h1 {
    font-size: 44px;
}

.blog_detail_hero .img {
    margin-bottom: 32px;
}

.blog_detail_hero .img img {
    border-radius: 20px;
}

.blog_detail_hero .txt {
    margin-bottom: 32px;
}

.blog_detail_hero .txt h2 {
    margin-bottom: 20px;
}

.blog_detail_hero .txt ul {
    padding-left: 24px;
}

.blog_detail_hero .txt ul li {
    list-style: disc;
    margin-bottom: 18px;
}

.blog_detail_hero .txt ul li:last-of-type {
    margin-bottom: 0px;
}

@media(max-width:1440px) {
    .blog_detail_hero .title_sec h1 {
        font-size: 36px;
    }
}

@media(max-width:1300px) {
    .blog_detail_hero .title_sec h1 {
        font-size: 34px;
    }
}

@media(max-width:1200px) {
    .blog_detail_hero .title_sec h1 {
        font-size: 32px;
    }
}

@media(max-width:767px) {
    .blog_detail_hero .title_sec h1 {
        font-size: 28px;
    }
    .blog_detail_hero .img .col-lg-6:first-of-type {
        margin-bottom: 24px;
    }
    .blog_detail_hero .img img {
        border-radius: 16px;
    }
}