/* =========================
   HEADER INSTITUCIONAL UCT
========================= */

.uct-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.uct-topbar {
    background: linear-gradient(128deg,#048FD4 15%,#0086CA 74%);
}

.uct-topbar-inner {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.uct-top-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.uct-top-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 9px 14px;
    border-right: 1px solid rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.uct-top-links a:last-child {
    border-right: none;
}

.uct-live-icon {
    width: 14px;
    margin-right: 5px;
}

.uct-social {
    display: flex;
    gap: 16px;
    margin-left: 20px;
}

.uct-social a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.uct-mainbar {
    background: #fff;
}

.uct-mainbar-inner {
    max-width: 1700px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uct-brand img {
    height: 70px;
    width: auto;
}

.uct-main-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.uct-main-menu a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.uct-main-menu a:hover {
    color: #048FD4;
}

.uct-menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .uct-topbar-inner {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .uct-top-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .uct-top-links a {
        font-size: 10px;
        padding: 6px 8px;
    }

    .uct-social {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }

    .uct-menu-toggle {
        display: block;
    }

    .uct-mainbar-inner {
        position: relative;
    }

    .uct-main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

    .uct-main-menu.open {
        display: flex;
    }

    .uct-main-menu a {
        width: 100%;
        padding: 15px 20px;
        border-top: 1px solid #eee;
    }
}

/* =========================
   Mﾃ天IL
========================= */

@media (max-width: 480px) {

    .uct-brand img {
        height: 50px;
    }

    .uct-top-links a {
        font-size: 9px;
        padding: 5px 6px;
    }

    .uct-live-icon {
        width: 10px;
        margin-right: 3px;
    }

    .uct-social {
        gap: 10px;
    }

    .uct-social a {
        font-size: 12px;
    }
}

/* En móvil Menu Hamburguesa*/
@media (max-width: 1100px) {

    .uct-menu-toggle {
        display: none !important;
    }

    .uct-main-menu {
        display: flex !important;
        position: static !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        gap: 0 !important;
    }

    .uct-main-menu .nav-links,
    .uct-main-menu .location-btn {
        display: none !important;
    }

    .uct-main-menu > div {
        display: flex !important;
        align-items: center !important;
    }

    .uct-main-menu .menu-wrapper {
        display: block !important;
        position: relative !important;
    }

    .uct-main-menu .menu-btn {
        display: flex !important;
    }
}