.ushv-blog-card {
    background: #E6F5FF;
    border-radius: 15px;
    /* overflow: hidden; */
    height: 100%;
    display: block;
}

.ushv-blog-card .read-more::after {
    background-color: var(--black);
    transition: 0.5s;
}

.ushv-blog-card,
.ushv-blog-card:hover {
    color: var(--black);
}

.ushv-blog-card p:last-child {
    margin-bottom: 0;
}

.ushv-blog-card .img-block {
    position: relative;
    height: 300px;
    display: block;
}

.ushv-blog-card .img-block:focus-visible {
    outline: auto;
}

.ushv-blog-card .content-block {
    padding: 36px 56px 36px 30px;
    display: flex;
    flex-direction: column;
}

.ushv-blog-card .img-block .icon {
    width: 47px;
    height: 47px;
    background: var(--primary);
    display: block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    border-radius: 50%;
    transition: 0.5s all ease;
}

.ushv-blog-card .icon:after {
    margin-left: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ushv-blog-card .img-block img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
}

.ushv-blog-card .content-block .h3,
.ushv-blog-card .content-block .text-lg {
    margin-bottom: 0;
    font-weight: 500 !important;
    margin-bottom: 10px;
}

.ushv-blog-card .content-block .h6,
.ushv-blog-card .content-block .text-xs {
    margin-bottom: 5px;
}

.ushv-blog-card .content-block p {
    margin-bottom: 0;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    /* display: none; */
}

.list-view .ushv-blog-card .content-block p {
    /* display: -webkit-box; */
}

.ushv-blog-card .content-block a {
    width: auto;
}

.ushv-blog-card .content-block a:hover {
    color: var(--primary);
}

.ushv-blog-card .content-block a:hover:after {
    background-color: var(--primary);
}

.ushv-blog-card .content-block .p {
    margin-bottom: 0;
}

.ushv-blog-card:hover .img-block .icon {
    transform: rotate(45deg);
}

.ushv-blog-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ushv-blog-card .content-block .h3,
.ushv-blog-card .content-block .text-lg,
.ushv-blog-card .content-block .h6,
.ushv-blog-card .content-block .text-xs {
    color: var(--black);
}

.ushv-blog-card .post_date {
    position: absolute;
    background: var(--primary);
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    bottom: -25px;
    right: 25px;
    color: var(--white);
}

.ushv-blog-card .post_date span {
    display: block;
    font-size: 20px;
}

.list-view .ushv-blog-card .post_date {
    bottom: unset;
    top: 10px;
    left: 10px;
    right: unset;
}

.ushv-blog-card .img-block {
    height: 350px;
}

.ushv-blog-card-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ushv-blog-card-row {
    width: 100%;
}

.ushv-blog-row:has(.ushv-blog-sidebar) .ushv-blog-card-wrapper,
.list-view.ushv-blog-card-wrapper {
    width: calc(75% - 15px);
}

.ushv-blog-sidebar {
    width: calc(25% - 15px);
}

.ushv-blog-row:has(.ushv-blog-sidebar) .ushv-blog-card {
    width: calc(50% - 10px);
}

.ushv-blog-card {
    width: calc(calc(100%/3) - 13.4px);
}

.list-view .ushv-blog-card,
.ushv-blog-row:has(.ushv-blog-sidebar) .list-view .ushv-blog-card {
    width: 100%;
}

.list-view .ushv-blog-card {
    display: flex;
}

.list-view .ushv-blog-card .img-block {
    height: unset;
    width: 25%;
}

.list-view .ushv-blog-card .content-block {
    width: 75%;
}

.ushv-blog-card .categories {
    margin-bottom: 10px;
}

.ushv-blog-card .categories a {
    font-size: 18px;
    font-weight: 500;
}

.ushv-blog:has(.search-form) .ushv-blog-sidebar .widget_search {
    display: none;
}

.ushv-blog .search-form {
    margin: 0 auto 30px;
    gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ushv-blog .search-form label {
    margin-bottom: 0;
}

@media(max-width:1599px) {
    .ushv-blog-card .content-block {
        padding: 30px 45px 30px 25px;
    }
}

@media(max-width:1399px) {
    .ushv-blog-card .img-block {
        height: 300px;
    }
}

@media(max-width:991px) {

    .ushv-blog-row:has(.ushv-blog-sidebar) .ushv-blog-card-wrapper,
    .list-view.ushv-blog-card-wrapper {
        width: 100%;
    }

    .ushv-blog-sidebar {
        width: 100%;
    }

    .ushv-blog-card {
        width: calc(50% - 10px);
    }

    .list-view .ushv-blog-card .img-block {
        width: 40%;
    }

    .list-view .ushv-blog-card .content-block {
        width: 60%;
    }
}

@media(max-width:767px) {

    .ushv-blog-card {
        flex-wrap: wrap;
    }

    .ushv-blog-card .img-block,
    .ushv-blog-card .content-block {
        width: 100%;
    }

    .ushv-blog-card .img-block {
        height: 250px;
    }

    /* .ushv-blog-card .img-block img {
        object-position: top;
    } */

    .ushv-blog-card .content-block {
        padding: 25px;
    }

    .list-view .ushv-blog-card {
        display: block;
    }

    .list-view .ushv-blog-card .img-block {
        width: 100%;
        height: 250px;
    }

    .list-view .ushv-blog-card .content-block {
        width: 100%;
    }

    .ushv-blog-row:has(.ushv-blog-sidebar) .ushv-blog-card {
        width: 100%;
    }

    .list-view .ushv-blog-card .post_date {
        bottom: -25px;
        right: 25px;
        top: unset;
        left: unset;
        right: 15px;
    }

    .ushv-blog-card .post_date {
        right: 15px;
    }

    .ushv-blog-card {
        width: 100%;
    }

    .ushv-blog .search-form label {
        max-width: 50%;
    }

    .ushv-blog .search-form .search-field {
        width: 100%;
    }
}

@media(max-width:390px) {

    .ushv-blog-card .img-block,
    .list-view .ushv-blog-card .img-block {
        height: 200px;
    }
}