/* =============================================================
   Bakbak One — font-face local
   ============================================================= */
@font-face {
    font-family: 'Bakbak One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('src/fonts/bakbak-one/BakbakOne-Regular-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bakbak One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('src/fonts/bakbak-one/BakbakOne-Regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================
   Sección Partidos — CDMX Mundial 2026
   ============================================================= */
.cdmx-partidos {
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background-color: #1a3d2b;
    min-height: 34.81rem;
}

.cdmx-partidos__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cdmx-partidos__inner {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 8rem;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem 3rem;
    min-height: 34.81rem;
}

/* ---- Contenido central ---- */
.cdmx-partidos__title {
    font-family: 'Bakbak One', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin: 0 0 1.25rem 0;
    line-height: normal;
    letter-spacing: 0;
}

.cdmx-partidos__tabla {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    min-height: 24.3125rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cdmx-partidos__subtitulo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0 0 1rem 0;
}

.cdmx-partidos__fila {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cdmx-partidos__fila:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cdmx-partidos__fila-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cdmx-partidos__balon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.cdmx-partidos__rival {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
    color: #fff;
    flex: 1;
    min-width: 160px;
    text-transform: uppercase;
}

.cdmx-partidos__fecha,
.cdmx-partidos__hora {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
    color: #fff;
    white-space: nowrap;
}

.cdmx-partidos__sede {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 1.5rem;
    margin-top: 3px;
}

/* ---- Decoración derecha ---- */
.cdmx-partidos__deco {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cdmx-partidos__deco img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cdmx-partidos__inner {
        grid-template-columns: 1fr;
    }

    .cdmx-partidos__deco {
        display: none;
    }
}

@media (max-width: 768px) {
    .cdmx-partidos__inner {
        grid-template-columns: 1fr;
        padding: 3rem 1.25rem;
        gap: 1.5rem;
        align-items: start;
    }

    .cdmx-partidos__title {
        font-size: 2.25rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .cdmx-partidos__tabla {
        padding: 1.25rem 1rem;
        min-height: auto;
        gap: 0;
    }

    .cdmx-partidos__subtitulo {
        font-size: 1rem;
        white-space: normal;
        margin-bottom: 0.75rem;
    }

    .cdmx-partidos__fila {
        padding: 0.75rem 0;
    }

    .cdmx-partidos__fila-top {
        flex-wrap: wrap;
        gap: 0.3rem 0.5rem;
        align-items: flex-start;
    }

    .cdmx-partidos__rival {
        font-size: 1rem;
        min-width: 0;
        flex-basis: calc(100% - 26px);
    }

    .cdmx-partidos__fecha,
    .cdmx-partidos__hora {
        font-size: 0.875rem;
        padding-left: 1.5rem;
    }

    .cdmx-partidos__sede {
        padding-left: 1.5rem;
        margin-top: 2px;
    }
}

@media (max-width: 400px) {
    .cdmx-partidos__title {
        font-size: 1.75rem;
    }

    .cdmx-partidos__subtitulo {
        font-size: 0.875rem;
    }

    .cdmx-partidos__rival {
        font-size: 0.875rem;
    }
}
