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

/* --- ESTILOS DE LOS BOTONES Y CRISTAL (TUS ESTILOS) --- */

.boton-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00509d;
  background: #ffffff;
  color: #00509d;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 80, 157, 0.1);
}
.boton-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00509d;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.boton-hero:hover {
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 80, 157, 0.25);
}
.boton-hero:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.contenedor-cristal {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 20px;
}
.btn-explorar {
    position: relative;
    overflow: hidden;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 20;
}
/* --- LÓGICA DE ANIMACIÓN PARA EL HERO (LO QUE NECESITA EL JS) --- */
.selector { 
    position: relative;
    display: flex;
    justify-content: center;
    /* Ajusta min-height según el alto de tus cajas para evitar saltos */
    min-height: 400px; 
}
/* Estado base para que el JS tome el control */
/* --- SUSTITUIR EL ESTILO DE LOS CONTENEDORES --- */
/* Busca la clase que estés usando en los contenedores. 
   Si usabas '.contenedor-cristal' o '.card-pro', cámbiala por esto:
*/
.animacion-fade {
    /* Fondo degradado oscuro con transparencia (Azul Petróleo / Negro) */
    background: linear-gradient(135deg, rgba(16, 32, 45, 0.7) 0%, rgba(2, 8, 14, 0.85) 100%);
    
    /* El desenfoque clave */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* Bordes redondeados y relieve (sutil) */
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    /* Aseguramos que el contenido sea blanco para que resalte */
    color: white !important;
    /* Mantener transición suave para hover */
    transition: all 0.3s ease;
    
    /* Espaciado interno (ajustar si es necesario) */
    padding: 20px; 
}

/* Efectos al pasar el ratón (Hover) */
.animacion-fade:hover {
    transform: translateY(-5px); /* Pequeña elevación */
    background: linear-gradient(135deg, rgba(20, 40, 55, 0.8) 0%, rgba(5, 15, 25, 0.95) 100%);
    box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.5); /* Sombra más fuerte al elevarse */
    border-color: rgba(255, 255, 255, 0.15); /* Borde se ilumina un poco */
}
/* Asegurar que el texto dentro sea blanco (títulos, descripciones) */
.animacion-fade * {
    color: white !important;
}
/* Clase que activa la ENTRADA */
.mostrar-flex {
    display: flex !important;
    animation: entradaSuave 0.8s ease-out forwards;
}
/* Clase que activa la SALIDA */
.ocultar-fade {
    animation: salidaSuave 0.8s ease-in forwards;
}
/* --- KEYFRAMES DE LAS TRANSICIONES --- */
@keyframes entradaSuave {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes salidaSuave {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}
/* 1. Asegurar que el elemento de la lista no se mueva */
.menu-pastilla {
    display: inline-block !important;
    position: relative !important;
    margin: 0 5px !important; /* Espacio entre botones */
}
/* 2. El enlace (texto) */
.menu-pastilla a {
    display: block !important;
    position: relative !important;
    z-index: 10 !important; /* Valor alto para estar por encima de todo */
    padding: 12px 25px !important;
    color: #333 !important; /* Color de texto inicial */
    transition: all 0.3s ease !important;
}
.menu-pastilla a::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background-color:#59C264 !important; /* Color de la pastilla */
    transform: translate(-50%, -50%) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: -1 !important; /* OJO: Se mantiene en -1 para estar DETRÁS del texto */
    opacity: 0 !important;
}
/* 4. Hover: Al pasar el ratón */
.menu-pastilla a:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
}
.menu-pastilla a:hover {
    color: #ffffff !important; /* El texto cambia a blanco al cubrirse */
}
/* 5. Estado Activo (Donde hiciste clic) */
.current-menu-item.menu-pastilla a::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    background-color: #59C264 !important;
}
.current-menu-item.menu-pastilla a {
    color: #ffffff !important;
}
/*
.foto-impacto {
    border: 8px solid #ffffff; 
    box-shadow: 0px 20px 40px rgba(0,0,0,0.2); 
    border-radius: 4px;
}
*/
/*foto-impacto :hover {
    transform: scale(1.03) translateY(-10px); 
    box-shadow: 0px 30px 50px rgba(0,0,0,0.3);
    border-color: #f0f0f0; 
    cursor: pointer;
}*/
.foto-glass {
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px); /* Desenfoca lo que hay detrás del borde */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}
.foto-glass:hover {
    transform: rotate(1deg) scale(1.05); /* Un ligero giro da dinamismo */
}
/* EFECTO CRISTAL ESMERILADO */
/* EFECTO CRISTAL BLANCO LIGERO */
.card-socio-cristal {
    /* El último número (0.25) controla qué tan blanco es. 
       0.1 es casi invisible, 0.5 es muy blanco. 0.25 es el punto dulce. */
    background: rgba(255, 255, 255, 0.25) !important; 
    
    /* El desenfoque que empaña la montaña */
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    
    /* Un borde blanco finito para definir la silueta de la tarjeta */
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    transition: all 0.4s ease;
}
/* Para que al pasar el ratón se vuelva un pelín más opaco/blanco */
.card-socio-cristal:hover {
    background: rgba(255, 255, 255, 0.42) !important;
    transform: translateY(-5px);
}
/* EFECTO PARA EL BOTÓN */
.card-socio-cristal .elementor-button {
    box-shadow: 0 10px 20px rgba(139, 90, 43, 0.3); /* Sombra suave marrón */
    transition: all 0.3s ease-in-out !important;
}
.card-socio-cristal .elementor-button:hover {
    background-color: #3e4a3d !important; /* Cambia a tu verde montaña oscuro */
    transform: scale(1.05); /* Se agranda un pelín */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
/* ESTILO DEL BOTÓN DENTRO DEL CRISTAL */
.card-socio-cristal .elementor-button {
    background-color: #8b5a2b !important; /* Tu color tierra */
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    /*border-radius: 50px !important;*/
    padding: 16px 40px !important;
    transition: background 0.3s ease;
}
.card-socio-cristal .elementor-button:hover {
    background-color: #3e4a3d !important; /* Tu verde montaña */
}
.footer-custom-cmsa {
    background-color: #2da687; /* El verde teal de tu imagen */
    padding: 60px 20px 20px;
    color: white;
    font-family: 'Sora', sans-serif;
    position: relative;
}
/* Contenedor principal en Flexbox */
.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
.footer-column {
    flex: 1;
    display: flex;
    gap: 25px;
}
/* Estilo de los enlaces */
.side-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}
.side-links a:hover {
    opacity: 0.7;
}
/* Alineación de columnas laterales */
.footer-column.side-links:first-child {
    justify-content: flex-end; /* Enlaces izquierdos pegados al logo */
}
.footer-column.side-links:last-child {
    justify-content: flex-start; /* Enlaces derechos pegados al logo */
}
/* Logo central */
.logo-central {
    flex: 0 0 auto;
    text-align: center;
}
.logo-central img {
    width: 120px; /* Ajusta el tamaño de tu logo */
    height: auto;
}
/* Copyright inferior */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}
/* RESPONSIVE (Móvil) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-column.side-links {
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .logo-central {
        order: -1; /* Pone el logo arriba en el móvil */
    }
}


