.form-group.fg--search {
    display: flex;
    border-radius: 5px;
    border: 1px solid #8D8D8D;
    width: 100%;
    min-width: 500px;
    padding: 10px;
}

input#s {
    border: none;
    width: 100%;
}

input#s:focus-visible,
input#s:active {
    border: none;
    outline: none;
}

.latest-blogs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #FFF;
    padding: 30px;
    display: inline-flex;
    gap: 20px;
}

.card .image,
.card .image img {
    border-radius: 15px;
}

.card .image {
    overflow: hidden;
}

.card .image img {
    transition: all ease .5s;
}

.card:hover .image img {
    transform: scale(1.1);
    transition: all ease .5s;
}

.latest-blogs .card:first-child {
    grid-area: 1 / 1 / 3 / 2;
}

.latest-blogs .card:nth-child(2) {
    grid-area: 1/2/2/3;
    flex-direction: row;
}

.latest-blogs .card:last-child .image,
.latest-blogs .card:nth-child(2) .image {
    width: 100%;
    min-width: 348px;
}

.latest-blogs .card:last-child {
    grid-area: 2/2/3/3;
    flex-direction: row;
}

.latest-blogs .card .image {
    height: 100%;
    max-height: 350px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.title-search.d-flex.align-items-center.justify-content-between {
    margin-bottom: 60px;
}

.other-blogs .card-con {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
    margin-bottom: 60px;
}

.other-blogs h2 {
    text-align: center;
    margin-bottom: 60px;
}

.other-blogs .card .image {
    height: 100%;
    min-height: 350px;
    max-height: 350px;
}

.other-blogs .card p:nth-of-type(2) {
    height: 100%;
    min-height: 75px;
}

.other-blogs .card h3 {
    height: 100%;
    min-height: 75px;
    max-height: 75px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}


.pagination.other-blogs-pagination a {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #242424;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    place-content: center;
    color: #242424;
    font-weight: 700;
    transition: all ease .5s;
}


.pagination.other-blogs-pagination a:hover {
    color: #FFF !important;
    border: 1px solid transparent;
    background: #242424;
    transition: all ease .5s;
}

.pagination.other-blogs-pagination a:hover svg path {
    fill: #FFF;
}


.pagination.other-blogs-pagination a svg {
    height: 15px;
}


.pagination.other-blogs-pagination a.current {
    background: #242424;
    color: #FFF !important;
}

section.other-blogs {
    padding: 0px 0px 100px 0px;
}

section.blogs-banner {
    padding: 180px 0px 100px 0px;
}


@media(max-width: 1300px) {
    .latest-blogs .card:nth-child(2) .image {
        min-width: unset;
    }
}


@media(max-width: 1199px) {

    section.other-blogs {
        padding: 0px 30px 70px 30px;
    }

    section.blogs-banner {
        padding: 150px 30px 70px 30px;
    }

    .latest-blogs .card:first-child {
        grid-area: 1 / 1 / 2 / 3;
    }

    .latest-blogs .card:nth-child(2) {
        grid-area: 2 / 1 / 2 / 3;
    }

    .latest-blogs .card:last-child {
        grid-area: 3 / 1 / 3 / 3;
    }

    .latest-blogs .card .image {
        max-height: 250px;
    }

    .form-group.fg--search {
        min-width: 400px;
    }

    .other-blogs .card-con {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media(max-width: 767px) {

    section.other-blogs {
        padding: 0px 30px 50px 30px;
    }

    section.blogs-banner {
        padding: 100px 20px 50px 20px;
    }

    .latest-blogs .card:last-child,
    .latest-blogs .card:nth-child(2) {
        flex-direction: column;
    }

    .title-search.d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    form.searchform {
        width: 100%;
    }

    .form-group.fg--search {
        min-width: unset;
    }

    .latest-blogs .card:last-child .image,
    .latest-blogs .card:nth-child(2) .image {
        min-width: unset;
    }

    .other-blogs .card-con {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* QA April 25, 2025 */
.other-blogs .card h3 {
    min-height: 50px;
    max-height: 50px;
}

.other-blogs .card p:nth-of-type(2) {
    max-height: 75px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}