/* =========================================================
   LISTADO DE EVENTOS (shortcode [fe_listado_eventos])
========================================================= */

.fe-listado-eventos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    width: 100%;
}

.fe-evento-card {
    display: block;

    text-decoration: none;
    color: inherit;

    border-radius: 12px;
    overflow: hidden;

    background: #fff;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.fe-evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.fe-evento-card-imagen {
    position: relative;

    aspect-ratio: 4 / 3;

    background: #eee;
}

.fe-evento-card-imagen img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.fe-evento-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 14px;
    line-height: 1;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    background: #111;
    color: #fff;
}

.fe-evento-disponible .fe-evento-badge {
    background: #111;
}

.fe-evento-proximamente .fe-evento-badge {
    background: rgba(17, 17, 17, 0.55);
}

.fe-evento-torneo .fe-evento-badge {
    background: #fff;
    color: #111;
    border: 2px solid #111;
}

.fe-evento-proximamente .fe-evento-card-imagen img {
    filter: grayscale(0.3);
    opacity: 0.85;
}

.fe-evento-card-info {
    padding: 18px 20px 22px;
}

.fe-evento-card-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.fe-evento-card-fecha,
.fe-evento-card-lugar {
    margin: 0 0 4px;
    font-size: 14px;
    color: #666;
}

.fe-sin-eventos {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .fe-listado-eventos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

}

@media (max-width: 600px) {

    .fe-listado-eventos {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}
