/* Section: Strategy Games (Image with Title and Description) */
.strategy-game {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.strategy-game-item {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.strategy-game-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.strategy-game-content {
    padding: 20px;
    flex: 1;
}

.strategy-game-content h4 {
    margin-bottom: 10px;
    margin-top: 5px;
    color: #334455;
}

.strategy-game-content p {
    color: #778899;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
}

/* Section: Shooting Games (Card-style) */
.shooting-games {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.shooting-game-card {
    flex: 0 0 250px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background-color: white;
}

.shooting-game-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.shooting-game-card h4 {
    text-align: center;
    padding: 10px;
}
@media (max-width: 768px) {
    .strategy-game-item img {
        width: 45%;
        margin: 3px;
        height: 70px;
        object-fit: cover;
        border-radius: 5px;
    }
    .strategy-game-content p {
        color: #778899;
        overflow: hidden;
        font-size: 0.8rem;
        margin-left: 2px;
        margin-right: 2px;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limit text to 3 lines */
        -webkit-box-orient: vertical;
    }
    .strategy-game-content {
        padding: 0px;
        flex: 1;
    }
    .strategy-game-content h4 {
        font-size: 0.9rem;
        margin-left: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* Limit text to 3 lines */
        -webkit-box-orient: vertical;
        font-weight: bold;
    }
}