/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-text-editor p:last-child, .textwidget p:last-child, .elementor-widget-container p:last-child, .elementor-widget-text-editor p:last-child{ margin-bottom:0px;}  
p:last-child{ margin-bottom:0px;}  

.head-fix.scroleando{
	background-color: #171E3A!important;
}

.partir-palabra {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.img-backcover-effect {
    flex: 1;
	position: relative;
   	display: flex;
   	align-items: stretch;
	& img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
    		object-fit: cover;
	}
}

.caja-link {
    cursor: pointer;
}

/* Imágenes dentro de cualquier lightbox de Elementor */
.elementor-lightbox img,
.dialog-lightbox-widget-content img {
    width: 100%;
}

/* Cuando el lightbox está abierto, bajar el header */
body.elementor-lightbox-open header,
body.elementor-lightbox-open .site-header,
body.elementor-lightbox-open #masthead,
body.elementor-lightbox-open #site-header,
body.elementor-lightbox-open .elementor-location-header {
    z-index: 0 !important;
}

/* Asegurar que todos los lightbox de Elementor estén por encima */
.elementor-lightbox,
.dialog-lightbox-widget,
.dialog-lightbox-widget-content,
.dialog-widget-content.dialog-lightbox-widget-content {
    z-index: 99999 !important;
}

/* Ocultar footer/título/descripción del lightbox */
.elementor-lightbox .elementor-slideshow__footer,
.dialog-lightbox-widget .elementor-slideshow__footer {
    display: none !important;
}