/**
 * Live tournaments
 */

.live {
	/* Defaults = Figma card (magenta panel, black CTA). Override via Main Block → Live. */
	--live-bg: #181546;
	--live-dot: #d700dc;
	--live-title: #ffffff;
	--live-border: #d700dc;
	--live-tag: var(--live-border);
	--live-body-bg: #560557;
	--live-cta-bg: #000000;
	--live-cta-text: #ffffff;
	--live-muted: #bbbcd5;
	--live-value: #ffffff;
	--live-heading: #ffffff;
	--live-link: #d700dc;
	--live-all: #8b8cd5;
	--live-live-bg: rgba(166, 27, 58, 0.6);
	--live-live-text: #ff2e63;
	--live-font: var(--site-font, "Open Sans", Inter, sans-serif);

	background: var(--live-bg);
	box-sizing: border-box;
	color: #fff;
	font-family: var(--live-font);
	margin: 0;
	padding: 58px 0 51px;
	width: 100%;
}

.live *,
.live *::before,
.live *::after {
	box-sizing: border-box;
}

.live a {
	color: inherit;
	text-decoration: none;
}

.live a.live__btn {
	color: var(--live-cta-text);
}

.live a.live__link {
	color: var(--live-link);
}

.live a.live__all {
	color: var(--live-all);
}

.live h3,
.live dl,
.live dt,
.live dd {
	margin: 0;
}

.live__inner {
	margin: 0 auto;
	max-width: 1470px;
	padding: 0 73px;
	width: 100%;
}

.live h2.live__title {
	align-items: center;
	color: var(--live-title);
	display: flex;
	font-size: 24px;
	font-weight: 700;
	gap: 14px;
	line-height: 32px;
	margin: 0 0 17px;
}

.live__title-text {
	margin: 0;
}

.live__dot {
	background: var(--live-dot);
	border-radius: 50%;
	flex-shrink: 0;
	height: 8px;
	width: 8px;
}

