/* ---- Carrousel des matches ---- */
.nt-matches-bar {
	background: var(--nt-color-header);
	position: relative;
	padding: var(--nt-gutter) 0 calc(var(--nt-gutter) + 2px);
}
.nt-matches-bar__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	padding: 0 var(--nt-gutter);
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
.nt-matches-bar__track::-webkit-scrollbar { display: none; }

.nt-card {
	flex: 0 0 clamp(144px, 39vw, 184px);
	min-height: 96px;
	scroll-snap-align: start;
	background: var(--nt-color-surface);
	border: 1px solid var(--nt-color-border);
	border-radius: var(--nt-radius-card);
	padding: 13px 15px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: var(--nt-color-text);
	text-decoration: none;
}
a.nt-card:hover { border-color: var(--nt-color-accent); }

.nt-card__date { color: var(--nt-color-muted); font-size: 0.8125rem; line-height: 1.25; }
.nt-card__meta { color: var(--nt-color-muted); font-size: 0.8125rem; line-height: 1.25; margin-bottom: 2px; }
.nt-card__team { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1rem; line-height: 1.2; }

/* Badge losange (placeholder neutre, accepte une image) */
.nt-badge {
	flex: 0 0 auto;
	width: 16px; height: 16px;
	background: var(--nt-color-border);
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	overflow: hidden;
	display: inline-block;
}
.nt-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Flèches (desktop uniquement, si débordement) */
.nt-matches-bar__arrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px; height: 34px;
	border-radius: 999px;
	border: 1px solid var(--nt-color-border);
	background: var(--nt-color-header);
	color: var(--nt-color-text);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}
.nt-matches-bar__arrow--prev { left: 6px; }
.nt-matches-bar__arrow--next { right: 6px; }
.nt-matches-bar__arrow[disabled] { opacity: 0.35; cursor: default; }
.nt-matches-bar__arrow.is-hidden { display: none !important; }

.nt-matches-bar__empty {
	padding: 0 var(--nt-gutter);
	color: var(--nt-color-muted);
	font-size: 0.9rem;
}

@media (min-width: 1024px) {
	.nt-matches-bar__track { max-width: 1320px; margin: 0 auto; padding: 0 52px; }
	.nt-card { flex-basis: 152px; min-height: 92px; padding: 12px 14px; }
	.nt-card__team { font-size: 0.95rem; }
	.nt-matches-bar__arrow { display: inline-flex; }
}
