.b-blog-item {
    position: relative;
    padding: 24px;
    border-radius: 32px;
    border: 1px solid var(--uasoft-text);
    transition: all 0.3s ease;
}

.b-blog-item-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.b-blog-item-name {
    font-size: 28px;
    line-height: 1.28;
}

.b-blog-item-name a {
    color: inherit;
    text-decoration: none;
}

.b-blog-item-text {
    display: grid;
    grid-template-rows: 1fr;
    margin-top: 24px;
    flex: 1;
}

.b-blog-item-text-wrap {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.b-blog-date {
    font-size: 14px;
    margin-top: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 1fr);
    gap: 50px 24px;
    margin-top: 48px;
}

.b-blog-item:hover {
    color: #ffffff;
    background: var(--uasoft-dark);
}

@media screen and (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}