/**
 * UNC Core Functions v1.5.22
 * Egresados
 *
 * Banner como cabecera visual.
 * Accesos rapidos tipo tabs.
 * Contenido administrado por paneles.
 * Ajustes limitados exclusivamente a Egresados.
 */

/* ---------------------------------------------------------
 * 1. El banner institucional reemplaza visualmente el hero.
 * Los datos del hero permanecen intactos en administracion.
 * --------------------------------------------------------- */
body.page-id-296
main.unc-egresados-page
> .unc-egresados-hero {
    display: none !important;
}

/* ---------------------------------------------------------
 * 2. Banner principal de Egresados.
 * --------------------------------------------------------- */
body.page-id-296
main.unc-egresados-page
> .unc-banner-slider-wrap {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto 24px;
}

/* ---------------------------------------------------------
 * 3. Navegacion principal / accesos rapidos.
 * --------------------------------------------------------- */
body.page-id-296
main.unc-egresados-page
> .unc-egresados-index {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto 30px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: #167347;
    border: 1px solid rgba(6, 78, 43, 0.12);
    border-radius: 20px;
    box-shadow:
        0 16px 34px rgba(3, 61, 34, 0.10),
        0 3px 10px rgba(3, 61, 34, 0.05);
}

body.page-id-296
main.unc-egresados-page
> .unc-egresados-index
a {
    position: relative;
    min-width: 0;
    min-height: 78px;
    margin: 0;
    padding: 15px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff;
    background: #064e2b;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    text-align: left;
    line-height: 1.2;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

body.page-id-296
main.unc-egresados-page
> .unc-egresados-index
a:hover {
    color: #ffffff;
    background: #08733f;
}

body.page-id-296
main.unc-egresados-page
> .unc-egresados-index
a.is-active {
    color: #ffffff;
    background: #075b34;
    box-shadow: inset 0 -4px 0 #f28c28;
}

body.page-id-296
main.unc-egresados-page
> .unc-egresados-index
a:focus-visible {
    z-index: 2;
    outline: 3px solid #b8ef25;
    outline-offset: -4px;
}

body.page-id-296
.unc-egresados-tab-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8ef25;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

body.page-id-296
.unc-egresados-tab-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-id-296
.unc-egresados-index
a:hover
.unc-egresados-tab-icon,
body.page-id-296
.unc-egresados-index
a.is-active
.unc-egresados-tab-icon {
    color: #c7f635;
    transform: translateY(-1px);
}

body.page-id-296
.unc-egresados-tab-label {
    min-width: 0;
    display: block;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
 * 4. El bloque antiguo "Rutas principales" queda sustituido
 * por la barra superior. No se eliminan sus datos.
 * --------------------------------------------------------- */
body.page-id-296
main.unc-egresados-page
> .unc-egresados-quick-section {
    display: none !important;
}

/* ---------------------------------------------------------
 * 5. Contenido principal.
 * --------------------------------------------------------- */
body.page-id-296
main.unc-egresados-page
> .unc-egresados-section {
    width: min(1220px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

body.page-id-296
main.unc-egresados-page.unc-egresados-tabs-ready
> .unc-egresados-section[hidden] {
    display: none !important;
}

body.page-id-296
main.unc-egresados-page.unc-egresados-tabs-ready
> .unc-egresados-section.is-active {
    animation: uncEgresadosPanelIn 220ms ease-out both;
}

@keyframes uncEgresadosPanelIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
 * 6. Solo se oculta el copyright intermedio del tema Hello
 * en Egresados. El footer institucional UNC permanece.
 * --------------------------------------------------------- */
body.page-id-296
footer#site-footer.site-footer.footer-has-copyright {
    display: none !important;
}

/* ---------------------------------------------------------
 * 7. Responsive.
 * --------------------------------------------------------- */
@media (max-width: 1180px) {
    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index
    a {
        min-height: 74px;
    }
}

@media (max-width: 760px) {
    body.page-id-296
    main.unc-egresados-page
    > .unc-banner-slider-wrap,
    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index,
    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-section {
        width: min(100% - 24px, 1220px);
    }

    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 16px;
        margin-bottom: 22px;
    }

    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index
    a {
        min-height: 70px;
        justify-content: flex-start;
        padding: 13px 14px;
    }

    body.page-id-296
    .unc-egresados-tab-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
}

@media (max-width: 460px) {
    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index {
        grid-template-columns: 1fr;
    }

    body.page-id-296
    main.unc-egresados-page
    > .unc-egresados-index
    a {
        min-height: 61px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-296
    main.unc-egresados-page.unc-egresados-tabs-ready
    > .unc-egresados-section.is-active {
        animation: none;
    }

    body.page-id-296
    .unc-egresados-index
    a,
    body.page-id-296
    .unc-egresados-tab-icon {
        transition: none;
    }
}