.boton-calendario{
    transition: 0.5s ease;
}

.boton-calendario:hover{
        transform: translateY(-5);
}



/* Taxonomy Filter estilo */
/* Forzar que se vea como lista de botones */
.mi-filtro-pro .elementor-taxonomy-filter {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}
/* El diseño de los botones */
.mi-filtro-pro .elementor-taxonomy-filter__item {
    background-color: #f0f0f0 !important; /* Color gris claro */
    color: #333333 !important;
    padding: 12px 20px !important;
    border-radius: 3px !important;
    border: 1px solid #dddddd !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    transition: 0.3s all !important;
}
.mi-filtro-pro .elementor-taxonomy-filter__item:hover {
    background-color: #e2e2e2 !important;
}
.mi-filtro-pro .elementor-taxonomy-filter__item.elementor-active {
    background-color: #222222 !important; /* Negro o tu color de marca */
    color: #ffffff !important;
    border-color: #000000 !important;
}
.mi-filtro-pro .elementor-taxonomy-filter__item:after {
    display: none !important;
}


/* PDF del single post*/
@media print {
    /* 1. Escondemos la web entera */
    header, footer, .elementor-section:not(.seccion-que-no-existe), .elementor-location-header, .elementor-location-footer {
        display: none !important;
    }

    /* 2. Forzamos que aparezca nuestra tabla oculta */
    #seccion-pdf-oculta {
        display: block !important;
        visibility: visible !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* 3. Estilo extra para que el mapa y colores salgan bien */
    body { background: white !important; }
    * { -webkit-print-color-adjust: exact !important; }
}
/* 1. ESTO OCULTA LA FICHA EN LA WEB NORMAL */
#seccion-pdf-oculta {
    display: none;
}

/* 2. ESTO ES LO QUE OCURRE SOLO AL IMPRIMIR */
@media print {
    /* Quitamos fecha y URL del navegador */
    @page { margin: 0; }

    /* Ocultamos Elementor */
    header, footer, .elementor-section, .elementor-location-header, .elementor-location-footer {
        display: none !important;
    }

    /* FORZAMOS QUE LA FICHA APAREZCA SOLO AQUÍ */
    #seccion-pdf-oculta {
        display: block !important;
        visibility: visible !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1.5cm;
        background: white !important;
    }

    /* Colores y fondos */
    body {
        background: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
/* calendario evento */

/* Esto pintará de rojo el evento DENTRO del calendario si ha pasado */
/* Estilo sutil para la clase que creamos en PHP */
.evento-pasado {
    background-color: #fcfcfc !important; /* Fondo casi blanco */
    color: #888888 !important; /* Texto gris suave */
    border: none !important;
    border-left: 5px solid #d1d1d1 !important; /* Barra lateral gris oscuro/plata */
    padding-left: 8px !important;
    opacity: 0.8;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05); /* Sombra muy fina */
}

/* Si quieres que afecte al contenedor de la lista o al Single Post */
div.actividad.evento-pasado {
    background-color: #ffe6e6; /* Un rojo muy clarito de fondo */
    border: 2px solid #ff4d4d;
}
/* 1. Ocultar la galería por defecto en todas las actividades */
.galeria-post-evento {
    display: none !important;
}

/* 2. Mostrar la galería SOLO cuando el body tiene la clase de evento finalizado */
.evento-finalizado .galeria-post-evento {
    display: block !important;
}



/*

Tarjeta Albumes 

*/



.card-album{
    height: 150px;
    width: 150px;
    font-size: 10px;
    transition: 0.5s ease;
}
.card-album:hover{
    cursor: pointer;
    transform: translateY(-5px);
}
.limitext{
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}