/* =========================================================
   MARCA FUTSAL – JUGADORES DEL MOMENTO v1.7
   Diseño compacto y responsive: foto circular uniforme + nombre
   ========================================================= */

.mfjm-wrap{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    box-sizing:border-box;
}

.mfjm-section{
    margin:0 0 42px;
}

.mfjm-section-head{
    display:block;
    margin:0 0 18px;
    padding-bottom:10px;
    border-bottom:2px solid #111;
}

.mfjm-section-head h2{
    margin:0;
    font-family:'Fira Sans',Roboto,Arial,sans-serif;
    font-size:24px;
    line-height:1.15;
    font-weight:700;
    color:#111;
}

.mfjm-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:16px;
}

.mfjm-card{
    min-width:0;
    background:#fff;
    border:1px solid #e1e5e9;
    border-radius:16px;
    box-shadow:0 4px 14px rgba(0,0,0,.065);
    overflow:hidden;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.mfjm-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    border-color:#d0d5da;
}

.mfjm-player-link{
    display:block;
    padding:14px 9px 13px;
    color:inherit;
    text-decoration:none !important;
    text-align:center;
}

/*
 * Tamaño fijo y proporción 1:1 para que TODAS las fotos sean idénticas.
 * clip-path además fuerza el recorte circular aunque otro CSS del tema
 * intente modificar la forma de la imagen.
 */
.mfjm-photo{
    width:112px;
    height:112px;
    max-width:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:50%;
    background:#f3f4f5;
    aspect-ratio:1 / 1;
    clip-path:circle(50% at 50% 50%);
}

.mfjm-photo img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    aspect-ratio:1 / 1 !important;
    border-radius:0 !important;
    clip-path:circle(50% at 50% 50%) !important;
    margin:0 !important;
}

.mfjm-no-photo{
    font-size:32px;
    opacity:.5;
}

.mfjm-body{
    padding:9px 2px 0;
}

.mfjm-name{
    display:block;
    color:#111 !important;
    font-size:13px;
    line-height:1.22;
    font-weight:800;
    text-decoration:none !important;
}

.mfjm-no-results,
.mfjm-empty{
    padding:20px;
    border:1px dashed #cfd4da;
    border-radius:12px;
    background:#fafafa;
    color:#666;
    text-align:center;
    font-size:14px;
}

/* Tablet */
@media (max-width:1024px){
    .mfjm-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:14px;
    }

    .mfjm-photo{
        width:100px;
        height:100px;
    }

    .mfjm-name{
        font-size:12.5px;
    }
}

/* Móvil: dos columnas, tarjetas compactas y fotos uniformes */
@media (max-width:700px){
    .mfjm-section{
        margin-bottom:32px;
    }

    .mfjm-section-head{
        margin-bottom:13px;
        padding-bottom:8px;
    }

    .mfjm-section-head h2{
        font-size:20px;
    }

    .mfjm-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .mfjm-player-link{
        padding:10px 6px 10px;
    }

    .mfjm-photo{
        width:86px;
        height:86px;
    }

    .mfjm-body{
        padding:7px 1px 0;
    }

    .mfjm-name{
        font-size:11.5px;
        line-height:1.18;
    }
}

/* Móviles pequeños */
@media (max-width:390px){
    .mfjm-grid{
        gap:8px;
    }

    .mfjm-player-link{
        padding:9px 5px;
    }

    .mfjm-photo{
        width:76px;
        height:76px;
    }

    .mfjm-name{
        font-size:11px;
    }
}
