.elementor-207 .elementor-element.elementor-element-4e4aba2{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-207 .elementor-element.elementor-element-b81d774{--spacer-size:78px;}.elementor-207 .elementor-element.elementor-element-0274cee{--display:flex;}.elementor-207 .elementor-element.elementor-element-8a7a396{--spacer-size:93px;}/* Start custom CSS for shortcode, class: .elementor-element-8499d1a *//* CONTENEDOR PRINCIPAL */
.fegaa-eventos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px;
    background-color: #f4f7f9;
    font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
}

/* LA TARJETA */
.fegaa-evento-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    border: 1px solid #e0e6ed !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.fegaa-evento-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 35px rgba(34, 113, 177, 0.15) !important;
    border-color: #2271b1 !important;
}

/* IMAGEN */
.fegaa-evento-card img {
    height: 200px !important;
    object-fit: cover !important;
    border-bottom: 2px solid #f0f4f8 !important;
    box-shadow: none !important; /* Quitamos esa sombra azul fuerte */
}

/* CABECERA Y TEXTOS */
.evento-header {
    padding: 20px !important;
    border-bottom: none !important;
}

.fegaa-evento-card h3 {
    font-size: 1.5rem !important;
    color: #1a2b3c !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* FILAS DE INFORMACIÓN (Iconos y etiquetas) */
.evento-info-row {
    display: flex;
    flex-direction: column; /* Cambiado a lista para mejor lectura */
    gap: 10px !important;
}

.evento-label {
    background: #eef4f9 !important;
    color: #2271b1 !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    padding: 4px 10px !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    font-weight: 700 !important;
    width: fit-content;
}

.evento-fecha, .evento-duracion, .evento-ubicacion {
    background: transparent !important;
    color: #4a5568 !important;
    font-size: 0.95rem !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
    display: block;
}

.evento-ubicacion a {
    color: #2271b1 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.evento-ubicacion a:hover {
    text-decoration: underline !important;
}

/* BOTONES */
.evento-btn-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 0 20px 20px 20px !important;
    margin-top: auto !important;
}

/* Contenedor de los botones para que estén alineados */
.evento-btn-row {
    display: flex !important;
    gap: 12px !important;
    padding: 20px !important;
    background: #ffffff;
}

