.blogs-page-header-bg-img>.container {
    z-index: 1;
}

.blogs-page-header-bg-img p.fw-light {
    font-weight: 500 !important;
}

.blogs-bg-img {
    background-image: url(../images/blogs.jpg) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -117px;
}

.blogs-bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 93, 155, 0.82);
    /* z-index: 1; */
}

.featured-section-bg {
    background-color: #d5cff9;
    position: relative;
}

.featured-section {
    margin-top: 400px;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.featured-section-container-bg {
    background-color: white;
    border-radius: 0.625rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.featured-section-alignment {
    align-items: center;
}

.featured-section-heading {
    color: black;
    font-size: 48px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    margin-right: 0;
    margin-left: 0;
    line-height: 1.2;
}

.featured-section-margin-custom {
    padding-left: 1rem;
    padding-right: 1rem;
}

.featured-section-text {
    font-size: 24px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-right: 0;
    margin-left: 0;
    line-height: 1.2;
}

.blog-badge-featured-1 {
    background-color: #005D9B;
    color: white;
    font-weight: 500;
    font-size: 24px;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    line-height: 1.2;

}

.blog-badge-featured-2 {
    /* background-color: #D5CFF9; */
    background-color: #d5cff9;
    color: black;
    font-weight: 500;
    font-size: 24px;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    line-height: 1.2;

}

.featured-section-Button {
    display: flex;
    border-radius: 50px;
    border-color: #005D9B;
    color: #005D9B;
    font-weight: 500;
    font-size: 24px;
    align-items: center;
    text-wrap: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 1.2;
    width: fit-content;
}

.featured-section-Button:hover {
    background-color: #005D9B;
    color: white;
}

.featured-button-svg-padding {
    margin-top: 0.15rem;
    margin-left: 1rem;
}

.featured-date {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.2;
}

.text1 {
    font-weight: 400;
    font-size: 20px;

}

.text2 {
    font-weight: 600;
    font-size: 20px;

}

.featured-section-custom-image {
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    /* margin-top: 1rem;
    margin-bottom: 1rem; */
}


.grid-section {
    background-color: #CAE9FF;
    position: relative;
    padding-bottom: 5rem;
    /* margin-top: 400px; */
}

.grid-section-custom-margin {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.grid-section-heading {
    color: #0162A2;
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.grid-card-margin-custom {
    margin-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gird-card-custom {
    border: 0;
    border-radius: 0.625rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.gird-card-img-custom {
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0.625rem;
    width: auto;
    height: 275px;
    object-fit: cover;
}

.grid-card-body-custom {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.grid-section-badge-featured-1 {
    background-color: #005D9B;
    color: white;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 0.625rem;
    border-radius: 50px;
    line-height: 1.2;
}

.grid-section-badge-featured-2 {
    background-color: #d5cff9;
    color: black;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 0.625rem;
    border-radius: 50px;
    line-height: 1.2;
}

.grid-section-content-height {
    height: 175px;
    overflow: hidden;
}

.grid-card-title-custom {
    margin-bottom: 0.75rem;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    max-height: 60px;
    overflow: hidden;
}

.grid-card-text-custom {
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    max-height: 75px;
    overflow: hidden;
}

.grid-card-divider-line {
    color: #005D9B;
    height: 1px;

}

.grid-card-date-section-custom {
    /* margin-top: auto; */
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.grid-card-date-section {
    line-height: 1.2;
}

.grid-card-date-section-text1-custom {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0;

}

.grid-card-date-section-text2-custom {
    font-weight: 600;
    font-size: 18px;
}

.grid-svg-custom {
    width: 100%;
    height: 45px;
}

@media (max-width: 1096px) {

    .grid-section {
        padding-bottom: 3rem;
    }

    .blog-badge-featured-1 {
        font-size: 12px;
    }

    .blog-badge-featured-2 {
        font-size: 12px;
    }

    .featured-section-container-bg {
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .featured-section-heading {
        font-size: 24px;
        margin-top: 1.5rem;
        /* margin-left: 0; */
    }

    .featured-section-text {
        font-size: 16px;
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
        /* margin-left: 0; */
    }

    .featured-section-Button {
        font-size: 16px;
    }

    .text1 {
        font-size: 16px;

    }

    .text2 {
        font-size: 18px;

    }

    .grid-section-badge-featured-1 {
        font-size: 12px;
    }

    .grid-card-text-custom {
        margin-bottom: 16px;
        font-weight: 400;
    }

    .grid-section-custom-margin {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .grid-card-date-section-text1-custom {
        font-size: 12px;

    }

    .grid-card-date-section-text2-custom {
        font-size: 14px;
    }


}

@media (max-width: 996px) {

    .grid-section {
        padding-bottom: 2.5rem;
    }

    .featured-section {
        margin-top: 350px;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .blog-badge-featured-1 {
        font-size: 15px;
    }

    .blog-badge-featured-2 {
        font-size: 15px;
    }

    .featured-section-container-bg {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid-card-date-section-text1-custom {
        font-size: 16px;

    }

    .grid-card-date-section-text2-custom {
        font-size: 18px;
    }

}

@media (max-width: 796px) {

    .featured-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

}

@media (max-width: 496px) {

    .featured-section-custom-image {
        margin-bottom: 1rem;
    }

}
