/* Ensure the gallery container takes full width */
.wp-game-gallery {
    width: 100%;
    max-width: 1200px !important;
    /* Override theme's max-width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    /* Add some padding to prevent edge sticking */
    box-sizing: border-box;
}

/* General container adjustments for dark theme */
.tags-container {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 15px;
    border-radius: 20px;
    background: #333;
    /* Dark gray for tags */
    color: #fff;
    /* White text for contrast */
    cursor: pointer;
    transition: background 0.3s ease;
}

.tag.active {
    background: #1e90ff;
    /* Bright blue for active state */
    color: #fff;
}

.tag:hover {
    background: #63affc;
    /* Slightly lighter gray on hover */
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    background: #eee;
    /* Darker background for cards */
    border: 0px solid #444;
    /* Subtle border for definition */
    border-radius: 15px;
    color: #222;
    /* Light gray text for readability */
    overflow: hidden;
}

/* .game-card:hover {
    background: #fff;
} */

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-content {
    padding: 15px;
}

.game-content h2 {
    color: #333;
    /* White for headings */
    margin-top: 0;
}

.game-content p {
    margin: 30px 0;
}

.game-content strong {
    color: #111;
    /* White for bold text */
}

.game-tags {
    margin-top: 10px;
}

.game-tag {
    display: inline-block;
    padding: 5px 10px;
    background: #333;
    /* Dark gray for tags */
    color: #fff;
    /* White text */
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.game-links {
    margin-top: 10px;
}

.game-link {
    display: inline-block;
    padding: 5px 10px;
    background: #1e90ff;
    /* Bright blue for links */
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: background 0.3s ease;
}

.game-link:hover {
    background: #4682b4;
    /* Steel blue on hover */
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}