.next-games {
    > h2 {
        background-color: #fff;
        font-size: 2rem;
        margin: 0 0 0 0;
        padding: 10px 15px 10px 15px;
    }
	> .game {
		display: flex;
		flex-wrap: wrap;
		background-color: #000;
        color: #fff;
        border: 10px solid #000;
		> .tag {
			width: 100%;
			padding: 5px 5px 5px 31px;
			background-color: #000;
			color: #fff;
			text-transform: uppercase;
		}
        
        .game-row{
            display: flex;
		    flex-wrap: wrap;
            width: 100%;
            padding: 5px 5px 5px 5px;
            justify-content: space-around;
            align-items: center;
        }
		
        .game-row:nth-child(even){
            background-color: #262626;
        }
        
		.game-teams {
			display: flex;
			align-items: center;
			column-gap: 5px;
            margin-right: 10px;
            order: 1;
			> .team-logo {
				width: 40px;
				> img {
					max-height: 40px;
					max-width: 40px;
					margin: 0 auto;
					display: block;
				}
			}
			> .vs {
				width: 24px;
                font-family: "bebas-neue-pro-semiexpanded", sans-serif;
	            font-weight: 700;
                font-style: italic;
                font-size: 1.2rem;
			}
		}
		
		.game-date {
			width: 150px;
            order: 2;
            > strong{
              display: flex;
		      flex-wrap: wrap;  
            }
		}
        
        .game-actions {
            order: 3;
            display: flex;
		}
		
		.last-col {
			margin-left: auto;
		}
	}
}


@media (max-width: 369px) {
	.next-games > .game .game-actions {
            display:none;
		}
}


@media (min-width: 992px) {
	.next-games > .game .game-actions {
            display:none;
		}
}


@media (min-width: 1200px) {
	.next-games > .game .game-actions {
            display:flex;
		}
}

.next-game {
	display: flex;
	padding: 0;
	justify-content: space-between;
	margin: 0 -15px;
	
	> .game-title {
		align-self: center;
		margin: 10p 0;
		font-size: 1.8rem;
		color: #F07F13;
		font-family: "bebas-neue-pro-semiexpanded", sans-serif;
		font-weight: bold;
	}
	strong {
		display: block;
	}
	> .game-teams {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		column-gap: 5px;
		margin: 10px 0;
		
		> .team-logo {
			width: 80px;
			> img {
				max-height: 59px;
				max-width: 80px;
				margin: 0 auto;
				display: block;
			}
		}
		> .vs {
			width: 40px;
			font-family: "bebas-neue-pro-semiexpanded", sans-serif;
			font-weight: 700;
			font-style: italic;
			font-size: 1.8rem;
			text-align: center;
		}
	}
	> .game-date {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		> strong {
			color: #F07F13;
		}
		> .game-team-names {
			font-weight: 700;
			font-size:1.8rem;
			line-height:1;
		}
	}
	.game-actions {
		background-color: transparent;
		background-image: url("/wp-content/uploads/2024/06/nuolinappi_musta.png");
		background-repeat: no-repeat;
		background-size: auto 100%;
		
		> a {
			display: block;
			font-size: 1.4rem;
			color: #fff;
			padding: 21px 20px 21px 60px;
			font-family: "bebas-neue-pro-semiexpanded", sans-serif;
			text-transform: uppercase;
            font-weight: 700;
			
			> img {
				display: inline-block;
				margin-left: 15px;
			}
		}
	}
}

@media (max-width: 991px) {
	.next-game {
		flex-wrap: wrap;
		
		> .game-title, > .game-teams {
			width:50%;
		}
	}
}

@media (max-width: 768px) {
	.next-game {
		margin: 0;
		
		> .game-title, > .game-teams {
			width:50%;
		}
	}
}

@media (max-width: 575px) {
	.next-game {
		margin: 0 -15px;
		
		> .game-title, > .game-teams {
			width:100%;
			text-align:center;
			padding: 0 15px;
		}
		> .game-date {
			padding: 10px 20px;
			> .game-team-names {
				font-size:1.2rem;
			}
		}
		> .game-actions {
			margin-right: 0;
			align-self: flex-end;
			> a {
				padding:10px 15px 10px 40px;
				> img { display:none; }
			}
		}
	}
}