/* ==========================================================
   FHL ENTERPRISE
   LAST MATCH WIDGET
   Responsive version
   ========================================================== */


/* ==========================================================
   WIDGET CONTAINER
   ========================================================== */

.fhl-last-match-widget{
    width:100%;
    max-width:100%;
    min-width:0;

    background:#111820;

    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;

    overflow:hidden;

    box-sizing:border-box;
}


/* ==========================================================
   HEADER
   ========================================================== */

.fhl-last-match-header{

    width:100%;
    max-width:100%;
    min-width:0;

    padding:18px 22px;

    border-bottom:1px solid rgba(255,255,255,.08);

    box-sizing:border-box;
}


.fhl-last-match-title{

    margin:0;

    color:#F7C600;

    font-size:18px;
    font-weight:700;

    line-height:1.2;

    text-align:center;

    overflow-wrap:anywhere;
}


/* ==========================================================
   LEGACY / FALLBACK HEADER
   ========================================================== */

.fhl-last-match-widget h3{

    margin:0 0 10px;

    color:#F7C600;

    font-size:18px;
    font-weight:700;

    line-height:1.2;

    text-align:center;

    overflow-wrap:anywhere;
}


/* ==========================================================
   DATE
   ========================================================== */

.fhl-last-match-date{

    margin-top:10px;

    color:#ffffff;

    font-size:14px;
    font-weight:600;

    line-height:1.3;

    text-align:center;

    overflow-wrap:anywhere;
}


.fhl-last-match-widget .fh-last-match-date{

    text-align:center;

    font-size:14px;

    font-weight:600;
}


/* ==========================================================
   TIME
   ========================================================== */

.fhl-last-match-time{

    margin-top:4px;

    color:#93a3b8;

    font-size:13px;

    line-height:1.3;

    text-align:center;
}


.fhl-last-match-widget .fh-last-match-time{

    text-align:center;

    font-size:13px;

    margin-top:4px;
}

