.mjf-blog-list {

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


/* CARD */

.mjf-blog-item {

    background:#ffffff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:100%;
    transition:.3s ease;

}


.mjf-blog-item:hover {

    box-shadow:0 8px 25px rgba(0,0,0,0.10);
    transform:translateY(-5px);

}



/* IMAGE FIX */

.mjf-blog-image {

    width:100%;
    height:220px;
    overflow:hidden;

}


.mjf-blog-image img {

    width:100%;
    height:220px;
    object-fit:cover;
    display:block;

}



/* CONTENT */

.mjf-blog-content {

    padding:25px;
    display:flex;
    flex-direction:column;
    flex:1;

}



/* TITLE */

.mjf-blog-content h3 {

    margin:0 0 10px;
    height:58px;
    overflow:hidden;

}


.mjf-blog-content h3 a {

    color:#1b1b1b;
    font-size:21px;
    font-weight:700;
    line-height:1.3;
    text-decoration:none;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

}



/* DATE */

.mjf-date {

    font-size:13px;
    color:#888;
    margin-bottom:15px;

}



/* DESCRIPTION */

.mjf-blog-content p {

    color:#555;
    font-size:15px;
    line-height:1.6;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;

    margin-bottom:20px;

}



/* READ MORE BLUE */

.mjf-readmore {

    display:inline-block;

    margin-top:auto;

    padding:10px 22px;

    background:#0066cc;
    color:#ffffff;

    border-radius:25px;

    font-size:14px;
    font-weight:600;

    text-decoration:none;

    align-self:flex-start;

}


.mjf-readmore:hover {

    background:#004c99;
    color:#ffffff;

}



/* RESPONSIVE */

@media(max-width:1024px){

    .mjf-blog-list {

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:768px){

    .mjf-blog-list {

        grid-template-columns:1fr;

    }

}
