/* /Layout/LayoutExt.razor.rz.scp.css */
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-6b76cvsixz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6b76cvsixz] {
    flex: 1;
}

.sidebar[b-6b76cvsixz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #1E2A52 0%);
}

.top-row[b-6b76cvsixz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6b76cvsixz]  a, .top-row[b-6b76cvsixz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-6b76cvsixz]  a:hover, .top-row[b-6b76cvsixz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6b76cvsixz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6b76cvsixz] {
        justify-content: space-between;
    }

    .top-row[b-6b76cvsixz]  a, .top-row[b-6b76cvsixz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6b76cvsixz] {
        flex-direction: row;
    }

    .sidebar[b-6b76cvsixz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6b76cvsixz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6b76cvsixz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6b76cvsixz], article[b-6b76cvsixz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4zpjp4al63] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4zpjp4al63] {
    height: 3.5rem;
    /*background-color: rgba(0,0,0,0.4);*/
}

.navbar-brand[b-4zpjp4al63] {
    font-size: 1.1rem;
}

.bi[b-4zpjp4al63] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-4zpjp4al63] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-4zpjp4al63] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-4zpjp4al63] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-4zpjp4al63] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4zpjp4al63] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4zpjp4al63] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4zpjp4al63]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-4zpjp4al63]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-4zpjp4al63]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4zpjp4al63] {
        display: none;
    }

    .collapse[b-4zpjp4al63] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-4zpjp4al63] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Externo/Home/Footer.razor.rz.scp.css */
/* ================================
   FOOTER - ESTILOS DESKTOP
================================= */
*[b-mfrq6kalm0] {
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}
.footer-container[b-mfrq6kalm0] {
    background: #D8DBE2; /* gris corporativo */
    padding: 25px 15px;
}

