/* ==========================================================
   FHL ENTERPRISE
   TEAM CARD
   ========================================================== */


/* ==========================================================
   CARD
   ========================================================== */

.fh-team-card{
    width:100%;
    max-width:100%;
    padding:8px;
    box-sizing:border-box;
}


/* ==========================================================
   GRID
   ========================================================== */

.fh-team-card-grid{
    display:grid;
    grid-template-columns:88px minmax(0,1fr);
    gap:10px;
    align-items:start;

    width:100%;
    max-width:100%;
    box-sizing:border-box;
}


/* ==========================================================
   LOGO
   ========================================================== */

.fh-team-card-logo{
    width:88px;
    min-width:88px;

    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.fh-team-card-logo img{
    width:88px;
    height:88px;

    max-width:88px;
    max-height:88px;

    object-fit:contain;
    display:block;
}

.fh-team-card-logo-empty{
    width:88px;
    height:88px;

    min-width:88px;

    border-radius:12px;
    background:#232323;
    border:1px solid #3a3a3a;

    display:flex;
    justify-content:center;
    align-items:center;

    box-sizing:border-box;
}

.fh-team-card-logo-empty i{
    color:#F7C600;
    font-size:34px;
}


/* ==========================================================
   INFO
   ========================================================== */

.fh-team-card-info{
    min-width:0;
    width:100%;
    max-width:100%;

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    box-sizing:border-box;
}


/* ==========================================================
   TEAM NAME
   ========================================================== */

.fh-team-card-title{
    width:100%;
    max-width:100%;

    margin:0 0 18px;

    color:#F7C600;
    font-size:18px;
    font-weight:700;
    line-height:1.2;

    overflow-wrap:anywhere;
    word-break:normal;
}


/* ==========================================================
   ROW
   ========================================================== */

.fh-team-card-line{
    display:grid;

    grid-template-columns:18px 60px minmax(0,1fr);

    align-items:center;

    column-gap:8px;

    width:100%;
    max-width:100%;

    margin-bottom:8px;

    box-sizing:border-box;
}

.fh-team-card-line:last-child{
    margin-bottom:0;
}


/* ==========================================================
   ICON
   ========================================================== */

.fh-team-card-line i{
    color:#F7C600;
    font-size:13px;
    text-align:center;
}


/* ==========================================================
   LABEL
   ========================================================== */

.fh-team-card-key{
    min-width:0;

    color:#98A0AA;
    font-size:12px;
    font-weight:500;
}


/* ==========================================================
   VALUE
   ========================================================== */

.fh-team-card-data{
    min-width:0;
    max-width:100%;

    color:#FFFFFF;
    font-size:13px;
    font-weight:700;

    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
}


/* ==========================================================
   HOVER
   ========================================================== */

.fh-team-card{
    transition:transform .20s;
}

.fh-team-card:hover{
    transform:translateY(-2px);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

/*
 * Tablet / smartphone:
 * Manteniamo logo + informazioni sulla stessa riga.
 * La card deve sfruttare la larghezza disponibile senza
 * introdurre una seconda struttura HTML.
 */

@media (max-width:768px){

    .fh-team-card{
        padding:8px;
    }

    .fh-team-card-grid{
        grid-template-columns:80px minmax(0,1fr);
        gap:10px;
    }

    .fh-team-card-logo{
        width:80px;
        min-width:80px;
    }

    .fh-team-card-logo img,
    .fh-team-card-logo-empty{
        width:80px;
        height:80px;
        max-width:80px;
        max-height:80px;
        min-width:80px;
    }

    .fh-team-card-title{
        font-size:17px;
        margin-bottom:14px;
    }

    .fh-team-card-line{
        grid-template-columns:18px 55px minmax(0,1fr);
        column-gap:6px;
    }

}


/* ==========================================================
   SMALL SMARTPHONE
   ========================================================== */

@media (max-width:480px){

    .fh-team-card-grid{
        grid-template-columns:72px minmax(0,1fr);
        gap:8px;
    }

    .fh-team-card-logo{
        width:72px;
        min-width:72px;
    }

    .fh-team-card-logo img,
    .fh-team-card-logo-empty{
        width:72px;
        height:72px;
        max-width:72px;
        max-height:72px;
        min-width:72px;
    }

    .fh-team-card-title{
        font-size:16px;
        margin-bottom:12px;
    }

    .fh-team-card-line{
        grid-template-columns:18px 50px minmax(0,1fr);
        column-gap:5px;
        margin-bottom:6px;
    }

    .fh-team-card-key{
        font-size:11px;
    }

    .fh-team-card-data{
        font-size:12px;
    }

}












/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:768px){

    .fh-team-card-grid{

        grid-template-columns:1fr;

        justify-items:center;

    }

    .fh-team-card-info{

        width:100%;

    }

}