.fhl-last-match-outcome{
    margin:10px auto 0;
    width:fit-content;
    padding:3px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.fhl-last-match-outcome--win{
    background:#1f6b3a;
    color:#d7ffe6;
}

.fhl-last-match-outcome--draw{
    background:#3a4450;
    color:#d5dde6;
}

.fhl-last-match-outcome--loss{
    background:#6b1f27;
    color:#ffd6d9;
}

.fhl-last-match-replay{
    display:block;
    width:fit-content;
    margin:0 auto 18px;
    padding:7px 16px;
    border:1px solid rgba(247,198,0,.45);
    border-radius:999px;
    background:#1a2230;
    color:#F7C600;
    font-size:12px;
    font-weight:800;
    letter-spacing:.06em;
    text-decoration:none;
    text-transform:uppercase;
}

.fhl-last-match-replay:hover,
.fhl-last-match-replay:focus{
    background:#F7C600;
    color:#111820;
}


/* ==========================================================
   TEAMS AREA
   ========================================================== */

.fhl-last-match-teams{

    display:flex;

    align-items:center;
    justify-content:center;

    gap:25px;

    width:100%;
    max-width:100%;
    min-width:0;

    padding:24px 12px;

    box-sizing:border-box;
}


/* ==========================================================
   TEAM
   ========================================================== */

.fhl-last-match-team{

    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:10px;

    flex:1 1 0;

    min-width:0;
    max-width:150px;

    color:#F7C600;

    font-size:14px;
    font-weight:600;

    line-height:1.25;

    text-align:center;

    /*
     * No nowrap:
     * the team name must be able to wrap on narrow screens.
     */
    white-space:normal;

    overflow-wrap:anywhere;

    box-sizing:border-box;
}


/* ==========================================================
   TEAM NAME
   ========================================================== */

.fhl-last-match-team span{

    display:block;

    width:100%;
    max-width:100%;

    color:#F7C600;

    text-align:center;

    overflow-wrap:anywhere;

    word-break:normal;
}


/* ==========================================================
   LOGO
   ========================================================== */

.fhl-last-match-logo{

    display:block;

    width:55px;
    height:55px;

    min-width:55px;
    min-height:55px;

    max-width:55px;
    max-height:55px;

    object-fit:contain;

    flex:0 0 auto;
}


/* ==========================================================
   SCORE
   ========================================================== */

.fhl-last-match-score{

    flex:0 0 auto;

    min-width:42px;

    color:#F7C600;

    font-size:24px;
    font-weight:700;

    line-height:1;

    text-align:center;
}


/* ==========================================================
   EXTRA MATCH INFORMATION
   ========================================================== */

.fhl-last-match-widget .fh-last-match > div:first-child{

    width:100%;
    max-width:100%;

    text-align:center;

    font-size:13px;

    line-height:1.3;

    color:#93a3b8;

    margin-top:8px;

    overflow-wrap:anywhere;

    box-sizing:border-box;
}


/* ==========================================================
   TEAM NAME - WORD CONTROL
   ========================================================== */

.fhl-last-match-team-name{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    max-width:100%;
    text-align:center;
}

.fhl-last-match-team-word{
    display:block;
    width:max-content;
    max-width:100%;
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
}


/* ==========================================================
   NOTEBOOK / DESKTOP COMPATTO
   ========================================================== */

@media (max-width:1500px){

    .fhl-last-match-header{

        padding:16px 18px;
    }

    .fhl-last-match-teams{

        gap:18px;

        padding:20px 12px;
    }

    .fhl-last-match-team{

        max-width:130px;

        font-size:13px;
    }

    .fhl-last-match-logo{

        width:52px;
        height:52px;

        min-width:52px;
        min-height:52px;

        max-width:52px;
        max-height:52px;
    }

    .fhl-last-match-score{

        min-width:38px;

        font-size:22px;
    }

}


/* ==========================================================
   TABLET LANDSCAPE / IPAD LANDSCAPE
   ========================================================== */

@media (max-width:1200px){

    .fhl-last-match-header{

        padding:16px;
    }

    .fhl-last-match-teams{

        gap:14px;

        padding:18px 10px;
    }

    .fhl-last-match-team{

        max-width:120px;

        font-size:13px;
    }

    .fhl-last-match-logo{

        width:48px;
        height:48px;

        min-width:48px;
        min-height:48px;

        max-width:48px;
        max-height:48px;
    }

    .fhl-last-match-score{

        min-width:34px;

        font-size:20px;
    }

}


/* ==========================================================
   TABLET PORTRAIT
   ========================================================== */

@media (max-width:900px){

    .fhl-last-match-header{

        padding:16px;
    }

    .fhl-last-match-teams{

        gap:12px;

        padding:18px 10px;
    }

    .fhl-last-match-team{

        max-width:115px;

        font-size:12px;
    }

    .fhl-last-match-logo{

        width:46px;
        height:46px;

        min-width:46px;
        min-height:46px;

        max-width:46px;
        max-height:46px;
    }

    .fhl-last-match-score{

        min-width:32px;

        font-size:19px;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width:768px){

    .fhl-last-match-header{

        padding:14px;
    }

    .fhl-last-match-title,
    .fhl-last-match-widget h3{

        font-size:17px;
    }

    .fhl-last-match-date{

        font-size:13px;
    }

    .fhl-last-match-time{

        font-size:12px;
    }

    .fhl-last-match-teams{

        gap:8px;

        padding:18px 8px;
    }

    .fhl-last-match-team{

        max-width:105px;

        gap:8px;

        font-size:12px;
    }

    .fhl-last-match-logo{

        width:42px;
        height:42px;

        min-width:42px;
        min-height:42px;

        max-width:42px;
        max-height:42px;
    }

    .fhl-last-match-score{

        min-width:28px;

        font-size:18px;
    }

}


/* ==========================================================
   SMALL SMARTPHONE
   ========================================================== */

@media (max-width:480px){

    .fhl-last-match-header{

        padding:12px;
    }

    .fhl-last-match-title,
    .fhl-last-match-widget h3{

        font-size:16px;
    }

    .fhl-last-match-date{

        font-size:12px;
    }

    .fhl-last-match-time{

        font-size:11px;
    }

    .fhl-last-match-teams{

        gap:6px;

        padding:16px 6px;
    }

    .fhl-last-match-team{

        max-width:95px;

        gap:7px;

        font-size:11px;
    }

    .fhl-last-match-logo{

        width:38px;
        height:38px;

        min-width:38px;
        min-height:38px;

        max-width:38px;
        max-height:38px;
    }

    .fhl-last-match-score{

        min-width:24px;

        font-size:17px;
    }

}


/* ==========================================================
   VERY SMALL SMARTPHONE
   ========================================================== */

@media (max-width:360px){

    .fhl-last-match-header{

        padding:11px;
    }

    .fhl-last-match-teams{

        gap:4px;

        padding:14px 5px;
    }

    .fhl-last-match-team{

        max-width:85px;

        font-size:10px;
    }

    .fhl-last-match-logo{

        width:34px;
        height:34px;

        min-width:34px;
        min-height:34px;

        max-width:34px;
        max-height:34px;
    }

    .fhl-last-match-score{

        min-width:22px;

        font-size:16px;
    }

}