.bs-block-games {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 30px 15px;
  max-width: 1280px;
  justify-content: center;
}

.bs-block-games .game {
  width: 33.333%;
}

.bs-block-games .game-img {
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  line-height: 0;
  overflow: hidden;
}

.bs-block-games .game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-block-games .game-meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  opacity: 0;
  line-height: 1.4;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s ease-in-out;
}

.bs-block-games .game-meta:hover {
  opacity: 1;
}

.bs-block-games .game-meta .game-meta-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.bs-block-games .game-name {
  margin: 0;
  text-align: center;
}

.bs-block-games .game-worktitle {
  margin: 0 0 15px;
  font-size: 1em;
  text-align: center;
}

.bs-block-games .game-meta .game-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
}

.bs-block-games .game-meta .game-btns .btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .bs-block-games .game {
    width: 25%;
  }
}

@media (max-width: 980px) {
  .bs-block-games .game {
    width: 33.333%;
  }
}

@media (max-width: 780px) {
  .bs-block-games .game {
    width: 50%;
  }
}

@media (max-width: 540px) {
  .bs-block-games .game {
    width: 100%;
  }
}
