											h1.calendar_title{
												font-size: 32px !important;
												margin-bottom: 25px !important;
											}
/* Card-like calendar rows (meer zoals je dark cards voorbeeld) */
#calendar{
  display: grid;
  gap: 18px;
}

/* van "table" naar echte card */
#calendar .calendar_race{
	display: flex;
	align-items: center;
	width: 100%;
	padding: 40px 12px;
	background: #ffffff;
	border: 1px solid #1f2024;
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 60%;
    position: relative;
    overflow: hidden;
	border-radius: 12px;
}
#calendar .calendar_race.is_winner{
	background-color: #1f2024;
}
#calendar .calendar_race.is_winner:before{
	background: linear-gradient(to right, #1f2024 0%, rgb(31 32 36 / 82%) 10%, rgb(31 32 36 / 26%) 40%, rgb(31 32 36 / 0%) 100%);
}
#calendar .calendar_race.is_winner .calendar_month, #calendar .calendar_race.is_winner .calendar_top, #calendar .calendar_race.is_winner .calendar_bottom{
	color: #fff;
}
#calendar .calendar_race.is_winner .calendar_date{
	border-right: 1px solid rgb(147 147 147 / 44%);
}
#calendar .calendar_race.is_winner .winner_{
    position: absolute;
    font-size: 18px;
    left: 0px;
    margin-top: 30px;
    z-index: 99;
    color: #fff;
}
#calendar .calendar_race.is_winner .winner_:before{
    background-image: url(https://www.gpfans.com/images/trophie-icon.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    width: 15px;
    height: 17px;
    content: "";
    display: inline-block;
    margin-right: 8px;
    margin-bottom: -1px;
}
#calendar .calendar_race.is_winner .calendar_info{
	margin-top: -20px;
}


#calendar .calendar_race:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;           /* breedte van de fade */
    height: 100%;
    pointer-events: none;

    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.90) 10%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);

    z-index: 1;
}

#calendar .calendar_race:hover{
  
}

/* vlag */
#calendar .calendar_race .calendar_flag{
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#calendar .calendar_race .calendar_flag figure{
  margin: 0;
}

#calendar .calendar_race .calendar_flag img{
  width: 50px;
  height: 32px;
  object-fit: cover;
  display: block;

}

/* datumkolom */
#calendar .calendar_race .calendar_date{
  flex: 0 0 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid rgba(31,32,36,.08);
      margin-left: 8px;
}

#calendar .calendar_race .calendar_month{
  text-transform: uppercase;
  font-family: 'roboto';
  color: #1f2024;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

#calendar .calendar_race .calendar_days{
  color: #e50918;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* info */
#calendar .calendar_race .calendar_info{
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	z-index: 2;
}

#calendar .calendar_race .calendar_top{
  text-transform: uppercase;
  font-family: 'roboto';
  color: #1f2024;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;

  /* nette truncation als city lang is */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

#calendar .calendar_race .calendar_top .round:after{
  content: "-";
  color: #e50918;
  width: 14px;
  display: inline-block;
  text-align: center;
  font-size: 12px;
}

#calendar .calendar_race .calendar_bottom{
	position: relative;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  color: #1f2024;
  font-weight: 700;
  font-size: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0px;
}

/* optioneel: hele card klikbaar-look */
#calendar .calendar_race{
  cursor: pointer;
}
body.calendar h1{
    font-size: 28px !important;
    margin-bottom: 20px !important;
}


.seasonNav{
    display:flex;
    gap:10px;
    margin:10px 0 20px;
}

.seasonLink{
    display:inline-block;
    padding:7px 15px;
	background: #e50918;
    border-radius:5px;
    font-family:'roboto';
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}

.seasonLink:hover{
	text-decoration: none;
	opacity: 0.85;
}

.seasonLink.active{
    background:#1f2024;
    color:#fff;
    border-color:#1f2024;
}

