/* Pop-up No Finish Line 2026 (voir blair-nfl-popup.php) */
.blair-nfl-open {
	overflow: hidden;
}

.blair-nfl {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 16px 16px;
	background: rgba(6, 22, 48, 0.78);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
	overscroll-behavior: contain;
}

.blair-nfl.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease;
}

.blair-nfl__box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 920px);
	max-height: 100%;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.25s ease;
}

.blair-nfl.is-open .blair-nfl__box {
	transform: none;
}

/* Bouton fermer hors de l'affiche pour ne masquer aucun logo. */
.blair-nfl__close {
	position: absolute;
	top: -48px;
	right: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #0b2a5b;
	font: 400 28px/1 Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.blair-nfl__close:hover {
	background: #e8232b;
	color: #fff;
}

.blair-nfl__poster {
	display: block;
	min-height: 0;
	line-height: 0;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
}

.blair-nfl__poster img {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 76px - 64px);
	max-height: calc(100dvh - 76px - 64px);
	object-fit: contain;
}

.blair-nfl__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	padding: 12px 16px;
	background: #0b2a5b;
	border-radius: 0 0 6px 6px;
}

.blair-nfl__cta {
	padding: 10px 22px;
	border-radius: 4px;
	background: #e8232b;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.blair-nfl__cta:hover {
	background: #c71c23;
	color: #fff;
}

.blair-nfl__race {
	color: #fff;
	font-size: 0.9rem;
	text-decoration: underline;
}

.blair-nfl__race:hover {
	color: #fff;
	text-decoration: none;
}

.blair-nfl a:focus-visible,
.blair-nfl button:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.blair-nfl__bar {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blair-nfl,
	.blair-nfl__box {
		transition: none;
	}
}

@media print {
	.blair-nfl {
		display: none !important;
	}
}
