/**
 * Previous tournaments / tournament history cards (ported from st-b2b-asia-theme-wp).
 */

.titlebar {
	margin: 32px 0;
	display: flex;
	align-items: center;
}

.titlebar .titlebar_title {
	font-weight: 500;
	font-size: 22px;
	line-height: 33px;
	color: #fff;
	margin: 0;
	flex: 1;
}

.titlebar .titlebar_subtitle {
	font-size: 12px;
	line-height: 150%;
	color: rgba(255, 255, 255, 0.8);
}

.titlebar .titlebar_subtitle span {
	margin-right: 8px;
}

@media (max-width: 767.98px) {
	.titlebar {
		flex-direction: column;
		align-items: flex-start;
	}

	.titlebar .titlebar_subtitle {
		margin-top: 10px;
	}
}

.tournament-card-container .tournament-card_action .btn.btn-secondary,
.btn.btn-secondary {
	border: 1px solid #f9cd18;
	border-radius: 4px;
	background-color: transparent;
	background-image: linear-gradient(90deg, #f2be02 0, #f9cd18 52.08%, #ffdc2d 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.tournament-card-container .tournament-card_action .btn.btn-secondary:hover,
.btn.btn-secondary:hover {
	border: 1px solid #f9cd18;
	opacity: 0.7;
	color: transparent;
}

.tournament-card-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 16px 0;
}

.tournament-card-container .tournament-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 4px 0;
	background: #241e39;
	border-radius: 8px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.tournament-card-container .tournament-card {
		flex-direction: row;
		align-items: center;
	}
}

.tournament-card-container .tournament-card_hero {
	box-sizing: border-box;
	background-color: #1a1530;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	width: 100%;
	height: 100px;
	min-height: 100px;
	max-height: 100px;
	padding: 8px 16px;
	border-radius: 8px 8px 0 0;
}

@media (min-width: 768px) {
	.tournament-card-container .tournament-card_hero {
		flex: 0 0 200px;
		width: 200px;
		height: 100px;
		min-height: 100px;
		max-height: 100px;
		margin-right: 8px;
		align-self: center;
		border-radius: 8px 0 0 8px;
	}
}

.tournament-card-container .tournament-card_hero-img {
	display: block;
	flex-shrink: 0;
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 84px;
	object-fit: contain;
	object-position: center;
}

.tournament-card-container .tournament-card_summary {
	display: flex;
	flex-direction: column;
	flex: 2;
	margin: 8px;
	font-size: 12px;
	min-width: 0;
}

.tournament-card-container .tournament-card_result {
	display: flex;
	flex: 1;
	align-items: center;
	flex-shrink: 0;
}

.tournament-card-container .tournament-card_action {
	padding: 8px;
	width: 100%;
	box-sizing: border-box;
}

.tournament-card-container .tournament-card_action .btn {
	padding: 6px 24px;
	width: 100%;
}

@media (min-width: 768px) {
	.tournament-card-container .tournament-card_action {
		width: unset;
		padding-right: 16px;
	}

	.tournament-card-container .tournament-card_action .btn {
		padding: 6px 24px;
		width: auto;
		white-space: nowrap;
	}
}

.tournament-card-container .tournament-card_summary-tag {
	line-height: 120%;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9387c0;
	margin: 2px 0;
}

.tournament-card-container .tournament-card_summary-title {
	font-weight: 500;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: 0.08em;
	text-transform: capitalize;
	color: #fff;
	margin: 2px 0;
}

.tournament-card-container .tournament-card_summary-duration {
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: capitalize;
	color: rgba(255, 255, 255, 0.8);
	margin: 2px 0;
}

.tournament-card-container .tournament-card_result_cell-label {
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9387c0;
}

.tournament-card-container .tournament-card_result_cell-val {
	font-size: 14px;
	line-height: 21px;
	text-transform: capitalize;
	color: rgba(255, 255, 255, 0.8);
}

.tournament-card-container .tournament-card_result_cell {
	margin: 8px;
}

.tournament-card-container .tournament-card_result_cell-divider {
	background: rgba(147, 135, 192, 0.5);
	display: inline-block;
	width: 1px;
	height: 29px;
	margin: 0 8px;
	flex-shrink: 0;
}

.tournament-card-container.sm .tournament-card .tournament-card_summary {
	margin: 8px 16px;
}

.tournament-card-container.aside .tournament-card {
	flex-direction: column;
	align-items: flex-start;
}

.tournament-card-container.aside .tournament-card .tournament-card_summary {
	margin: 0;
	padding: 16px;
}

.tournament-card-container.aside .tournament-card .tournament-card_hero {
	margin: 0;
}

.tournament-card-container.aside .tournament-card .tournament-card_hero .tournament-card_hero-img {
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 84px;
	object-fit: contain;
	object-position: center;
}

.tournament-card-container.aside .tournament-card .tournament-card_result {
	display: none;
}

.tournament-card-container.aside .tournament-card .tournament-card_action {
	display: none;
}

[data-previuos-tournaments] .titlebar,
[data-tournament-history] .titlebar {
	margin-top: 16px;
}
