#games {
  max-width: 1140px;
  margin: auto;
  padding: 10px 20px;
}

#games .games-container {
  display: grid;
  grid-template-columns: 32.1% 32.1% 32.1%;
  gap: 20px;
}

/* Each card sits in its own grid cell, and a hidden card leaves its cell
   behind, empty, as on the live site: the row gaps of the hidden rows are
   the space above the Read More button. */
#games .game-cell {
  display: grid;
  grid-template-columns: 100%;
}

.game {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #E5E5E5;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 10px;
  padding: 20px;
  display: none;
}

.game .thumbnail img {
  display: block;
  height: auto;
  width: 100%;
}

.game .checkbox-values {
  display: grid;
  grid-template-columns: 45.5% 45.5%;
  gap: 13px 16px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.game .checkbox-value {
  padding: 6px 5px;
  background: #000;
  color: #fff;
  border: 1px solid;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 20px;
  line-height: 1.7;
}

.game .checkbox-value span {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

/* The icon stands in for a 16px Font Awesome glyph: as wide as the glyph,
   on the same baseline, and like a glyph it is no place to wrap a line.
   tag-icons.css supplies each icon's image and width. */
.game .checkbox-value span::before {
  content: "";
  margin: 0 5px;
  padding-left: calc(16px * var(--tag-aspect));
  background-repeat: no-repeat;
  background-position: 0 4.9px;
  background-size: auto 16px;
}

.game h2 {
  font-family: "Poppins", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 9px;
}

.game h2 a {
  color: #566CF2;
}

.game .excerpt {
  color: #7a7a7a;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.game.visible {
  display: block;
}

.read-more-container {
  text-align: center;
  margin-top: 20px;
}

button.read-more {
  background-color: #000;
  color: #fff;
  border: 3px solid transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  padding: 15px 30px;
  cursor: pointer;
}

button.read-more:hover {
  background-color: transparent;
  border-color: currentColor;
  color: inherit;
}

@media (min-width: 1024px) {
  .game .checkbox-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    width: 153px;
  }
}

@media (max-width: 1024px) {
  #games {
    padding: 10px 20px;
  }

  #games .games-container {
    grid-template-columns: 49% 49%;
  }
}

@media (max-width: 767px) {
  #games .games-container {
    display: flow-root;
  }

  #games .game-cell {
    display: block;
  }
}

@media (max-width: 480px) {
  .game {
    margin: 20px 0;
  }

  button.read-more {
    font-size: 17px;
    padding: 13px 30px;
  }
}
