/*
 * =====================================================
 * EEL LIVE
 * ENCABEZADO GENERAL MEDIANTE IMAGEN + TEXTO LIVE
 * =====================================================
 *
 * Todas las pantallas utilizan:
 *
 * /live-test/assets/logo.png
 *
 * Para cambiar el logo principal en todo EEL,
 * solamente hay que reemplazar logo.png.
 */


/* =====================================================
 * VARIABLES
 * ===================================================== */

:root {
    --eel-header-bg: #102536;
    --eel-border: #31516a;
    --eel-green: #00d65f;
}


/* =====================================================
 * ENCABEZADO
 * ===================================================== */

.eel-brand-header {
    width: 100%;
    background: var(--eel-header-bg);
    border-bottom: 1px solid var(--eel-border);
}


.eel-brand-inner {
    width: min(1400px, calc(100% - 32px));
    min-height: 145px;
    margin: 0 auto;
    padding: 14px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}


/* =====================================================
 * BLOQUE IZQUIERDO
 * LOGO + TEXTO LIVE
 * ===================================================== */

.eel-brand-main {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    flex: 1 1 auto;
}


/* =====================================================
 * CONTENEDOR DEL LOGO
 * ===================================================== */

.eel-brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex: 0 1 auto;
    min-width: 0;
    text-decoration: none;
}


/* =====================================================
 * IMAGEN LOGO
 * ===================================================== */

.eel-brand-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 128px;

    object-fit: contain;
    object-position: left center;
}


/* =====================================================
 * TEXTO LIVE
 * ===================================================== */

.eel-brand-live-text {
    color: var(--eel-green);

    font-family:
        Arial Black,
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(3.3rem, 7vw, 5.8rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.04em;
    text-transform: uppercase;
    white-space: nowrap;
}


/* =====================================================
 * ZONA DERECHA
 * ===================================================== */

.eel-brand-actions {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 10px;
}


/* =====================================================
 * VERSIÓN COMPACTA
 * ===================================================== */

.eel-brand-header.eel-brand-compact .eel-brand-inner {
    min-height: 120px;
}


.eel-brand-header.eel-brand-compact .eel-brand-logo-image {
    max-height: 100px;
}


.eel-brand-header.eel-brand-compact .eel-brand-live-text {
    font-size: clamp(2.7rem, 6vw, 4.6rem);
}


/* =====================================================
 * TABLET / MOBILE
 * ===================================================== */

@media (max-width: 760px) {

    .eel-brand-inner {
        min-height: auto;
        padding: 12px 0;

        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }


    .eel-brand-main {
        width: 100%;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }


    .eel-brand-logo {
        justify-content: center;
        width: 100%;
    }


    .eel-brand-logo-image {
        max-height: 104px;
        object-position: center;
    }


    .eel-brand-live-text {
        font-size: clamp(2.6rem, 11vw, 4rem);
        text-align: center;
        width: 100%;
    }


    .eel-brand-actions {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
}


/* =====================================================
 * CELULARES ANGOSTOS
 * ===================================================== */

@media (max-width: 430px) {

    .eel-brand-inner {
        width: calc(100% - 20px);
        padding: 10px 0;
    }


    .eel-brand-main {
        gap: 10px;
    }


    .eel-brand-logo-image {
        max-height: 86px;
    }


    .eel-brand-live-text {
        font-size: 2.7rem;
    }
}