.footer-row[b-mfrq6kalm0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logos img[b-mfrq6kalm0] {
    max-height: 55px;
}

.footer-copy[b-mfrq6kalm0] {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    color: #1E2A52;
    margin: 0;
}

.footer-title[b-mfrq6kalm0] {
    font-weight: 800;
    color: #1E2A52;
    margin-bottom: 4px;
}

.footer-link[b-mfrq6kalm0] {
    color: #1E2A52;
    text-decoration: underline;
    font-size: 0.85rem;
}

.plus[b-mfrq6kalm0] {
    color: #D62828;
    font-weight: 900;
}


/* ================================
   FOOTER - MÓVIL (corrección total)
================================= */
@media (max-width: 576px) {

    /* Mantener footer centrado como ya lo tienes */
    .footer-row[b-mfrq6kalm0] {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-logos[b-mfrq6kalm0] {
        justify-content: center !important;
    }

    /* ---- NUEVO: LINKS EN DOS COLUMNAS ---- */
    .footer-links[b-mfrq6kalm0] {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: start !important;
        width: 100%;
        padding: 0 20px; /* separa de los bordes */
        text-align: left; /* cada bloque a la izquierda */
        gap: 0 !important;
    }

    .footer-block[b-mfrq6kalm0] {
        width: 50%; /* cada bloque ocupa la mitad */
    }

        .footer-block p[b-mfrq6kalm0],
        .footer-block a[b-mfrq6kalm0] {
            text-align: left !important; /* alineación correcta dentro de la columna */
        }
}

/* /Pages/Externo/Home/Header.razor.rz.scp.css */
*[b-920denvm8o] {
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}
/* ======================================
   HEADER GENERAL (WEB - ESCRITORIO)
======================================= */

/* Fila principal del header */
.header-row[b-920denvm8o] {
    display: flex;
    justify-content: space-between;
}

/* Tamaño de logos en escritorio */
.header-logos img[b-920denvm8o] {
    max-height: 95px; /* tamaño corporativo */
}

/* Separación entre logos en escritorio */
.header-logos[b-920denvm8o] {
    gap: 25px;
}

/* Tamaño del ícono "usuario" en escritorio */
.header-login img[b-920denvm8o],
.icon48[b-920denvm8o] {
    width: 42px;
    height: 42px;
}

/* Tamaño del botón login en escritorio */
.login-btn-custom[b-920denvm8o] {
    padding: 6px 18px;
    font-size: 0.90rem;
}


/* ======================================
   ESTILOS SOLO PARA MÓVIL
======================================= */
@media (max-width: 576px) {

    /* Logos más pequeños solo en móvil */
    .header-logos img[b-920denvm8o] {
        max-height: 48px !important;
    }

    /* Espaciado reducido solo en móvil */
    .header-logos[b-920denvm8o] {
        gap: 10px !important;
    }

    /* Icono usuario más pequeño */
    .header-login img[b-920denvm8o],
    .icon48[b-920denvm8o] {
        width: 32px !important;
        height: 32px !important;
    }

    /* Botón login compacto en móvil */
    .login-btn-custom[b-920denvm8o] {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }

    /* Ajuste de posición en móvil */
    .header-login[b-920denvm8o] {
        justify-content: end !important;
        gap: 5px !important;
    }
}
/* /Pages/Externo/Home/Noticias.razor.rz.scp.css */
*[b-92lrsykx0v] {
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}
/* CONTENEDOR GENERAL */
.noticias-wrapper[b-92lrsykx0v] {
    position: relative;
    padding-top: 40px; /* antes 120px → demasiado */
    padding-bottom: 200px;
    background: white;
}


/* FRANJA AZUL */
.noticias-bg[b-92lrsykx0v] {
    background: #1E2A52;
    position: absolute;
    top: 350px; /* BAJADO -> fondo azul empieza más abajo */
    left: 0;
    width: 100%;
    height: 380px; /* Aumentado -> fondo azul llega más debajo de las tarjetas */
    z-index: 0;
}

/* TÍTULO */
.noticias-title[b-92lrsykx0v] {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: #1E2A52;
    margin-bottom: 100px; /* espacio grande como el mockup */
    position: relative;
    z-index: 2;
}

/* TARJETA */
.noticia-card[b-92lrsykx0v] {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    z-index: 3;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* IMAGEN */
.noticia-imagen[b-92lrsykx0v] {
    height: 230px;
    width: 100%;
    object-fit: contain;
    background: white;
    padding: 15px;
}

/* CINTA VERDE */
.badge-actualizado[b-92lrsykx0v] {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #7cbf32;
    color: white;
    padding: 6px 22px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 14px;
    z-index: 4;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

/* TITULO NOTICIA */
.noticia-titulo[b-92lrsykx0v] {
    font-size: 1rem;
    font-weight: 900;
    color: #1E2A52;
    text-align: center;
    margin-top: 12px;
}

/* TEXTO */
.noticia-descripcion[b-92lrsykx0v] {
    font-size: 0.9rem;
    min-height: 85px;
    margin-bottom: 12px;
    color: #444;
}

/* Hacer que el body sea flex vertical para alinear el botón abajo */
.noticia-body[b-92lrsykx0v] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Asegurar que la descripción ocupe espacio y empuje hacia abajo */
.noticia-descripcion[b-92lrsykx0v] {
    flex-grow: 1; /* toma todo el espacio disponible */
}

/* VER MÁS siempre abajo a la derecha */
.ver-mas[b-92lrsykx0v] {
    align-self: flex-end; /* derecha */
    margin-top: auto; /* empujado hacia abajo */
    color: #1E2A52;
    font-weight: 900;
    text-decoration: none;
}

    .ver-mas:hover[b-92lrsykx0v] {
        text-decoration: underline;
    }

/* VER MÁS */
.ver-mas[b-92lrsykx0v] {
    color: #1E2A52;
    font-weight: 900;
    text-decoration: none;
}

    .ver-mas:hover[b-92lrsykx0v] {
        text-decoration: underline;
    }
/* /Pages/Externo/Home/Slider.razor.rz.scp.css */
/* Eliminar rectángulo feo que aparece sobre las flechas */
.carousel-control-prev[b-j72zqx644a],
.carousel-control-next[b-j72zqx644a] {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Eliminar rectángulo interno aplicado por SB Admin 2 */
.carousel-control-prev-icon[b-j72zqx644a],
.carousel-control-next-icon[b-j72zqx644a] {
    background-color: transparent !important; /* Quita el cuadro */
    width: 2.5rem;
    height: 2.5rem;
}

/* Forzar flechas Bootstrap 5 reales */
.carousel-control-prev-icon[b-j72zqx644a] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon[b-j72zqx644a] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L9.293 7l-4.647 4.646a.5.5 0 0
}
@media (max-width: 600px) {

    .slider-img[b-j72zqx644a] {
        max-height: 180px; /* Menor altura en pantallas pequeñas */
        object-fit: cover;
    }
}

