.blog-category-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--boxShadow);
    border-bottom: 10px solid transparent;
    margin-bottom: 20px;
}

.blog-category-card:hover {
    border-bottom: 10px solid var(--main-color);
}

.blog-category-img {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    height: 270px;
    min-width: 100%;
}

.blog-category-card img {
    transition: all 0.3s ease-in-out;
}

.blog-category-card:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);
}

.blog-category-content {
    padding: 30px;
    border-radius: 0 0 20px 20px;
}

.blog-category-content h3 {
    position: relative;
    padding-left: 10px;
}

.blog-category-content h3::before {
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    background: #ddd;
    height: 30px;
    width: 35px;
    left: -30px;
    top: 0;
    content: "";
    position: absolute;
    transition: all 0.5s ease-in-out;
}

.blog-category-content h3:hover::before {
    background: var(--main-color);
    transition: all 0.5s ease-in-out;
}

.blog-category-content h3 a {
    color: var(--main-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-category-content h3 a:hover {
    color: var(--second-color);
    text-shadow: 1px -1px rgba(255, 0, 0, 0.6);
}

.blog-category-text {
    height: 90px;
    overflow: hidden;
    margin-top: 10px;
}

.blog-category-text p {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}