.live__grid {
	align-items: start;
	display: grid;
	gap: 35px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Figma card: stroke 4px #D700DC, radius 24 */

.live__card {
	background: transparent;
	border: 4px solid var(--live-border);
	border-radius: 24px;
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.live__tag {
	align-items: center;
	background: var(--live-tag);
	border-radius: 0 0 16px 0;
	display: inline-flex;
	gap: 6px;
	height: 33px;
	left: 0;
	padding: 0 12px 0 8px;
	position: absolute;
	top: 0;
	width: 87px;
	z-index: 5;
}

.live__tag-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.live__tag-icon svg {
	display: block;
	height: 15px;
	width: 15px;
}

.live__tag-text {
	font-size: 8px;
	font-weight: 600;
	line-height: 10px;
	text-transform: uppercase;
}

/* Visual */

.live__visual {
	border-radius: 0;
	display: grid;
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.live__visual-img {
	display: block;
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.live__visual-body {
	align-items: center;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 0;
	grid-area: 1 / 1;
	justify-content: flex-start;
	justify-self: center;
	padding: 35px 16px 35px;
	text-align: center;
	width: 100%;
	z-index: 1;
}

.live__chips {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 11px;
	justify-content: center;
}

.live__chip {
	align-items: center;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	height: 40px;
	justify-content: center;
	line-height: 24px;
	margin: 0;
	min-width: 147px;
	padding: 0 14px;
}

.live__chip-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.live__chip-icon svg {
	display: block;
	height: 11px;
	width: 16px;
}

.live__logo {
	align-items: center;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	box-sizing: border-box;
	display: inline-flex;
	flex-shrink: 0;
	height: 40px;
	justify-content: center;
	overflow: hidden;
	padding: 0 10px;
	width: 74px;
}

.live__logo-img {
	display: block;
	height: 100%;
	max-height: 20px;
	object-fit: contain;
	width: 100%;
}

.live__logo-img--mobile,
.live__logo--mobile-only,
.live__heading-mob,
.live__visual-img--mobile {
	display: none;
}

.live h3.live__heading {
	color: var(--live-heading);
	flex-shrink: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	margin: 10px 0 0;
	max-width: 185px;
}

.live__live {
	align-items: center;
	background: var(--live-live-bg);
	border-radius: 24px;
	color: var(--live-live-text);
	display: inline-flex;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	height: 24px;
	justify-content: center;
	line-height: 16px;
	margin: 12px 0 0;
	min-width: 48px;
	padding: 0 10px;
	text-transform: uppercase;
}

/* Figma Rectangle 20: #560557, radius 20, left 4px — NO border */

.live__panel {
	background: var(--live-body-bg);
	border: 0;
	border-radius: 20px;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 27px 24px 15px;
	width: 100%;
}

.live__row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	min-width: 0;
	row-gap: 16px;
	width: 100%;
}

.live__icon {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	height: 40px;
	justify-content: center;
	margin-right: 56px;
	width: 38px;
}

.live__icon svg,
.live__icon-img {
	display: block;
	height: 40px;
	object-fit: contain;
	width: 38px;
}

.live__facts {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 33px;
	min-width: 0;
}

.live__fact {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 6px;
}

.live__fact-label {
	color: var(--live-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.live__fact-value {
	color: var(--live-value);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	white-space: nowrap;
}

.live__btn {
	align-items: center;
	background: var(--live-cta-bg);
	border-radius: 24px;
	color: var(--live-cta-text);
	display: inline-flex;
	flex: 0 0 130px;
	font-size: 14px;
	font-weight: 700;
	height: 40px;
	justify-content: center;
	line-height: 17px;
	margin-left: auto;
	text-transform: capitalize;
	transition: filter 0.2s ease;
	width: 130px;
}

.live a.live__btn:hover,
.live a.live__btn:focus-visible,
.live__btn:hover,
.live__btn:focus-visible {
	color: var(--live-cta-text);
	filter: brightness(1.05);
}

.live__link {
	align-self: center;
	color: var(--live-link);
	font-size: 14px;
	font-weight: 700;
	line-height: 17px;
	margin-top: 39px;
}

.live a.live__link:hover,
.live a.live__link:focus-visible,
.live__link:hover,
.live__link:focus-visible {
	color: var(--live-link);
	text-decoration: underline;
}

/* Foot — line + Mostrar todo in one row */

.live__foot {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 24px;
	justify-content: center;
	margin-top: 51px;
	width: 100%;
}

.live__rule {
	background: rgba(255, 255, 255, 0.16);
	flex: 1 1 auto;
	height: 1px;
	max-width: 920px;
	min-width: 0;
}

.live__all {
	color: var(--live-all);
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 16.8px;
	white-space: nowrap;
}

.live a.live__all {
	color: var(--live-all);
}

.live a.live__all:hover,
.live a.live__all:focus-visible,
.live__all:hover,
.live__all:focus-visible {
	color: var(--live-value);
	text-decoration: underline;
}

@media (max-width: 1400px) {
	.live__inner {
		padding: 0 40px;
	}

	.live__icon {
		margin-right: 32px;
	}

	.live__facts {
		gap: 20px;
	}
}

@media (max-width: 1100px) {
	.live__grid {
		gap: 24px;
	}
}

@media (max-width: 900px) {
	.live__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Card-width based layout — works for both 1 and 2 columns */

@container (max-width: 560px) {
	.live__panel {
		padding: 24px 20px 15px;
	}

	.live__icon {
		display: none;
	}

	.live__facts {
		gap: 20px;
	}

	.live__link {
		margin-top: 24px;
	}
}

@container (max-width: 460px) {
	.live__row {
		align-items: center;
		display: grid;
		gap: 16px 20px;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.live__facts {
		display: contents;
	}

	.live__fact:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.live__fact:nth-child(2) {
		grid-column: 2;
		grid-row: 1;
		justify-self: start;
		text-align: left;
	}

	.live__fact:nth-child(3) {
		grid-column: 1;
		grid-row: 2;
	}

	.live__btn {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
		margin-left: 0;
	}

	.live__link {
		margin-top: 16px;
	}
}

/* Mobile — shared for live-1 / live-2 (Figma 390) */

@media (max-width: 768px) {
	.live {
		padding: 24px 0 28px;
	}

	.live__inner {
		align-items: center;
		display: grid;
		gap: 16px;
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 0 16px;
	}

	.live h2.live__title {
		align-items: center;
		align-self: center;
		font-size: 20px;
		font-weight: 700;
		gap: 10px;
		grid-column: 1;
		grid-row: 1;
		line-height: 24px;
		margin: 0;
		min-width: 0;
	}

	.live__title-text {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.live__grid {
		gap: 16px;
		grid-column: 1 / -1;
		grid-row: 2;
		grid-template-columns: 1fr;
	}

	.live__visual-body {
		padding: 35px 16px 25px;
	}

	.live__chip {
		font-size: 14px;
		font-weight: 700;
		line-height: 24px;
	}

	.live h3.live__heading {
		font-size: 24px;
		font-weight: 700;
		line-height: 32px;
		max-width: none;
	}

	.live__live {
		font-size: 12px;
		font-weight: 600;
		line-height: 16px;
	}

	.live__panel {
		padding: 16px 27px 14px 55px;
	}

	.live__row {
		align-items: center;
		display: grid;
		gap: 16px 20px;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.live__icon {
		display: none;
	}

	.live__facts {
		display: contents;
	}

	.live__fact:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.live__fact:nth-child(2) {
		grid-column: 2;
		grid-row: 1;
		justify-self: start;
		text-align: left;
	}

	.live__fact:nth-child(3) {
		grid-column: 1;
		grid-row: 2;
	}

	.live__fact-label {
		font-size: 12px;
		font-weight: 600;
		line-height: 16px;
	}

	.live__fact-value {
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
	}

	.live__btn {
		flex: 0 0 auto;
		font-size: 14px;
		font-weight: 700;
		grid-column: 2;
		grid-row: 2;
		height: 40px;
		justify-self: end;
		line-height: 17px;
		margin-left: 0;
		width: 130px;
	}

	.live__link {
		font-size: 14px;
		font-weight: 700;
		line-height: 17px;
		margin-top: 14px;
	}

	.live__foot {
		align-items: center;
		align-self: center;
		display: flex;
		gap: 0;
		grid-column: 2;
		grid-row: 1;
		height: 24px;
		justify-content: flex-end;
		margin-top: 0;
		width: auto;
	}

	.live__rule {
		display: none;
	}

	.live__all {
		font-size: 14px;
		font-weight: 700;
		line-height: 24px;
	}
}

@media (max-width: 425px) {
	.live__visual-img.live__visual-img--mobile {
		object-fit: fill;
	}
}
