:root {
    /* ==============================================
       PALETA INSTITUCIONAL BASADA EN PANTONE 326 C
       Color base: #33CC99 (rgb 51, 204, 153)
       Misma tonalidad (160° en HSL), diferentes niveles de luminosidad
    ============================================== */
    
    --fi-verde-base: #33CC99;
    --fi-verde-claro: #8AE0C2;
    --fi-verde-oscuro: #1A8C6E;
    --fi-verde-muy-oscuro: #0D4A3A;
    --fi-verde-extremo: #062A20;   /* 80% más oscuro - para fondos muy profundos */
    --fi-verde-texto: #07382C;
    --fi-gris: #6c757d;
}
html, body {
    margin: 0;
    padding: 0;
}
/* ===============================
   TOPBAR 
================================ */
/* Enlaces en el hero y topbar (sobre fondos oscuros) */
.fi-topbar a,
.fi-hero-text a {
    color: #ffffff;
    text-decoration: none;
}

.fi-topbar a:hover,
.fi-hero-text a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.fi-topbar {
    background-color: var(--fi-verde-muy-oscuro);
    font-size: 0.85rem;
    position: relative;
    z-index: 1050;
}

.fi-contacto-info {
    position: absolute;
    top: 110%;
    left: 0;

    background: #ffffff;
    color: var(--fi-verde-oscuro);
    padding: 10px 14px;
    border-radius: 6px;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 0.85rem;
    font-weight: 500;

    box-shadow: 0 6px 18px rgba(0,0,0,.18);

    max-width: 260px;

    /* Animación */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

    z-index: 2000;
}

.fi-contacto-info i {
    color: var(--fi-verde);
    font-size: 1.1rem;
    margin-top: 2px;
}

.fi-contacto-info.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 576px) {
    .fi-contacto-info {
        position: fixed;
        top: 48px;                 /* justo debajo de la topbar */
        left: 50%;

        transform: translate(-50%, -6px);

        width: calc(100vw - 40px);
        max-width: 300px;

        z-index: 3000;
    }

    .fi-contacto-info.show {
        transform: translate(-50%, 0);
    }
}

/* ===============================
   NAVBAR
================================ */

.fi-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    
    /* Fondo con efecto vidrio más institucional */
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    
    transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
    
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    
    border-bottom: 1px solid rgba(51, 204, 153, 0.15);  /* borde sutil con el color institucional */
}

/* Estado cuando se scrollea */
.fi-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);  /* casi sólido */
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-bottom-color: rgba(51, 204, 153, 0.25);  /* borde más visible al scrollear */
}

/* Links de navegación */
.fi-navbar .nav-link {
    font-weight: 500;
    color: #1a2a2a;  /* gris muy oscuro con un toque verdoso */
    margin-left: 0.5rem;
    transition: color 0.2s ease;
    position: relative;
}

/* Hover de los links */
.fi-navbar .nav-link:hover {
    color: var(--fi-verde-base);  /* #33CC99 */
}

/* Link activo (página actual) */
.fi-navbar .nav-link.active {
    color: var(--fi-verde-oscuro);  /* #1A8C6E */
    font-weight: 600;
}

/* Link activo con indicador sutil (opcional) */
.fi-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: var(--fi-verde-base);
    border-radius: 2px;
}

/* Logo en navbar */
.fi-logo {
    height: 65px;
    transition: height 0.3s ease;
}

.fi-navbar.scrolled .fi-logo {
    height: 52px;  /* logo más compacto al scrollear */
}

/* Marca de texto (si usás texto en lugar de logo) */
.fi-navbar .navbar-brand {
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--fi-verde-muy-oscuro);
    font-weight: 600;
}

.fi-navbar .navbar-brand span {
    font-size: 0.75rem;
    color: var(--fi-verde-oscuro);
    font-weight: normal;
}