/* ESTILO BASE PARA AMBOS BOTONES */
.btn-ver-mas, .btn-inscribirse-card {
    flex: 1 !important; /* Hacen que midan lo mismo */
    padding: 14px 10px !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    border: none !important; /* Quitamos el borde negro feo */
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

/* BOTÓN "VER MÁS" (Estilo elegante y neutro) */
.btn-ver-mas {
    background: #f1f5f9 !important; /* Gris muy claro */
    color: #475569 !important;     /* Gris oscuro */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.btn-ver-mas:hover {
    background: #e2e8f0 !important;
    transform: translateY(-2px) !important;
}

/* BOTÓN "INSCRIBIRSE" (Color principal FEGAA) */
.btn-inscribirse-card {
    background: #2271b1 !important; /* Azul corporativo */
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(34, 113, 177, 0.3) !important;
}

.btn-inscribirse-card:hover {
    background: #1a5a8e !important;
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Efecto de pulsación al hacer clic */
.btn-ver-mas:active, .btn-inscribirse-card:active {
    transform: translateY(0) !important;
    filter: brightness(0.9);
}

/* Ajustes para móviles */
@media (max-width: 480px) {
    .fegaa-eventos-lista {
        padding: 10px;
    }
    .evento-btn-row {
        grid-template-columns: 1fr !important; /* Botones uno encima de otro en el móvil */
    }
}/* End custom CSS */
/* Start custom CSS for spacer, class: .elementor-element-8a7a396 *//* 1. EL CONTENEDOR (MODAL) */
.fegaa-evento-modal {
    background: rgba(15, 23, 42, 0.8) !important; /* Fondo oscuro elegante */
    backdrop-filter: blur(5px); /* Desenfoque de fondo */
}

/* 2. LA CAJA DE CONTENIDO */
.fegaa-evento-modal-content {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 30px !important;
    max-width: 480px !important;
    width: 95% !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

/* 3. TÍTULO */
.fegaa-evento-modal-content h2 {
    color: #0f172a !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* 4. LA IMAGEN (Sobrescribiendo el inline del HTML) */
.fegaa-evento-modal-content img {
    width: 100% !important;
    max-width: 100% !important; /* Que use todo el ancho de la caja */
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    display: block;
}

/* 5. EL BLOQUE DE INFO (Aquí está el cambio clave) */
.evento-info {
    background: #f1f5f9 !important; /* Gris azulado muy suave */
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
    line-height: 2 !important; /* Mucho espacio entre líneas para que respire */
    color: #475569 !important;
    font-size: 0.95rem !important;
}

/* Estilo para las etiquetas (Fecha, Ubicación, etc.) */
.evento-info b {
    color: #2271b1 !important; /* El azul corporativo */
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px;
    margin-right: 5px;
}

/* 6. BOTÓN CERRAR */
.btn-cerrar {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    transition: all 0.2s !important;
    font-weight: bold !important;
}

.btn-cerrar:hover {
    background: #ef4444 !important;
    color: white !important;
}

/* 7. BOTÓN INSCRIBIRSE */
.btn-inscribirse {
    width: 100% !important;
    background: #2271b1 !important;
    color: white !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 15px -3px rgba(34, 113, 177, 0.3) !important;
    text-transform: uppercase;
}

.btn-inscribirse:hover {
    background: #1e293b !important; /* Cambio a negro/azul oscuro al pasar el ratón */
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2) !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-0274cee *//* EL FONDO DEL MODAL (OVERLAY) */
.fegaa-evento-modal {
    display: none; /* Se activa con el JS */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7) !important; /* Oscuro moderno */
    backdrop-filter: blur(8px) !important; /* Desenfoque de fondo pro */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* LA CAJA DEL CONTENIDO */
.fegaa-evento-modal-content {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    max-width: 550px !important;
    width: 100% !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    position: relative;
    max-height: 90vh;
    overflow-y: auto; /* Por si el contenido es largo */
    font-family: 'Segoe UI', Roboto, sans-serif !important;
    animation: fegaaModalShow 0.3s ease-out;
}

@keyframes fegaaModalShow {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* BOTÓN CERRAR */
.btn-cerrar {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: #f1f5f9 !important;
    border: none !important;
    color: #64748b !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 35px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-cerrar:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    transform: rotate(90deg);
}

/* TÍTULO */
.fegaa-evento-modal-content h2 {
    margin-top: 0 !important;
    color: #1e293b !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin-bottom: 20px !important;
}

/* IMAGEN DENTRO DEL POPUP */
.fegaa-evento-modal-content img {
    display: block !important;
    margin: 0 auto 25px auto !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* BLOQUE DE INFORMACIÓN */
.evento-info {
    background: #f8fafc !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}

.evento-info b {
    color: #2271b1 !important;
    font-weight: 700 !important;
    display: inline-block;
    width: 160px; /* Alinea los labels */
}

/* FORMULARIO DE INSCRIPCIÓN */
#fegaa-inscripcion-evento-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#fegaa-inscripcion-evento-form input[type="email"] {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    font-size: 1rem !important;
    transition: border-color 0.2s;
    outline: none !important;
}

#fegaa-inscripcion-evento-form input[type="email"]:focus {
    border-color: #2271b1 !important;
}

/* BOTÓN INSCRIBIRSE (DENTRO DEL POPUP) */
#fegaa-inscripcion-evento-form .btn-inscribirse {
    background: #2271b1 !important;
    color: white !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2) !important;
}

#fegaa-inscripcion-evento-form .btn-inscribirse:hover {
    background: #1a5a8e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(34, 113, 177, 0.3) !important;
}/* End custom CSS */