/* Estilos completos del hero slider */
.heroSlider {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* Asegurar ancho completo incluso dentro de contenedores */
.wp-block-uve-builder-hero-slider,
[class*="wp-block-uve-builder-hero-slider"] {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
	position: relative;
}

/* Para bloques con alignfull - salirse del contenedor */
.wp-block-uve-builder-hero-slider.alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	position: relative;
}

/* Para bloques con alignwide - también ancho completo */
.wp-block-uve-builder-hero-slider.alignwide {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Asegurar que el contenido interno también ocupe todo el ancho */
.wp-block-uve-builder-hero-slider .heroSlider {
	width: 100% !important;
	max-width: 100% !important;
}

/* Asegurar que no haya padding o margin que limite el ancho */
.wp-block-uve-builder-hero-slider > * {
	box-sizing: border-box;
}

.heroSliderBackgrounds {
	position: relative;
	height: 100%;
	width: 100%;
}

.heroSlideBackground {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease;
}

.heroSlideBackground.isActive {
	opacity: 1;
}

.heroSliderBackgrounds .heroSlideBackground:first-child {
	opacity: 1;
}

.heroSlideOverlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.3);
}

.heroSliderContent {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	padding-top: 5rem;
}

.heroContainer {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.heroContainer { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
	.heroContainer { padding-left: 2rem; padding-right: 2rem; }
}

.heroText { max-width: 56rem; }

.heroSubtitle {
	color: #ffffff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.heroSubtitle { font-size: 1rem; }
}

@media (min-width: 1024px) {
	.heroSubtitle { font-size: 1.125rem; }
}

.heroTitle {
	color: #ffffff;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 2rem;
	font-size: 1.875rem;
}

@media (min-width: 768px) {
	.heroTitle { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
	.heroTitle { font-size: 3rem; }
}

@media (min-width: 1280px) {
	.heroTitle { font-size: 3.75rem; }
}

.heroCta a {
	display: inline-flex;
	align-items: center;
	padding: .75rem 1.5rem;
	background-color: #2563eb;
	color: #ffffff;
	font-weight: 500;
	border-radius: .5rem;
	text-decoration: none;
	transition: background-color .2s ease;
}

.heroCta a:hover { background-color: #1d4ed8; }

.heroNavBtn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10001;
	background-color: rgba(255,255,255,.2);
	color: #ffffff;
	padding: .5rem;
	border-radius: 9999px;
	border: none;
	cursor: pointer;
	transition: background-color .3s ease;
	backdrop-filter: saturate(180%) blur(6px);
}

.heroNavBtn:hover { background-color: rgba(255,255,255,.3); }

.heroNavPrev { left: 1rem; }
.heroNavNext { right: 1rem; }

.icon { display: block; width: 1.5rem; height: 1.5rem; }
