.slots-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.slots-item {
    overflow: hidden;
    aspect-ratio: 9/7;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.slots-item__img {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 9/7;
    z-index: 1;
    transition: .3s;
}

.slots-item:hover .slots-item__img {
    filter: blur(3px);
}

.slots-item__title {
    position: relative;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 3px #000;
    height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    z-index: 1;
    color: #fff;
}

.slots-item__link {
    position: relative;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: .3s;
    z-index: 2;
}

.slots-item__link:hover {
    transform: scale(1.2);
}

.slots-item:hover .slots-item__link {
    opacity: 1;
}

@media screen and (max-width: 992px) {
    .slots-wrap {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .slots-wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 576px) {
    .slots-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .slots-item__link {
        opacity: 1;
    }
}
