/* Slot cards and demo dialog for the governances.net theme. */
.games-block {width:min(1240px,calc(100% - 32px));margin:38px auto 0;color:#fdfcff}
.games-heading {display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px}
.games-heading h2 {margin:0;color:#fff;font-size:clamp(1.5rem,3vw,2rem);line-height:1.2}
.games-heading p {margin:0;color:#c8d7e9;font-size:.9rem}
.games-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.game-card {display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#102947;border:1px solid #204979;border-radius:10px}
.game-card img {display:block;width:100%;aspect-ratio:1;object-fit:cover}
.game-card-info {display:flex;flex:1;flex-direction:column;padding:15px}
.game-card h3 {font-size:1rem;line-height:1.3;color:#fff;margin:0 0 5px}
.game-card p {font-size:.8rem;color:#c8d7e9;margin:0 0 14px}
.game-play-button,.game-demo-button {width:100%;border-radius:10px;padding:10px 12px;font:inherit;font-weight:700;cursor:pointer}
.game-play-button {margin:auto 0 8px;border:0;background:#16b14a;color:#fff}
.game-demo-button {border:1px solid #83baff;background:transparent;color:#83baff}
.game-play-button:hover {filter:brightness(1.1)}
.game-demo-button:hover {background:#174b79}
.game-play-button:focus-visible,.game-demo-button:focus-visible,.game-modal button:focus-visible {outline:3px solid #fff;outline-offset:3px}
.game-modal {padding:0;width:min(1200px,95vw);max-width:none;max-height:94vh;border:1px solid #204979;border-radius:10px;background:#061a32;color:#fdfcff;overflow:hidden}
.game-modal::backdrop {background:rgba(0,0,0,.8)}
.game-modal-head {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px}
.game-modal-head h2 {margin:0;font-size:1.15rem;color:#fff}
.game-close {border:0;background:#193a61;color:#fff;width:42px;height:42px;border-radius:10px;font-size:1.6rem;cursor:pointer}
.game-frame {display:block;width:100%;height:min(72vh,720px);border:0;background:#061a32}
.game-modal[open] {display:block}
.game-modal:not([open]) {display:none}
@media(max-width:760px) {.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-card-info{padding:12px}.games-heading{align-items:start;flex-direction:column}.game-frame{height:65vh}}
