.img-box {
    gap: 30px;
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
}
.img-box-item {
    display: flex;
    border-radius: 5px;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-grey);
}
.img-box-item:hover{
    background: var(--accent-color);
    box-shadow: 50px 50px 100px 0 rgb(0 0 0 / 10%);
}
.img-box-item:hover figure img{
    transform: scale(1.1);

}
.img-box-item:hover *{
    color: var(--primary--color);
}
.img-box-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.img-box-content h3{
    margin-bottom: 8px;
    color: var(--primary--color);
}
.img-box-content p{
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 13px;
}
.img-box-content a{
    font-size: 14px;
    line-height: 14px;
    display: inline-block;
    margin-top: auto;
    color: var(--secondary--color);
}
.img-box-item figure img {
    width: 100%;
    border-radius: 5px 5px 0 0;
    transition: all 0.5s ease-in-out;
}
/* RESPONSIVE */
@media only screen and (max-width: 1199px) {
    .img-box {
        gap: 24px;
    }
    .img-box-content {
        padding: 18px;
    }
}
@media only screen and (max-width: 991px) {
    .img-box {
        gap: 27px;
        grid-template-columns: 48% 48%;
    }
}
@media only screen and (max-width: 767px) {
    .img-box {
        gap: 20px;
    }
    .img-box-content p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 575px) {
    .img-box {
        gap: 15px;
        grid-template-columns: 100%;
    }
}