.games__item{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    height: 75vw;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.games__item:not(:last-child){
    margin-bottom: 10px;
}

.games__item-image{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 45px;
    z-index: -1;
}
.games__item-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.games__item-image::before{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.games__item--long{
    border: 2px solid #FEB54A;
    padding-top: 50px;
}

.games__item--long .games__item-image{
    bottom: 13%;
}

.games__label{
    position: absolute;
    left: 10px;
    top: 10px;
    background: #FEB54A;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    color: #1A1A1A;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
}

.games__title{
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.games__info{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.games__info-item{
    width: 50%;
    padding: 0 5px;
}

.games__info-label{
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #808080;
}

.games__info-text{
    font-weight: 700;
    font-size: 16px;
    line-height: 25px;
    color: #1A1A1A;
}

.games__item .games__button{
    margin-bottom: 0;
}

.games__button .red-button{
    margin-bottom: 0;
}
@media ( min-width: 600px ) {
    
    .games{
        display: flex;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .games__item{
        width: calc(33% - 20px);
        flex-grow: 1;
        margin-left: 10px;
        margin-right: 10px;
        height: auto;
        margin-bottom: 10px;
        min-height: 240px;
    }

    .games__label{
        padding: 5px;
        font-weight: 700;
        font-size: 12px;
        line-height: 15px;
    }
    
    .games__item--long{
        width: 100%;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        min-height: 125px;
        padding-top: 10px;
        padding-left: 33%;
        background: #FFF0D9;
    }

    .games__item--long .games__item-image{
        position: absolute;
        bottom: 0;
        width: 28%;
    }

    .games__item--long .games__item-image::before{
        background: linear-gradient(90deg, rgba(255, 240, 217, 0) 71.01%, #FFF0D9 100%);
    }

    .games__item--long .games__button{
        width: 25%;
    }
    
    .games__item--long .games__info{
        flex-direction: column;
        margin-bottom: 0;
        width: 28%;
        padding: 0 5px;
    }

    .games__item--long .games__info-item{
        width: 100%;
    }

    .games__item--long .games__info-item:not(:last-child){
        margin-bottom: 10px;
    }

    .games__item--long .games__title{
        margin-bottom: 0;
        width: 30%;
        text-align: left;
        padding: 0 5px;

    }

}