.rdc-carrusel .jet-listing-grid__slider {
	position: relative;
	overflow: hidden;
}

.rdc-carrusel .jet-listing-grid__items {
	flex-wrap: nowrap;
	margin: 0;
	overflow: visible;
	width: 100%;
	transition: transform 0.5s ease;
}

/*
 * JetEngine oculta todas las tarjetas menos la primera hasta que Slick
 * añade .slick-initialized. Sin ese script, el desplazamiento las deja
 * fuera del recuadro y el carrusel queda en blanco.
 */
.rdc-carrusel .jet-listing-grid__slider > .jet-listing-grid__items:not(.slick-initialized) > .jet-listing-grid__item {
	display: block;
}

.rdc-carrusel .jet-listing-grid__item {
	flex: 0 0 calc(100% / var(--rdc-visibles, var(--columns, 3)));
	max-width: calc(100% / var(--rdc-visibles, var(--columns, 3)));
}

.rdc-carrusel .jet-listing-grid__slider-icon {
	position: absolute;
	top: 50%;
	z-index: 2;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
}

/* Quedan dentro del recorte del carrusel; Elementor las deja a -30px. */
.rdc-carrusel .jet-listing-grid__slider > .prev-arrow {
	left: 0.4rem;
}

.rdc-carrusel .jet-listing-grid__slider > .next-arrow {
	right: 0.4rem;
}

.elementor-nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-nav-menu a {
	color: inherit;
	font-family: "PT Sans", sans-serif;
	text-decoration: none;
}

.rdc-galeria {
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rdc-galeria__item {
	display: block;
}

.rdc-galeria img {
	aspect-ratio: 1;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 1024px) {
	.rdc-galeria {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.rdc-galeria {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.rdc-enlace-ficha {
	color: inherit;
	display: block;
	text-decoration: none;
}

.rdc-trampa {
	position: absolute;
	left: -9999px;
}

body.rdc-popup-abierto {
	overflow: hidden;
}

.rdc-popup[hidden] {
	display: none !important;
}

.rdc-popup {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 99999;
}

.rdc-popup__overlay {
	background: #00000099;
	inset: 0;
	position: absolute;
}

.rdc-popup__dialog {
	background: #fff;
	max-height: calc(100% - 2rem);
	max-width: calc(100% - 2rem);
	overflow: auto;
	padding: 2.5rem 1.5rem 1.5rem;
	position: relative;
	z-index: 1;
}

.rdc-popup__cerrar {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1;
	position: absolute;
	right: 0.8rem;
	top: 0.55rem;
}

.elementor-message-success {
	color: #099b03;
	font-weight: 600;
}

.elementor-message-danger {
	color: #d50000;
	font-weight: 600;
}

@media (max-width: 767px) {
	.rdc-popup__dialog {
		width: calc(100% - 1.5rem) !important;
	}
}
