.games-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px 25px;

    @include media('>=desktop') {
        margin-bottom: 34px;
    }
}

.games-item {
    max-width: 50%;
    flex: 0 0 50%;
    margin-bottom: 10px;
    padding: 0 6px;

    @include media('>=tablet') {
        margin-bottom: 13px;
    }

    @include hover {
        .games-item__fav {
            text-indent: 0;
        }

        .games-item__cta {
            opacity: 1;
            visibility: visible;
        }
    }

    @include media('>=tablet') {
        max-width: 33.333%;
        flex: 0 0 33.333%;
    }
}

.games-item__img {
    border-radius: 7px;
    border: 3px solid #121212;
    background-color: #121212;
    margin-bottom: 3px;
    position: relative;

    @include media('>=tablet') {
        margin-bottom: 10px;
    }

    figure {
        margin: 0;
    }

    img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

.games-item__fav {
    top: 8px;
    right: 9px;
    position: absolute;
    z-index: 3;
    font-size: 13px;
    line-height: 125.5%;
    color: rgba(#fff, .5);

    &:hover {
        color: #fff;
    }

    .wpfp-link {
        color: inherit;
        position: relative;
        display: flex;
        align-items: center;

        &:after {
            content: '';
            background: url(../images/svg-icons/star-empty.svg) no-repeat;
            width: 22px;
            height: 22px;
            margin-left: 11px;
        }
    }
}

.games-item__ttl {
    display: block;
    color: #cdcecf;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.games-item__cta {
    @include anim;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(#000, .8);
    border-radius: 4px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 16px 16px;
    text-transform: uppercase;

    opacity: 0;
    visibility: hidden;

    .btn-primary {
        min-width: 118px;
    }
}

.games-item__cta-ttl {
    font-weight: 900;
    font-size: 17px;
    line-height: 125.5%;
    color: #fff;
    margin-bottom: 23px;
}
