/* =========================================
   PARTITS - FUTBOL SALA PARETS
   Disseny FCF
========================================= */


/* =========================================
   CONTENIDOR GENERAL
========================================= */

.partits-page {
    padding-bottom: 3rem;
}

.partits-page .partits-updated {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.partits-page .partits-updated > i {
    flex: 0 0 auto;
    color: #d71920;
    font-size: 16px;
}

.partits-page .partits-updated time {
    color: #172554;
    font-weight: 700;
}

.partits-page .match-venue-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(23, 37, 84, 0.35);
    text-underline-offset: 2px;
}

.partits-page .match-venue-link:hover,
.partits-page .match-venue-link:focus-visible {
    color: #d71920;
    text-decoration-color: currentColor;
}

.partits-page .match-share-button {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 5;

    display: inline-grid;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #25d366;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.partits-page .match-share-button:hover,
.partits-page .match-share-button:focus-visible {
    background: rgba(37, 211, 102, 0.12);
    color: #128c4a;
    transform: scale(1.08);
}

.partits-page .match-share-button:focus-visible {
    outline: 2px solid #128c4a;
    outline-offset: 2px;
}

.partits-page .match-share-button:disabled {
    cursor: wait;
    opacity: 0.75;
    transform: none;
}

.partits-page .match-share-button i {
    font-size: 25px;
}

.match-convocatoria {
    width: min(calc(100% - 2rem), 26rem);
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: #172554;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .22);
}

.match-convocatoria::backdrop {
    background: rgba(15, 23, 42, .5);
}

.match-convocatoria h2 {
    margin: 0 0 .5rem;
    font-size: 1.25rem;
}

.match-convocatoria label {
    display: grid;
    gap: .4rem;
    font-weight: 600;
}

.match-convocatoria select {
    width: 100%;
    padding: .65rem;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    font: inherit;
    color: inherit;
    background: #fff;
}

.match-convocatoria-hora,
.match-convocatoria-estat {
    margin: 0;
}

.match-convocatoria-hora:not(:empty),
.match-convocatoria-estat:not(:empty) {
    margin-top: .75rem;
}

.match-convocatoria-hora {
    font-weight: 700;
}

.match-convocatoria-accions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.match-convocatoria-accions .btn {
    padding: .65rem .9rem;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
}

.match-convocatoria-accions .btn:disabled {
    opacity: .5;
    cursor: default;
    transform: none;
}

.partits-page .match-convocatoria-export {
    padding: .75rem 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f1f3f7;
    color: #172554;
    font-weight: 700;
    text-align: center;
}

.partits-page .propers-partits {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================
   TARGETA DEL PARTIT
========================================= */

.partits-page .resultat-card {
    position: relative;
    width: 100%;
    margin: 0 0 18px 0;
    padding: 0;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);

    overflow: hidden;
}


/* Amaguem la capçalera antiga */

.partits-page .resultat-card .card-header {
    display: none;
}


/* =========================================
   ESTRUCTURA PRINCIPAL DEL PARTIT
========================================= */

.partits-page .resultat-card .match {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        115px
        minmax(260px, 1fr)
        390px;

    align-items: center;

    width: 100%;
    min-height: 145px;

    padding: 42px 24px 20px;

    gap: 18px;

    background: #ffffff;
}


/* =========================================
   JORNADA
========================================= */

.partits-page .partit-jornada {
    position: absolute;

    top: 16px;
    left: 18px;

    margin: 0;

    z-index: 2;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;

    color: #6b7280;
    text-transform: uppercase;
}


/* =========================================
   EQUIPS
========================================= */

.partits-page .team {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 16px;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 800;

    color: #172554;
    text-transform: uppercase;
}


/* Equip local: nom + escut */

.partits-page .team.local {
    justify-content: flex-end;
    text-align: right;
}


/* Equip visitant: escut + nom */

.partits-page .team.visitant {
    justify-content: flex-start;
    text-align: left;
}


/* Noms dels equips */

.partits-page .team span {
    display: block;

    min-width: 0;
    max-width: 100%;

    line-height: 1.2;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================
   ESCUTS
========================================= */

.partits-page .escut {
    width: 76px;
    height: 76px;

    flex: 0 0 76px;

    object-fit: contain;
}


/* =========================================
   DATA I HORA
========================================= */

.partits-page .center {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 0;

    text-align: center;
}


/* Data */

.partits-page .match-date {
    width: 115px;

    margin: 0;
    padding: 10px 8px 3px;

    box-sizing: border-box;

    background: #f3f4f6;
    border-radius: 8px 8px 0 0;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;

    color: #172554;
    text-align: center;
}


/* Hora */

.partits-page .match-hour {
    width: 115px;

    margin: 0;
    padding: 3px 8px 10px;

    box-sizing: border-box;

    background: #f3f4f6;
    border-radius: 0 0 8px 8px;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;

    color: #172554;
    text-align: center;
}


/* Partits jugats */

.partits-page .resultat-card.jugat .match-hour {
    color: #d71920;
}


/* =========================================
   INFORMACIÓ DE LA CATEGORIA
========================================= */

.partits-page .match-extra {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    min-height: 110px;

    padding-left: 24px;

    border-left: 1px solid #e5e7eb;
}


/* Nom de la categoria */

.partits-page .match-extra h3 {
    margin: 0 80px 5px 0;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;

    color: #111827;
}


/* =========================================
   COMPETICIÓ
========================================= */

.partits-page .match-extra .competicio {
    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 500;

    color: #7b8494;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.partits-page .grup {
    font-size: 13px;
    font-weight: 600;
    color: #7b8494;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: left;
}


/* =========================================
   PAVELLÓ
========================================= */

.partits-page .match-venue {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 10px;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;

    color: #172554;
    text-transform: uppercase;
}


/* Icona de localització */

.partits-page .match-venue i {
    flex: 0 0 auto;

    color: #ef1b24;
    font-size: 18px;
}


/* Si no hi ha pavelló, amaguem la línia */

.partits-page .match-venue:has(span:empty) {
    display: none;
}


/* =========================================
   ETIQUETA CASA / FORA
========================================= */

.partits-page .match-extra .match-place {
    position: absolute;

    top: 0;
    right: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 68px;

    margin: 0;
    padding: 8px 16px;

    border-radius: 999px;

    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
}


/* Casa */

.partits-page .match-place.home {
    background: #ffe5e8;
    color: #d71920;
}


/* Fora */

.partits-page .match-place.away {
    background: #eaf1ff;
    color: #1d4ed8;
}


/* =========================================
   TABLET
========================================= */

@media (min-width: 701px) and (max-width: 1100px) {

    .partits-page .resultat-card .match {
        grid-template-columns:
            minmax(150px, 1fr)
            95px
            minmax(150px, 1fr)
            230px;
        gap: 10px;
        padding: 42px 14px 18px;
    }

    .partits-page .team {
        gap: 8px;
        font-size: 14px;
    }

    .partits-page .escut {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .partits-page .match-extra {
        padding-left: 14px;
    }

    .partits-page .match-extra h3 {
        font-size: 21px;
    }

    .partits-page .match-venue {
        font-size: 11px;
    }

    .partits-page .match-date,
    .partits-page .match-hour {
        width: 95px;
    }
}

/* =========================================
   MÒBIL PETIT
========================================= */

@media (max-width: 420px) {

    .partits-page .resultat-card .match {
        grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);

        padding-left: 8px;
        padding-right: 8px;
    }

    .partits-page .team {
        font-size: 11px;
    }

    .partits-page .team span {
        font-size: 11px;
    }

    .partits-page .escut {
        width: 52px;
        height: 52px;

        flex-basis: 52px;
    }

    .partits-page .center {
        width: 82px;
        min-width: 82px;
        max-width: 82px;
    }
    
    .partits-page .match-date,
    .partits-page .match-hour {
        width: 82px;
        font-size: 10px;
    }

    .partits-page .match-extra h3 {
        font-size: 20px;
    }

}

/* ==========================================
   ELIMINAR DOBLE BORDE DE LES TARGETES
========================================== */

/* Targeta principal: només un borde */
.partits-page .resultat-card {
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* El contingut interior no ha de tenir un altre borde */
.partits-page .resultat-card .match {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

/* Evitar línies horitzontals afegides */
.partits-page .resultat-card .match::before,
.partits-page .resultat-card .match::after {
    display: none !important;
    content: none !important;
}

/* =========================================
   MOSTRAR EL NOM COMPLET DELS EQUIPS
========================================= */

/* Noms dels equips sense retallar */
.partits-page .team span {
    display: block;

    min-width: 0;
    max-width: 100%;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;

    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
}

/* El nom pot ocupar diverses línies */
.partits-page .team {
    min-width: 0;
}

/* Equip local */
.partits-page .team.local span {
    flex: 1 1 auto;
    text-align: right;
}

/* Equip visitant */
.partits-page .team.visitant span {
    flex: 1 1 auto;
    text-align: left;
}

/* Evita que els noms llargs deformin la distribució */
.partits-page .team.local,
.partits-page .team.visitant {
    min-width: 0;
}

.partits-page .team.local .escut,
.partits-page .team.visitant .escut {
    flex-shrink: 0;
}

/* =========================================
   MILLORA DATA I HORA
========================================= */

.partits-page .match-date {
    border-top: 3px solid #d71920;
    padding-top: 8px;
}

.partits-page .match-date,
.partits-page .match-hour {
    background: #f1f3f7;
    color: #172554;
    font-weight: 800;
}

/* =========================================
   DISSENY MÒBIL - PARTITS
========================================= */

@media (max-width: 700px) {

    /* Targeta general */

    .partits-page .resultat-card {
        padding: 0;
        overflow: hidden;
        border-radius: 14px;
    }


    /* =====================================
       ESTRUCTURA GENERAL
    ===================================== */

    .partits-page .match.mini-match {
        display: grid;

        grid-template-columns: 1fr 1fr 1fr;

        grid-template-areas:
            "info info info"
            "jornada jornada jornada"
            "local center visitant";

        column-gap: 8px;
        row-gap: 0;

        padding: 0;
    }


    /* =====================================
       INFORMACIÓ SUPERIOR
    ===================================== */

    .partits-page .match-extra {
        grid-area: info;

        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "equip lloc"
            "competicio competicio"
            "pavello pavello";

        align-items: start;

        position: relative;

        margin: 0;
        padding: 18px 20px 14px;

        border-left: 4px solid #d71920;
        border-bottom: 1px solid #e5e9ef;
        border-radius: 0;

        background: #ffffff;
    }


    /* Nom de l'equip */

    .partits-page .match-extra h3 {
        grid-area: equip;

        margin: 0;

        font-size: 23px;
        font-weight: 800;
        line-height: 1.1;

        color: #101f3d;
    }


    /* Competició / grup */

    .partits-page .match-extra .competicio {
        grid-area: competicio;

        margin: 5px 0 0;
        padding: 0;

        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;

        color: #7b8494;
        text-transform: uppercase;
    }


    /* CASA / FORA */

    .partits-page .match-extra .match-place {
        grid-area: lloc;

        align-self: start;
        justify-self: end;

        margin: 0;

        padding: 8px 17px;

        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.3px;

        border-radius: 20px;
    }


    /* Pavelló a la part superior */

    .partits-page .match-extra .match-venue {
        grid-area: pavello;

        display: flex;
        align-items: flex-start;

        min-width: 0;

        margin-top: 13px;
        padding-top: 11px;

        border-top: 1px solid #edf0f4;

        gap: 8px;

        font-size: 11px;
        font-weight: 800;
        line-height: 1.35;

        color: #172554;
        text-align: left;
    }


    .partits-page .match-extra .match-venue i {
        flex: 0 0 auto;

        margin-top: 1px;

        color: #ef1b24;
        font-size: 17px;
    }


    /* =====================================
       JORNADA
    ===================================== */

    .partits-page .partit-jornada {
        grid-area: jornada;

        margin: 14px 0 4px;

        font-size: 12px;
        font-weight: 800;

        color: #6b7280;
        text-align: center;
        text-transform: uppercase;
    }


    /* =====================================
       EQUIPS
    ===================================== */

    .partits-page .team {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        min-width: 0;

        gap: 8px;

        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;

        color: #101f3d;
        text-align: center;
    }


    .partits-page .team.local {
        grid-area: local;
    }


    .partits-page .team.visitant {
        grid-area: visitant;
    }


    /* Tots dos equips: escut a dalt */

    .partits-page .team .escut {
        order: 1;

        width: 58px;
        height: 58px;

        object-fit: contain;
    }


    /* Tots dos equips: nom a sota */

    .partits-page .team span {
        order: 2;

        display: block;
        width: 100%;

        font-size: 12px;
        line-height: 1.25;
        text-align: center;
    }


    /* =====================================
       CENTRE - DATA I HORA
    ===================================== */

    .partits-page .center {
        grid-area: center;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        min-width: 0;
    }


    .partits-page .match-date {
        width: 100%;
        max-width: 88px;

        margin: 0;
        padding: 8px 4px 5px;

        border-top: 3px solid #d71920;
        border-radius: 7px 7px 0 0;

        background: #f1f3f7;
        color: #172554;

        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;

        text-align: center;
    }


    .partits-page .match-hour {
        width: 100%;
        max-width: 88px;

        padding: 5px 4px 8px;

        border-radius: 0 0 7px 7px;

        background: #f1f3f7;
        color: #172554;

        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;

        text-align: center;
    }


    /* Estats especials */

    .partits-page .match-status {
        font-size: 11px;
        font-weight: 800;
        text-align: center;
    }


    /* Espai inferior de la targeta */

    .partits-page .team,
    .partits-page .center {
        padding-bottom: 18px;
    }

}

/* =========================================
   CORRECCIÓ FINAL MÒBIL
========================================= */

@media (max-width: 700px) {

    /* =====================================
       ESTRUCTURA DE LA TARGETA
    ===================================== */

    .partits-page .match.mini-match {
        display: grid !important;

        grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr) !important;

        grid-template-areas:
            "info info info"
            "jornada jornada jornada"
            "local center visitant" !important;

        align-items: start;
        column-gap: 8px;
        row-gap: 0;
    }


    /* =====================================
       INFORMACIÓ SUPERIOR
    ===================================== */

    .partits-page .match-extra {
        grid-area: info !important;

        border-left: 0 !important;
        border-bottom: 1px solid #e5e9ef !important;

        padding: 18px 20px 14px !important;
    }


    /* =====================================
       JORNADA - LÍNIA PRÒPIA
    ===================================== */

    .partits-page .partit-jornada {
        grid-area: jornada !important;
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;

        position: static !important;

        display: block !important;
        width: 100% !important;

        margin: 15px 0 8px !important;
        padding: 0 !important;

        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;

        color: #6b7280 !important;
        text-align: center !important;
        text-transform: uppercase;
    }


    /* =====================================
       EQUIP LOCAL
    ===================================== */

    .partits-page .team.local {
        grid-area: local !important;
        grid-column: 1 !important;
        grid-row: 3 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;

        text-align: center !important;
    }


    /* =====================================
       CENTRE
    ===================================== */

    .partits-page .center {
        grid-area: center !important;
        grid-column: 2 !important;
        grid-row: 3 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;
    }


    /* =====================================
       EQUIP VISITANT
    ===================================== */

    .partits-page .team.visitant {
        grid-area: visitant !important;
        grid-column: 3 !important;
        grid-row: 3 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;

        text-align: center !important;
    }


    /* =====================================
       ESCUTS
    ===================================== */

    .partits-page .team .escut {
        width: 58px !important;
        height: 58px !important;

        object-fit: contain;
        margin: 0 auto 7px !important;
    }


    /* =====================================
       NOMS DELS EQUIPS
    ===================================== */

    .partits-page .team span {
        display: block !important;

        width: 100% !important;
        max-width: 135px !important;

        margin: 0 auto !important;

        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;

        text-align: center !important;
        white-space: normal !important;
        overflow: visible !important;
    }


    /* =====================================
       DATA I HORA
    ===================================== */

    .partits-page .match-date,
    .partits-page .match-hour {
        margin-left: auto !important;
        margin-right: auto !important;

        text-align: center !important;
    }


    /* Espai inferior */

    .partits-page .team,
    .partits-page .center {
        padding-bottom: 18px !important;
    }

}

/* =========================================
   ELIMINAR RAT​​LLES INTERIORS AL MÒBIL
========================================= */

@media (max-width: 700px) {

    /* Treure vores de la targeta */

    .partits-page .resultat-card {
        border: none !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    }

    /* Treure la línia inferior de la zona superior */

    .partits-page .match-extra {
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }

    /* Treure qualsevol línia del bloc del partit */

    .partits-page .match.mini-match {
        border: none !important;
    }

    .partits-page .team,
    .partits-page .center {
        border: none !important;
    }

}

@media (max-width: 700px) {

    .partits-page .match-extra {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .partits-page .match-extra h3,
    .partits-page .match-extra .competicio {
        text-align: left !important;
        width: 100%;
    }

}

/* Estats especials */

.partits-page .match-status {
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.partits-page .match-result {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin-top: 4px;
}

.partits-page .match-result {
        white-space: nowrap !important;
        font-size: 24px !important;
        width: 100%;
        text-align: center;
    }

/* Targeta especial quan l'equip descansa */
.partits-page .resultat-card.descansa .partit-jornada,
.partits-page .resultat-card.descansa .team,
.partits-page .resultat-card.descansa .match-venue,
.partits-page .resultat-card.descansa .match-place {
    display: none !important;
}

.partits-page .resultat-card.descansa .match.mini-match {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px) !important;
    grid-template-areas: "descans info" !important;
    min-height: 125px;
    padding-top: 20px;
}

.partits-page .resultat-card.descansa .center {
    grid-area: descans !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 0 !important;
}

.partits-page .resultat-card.descansa .match-extra {
    grid-area: info !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.partits-page .resultat-card.descansa .match-extra h3 {
    margin-right: 0;
    padding-right: 44px;
}

.partits-page .resultat-card.descansa .match-status {
    padding: 12px 24px;
    border-radius: 8px;
    background: #f1f3f7;
    color: #172554;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

@media (max-width: 700px) {
    .partits-page .resultat-card.descansa .match.mini-match {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "info" "descans" !important;
        min-height: 0;
        padding: 0;
    }

    .partits-page .resultat-card.descansa .match-extra {
        grid-area: info !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "equip" "competicio" "grup" !important;
        padding: 18px 20px 10px !important;
    }

    .partits-page .resultat-card.descansa .match-extra h3 {
        margin: 0 0 5px;
        padding: 0 44px 0 0 !important;
    }

    .partits-page .resultat-card.descansa .grup {
        grid-area: grup;
        margin: 0 0 4px;
    }

    .partits-page .resultat-card.descansa .center {
        grid-area: descans !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        padding: 8px 20px 20px !important;
    }

    .partits-page .resultat-card.descansa .match-status {
        align-self: center !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
}

/* =========================================
   MÒBIL HORITZONTAL
========================================= */

@media (max-width: 700px) and (orientation: landscape) {

    .partits-page .resultat-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .partits-page .match.mini-match {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
        box-sizing: border-box;
    }

    .partits-page .team {
        min-width: 0;
        max-width: 100%;
    }

    .partits-page .team span {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .partits-page .center {
        width: 110px;
        min-width: 110px;
        max-width: 110px;
    }

    .partits-page .match-date,
    .partits-page .match-hour {
        width: 110px;
    }

    .partits-page .match-extra {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   CAPÇALERA PARTITS - MÒBIL
========================================= */

@media (max-width: 700px) {

    /* Distribució de la capçalera */
    .partits-page .match-extra {
        display: grid !important;

        grid-template-columns: minmax(0, 1fr) auto;

        grid-template-areas:
            "equip lloc"
            "competicio competicio"
            "grup grup"
            "pavello pavello";

align-items: start !important;
justify-content: stretch !important;

padding: 18px 20px 14px !important;
    }

    /* Nom de la categoria */
    .partits-page .match-extra h3 {
        grid-area: equip;

        margin: 0 !important;
        padding: 0 !important;

        min-width: 0;
        width: auto !important;
    }

    /* Etiqueta CASA / FORA */
    .partits-page .match-extra .match-place {
        grid-area: lloc;

        position: static !important;

        justify-self: end;
        align-self: start;

        margin: 0 42px 0 10px !important;
    }

    /* Competició */
    .partits-page .match-extra .competicio {
        grid-area: competicio;

        grid-column: 1 / -1;

        width: 100%;
        margin: 5px 0 0 !important;
        padding: 0 !important;
    }

    /* Grup */
    .partits-page .match-extra .grup {
        grid-area: grup;

        grid-column: 1 / -1;

        width: 100%;
        margin: 3px 0 10px !important;

        text-align: left;
    }

    /* Pavelló */
    .partits-page .match-extra .match-venue {
        grid-area: pavello;
        grid-column: 1 / -1;
    }

}
