/* 
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 */

.caja_dat .elementor-cta__content{
	padding: 0;
}
@media (min-width:667px){
	.boxi-izq .e-con-inner{
		margin-right: 60px;
	}
	.boxi-der .e-con-inner{
		margin-left: 60px;
	}
}

/* Contenedor principal de las FAQs */
.contenedor-faqs {
    width: 100%;
    margin: 60px auto;
}

.titulo-faqs {
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: black;
}

.faq-item {
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item .elementor-kit-7 button, .faq-item .elementor-kit-7 input[type="button"], .faq-item .elementor-kit-7 input[type="submit"], .faq-item .elementor-kit-7 .elementor-button{
    font-weight: bold !important;
    line-height: 1.45rem !important;
    color: black !important;
    font-size: 18px !important;
}
/* Añade este código a tu CSS */
.faq-pregunta-texto {
    white-space: normal; /* Permite el salto de línea */
    text-align: left;    /* Asegura la alineación a la izquierda */
    padding-right: 15px; /* Espacio para que no se pegue a la flecha */
}

/* Ajuste opcional para el botón principal si es necesario */
.faq-pregunta {
    /* Las propiedades que ya tenías */
    width: 100%;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Asegúrate de que la altura pueda crecer */
    height: auto; 
    min-height: 60px; /* O una altura mínima que te guste */
}

/* Estilo del botón de la pregunta */
.faq-pregunta {
    width: 100%;
    padding: 20px;
    background-color: var( --e-global-color-750daa4 ) !important;
    border: none;
    text-align: left;
    font-size: 18px !important;
    color: black !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

/* Estilo del botón cuando está activo (desplegado) */
.faq-pregunta.active {
    background-color: #f0f0f0 !important;
    color: black !important;
    font-size: 18px !important
}

.faq-pregunta:hover {
    background-color: #f0f0f0 !important;
    color: black !important;
    font-size: 18px !important
}

/* Estilo del icono (flecha) */
.faq-pregunta::after {
    content: '▼';
    font-size: 0.8rem;
    color: #555;
    transition: transform 0.3s ease;
}


.faq-pregunta.active::after {
    transform: rotate(180deg); /* Gira la flecha hacia arriba */
}

/* Contenedor de la respuesta (inicialmente oculto) */
.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    padding: 0 20px;
}

.faq-respuesta-contenido {
    padding: 20px 0;
    color: #555;
    line-height: 1.6;
}

.elementor-element-5b1b17e{
    width:  100% !important;
}

/* Contenedor principal de los 4 destacados de cada modelo de casaa */
.destacados-container {
    display: grid;
    /* Crea 2 columnas de igual tamaño en pantallas grandes */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; /* Espacio entre los elementos */
    width: 100%;
    box-sizing: border-box;
}

/* Estilo para cada tarjeta o item individual */
.destacado-item {
    padding: 30px;
    background-color: var( --e-global-color-750daa4 );
}

/* Estilo para el título de cada item */
.destacado-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase; /* Para que se vea en mayúsculas como en la imagen */
    color: #333;
}

/* Estilo para el párrafo de contenido de cada item */
.destacado-item p {
    margin-bottom: 0;
}

/* --- Diseño Responsivo --- */
/* Para tabletas y dispositivos más pequeños, se muestra en 2 columnas */
@media (max-width: 991px) {
    .destacados-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Para móviles, los elementos se apilan en una sola columna */
@media (max-width: 767px) {
    .destacados-container {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px;
    }
}

@media (min-width: 991px) {
    .uael-nav-menu li a {
        text-decoration: none;
        box-shadow: inset 0 -2px 0 0 transparent;
        transition: box-shadow 0.3s ease-in-out;
    }

    .uael-nav-menu li a:hover {
        box-shadow: inset 0 -2px 0 0 var( --e-global-color-secondary );
    }
}

figure.wp-block-video {
    max-width: 800px;
    height: auto;
    margin: 1rem auto 3rem;
}
.elementor-element-e472b7d ul{
    margin-bottom: 2rem;
}
.elementor-message.elementor-message-success.elementor-message-svg {
    background: #1fcd1f;
    border-radius: 8px;
    padding: 7px 20px;
    color: white !important;
}