/*
Theme Name: Jellybox
Theme URI: https://jellyboxgames.fun/
Author: Jellybox Games
Description: WordPress staging theme for Jellybox Games catalogue and standalone game routes.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: jellybox
*/

.wp-jellybox .wp-playfield {
  min-height: 82vh;
}

.wp-jellybox .wp-game-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wp-jellybox .wp-game-card {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem;
}

.wp-jellybox .wp-game-card img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.wp-jellybox .jbx-media-lab-picture {
  display: contents;
}

.wp-jellybox .wp-game-card .game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
}

.wp-jellybox .wp-game-card .game-card-body h3,
.wp-jellybox .wp-game-card .game-card-body p {
  margin: 0;
}

.wp-jellybox .wp-game-card .game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wp-jellybox .wp-game-card .game-tags span {
  white-space: nowrap;
}

.wp-jellybox .wp-game-card-actions {
  align-items: center;
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.wp-jellybox .wp-staging-note {
  color: rgba(248, 251, 255, 0.74);
  font-weight: 700;
  margin: 0.75rem 0 0;
}
