.case {
    display: grid;
    grid-template-columns: repeat(3, 370px);
    justify-content: space-between;
    row-gap: 40px;
    margin-bottom: 50px;
}

.case > div {
    width: 370px;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0px 10px 42px 1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s;
    padding-bottom: 30px;
}

.case > div * {
    pointer-events: none;
}

.case > div:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 42px 1px rgba(0, 0, 0, 0.3);
}

.case img {
    width: 343px;
}

.case em {
    position: absolute;
    font-style: normal;
    padding: 5px 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #54af4d;
    color: #ffffff;
    right: 0px;
    top: 0px;
}
.case h4 {
    font-size: 16px;
    line-height: 25px;
}
.case p {
    line-height: 24px;
    color: #a8abb4;
}

.case > div > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.case i {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #278be8;
    color: #278be8;
    font-style: normal;
}

.page-empty {
    grid-column: span 3;
}