/* 
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 */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0;
}
.evento-card {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    padding: 10px;
}
h3.evento-titulo {
    font-size: 26px;
    color: #fff;
}
h3.evento-titulo a:hover {
    text-decoration: underline;
    color: #ebebeb !important;
}
.evento-imagen img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.evento-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: transparent;
}
.evento-titulo {
    font-size: 26px;
    margin: 0 0 10px 0;
    /* eliminado flex-grow: 1 — ahora está en .evento-contenido-wrap */
}
.evento-titulo a {
    text-decoration: none;
    color: inherit;
}
.evento-fecha {
    font-size: 1.1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px 0;
}
/* Nuevo: este wrapper absorbe el espacio y empuja el footer abajo */
.evento-contenido-wrap {
    flex-grow: 1;
}
.evento-contenido {
    font-size: 0.88rem;
    color: #ccc;
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.evento-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
}
.evento-btn {
    display: inline-block;
    background: #2575fc;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.evento-btn:hover {
    background: #1a5fd4;
}
/* Tablet */
@media (max-width: 1024px) {
    .eventos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobile */
@media (max-width: 600px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}
.eventos-filtro {
    margin-bottom: 0px !important;
}
.eventos-filtro select {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    width: 200px;
}
.eventos-filtro select option {
    background: #1a1a1a;
    color: #fff;
}
.evento-ver-mas {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.evento-ver-mas:hover {
    color: #fff !important;
}