/* BBC Agaune – Prochains matchs */

.bbc-matchs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.bbc-match {
	display: flex;
	gap: 18px;
	align-items: stretch;
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(10, 105, 179, 0.14);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bbc-match__date {
	flex: 0 0 54px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-right: 18px;
	border-right: 1px solid #e8edf2;
	text-align: center;
}

.bbc-match__day {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #0a69b3;
}

.bbc-match__date-number {
	margin-top: 5px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
	color: #17324d;
}

.bbc-match__content {
	min-width: 0;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
}

.bbc-match__teams {
	display: grid;
	gap: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #17324d;
}

.bbc-match__vs {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #f28c28;
}

.bbc-match__meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 14px;
	font-size: 13px;
	line-height: 1.35;
	color: #667789;
}

.bbc-match__time {
	font-weight: 700;
	color: #17324d;
}

.bbc-match__venue {
	overflow-wrap: anywhere;
}

.bbc-matchs-empty,
.bbc-matchs-error {
	padding: 20px;
	text-align: center;
}

.bbc-matchs-error {
	color: #b42318;
	background: #fff5f4;
	border-radius: 10px;
}

@media (max-width: 900px) {
	.bbc-matchs {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bbc-match {
		padding: 18px;
		gap: 14px;
	}

	.bbc-match__date {
		flex-basis: 48px;
		padding-right: 14px;
	}

	.bbc-match__teams {
		font-size: 15px;
	}
}