@media only screen and (max-width: 1113px) { /*MOBILE*/
	body.calendar.v2026 .seasonLink.active{
		display: none;
	}
	body.calendar.v2026 h1{
		margin-bottom: 10px !important;
	}
	body.calendar.v2026 .container{
		margin-left: -2px;
		margin-right: -2px;
		width: calc(100% + 2px);
	}
	body.calendar.v2026 .megaNews-bar h2::after{
		display: none;
	}
	#calendar .calendar_race .calendar_flag img{
        width: 30px;
        height: 20px;
	}
	#calendar .calendar_race .calendar_flag figure{
		width: 30px;
	}
	#calendar .calendar_race .calendar_flag{
		flex-basis: 30px;
	}
	#calendar .calendar_race{
		padding: 15px 10px;
	}
	#calendar .calendar_race .calendar_days{
		font-size: 22px;
	}
	#calendar .calendar_race .calendar_date{
		flex-basis: 60px;
		border-right: 0px;
		padding-right: 0px;
		margin-right: 10px;
	}
	#calendar .calendar_race .calendar_bottom{
		margin-left: 0px;
		line-height: 20px;
		font-size: 22px !important;
		margin-top: 0px;
	}
	#calendar .calendar_race{
		background-size: 40%;
	}
	#calendar .calendar_race:before{
		width: 40%;
		background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.90) 10%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 100%);
	}
}


	.standings2026 #calendar .calendar_race{
		background-position: 120% 50%;
		padding: 30px 12px;
	}
	.standings2026 .updated{
		color: #1f2024;
		font-size: 14px;
		opacity: 0.7;
		margin-bottom: 15px;
	}
	.standings2026 #calendar .calendar_race .calendar_flag{
		flex: 0 0 90px;
		display: flex;
		height: 120px;
		vertical-align: middle;
		background: #2f2f2f;
	}
	.standings2026 #calendar .calendar_race .calendar_month{
		font-size: 10px;
		letter-spacing: 0.6;
		font-weight: 500;
		opacity: 0.65;
	}
	.standings2026 #calendar .calendar_race.is_winner .calendar_date{
		text-align: center;
		border-right: 0px;
		padding-right: 0px;
		background: #2f2f2f;
		border-radius: 8px;
		padding: 12px 10px;
		margin-left: 15px;
		margin-right: 15px;
	}
	.standings2026 #calendar .calendar_race .calendar_days{
		font-size: 30px;
	}
	.standings2026 #calendar .calendar_race.pos_1 .calendar_flag{
		background: linear-gradient(
		  135deg,
		  #634400 0%,
		  #a77a0a 20%,
		  #e6c200 36%,
		  #ddcf7f 50%,
		  #bf9e32 60%,
		  #7e6000 100%
		);
	}
	.standings2026 #calendar .calendar_race.pos_2 .calendar_flag{
		background: linear-gradient(
		  135deg,
		  #3f4348 0%,
		  #8e959c 20%,
		  #d6dde4 36%,
		  #f1f4f7 50%,
		  #b7bec6 60%,
		  #4f555b 100%
		);
	}
	.standings2026 #calendar .calendar_race.pos_3 .calendar_flag{
		background: linear-gradient(
		  135deg,
		  #4a2c1f 0%,
		  #8a4e2d 20%,
		  #c97a3a 36%,
		  #e3a86b 50%,
		  #a86532 60%,
		  #5a3423 100%
		);
	}
	.standings2026 #calendar .calendar_race .calendar_date{
		
	}
	.standings2026 #calendar .calendar_race:before{
		width: 52%;
	}
	.standings2026 h1 {
		font-size: 24px !important;
		margin-bottom: 0px !important;
	}
	.standings2026 .calendar_flag{
		font-family: 'Roboto Condensed', sans-serif;
		color: #fff;
		font-size: 50px;
		font-weight: 700;
		text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
	}
	.standings2026 .calendar_date .calendar_days span{
		display: inline-block;
		color: #fff;
	}
	.standings2026 .calendar_top figure{
		width: 20px;
		display: inline-block;
		margin: 0px;
		margin-right: 8px;
	}
	.standings2026 .calendar_top .round{
		display: flex;
		line-height: 22px;
	}
	.standings2026 #calendar .calendar_race .calendar_top .round:after{
		display: none;
	}
	.standings2026 #calendar .calendar_race.is_winner .calendar_info{
		margin-top: 0px;
	}
	.standings2026 #calendar .calendar_race{
		padding: 0px 0px; /*WAS 30 12*/
		border: 0px;
	}
	.seasonLink--cta {
		margin-left: auto;      /* 👈 duwt hem naar rechts */
		background: #1f2024 !important;
		color: #fff !important;
		padding: 8px 14px;
		border-radius: 4px;
		text-decoration: none;
	}

	.seasonLink--cta:hover {
		background: #1f2024de;
	}
	.standings2026 .newsWithAd{
		margin-bottom: 20px;
	}
	@media only screen and (max-width: 1113px) { /*MOBILE*/
		.standings2026 .v2026{
			padding: 8px !important;
		}
		.seasonNav {
			display: flex;
			flex-wrap: nowrap;          /* ❗ niet laten wrappen */
			overflow-x: auto;           /* ❗ horizontale scroll */
			-webkit-overflow-scrolling: touch; /* smooth iOS scroll */
			gap: 6px !important;
		}

		.seasonNav .seasonLink {
			flex: 0 0 auto;             /* ❗ voorkomt krimpen */
			white-space: nowrap;        /* tekst niet breken */
			line-height: 1.2;
			font-size: 14px;
		}
		.standings2026 #calendar .calendar_race .calendar_flag{
			height: 90px;
			flex: 0 0 42px;
			font-size: 30px;
		}
		.standings2026 #calendar .calendar_race.is_winner .calendar_date{
			padding: 10px 10px;
			margin-left: 10px;
			margin-right: 10px;
		}
		.standings2026 .calendar_top .round{
			font-size: 11px;
			font-weight: 500;
		}
		.standings2026 #calendar .calendar_race .calendar_bottom{
			font-size: 20px !important;
		}
		.standings2026 #calendar .calendar_race{
			background-size: 50%;
		}
		.standings2026 #calendar .calendar_race:before{
			width: 41%;
		}
		.standings2026 #calendar .calendar_race .calendar_month{
			font-size: 9px;
		}
		.standings2026 .calendar_top .round{
			letter-spacing: 0.3px;
		}
	}