.pt-220 {
    padding-top: 220px;
}
.pb-140 {
    padding-bottom: 140px;
}
.mb-20 {
    margin-bottom: 20px;
}
.blogSearch {
    background-color: #f6f6f6;
    border: 1px solid #eaeaea;
    margin-bottom: 50px;
    margin-top: 30px;
    padding: 12px 22px;
    border-radius: 10px;
}
section.bhero {
    background-image: url(../img/blg-bnr.svg);
    text-align: left;
    position: relative;
    background-size: cover;
    background-position: center;
}
section.b2hero {
    background-image: url(../img/blogs/blog2Hero.png) !important;
}

section.bhero h1 {
    font-size: 32px;
    margin: 0;
    font-weight: 400;
    line-height: 45px;
}
section.bhero h1 + p {
    font-size: 50px;
    font-weight: 500;
    margin: 0;
    line-height: 75px;
}
section.bhero p + p {
    margin: 0;
    font-size: 28px;
    max-width: 100%;
    line-height: 38px;
}
.heroTextContainer {
    max-width: 1192px !important;
}
section.cvrBlg {
    transform: translateY(-40%);
    margin-bottom: -42px;
}
.blogHeroCard {
    width: 1192px;
    height: 660px;
    background-color: #fff;
    color: #3a3a3a;
    border-radius: 9px;
    border: 1px solid black;
    margin: 0 auto;
}
/* .blogHeroCard {
    width: 1192px;
    height: 660px;
    background-color: #fff;
    color: #3a3a3a;
    border-radius: 9px;
    position: absolute;
    bottom: -47%;
    left: 50%;
    transform: translate(-50%);
    border: 1px solid black;
} */

.blogHeroCard img {
    height: 660px;
    width: 615px;
}
.blogHeroCard .content {
    padding: 40px 90px 40px 50px;
}
.blogHeroCard .p1 {
    font-size: 26px;
    font-weight: 500;
}
.blogHeroCard .p2 {
    font-size: 24px;
    font-weight: 400;
    color: #838383;
    line-height: 38px;
}
.blogHeroCard h5 {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
}
.blogHeroCard button {
    width: 415px;
    height: 53px;
    background-color: var(--primary-color);
    color: #fff;
    border: 0;
    border-radius: 0;
    border-radius: 40px;
    font-size: 20px;
    padding: 0;
    margin-top: 35px;
}
.text-primary {
    color: var(--primary-color) !important;
}
.text-grey {
    color: var(--grey-text-color);
}
.text-light-grey {
    color: var(--lightGrey-text-color);
}
.blogsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.blogsContainer h5 {
    font-size: 26px;
    font-weight: 500;
    color: #3a3a3a;
    margin-bottom: 18px;
    line-height: 32px;
}
.blogsContainer h5 span {
    color: var(--primary-color);
}
.blogsContainer p {
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 18px;
}
.blogsContainer p.text-light-grey {
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
}
.blogsContainer a.text-grey {
    font-size: 20px;
}
.blogsContainer > div {
    /* width: 444px; */
    /* height: 625px; */
    border-radius: 9px;
}
.blogsContainer img {
    width: 100%;
    height: 338px;
}
.blogsContainer .arrowImg {
    width: 20px;
    height: 20px;
}
.blogsContainer .content {
    padding-top: 22px;
}
.paginationContainer {
    display: flex;
    justify-content: center;
    padding-bottom: 170px;
}
.paginationContainer > div {
    padding: 10px 20px;
    font-weight: 500;
}
.paginationContainer .active {
    background-color: #142840;
    color: white;
}

@media (max-width: 1599px) {
    .p-0 {
        padding: 10px !important;
    }
    .blogHeroCard {
        width: 1172px;
    }

    .blogsContainer h5 {
        font-size: 22px;
    }
    .blogsContainer p {
        font-size: 18px;
    }
  
    section.bhero h1 {
        font-size: 30px;
    }

    section.bhero h1 + p {
        font-size: 40px;
        line-height: 50px;
    }

    section.bhero p + p {
        font-size: 24px;
    }

    .blogHeroCard h5 {
        font-size: 24px;
    }
    .blogHeroCard .p2 {
        font-size: 20px;
    }
}

/* 1200-1399 */
@media (max-width: 1399px) {
    .p-0 {
        padding: 10px !important;
    }
    .blogHeroCard {
        width: 1172px;
    }
}

