.nc-tournaments__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
	margin: 0 0 30px;
}

@media (min-width: 768px) {
	.nc-tournaments__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1240px) {
	.nc-tournaments__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------- Card (the .nc-news-card look, tournament contents) ---------- */

.nc-tournaments__card {
	background-color: var(--dl-bg-white, #fff);
	border-radius: 5px;
	padding: 15px;
}

.nc-tournaments__card-link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.nc-tournaments__card-link:focus-visible {
	outline: none;
	box-shadow: var(--nc-focus-ring, 0 0 0 3px var(--nc-primary-100, #d1fae5));
	border-radius: 5px;
}

.nc-tournaments__media {
	margin-bottom: 12px;
}

.nc-tournaments__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 5px;
}

.nc-tournaments__img-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 5px;
	background: linear-gradient(135deg, var(--nc-primary-50, #ecfdf5) 0%, var(--nc-primary-100, #d1fae5) 100%);
}

.nc-tournaments__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--dl-heading-color, #092236);
	margin: 0 0 8px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nc-tournaments__date {
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: var(--nc-muted, #64748b);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 0;
}

/* ---------- Results lines (only when set) ---------- */

.nc-tournaments__champion {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dl-primary-color);
	overflow-wrap: anywhere;
}

.nc-tournaments__champion svg {
	flex: none;
	width: 16px;
	height: 16px;
}

.nc-tournaments__runner-up {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--nc-muted, #64748b);
	overflow-wrap: anywhere;
}

/* ---------- Empty state ---------- */

.nc-tournaments__empty {
	font-size: 15px;
	color: var(--nc-muted, #64748b);
	margin: 0 0 30px;
}
