.mts-contest-grid-wrap .mts-contest-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	border-bottom: 1px solid #ddd;
}

.mts-contest-grid-wrap .mts-contest-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	color: #666;
	margin-bottom: -1px;
}

.mts-contest-grid-wrap .mts-contest-tab.is-active {
	color: #111;
	border-bottom-color: #111;
}

.mts-contest-grid-wrap .mts-contest-count {
	font-weight: 400;
	font-size: 14px;
}

.mts-contest-grid-wrap .mts-contest-cards {
	display: grid;
	grid-template-columns: repeat(var(--mts-contest-columns, 3), 1fr);
	gap: 24px;
}

.mts-contest-grid-wrap .mts-contest-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.mts-contest-grid-wrap .mts-contest-card__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.mts-contest-grid-wrap .mts-contest-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mts-contest-grid-wrap .mts-contest-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.mts-contest-grid-wrap .mts-contest-card__title a {
	color: inherit;
	text-decoration: none;
}

.mts-contest-grid-wrap .mts-contest-card__desc {
	margin: 0 0 16px;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
	flex: 1;
}

.mts-contest-grid-wrap .mts-contest-card__btn {
	display: inline-block;
	padding: 10px 18px;
	background: #f8971d;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	align-self: flex-start;
}

.mts-contest-grid-wrap .mts-contest-card__btn:hover,
.mts-contest-grid-wrap .mts-contest-card__btn:focus {
	color: #fff;
	opacity: 0.9;
}

.mts-contest-grid-wrap .mts-contest-empty {
	padding: 40px 0;
	text-align: center;
	color: #777;
}

@media (max-width: 992px) {
	.mts-contest-grid-wrap .mts-contest-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.mts-contest-grid-wrap .mts-contest-cards {
		grid-template-columns: 1fr;
	}
}
