/* ==========================================================
   FHL ENTERPRISE
   NEXT MATCH WIDGET
   Responsive version
   ========================================================== */


/* ==========================================================
   WIDGET CONTAINER
   ========================================================== */

.fhl-next-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-next-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-next-match-title{
    margin:0;
    color:#F7C600;
    font-size:18px;
    font-weight:700;
    line-height:1.2;
    text-align:center;
    overflow-wrap:anywhere;
}


/* ==========================================================
   HEADER FALLBACK / LEGACY
   ========================================================== */

.fhl-next-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-next-match-date{

    margin-top:10px;

    color:#ffffff;

    font-size:14px;
    font-weight:600;

    line-height:1.3;

    text-align:center;

    overflow-wrap:anywhere;
}


.fhl-next-match-widget .fh-next-match-date{

    text-align:center;

    font-size:14px;

    font-weight:600;
}


/* ==========================================================
   TIME
   ========================================================== */

.fhl-next-match-time{

    margin-top:4px;

    color:#93a3b8;

    font-size:13px;

    line-height:1.3;

    text-align:center;
}


.fhl-next-match-widget .fh-next-match-time{

    text-align:center;

    font-size:13px;

    margin-top:4px;
}


/* ==========================================================
   STADIUM
   ========================================================== */

.fhl-next-match-widget .fh-next-match-stadium{
    margin-top:6px;
    color:#93a3b8;
    font-size:13px;
    line-height:1.3;
    text-align:center;
    overflow-wrap:anywhere;
}

.fhl-next-match-formation{
    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-next-match-formation:hover,
.fhl-next-match-formation:focus{
    background:#F7C600;
    color:#111820;
}


/* ==========================================================
   TEAMS AREA
   ========================================================== */

.fhl-next-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-next-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;

    /*
     * Removed nowrap.
     * Team names must be allowed to wrap on narrow screens.
     */
    white-space:normal;

    overflow-wrap:anywhere;

    box-sizing:border-box;
}


/* ==========================================================
   TEAM NAME
   ========================================================== */

.fhl-next-match-team span{

    display:block;

    width:100%;
    max-width:100%;

    color:#F7C600;

    text-align:center;

    overflow-wrap:anywhere;

    word-break:normal;
}


/* ==========================================================
   LOGO
   ========================================================== */

.fhl-next-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;
}


/* ==========================================================
   VS
   ========================================================== */

.fhl-next-match-vs{

    flex:0 0 auto;

    min-width:32px;

    color:#F7C600;

    font-size:18px;
    font-weight:700;

    line-height:1;

    text-align:center;
}


/* ==========================================================
   EXTRA MATCH INFORMATION
   ========================================================== */

.fhl-next-match-widget .fh-next-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-next-match-team-name{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    max-width:100%;
    text-align:center;
}

.fhl-next-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-next-match-header{

        padding:16px 18px;
    }

    .fhl-next-match-teams{

        gap:18px;

        padding:20px 12px;
    }

    .fhl-next-match-team{

        max-width:130px;

        font-size:13px;
    }

    .fhl-next-match-logo{

        width:52px;
        height:52px;

        min-width:52px;
        min-height:52px;

        max-width:52px;
        max-height:52px;
    }

}


/* ==========================================================
   TABLET LANDSCAPE / IPAD LANDSCAPE
   ========================================================== */

@media (max-width:1200px){

    .fhl-next-match-header{

        padding:16px;
    }

    .fhl-next-match-teams{

        gap:14px;

        padding:18px 10px;
    }

    .fhl-next-match-team{

        max-width:120px;

        font-size:13px;
    }

    .fhl-next-match-logo{

        width:48px;
        height:48px;

        min-width:48px;
        min-height:48px;

        max-width:48px;
        max-height:48px;
    }

    .fhl-next-match-vs{

        min-width:28px;

        font-size:16px;
    }

}


/* ==========================================================
   TABLET PORTRAIT
   ========================================================== */

@media (max-width:900px){

    .fhl-next-match-header{

        padding:16px;
    }

    .fhl-next-match-teams{

        gap:12px;

        padding:18px 10px;
    }

    .fhl-next-match-team{

        max-width:115px;

        font-size:12px;
    }

    .fhl-next-match-logo{

        width:46px;
        height:46px;

        min-width:46px;
        min-height:46px;

        max-width:46px;
        max-height:46px;
    }

    .fhl-next-match-vs{

        min-width:26px;

        font-size:15px;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width:768px){

    .fhl-next-match-header{

        padding:14px;
    }

    .fhl-next-match-title,
    .fhl-next-match-widget h3{

        font-size:17px;
    }

    .fhl-next-match-date{

        font-size:13px;
    }

    .fhl-next-match-time{

        font-size:12px;
    }

    .fhl-next-match-teams{

        gap:8px;

        padding:18px 8px;
    }

    .fhl-next-match-team{

        max-width:105px;

        gap:8px;

        font-size:12px;
    }

    .fhl-next-match-logo{

        width:42px;
        height:42px;

        min-width:42px;
        min-height:42px;

        max-width:42px;
        max-height:42px;
    }

    .fhl-next-match-vs{

        min-width:22px;

        font-size:14px;
    }

}


/* ==========================================================
   SMALL SMARTPHONE
   ========================================================== */

@media (max-width:480px){

    .fhl-next-match-header{

        padding:12px;
    }

    .fhl-next-match-title,
    .fhl-next-match-widget h3{

        font-size:16px;
    }

    .fhl-next-match-date{

        font-size:12px;
    }

    .fhl-next-match-time{

        font-size:11px;
    }

    .fhl-next-match-teams{

        gap:6px;

        padding:16px 6px;
    }

    .fhl-next-match-team{

        max-width:95px;

        gap:7px;

        font-size:11px;
    }

    .fhl-next-match-logo{

        width:38px;
        height:38px;

        min-width:38px;
        min-height:38px;

        max-width:38px;
        max-height:38px;
    }

    .fhl-next-match-vs{

        min-width:20px;

        font-size:13px;
    }

}


/* ==========================================================
   VERY SMALL SMARTPHONE
   ========================================================== */

@media (max-width:360px){

    .fhl-next-match-header{

        padding:11px;
    }

    .fhl-next-match-teams{

        gap:4px;

        padding:14px 5px;
    }

    .fhl-next-match-team{

        max-width:85px;

        font-size:10px;
    }

    .fhl-next-match-logo{

        width:34px;
        height:34px;

        min-width:34px;
        min-height:34px;

        max-width:34px;
        max-height:34px;
    }

    .fhl-next-match-vs{

        min-width:18px;

        font-size:12px;
    }

}