.blog_title {
    color: #252b62;
}

.blog_container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 350px);
    grid-auto-rows: minmax(400px, auto);
    grid-gap: 30px;

    .blog_card {
        cursor: pointer;
        background: #f7fafd;

        .blog_img {
            width: 100%;
            height: 190px;
            object-fit: cover;
        }

        .blog_date {
            border-radius: 50px;
            padding: 8px 20px;
            font-size: 16px;
            margin-top: -25px;
            margin-left: 15px;
            background: linear-gradient(135deg, #23bdb8 0%, #43e794 100%);
        }

        .blog_card_title {
            padding-top: 8%;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .blog_card_desc {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
    }
}

/* transition */
.blog_card {
    transition: box-shadow 0.3s ease;
}

.blog_card:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    background: #fff;

    .blog_card_title {
        color: #44ce6f;
    }
}

.blog_card_more {
    transition: transform 0.3s ease;
    transform: translateX(0);
}

.blog_card:hover .blog_card_more {
    transform: translateX(5%);
}

.active {
    background: #44ce6f;
    color: #fff;
    border: none;
}

.pagination-area {
    .pagination {
        .page-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
        .page-button {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 70px;
            height: 40px;
            font-size: 1.2rem;
            color: #777777;
        }
        .page-button-disabled {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 70px;
            height: 40px;
            font-size: 1.2rem;
            color: #ccc;
        }
        .page-dots {
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            font-size: 1.2rem;
            color: #777777;
        }
        .page-link:hover,
        .page-button:hover {
            background: #44ce6f;
            color: #fff;
        }
    }
}

@media (max-width: 1200px) {
    .blog_container {
        display: grid;
        justify-content: center;
        flex-wrap: wrap;
        grid-template-columns: repeat(2, 350px);
        grid-auto-rows: minmax(400px, auto);
    }
}

@media (max-width: 992px) {
    .pagination-area {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .blog_container {
        grid-template-columns: repeat(1, 100%);
        .blog_card {
            .blog_img {
                width: 100%;
                height: auto;
            }
        }
    }
}
