/* Grelha de tipos de eventos */

.ligarena-eventos-tipos {
	--ligarena-eventos-navy: #001c48;
	--ligarena-eventos-cyan: #5bc8e1;
	--ligarena-eventos-slope: clamp(3.5rem, 7vw, 6.5rem);
	position: relative;
	z-index: 2;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin: calc(-1 * var(--ligarena-eventos-slope)) calc(50% - 50vw) 0;
	padding: calc(var(--ligarena-eventos-slope) + clamp(4rem, 8vw, 6.5rem))
		var(--ligarena-site-pad-x, 10vw)
		clamp(7.5rem, 14vw, 12rem);
	background: var(--ligarena-eventos-navy);
	color: #ffffff;
	box-sizing: border-box;
	overflow: hidden;
	clip-path: polygon(
		0 var(--ligarena-eventos-slope),
		100% 0,
		100% 100%,
		0 100%
	);
}

.ligarena-eventos-tipos__hex {
	position: absolute;
	z-index: 0;
	width: min(130vw, 96rem);
	height: auto;
	pointer-events: none;
}

.ligarena-eventos-tipos__hex--tl {
	top: 8%;
	left: 0;
	transform: translate(-42%, 10%);
	filter: brightness(0) invert(1);
	opacity: 0.9;
}

.ligarena-eventos-tipos__hex--br {
	right: 0;
	bottom: 8%;
	transform: translate(42%, -10%);
	opacity: 0.95;
}

.ligarena-eventos-tipos__container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.ligarena-eventos-tipos__title {
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
	color: #ffffff;
}

.ligarena-eventos-tipos__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.25rem) clamp(1.35rem, 2.4vw, 2.15rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ligarena-eventos-tipos__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #02132e;
}

.ligarena-eventos-tipos__media {
	margin: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.ligarena-eventos-tipos__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ligarena-eventos-tipos__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: clamp(1.15rem, 2vw, 1.65rem);
	gap: clamp(1.75rem, 3vw, 2.5rem);
}

.ligarena-eventos-tipos__heading {
	margin: 0;
	color: #ffffff;
}

.ligarena-eventos-tipos__text {
	margin: 0;
	min-height: calc(1.45em * 5);
	color: #ffffff;
}

.ligarena-eventos-tipos__spaces-block {
	margin-top: auto;
}

.ligarena-eventos-tipos__spaces-label {
	margin: 0 0 0.75rem;
	font-family: var(--ligarena-font-body, "Montserrat", sans-serif);
	font-size: clamp(0.68rem, 0.6rem + 0.18vw, 0.8rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ligarena-eventos-cyan);
}

.ligarena-eventos-tipos__spaces {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ligarena-eventos-tipos__spaces li {
	display: inline;
	font-family: var(--ligarena-font-body, "Montserrat", sans-serif);
	font-size: clamp(0.68rem, 0.6rem + 0.22vw, 0.78rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.7;
	text-transform: uppercase;
	color: #ffffff;
}

.ligarena-eventos-tipos__spaces li:not(:last-child)::after {
	content: " - ";
	color: #ffffff;
	text-decoration: none;
}

.ligarena-eventos-tipos__spaces a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.ligarena-eventos-tipos__spaces a:hover,
.ligarena-eventos-tipos__spaces a:focus-visible {
	color: var(--ligarena-eventos-cyan);
	outline: none;
}

.ligarena-eventos-tipos__spaces a:focus-visible {
	outline: 1px solid var(--ligarena-eventos-cyan);
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.ligarena-eventos-tipos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ligarena-eventos-tipos {
		padding-top: calc(var(--ligarena-eventos-slope) + clamp(3rem, 8vw, 4.25rem));
		overflow: hidden;
	}

	.ligarena-eventos-tipos__grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.ligarena-eventos-tipos__hex {
		width: min(150vw, 56rem);
	}

	.ligarena-eventos-tipos__hex--tl {
		top: 10%;
		opacity: 0.7;
	}

	.ligarena-eventos-tipos__hex--br {
		bottom: 10%;
		opacity: 0.8;
	}
}