/* 992-1199 */
@media (max-width: 1199px) {
    .heroTextContainer {
        max-width: 1030px !important;
    }
    .p-0 {
        padding: 15px !important;
    }
    section.cvrBlg {
        transform: translateY(-15%);
    }
    .blogHeroCard {
        max-width: 1030px;
        width: 100%;
        /* bottom: -110%;
        transform: translate(-50%); */
    }
    .blogHeroCard img {
        height: 100%;
        width: 400px;
    }

    .blogsContainer h5 {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* 768-991 */
@media (max-width: 991px) {
    section.bhero h1 {
        font-size: 26px;
        line-height: 35px;
    }
    section.bhero h1 + p {
        font-size: 40px;
        line-height: 50px;
    }
    section.bhero p + p {
        font-size: 24px;
        line-height: 30px;
    }

    section.cvrBlg {
        transform: translateY(-20%);
    }
    .blogHeroCard {
        height: auto;
    }
    .blogHeroCard img {
        display: none;
    }
    .blogHeroCard .content {
        padding: 40px 50px 40px 50px;
    }
    .blogHeroCard button {
        width: 100%;
    }
    .blogsContainer {
        gap: 30px;
    }
    .blogsContainer img {
        height: 175px;
    }
    .blogsContainer .content {
        padding-top: 10px;
    }
    .blogsContainer h5 {
        margin-bottom: 10px;
        line-height: 32px;
    }
    .blogsContainer p {
        line-height: 30px;
        margin-bottom: 10px;
        padding: 0 !important;
    }

    .pb-140 {
        padding-bottom: 50px;
    }
    .paginationContainer {
        padding-bottom: 0;
    }
}

/* 576-767 */
@media (max-width: 767px) {
    section.bhero h1 {
        margin-top: 40px;
    }
    section.cvrBlg {
        transform: none;
        margin: 50px 0 50px;
    }
    .blogHeroCard .content {
        padding: 20px;
    }
    .blogHeroCard .p2 {
        font-size: 20px;
        line-height: 28px;
    }
    .blogHeroCard h5 {
        font-size: 24px;
        font-weight: 500;
        line-height: 30px;
    }
    .blogHeroCard .p1 {
        font-size: 20px;
    }
    .blogHeroCard .p2 {
        margin: 0;
    }

    .blogsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
    .blogsContainer h5 {
        margin-bottom: 10px;
        line-height: 24px;
        font-size: 18px;
    }
    .blogsContainer p.text-light-grey {
        font-size: 16px;
    }
}

/* 320-575 */
@media (max-width: 575px) {
    section.bhero h1 {
        font-size: 20px;
        line-height: 25px;
    }
    section.bhero h1 + p {
        font-size: 24px;
        line-height: 30px;
    }
    section.bhero p + p {
        font-size: 18px;
        line-height: 24px;
        font-weight: 400 !important;
    }

    .blogHeroCard .p2 {
        font-size: 18px;
        line-height: 24px;
    }
    .blogHeroCard h5 {
        font-size: 20px;
        line-height: 28px;
    }
    .blogHeroCard .p1 {
        font-size: 18px;
    }
    .blogHeroCard button {
        font-size: 18px;
    }

    .blogsContainer {
        grid-template-columns: repeat(1, 1fr);
    }
    .blogsContainer h5 {
        margin-bottom: 10px;
        line-height: 24px;
    }
    .blogsContainer p {
        font-size: 18px;
        line-height: 1.5;
    }
    .blogsContainer a.text-grey {
        font-size: 18px;
    }
}

/* @media (max-width: 1024px) {
    .blogsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
    .blogHeroCard {
        width: 900px;
        height: 500px;
        bottom: -30%;
    }
    .blogHeroCard img {
        max-height: 660px;
        max-width: 450px;
    }
    .blogHeroCard .content {
        padding: 20px;
    }
    .blogHeroCard h5 {
        font-size: 24px;
    }
    .blogHeroCard .p2 {
        font-size: 20px;
    }
    .blogHeroCard .p1 {
        font-size: 22px;
    }
    .blogHeroCard button {
        margin-top: 10px;
    }
    .pb-140 {
        padding-bottom: 80px;
    }
    .pt-220 {
        padding-top: 0;
    }
    .paginationContainer {
        padding-bottom: 80px;
    }
} */
