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

.caja-link {
    cursor: pointer;
	}	

.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;
	}
}

.subrayado-azul {
  display: inline-block;
  position: relative;
  width: fit-content;
}

.subrayado-azul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: calc(100% + 30px);
  height: 4px;
  background-color: #357FF8;
}

@media (max-width: 767px) {
  .subrayado-azul::after {
    width: 100%;
  }
}

.hover-effect {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.hover-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(53, 127, 248, 0.5) !important;
    opacity: 0;
    z-index: 2 !important;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    border-radius: 10px;
}

.hover-effect::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background-image: url('https://desarrollofenix.com/aesyc/wp-content/uploads/2025/02/masBlanco.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 3 !important;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.hover-effect img {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hover-effect:hover::before,
.hover-effect:hover::after {
    opacity: 1 !important;
}

.hover-effect:hover img {
    transform: scale(1.1);
}

.hover-effect::after {
    pointer-events: none;
}

.wpc-filter-title {
  display: none !important;
}

.buscador .wpc-filter-search-form {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #4da3ff;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 50px; 
}

.buscador .wpc-search-field-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.buscador .wpc-search-field {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border: none;
    font-size: 18px;
    outline: none;
    border-radius: 10px; 
}

.buscador .wpc-search-icon {
    position: absolute;
    top: 50%;
    left: 96%;
    transform: translate(-50%, -50%);
    background-color: #063075;
    color: #fff;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

@media (max-width: 1440px) {
    .buscador .wpc-search-icon {
        position: absolute;
        top: 50%;
        left: 92%; 
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 1440px) {
    .buscador .wpc-search-icon {
        position: absolute;
        top: 50%;
        left: 97%; 
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 767px) {
    .buscador .wpc-search-icon {
        position: absolute;
        top: 50%;
        left: 94%; 
        transform: translate(-50%, -50%);
    }
}





.buscador .wpc-search-icon::before {
    color: #fff;
}


.buscador .wpc-search-clear-icon-wrapper {
    display: none;
}

/* Encabezado antes de cada filtro */
.wpc-filter-content::before {
    content: "Categorías";
    font-family: 'Alata', sans-serif;
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: #062B65; 
    margin-bottom: 10px;
    border-bottom: 2px solid #4da3ff;
    padding-bottom: 15px;
}

/* Estilo general de todos los bloques de filtros */
.wpc-filter-content {
    margin-top: 20px;
    font-family: 'Alata', sans-serif;
}
/* Estilo de la lista UL */
.wpc-filters-ul-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Estilo de cada LI */
.wpc-checkbox-item {
    margin-bottom: 10px;
}

/* Estilo de los enlaces de filtro */
.wpc-filter-link {
    font-size: 18px;
    color: #002f6c;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.wpc-filter-link {
    color: #357FF8 !important;
}

/* También cuando no hay resultados (los que el plugin pone en gris) */
.wpc-term-count-0 .wpc-filter-link {
    color: #357FF8 !important;
    opacity: 1 !important;
}

/* Evita que se vean desactivados */
.wpc-term-count-0 {
    opacity: 1 !important;
}


@media (max-width: 1024px) {
    .anchoCompleto {
        width: 100%;
		z-index:1;
    }
}

.partir-palabra {
  word-break: break-word;   /* Parte la palabra si no cabe */
  hyphens: auto;            /* Añade guion automático si el idioma lo permite */
  overflow-wrap: anywhere;  /* Evita que rompa el diseño */
}

.linea-vertical .elementor-spacer-inner {
    width: 1px;
    height: 100px;          /* o 100% si quieres que ocupe todo el alto del contenedor */
    background: #357FF8;
    margin: 0 auto;         /* centrada horizontalmente */
}


:target {
  scroll-margin-top: 80px; /* ajusta los píxeles que necesites */
}







