/* ==========================================================================
   Block: Game List (acf/game-list)

   The list itself is styled by assets/css/game-list.css (.reelzappy-games);
   width, side padding and arrows come from there too (Theme Settings).
   This file covers the block wrapper and the editor placeholder, which the
   editor shows instead of the grid.
   ========================================================================== */

.reelzappy-game-list-block {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: auto;
}

/* Card gap of the in-content design. */
.reelzappy-game-list-block .reelzappy-games {
	--gl-gap: 12px;
}

@media (max-width: 768px) {
	.reelzappy-game-list-block .reelzappy-games {
		--gl-gap: 10px;
	}
}

/* Editor placeholder (the editor never shows the grid itself). ---------- */

.reelzappy-game-list-block-placeholder {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 1160px;
	margin: 24px auto;
	padding: 32px 24px;
	border: 2px dashed rgba(248, 245, 3, 0.7);
	border-radius: 12px;
	background: rgba(248, 245, 3, 0.06);
	font-family: "Archivo", sans-serif;
	color: #F5F5FA;
	text-align: center;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__icon {
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #F8F503;
}

.reelzappy-game-list-block-placeholder p {
	margin: 0;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #F8F503;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__text {
	max-width: 640px;
	font-size: 14px;
	line-height: 1.5;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__meta {
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.7;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__button {
	margin-top: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #F8F503;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #000;
	text-decoration: none;
}

.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__button:hover,
.reelzappy-game-list-block-placeholder .reelzappy-game-list-block-placeholder__button:focus-visible {
	background: #FFFF73;
}
