.horizontal-slider {
	height: 90vh;
	background-color: #001229;
}
.horizontal-slider .item {
	float: left;
	width: 6%;
	text-align: center;
	background-color: #001229;
	height: inherit;
	line-height: 30px;
	border-right: 0.1px solid #1e416e;
	cursor: pointer;
	transition: 0.3s;
	padding: 56px 0px;
}
.horizontal-slider .item:hover {
	background: linear-gradient(0deg, rgba(28, 94, 255, 1) 0%, rgba(0, 18, 41, 1) 60%, rgba(0, 18, 41, 1) 100%);
}
.horizontal-slider .info {
	background-size: cover;
	background-position: center;
	float: left;
	width: 0%;
	background-image: var(--background-image-desktop);
	height: 100%;
	display: none;
	color: white;
	transition: width 0.6s ease;
	-webkit-transition: width 0.6s ease;
	-moz-transition: width 0.6s ease;
	-ms-transition: width 0.6s ease;
	-o-transition: width 0.6s ease;
}
.item.active {
	display: none;
}
.item {
	display: block;
}
.item-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.item-content .title {
	color: white;
	transform: rotate(270deg);
	white-space: nowrap;
	display: inline-block;
	font-size: 18px;
	text-transform: uppercase;
	padding: 20px;
	font-family: "Jigsaw", Sans-serif;
}
svg {
	fill: white;
}
.info .icon {
	width: 100px;
	padding-bottom: 20px;
}

.info {
	overflow: hidden; /* Evita que el contenido oculto desborde */
	align-content: flex-end;
}
.info .info-content {
	opacity: 0;
	max-height: 0;
	padding: 0 0 0 10vw;
	transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
	-webkit-transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
	-moz-transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
	-ms-transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
	-o-transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.info.active .info-content {
	opacity: 1;
	max-height: 500px; /* Ajusta según el contenido */
	align-content: flex-end;
	padding-bottom: 64px;
}
.info-content-3 {
	text-align: left;
	width: 50%;
}
.info-content-3 .title {
	font-size: 36px;
	line-height: 40px;
	padding-bottom: 22px;
	font-family: "Jigsaw", Sans-serif;
}
.info-content-3 .content {
	line-height: 26px;
	font-size: 18px;
	padding-bottom: 48px;
	font-family: "Gotham", Sans-serif;
}

@media (max-width: 1024px) {
	.horizontal-slider {
		position: relative;
		height: auto;
		background-color: #001229;
		display: flex;
		flex-direction: column;
	}

	.horizontal-slider .item {
		width: 100%;
		height: 88px;
		text-align: center;
		background-color: #001229;
		border-bottom: 0.1px solid #1e416e;
		cursor: pointer;
		padding: 0;
		display: flex;
		align-items: center;
		transition: background 0.3s ease;
	}

	/* Nascondi item attivo */
	.horizontal-slider .item.active {
		display: none;
	}

	.item-content {
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 20px;
		gap: 10px;
		width: 100%;
	}

	.item-content .icon svg {
		width: 30px;
		fill: white;
	}

	.item-content .title {
		color: white;
		transform: none;
		font-size: 16px;
		font-weight: bold;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.horizontal-slider .info {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		height: 0;
		background-image: var(--background-image-mobile);
		background-position: center bottom;
		background-size: cover;
		overflow: hidden;
		color: white;
		transition: height 0.4s ease;
		display: none;
		z-index: 10;
	}

	.horizontal-slider .info.active {
		display: block;
		height: 100vh;
	}

	.info .info-content {
		opacity: 1;
		max-height: none;
		padding: 20px;
		transition: opacity 0.3s ease;
		display: block;
	}

	.info-content-3 {
		width: 100%;
		text-align: left;
	}

	.info-content-3 .title {
		font-size: 28px;
		line-height: 32px;
		padding-bottom: 16px;
		font-family: "Jigsaw", Sans-serif;
	}

	.info-content-3 .content {
		font-size: 16px;
		line-height: 24px;
		font-family: "Gotham", Sans-serif;
	}
}
