/* EsekaTheme — Hero (carrusel de slides de la home).
 * Puerto 1:1 de astrosite/src/components/home/Hero.astro. */

.hero-carousel {
	position: relative;
}

.hero-carousel__swiper {
	width: 100%;
	overflow: hidden;
}

.hero-carousel__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 488px;
	padding: var(--space-8) var(--container-padding);
}

.hero-carousel__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
	max-width: 720px;
	text-align: center;
}

.hero-carousel__title {
	font-size: var(--font-size-2xl);
	line-height: var(--line-height-tight);
	font-weight: 800;
	color: var(--color-inverse-text);
}

.hero-carousel__tag {
	width: 28px;
	height: 6px;
	background-color: var(--color-accent);
	border-radius: var(--radius-full);
}

.hero-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: var(--color-inverse-text);
	z-index: 2;
	transition: opacity var(--transition-base);
}

.hero-carousel__nav:hover {
	opacity: 0.7;
}

.hero-carousel__nav--prev {
	left: var(--space-4);
}

.hero-carousel__nav--next {
	right: var(--space-4);
}

@media (max-width: 640px) {
	.hero-carousel__slide {
		min-height: 260px;
		padding: var(--space-7) var(--space-5);
	}

	.hero-carousel__title {
		font-size: var(--font-size-xl);
	}

	.hero-carousel__nav {
		display: none;
	}
}