/* Responsive: menú mobile */
@media (max-width: 991px) {
    .fi-navbar {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .fi-navbar .navbar-nav {
        align-items: flex-start;
        padding-top: 0.5rem;
    }
    
    .fi-navbar .nav-link {
        padding: 0.6rem 0;
    }
    
    .fi-navbar .nav-link.active::after {
        display: none;  /* sacamos el indicador en mobile */
    }
}

@media (max-width: 576px) {
    .fi-logo {
        height: 42px;
    }
    
    .fi-navbar.scrolled .fi-logo {
        height: 38px;
    }
}

/* Botón webmail (navbar) */
.btn-webmail {
    background: var(--fi-verde-base);
    color: #ffffff !important;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-webmail:hover {
    background: var(--fi-verde-oscuro);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


@media (max-width: 991px) {
    .btn-webmail {
        display: inline-flex;
        width: fit-content;
        margin-top: .5rem;

        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

.fi-navbar.scrolled .btn-webmail {
    box-shadow: none;
}

/* ===============================
   DROPDOWN INSTITUCIONAL
================================ */

.fi-dropdown {
    display: block;                 /* 🔑 evita el display:none de Bootstrap */
    opacity: 0;                     /* invisible */
    visibility: hidden;             /* no clickeable */
    transform: translateY(-6px);    /* un poco más arriba */
    
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    border-radius: 6px;
    border: none;
    padding: 0.4rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    min-width: 260px;
}


.fi-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.fi-dropdown .dropdown-item {
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
    color: #333;
    transition: background-color .2s ease, padding-left .2s ease;
}

.fi-dropdown .dropdown-item:hover {
    background-color: #f1f7f6;
    color: var(--fi-verde-oscuro);
    padding-left: 1.4rem;
}
.fi-dropdown .dropdown-divider {
    margin: 0.35rem 0;
    border-top: 1px solid #e2e8e6;
}

/* ===============================
   CONTENIDO
================================ */
main {
    min-height: 60vh;
}

/* ===============================
   HERO 
================================ */

.fi-hero {
    position: relative;
    margin-top: -2px;
}

/* Slide */
.fi-hero-slide {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay institucional */
.fi-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 74, 58, 0.85) 0%,      /* var(--fi-verde-muy-oscuro) en RGB */
        rgba(13, 74, 58, 0.55) 35%,
        rgba(26, 140, 110, 0.25) 55%,   /* var(--fi-verde-oscuro) más suave */
        rgba(51, 204, 153, 0.08) 70%,   /* var(--fi-verde-base) muy sutil */
        rgba(51, 204, 153, 0) 100%
    );
    z-index: 1;
}

/* Contenido */
.fi-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 0 110px 10%;
    z-index: 2;
}

/* Texto */
.fi-hero-text {
    max-width: 640px;
}

.fi-hero-text h2 {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.fi-hero-text h2 span {
    font-weight: 700;
    opacity: 0.95;
}

.fi-hero-text p {
    color: #f1f1f1;
    font-size: 1.1rem;
    margin-bottom: 22px;
}

/* Botón del hero */
.fi-btn-hero {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 26px;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fi-btn-hero:hover {
    background: #ffffff;
    color: var(--fi-verde-muy-oscuro);
}

/* Controles del carousel */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .fi-hero-slide {
        min-height: 440px;
    }

    .fi-hero-content {
        padding: 0 40px 70px;
    }

    .fi-hero-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .fi-hero-slide {
        min-height: 360px;
    }

    .fi-hero-content {
        padding: 0 20px 40px;
    }

    .fi-hero-text h2 {
        font-size: 1.55rem;
    }

    .fi-hero-text p {
        font-size: 0.95rem;
    }
}

/* ================================================================
   SECCIÓN DE ACCESOS RÁPIDOS - TARJETAS HOME
   ================================================================ */

#cards-section {
    margin-top: -65px;
    position: relative;
    z-index: 10;
}

/* Base de la tarjeta */
.custom-card {
    position: relative;
    background: white;
    padding: 30px 18px 26px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    z-index: 1;
}

/* Título de la tarjeta */
.custom-card h5 {
    position: relative;
    padding-right: 24px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 12px 0 18px;
    transition: color 0.25s ease;
}

.custom-card:hover h5 {
    color: rgba(255, 255, 255, 0.9);
}

/* Logo / icono circular */
.card-logo {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.card-logo i {
    font-size: 42px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.custom-card:hover .card-logo {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.custom-card:hover .card-logo i {
    transform: scale(1.1);
}

/* Enlace envolvente (toda la tarjeta cliqueable) */
.card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link-wrapper:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.card-link-wrapper:hover .custom-card {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-link-wrapper:hover h5 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Flecha sutil */
.card-arrow {
    position: absolute;
    right: 8px;
    bottom: 0;
    font-size: 1.2em;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-link-wrapper:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Gradientes institucionales */
.custom-grad-1,
.custom-grad-4 {
    background: linear-gradient(135deg, #2BBF8A, #1A8C6E);
}

.custom-grad-2,
.custom-grad-5 {
    background: linear-gradient(135deg, #33CC99, #1A8C6E);
}

.custom-grad-3,
.custom-grad-6 {
    background: linear-gradient(135deg, #1A8C6E, #0D4A3A);
}

/* Bordes redondeados laterales */
.custom-grad-1 {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.custom-grad-6 {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

@media (max-width: 991px) {
    .custom-grad-1,
    .custom-grad-6 {
        border-radius: 0;
    }
}

/* Pseudo-elementos decorativos de fondo (iconos grandes) */
.custom-grad-1::before,
.custom-grad-2::before,
.custom-grad-3::before,
.custom-grad-4::before,
.custom-grad-5::before,
.custom-grad-6::before {
    font-family: "bootstrap-icons";
    font-style: normal;
    font-weight: normal;
    position: absolute;
    font-size: 180px;
    color: rgba(255,255,255,0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.custom-grad-1::before { content: "\F307"; } /* door */
.custom-grad-2::before { content: "\F6FE"; } /* mortarboard */
.custom-grad-3::before { content: "\F1CC"; } /* briefcase */
.custom-grad-4::before { content: "\F4D0"; } /* people */
.custom-grad-5::before { content: "\F3D8"; } /* folder open */
.custom-grad-6::before { content: "\F456"; } /* laptop */

/* Overlay sutil para mejorar contraste en tarjetas claras */
.custom-grad-1::after,
.custom-grad-4::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    border-radius: inherit;
}

/* ================================================================
   SECCIÓN ACTUALIDAD (HOME)
   ================================================================ */

.fi-actualidad {
    background-color: rgba(51, 204, 153, 0.05);  /* 5% de nuestro verde institucional */
}

/* Hover para las tarjetas de noticias en home */
.fi-actualidad .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fi-actualidad .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Hover para el título de la noticia */
.fi-actualidad .card-title a:hover {
    color: var(--fi-verde-base) !important;
}

/* Enlaces institucionales generales */
.fi-link {
    color: var(--fi-verde-oscuro);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fi-link:hover {
    color: var(--fi-verde-base);
    text-decoration: underline;
}


/* -------------------------------------------------------------
   5. SECCIÓN INSTITUCIONAL
------------------------------------------------------------- */

#institucional { background: #f8f9fa; }

.institucional-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #003c44;
}
.institucional-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
/* Botón institucional (sección "La Facultad") */
.btn-institucional {
    background: transparent;
    border: 2px solid var(--fi-verde-base);
    color: var(--fi-verde-base);
    transition: all 0.25s ease;
}

.btn-institucional:hover {
    background: var(--fi-verde-base);
    color: #ffffff;
}

.institucional-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.institucional-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 991px) {
    .institucional-row {
        min-height: auto;
    }

    .institucional-img-wrapper {
        height: 260px;
        margin-top: 20px;
    }
}


/* ================================================================
   SECCIÓN DE MÉTRICAS INSTITUCIONAL
   ================================================================ */

.fi-metricas {
    background: linear-gradient(135deg, #0a2a25, #0d1f1c);
    /* Gradiente basado en el verde muy oscuro institucional */
    color: #ffffff;
    padding: 3rem 0;
}

.metrica-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.metrica-icon {
    font-size: 2.2rem;
    color: var(--fi-verde-base);  /* #33CC99 - institucional puro */
    margin-bottom: 8px;
    transition: transform 0.25s ease;
}

.metrica-item:hover .metrica-icon {
    transform: translateY(-4px);  /* efecto sutil al hover */
}

.metrica-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--fi-verde-base);  /* #33CC99 */
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.metricas-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    /* max-width: 400px; */
    /* text-align: center; */
    /* line-height: 1.4; */
    margin-bottom: 1.0rem;
}

/* Botón de métricas */
.btn-metrica {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    border-radius: 40px;
    background: var(--fi-verde-base);  /* #33CC99 */
    color: #0a2a25;  /* texto oscuro que combina con el fondo */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-metrica:hover {
    background: var(--fi-verde-oscuro);  /* #1A8C6E - derivado oscuro */
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-metrica i {
    transition: transform 0.2s ease;
}

.btn-metrica:hover i {
    transform: translateX(3px);
}


/* ===============================
   FOOTER INSTITUCIONAL FI
================================ */

.fi-footer {
    background: linear-gradient(180deg, var(--fi-verde-muy-oscuro), var(--fi-verde-extremo));
    color: #ffffff;
    font-size: 0.9rem;
}
/* LOGO */
.fi-footer-logo {
    max-width: 180px;
    height: auto;
}

/* TEXTO */
.fi-footer-text {
    opacity: 0.9;
    line-height: 1.4;
}

/* TITULOS */
.fi-footer-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* LISTA */
.fi-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fi-footer-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: start;
    gap: 8px;
}

.fi-footer-list i {
    color: var(--fi-verde-claro);  
    font-size: 1rem;
    margin-top: 2px;
}

/* REDES */
.fi-footer-redes a {
    color: #ffffff;
    font-size: 1.4rem;
    margin-right: 14px;
    transition: opacity 0.2s ease;
}

.fi-footer-redes a:hover {
    opacity: 0.7;
}

/* BANDA INFERIOR */
.fi-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.8rem;
    padding: 12px 0;
    margin-top: 0 rem;
}

/* ===============================
   SUBMENÚS ANIDADOS 
================================ */

/* Estilo base para el contenedor del submenú */
/* Posiciona el submenú a la derecha y lo hace visible al hover */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;          /* desplaza a la derecha */
    right: auto;
    margin-top: 0;
    margin-left: 0.125rem;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    border: none;
    padding: 0.4rem 0;
    min-width: 220px;

    /* Asegura que se muestre al hacer hover */
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* ================================================================
   PÁGINAS DE AUTORIDADES
   ================================================================ */

/* Tarjetas de secciones de autoridades */
.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.card-title {
    color: var(--fi-verde-oscuro);
    font-weight: 600;
}

/* Intro de autoridades */
.fi-intro {
    color: var(--fi-verde-texto);
    line-height: 1.6;
}

.fi-intro a {
    color: var(--fi-verde-oscuro);
    text-decoration: underline;
}

.fi-intro a:hover {
    color: var(--fi-verde-base);
}

/* Imagen por defecto cuando no hay imagen */
.fi-placeholder-icon {
    background: linear-gradient(135deg, var(--fi-verde-claro), var(--fi-verde-base));
    color: white;
}

/* ================================================================
   BLOQUE DE AUTORIDADES - AuthoritySectionBlock
   ================================================================ */

/* Contenedor principal */
.authority-section {
    margin-bottom: 3rem;
}

/* Título de sección */
.authority-section .section-title {
    color: var(--fi-verde-muy-oscuro);
    border-left: 4px solid var(--fi-verde-base);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Descripción */
.authority-section .section-description {
    color: var(--fi-verde-texto);
    line-height: 1.6;
}

/* Tarjetas - efecto hover */
.authority-section .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    border-radius: 16px;
    background: white;
}

.authority-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Nombre de la autoridad */
.authority-section .card-title {
    color: var(--fi-verde-oscuro);
    font-weight: 600;
}

/* Cargo */
.authority-section .card-subtitle {
    color: var(--fi-verde-base);
    font-weight: 500;
}

/* Bio */
.authority-section .card-text {
    color: var(--fi-verde-texto);
}

/* Estilo para lista */
.authority-section .list-group-item {
    border-left: 3px solid var(--fi-verde-base);
    transition: background-color 0.2s ease;
}

.authority-section .list-group-item:hover {
    background-color: rgba(51, 204, 153, 0.05);
}

/* Estilo para tarjetas horizontales */
.authority-section .row.mb-4 {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.authority-section .row.mb-4:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Separadores */
.authority-section hr {
    border-color: rgba(51, 204, 153, 0.15);
}

/* ================================================================
   PÁGINAS DE NOTICIAS
   ================================================================ */

/* Tarjetas de noticias en el índice */
.news-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 16px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.news-card .card-title a {
    transition: color 0.2s ease;
}

.news-card .card-title a:hover {
    color: var(--fi-verde-base) !important;
}

/* Contenido de noticia */
.news-content h2 {
    color: var(--fi-verde-oscuro);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.news-content p {
    color: var(--fi-verde-texto);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.news-content img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Citas */
.news-quote {
    background: rgba(51, 204, 153, 0.05);
    border-left: 4px solid var(--fi-verde-base);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.news-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--fi-verde-oscuro);
    margin-bottom: 0.5rem;
}

.news-quote footer {
    color: var(--fi-verde-base);
}

/* ================================================================
   PÁGINAS DE CARRERAS Y ASIGNATURAS
   ================================================================ */

/* Enlaces laterales - hover */
.career-sidebar-link {
    border-left: 3px solid var(--fi-verde-base);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.career-sidebar-link:hover {
    background-color: rgba(51, 204, 153, 0.05);
    transform: translateX(4px);
}

/* Asignaturas - list group */
.subject-list-item {
    border-left: 3px solid var(--fi-verde-base);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.subject-list-item:hover {
    background-color: rgba(51, 204, 153, 0.05);
    transform: translateX(4px);
}

/* Badges institucionales */
.badge-fi {
    background: var(--fi-verde-base);
    color: #0a2a25;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-fi-light {
    background: rgba(51, 204, 153, 0.15);
    color: var(--fi-verde-oscuro);
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
/* ================================================================
   BLOQUES DE DOCENTES
   ================================================================ */

/* Contenedor de calendario */
.calendar-container {
    background: rgba(51, 204, 153, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
}

.calendar-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tarjeta de enlace */
.link-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Icono circular de enlace */
.link-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--fi-verde-claro), var(--fi-verde-base));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.link-icon-circle i {
    color: white;
    font-size: 2rem;
}

/* ================================================================
   BLOQUES DE INGRESANTES 
   ================================================================ */

/* Tarjetas de pasos */
.step-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Número de paso circular */
.step-number-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--fi-verde-base), var(--fi-verde-oscuro));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* Pestañas institucionales */
.fi-tabs .nav-link.active {
    color: var(--fi-verde-base);
    border-bottom: 2px solid var(--fi-verde-base);
}