/**
 * @file
 * Subtheme specific CSS.
 */


/* Quita el subrayado, el color azul por defecto y el estilo de enlace */
a, 
a:hover, 
a:focus, 
a:visited, 
a:active {
  text-decoration: none !important; /* Elimina el subrayado y cualquier línea decorativa */
/*  color: inherit !important; */          /* Hereda el color del texto del elemento padre */
  outline: none !important;           /* Quita el borde de enfoque al hacer clic */
  box-shadow: none !important;        /* Quita sombras de enfoque personalizadas */
}

/* Quita el espacio extra entre líneas en TODOS los enlaces del sitio */
a {
  line-height: 1 !important;     /* Quita el espacio vertical de renglón */
  display: inline-block;         /* Necesario para que el navegador aplique la altura estricta */
  margin-top: 0 !important;      /* Quita márgenes superiores residuales */
  margin-bottom: 0 !important;   /* Quita márgenes inferiores residuales */
}


.nav-pills .nav-link.active {
    background-color: #024c87 !important; /* Cambia el código hexadecimal por el color que desees */
    color: #ffffff !important; /* Asegura que el texto sea legible con el nuevo fondo */
}


/*===============================================================
  PONE SANGRIA ENTRE LA DESCRIPCION DE LOS DOCUMENTOS ENCONTRADOS
================================================================ */

/*==============================================
 * PERMITE PONER ICONOS DE BOOSTRAP
 * ============================================*/

/* Agrega el icono automáticamente a cualquier enlace con esas clases */
/* Genera el icono de la balanza antes del texto del enlace */
/* PERMITE PONER ICONOS DE BOOTSTRAP */
a.bi-scale::before {
  content: "\f521" !important;
  font-family: "bootstrap-icons" !important;
  display: inline-block;
  margin-right: 8px;
  font-style: normal !important;
  font-weight: normal !important;
  vertical-align: middle;
}


/* Cambiar fondo solo a la vista buscador_principal */
.view-id-buscador_principal {
  background-color: #f8fafc !important; 
  color: #00205B !important;
  padding-left:5px;
}

/*Cambiar color de enlaces solo dentro de esta vista */
.view-id-buscador_principal a {
  
  color: #024C87 !important;
  font-size: 20px;
  font-weight:700 !important;
  line-height: 1.0;
  text-align: Justify;
}

.view-id-buscador_principal .views-field-title a::before {
    
    color: #024C87 !important;
    margin-right: 8px !important;
    padding: 0px 0px 5px 5px;
    font-size: 0.85em !important;
}

.view-id-buscador_principal p {
 color:#000000 !important;
 font-size:17px; 
 padding: 0px  15px 5px 25px ;
 text-align:Justify;
}


.sidebar {
  background-color: #fffff !important;
  border-color: #003366;
}

.sidebar .block {
    background-color: transparent !important;
    border-color: transparent !important;
}


/* =========================================
   DISEÑO DEL TOP HEADER (Buscador)
   ========================================= */
.region-top-header .form-item-search-api-fulltext input {
  border-radius: 50rem !important;
  padding-left: 20px;
  border: 1px solid #ccc;
}

.region-top-header .form-item-search-api-fulltext label {
  display: none;
}

.region-top-header {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.region-sidebar-second,
.sidebar-second {
  max-width: 500px !important;
  flex: 0 0 300px !important;
  padding: 15px;
}


/* =========================================
   DISEÑO DEL MENÚ PRINCIPAL (NAVBAR)
   ========================================= */
/*
.navbar-nav .nav-link {
  color: #051c7a !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 140px;
  white-space: normal;
  text-align: left;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #020d3f !important;
}

.navbar-nav .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.4em;
}

.navbar {
  align-items: center;
}*/


/* =========================================
   DISEÑO DEL MENÚ PRINCIPAL (NAVBAR)
   ========================================= */
.navbar-nav .nav-link {
  color: #051c7a !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  
  /* AJUSTES PARA ALINEAR ICONO Y TEXTO */
  display: inline-flex !important;  /* Alinea el icono y el texto en el mismo eje */
  align-items: center;              /* Centra verticalmente el icono con el texto */
  gap: 8px;                         /* Espacio horizontal entre el icono y el texto */
  white-space: nowrap !important;   /* IMPIDE que el texto se baje a una segunda línea */
  max-width: none !important;       /* QUITA la restricción de 140px que encogía los elementos */
  
  text-align: left;
  padding: 0.5rem 0.75rem !important; /* Ligeramente reducido para dar más aire al menú */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #020d3f !important;
}

.navbar-nav .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.4em;
}

.navbar {
  align-items: center;
}




/* =========================================
   AJUSTE DE TAMAÑO DEL LOGO
   ========================================= */
.navbar-brand img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
}

.navbar-brand {
  margin-right: 2rem;
}


/* =========================================
   FORZAR UN ANCHO MÁXIMO DEL BANNER (OPCIONAL)
   ========================================= */

/* Solo se aplica en pantallas grandes (desktop) */
@media (min-width: 892px) {
  .site-content .carousel-item img {
    max-width: 75% !important; /* El banner solo ocupará el 80% del ancho de su columna */
    margin: 0 auto; /* Centrar la imagen dentro del 80% */
  }
}


/*=======================================
  ESTILO DEL MENU DE DESTACADOS
  ====================================== */


/*=======================================
  ESTILO DEL MENU DE DESTACADOS
  ====================================== */
/* 1. Contenedor Principal (.widget-destacados) */
.widget-destacados {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(13, 49, 97, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.widget-destacados:hover {
    box-shadow: 0 14px 30px -5px rgba(13, 49, 97, 0.14) !important;
}

/* 2. Encabezado (.widget-header) */
.widget-destacados .widget-header {
    background: linear-gradient(135deg, #2f6195 0%, #044885 100%) !important;
    color: #ffffff !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    border-bottom: 3px solid #a5d2f2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 3. Lista de Elementos (.widget-lista) */
.widget-destacados .widget-lista {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-destacados .widget-lista li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.widget-destacados .widget-lista li:last-child {
    border-bottom: none !important;
}

/* 4. Fila del Ícono y Texto (.widget-icono) */
.widget-destacados .widget-icono {
    display: flex !important;
    align-items: center !important;
    padding: 10px 18px !important;
    gap: 14px !important;
    transition: all 0.25s ease !important;
    border-left: 4px solid transparent !important;
    background-color: transparent !important;
}

.widget-destacados .widget-icono:hover {
    background-color: #f8fafc !important;
    border-left-color: #2563eb !important;
    padding-left: 22px !important;
}

/* 5. Ajuste y Corrección de Imágenes (Anula el width="115" del HTML) */
.widget-destacados .widget-icono img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06)) !important;
}

.widget-destacados .widget-icono:hover img {
    transform: scale(1.1) !important;
}



/* 6. Enlaces y Texto (Quita el subrayado molesto) */
.widget-destacados .widget-icono a {
    text-decoration: none !important;
    color: #0d3161 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.25s ease !important;
}

.widget-destacados .widget-icono a:hover {
    text-decoration: none !important;
    color: #1e40af !important;
}

.widget-destacados .widget-titulo {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #0d3161 !important;
    transition: color 0.25s ease !important;
}

.widget-destacados .widget-icono:hover .widget-titulo {
    color: #1e40af !important;
}

.widget-destacados .widget-lista p,
.widget-destacados .widget-lista li > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-destacados .widget-icono:not(:has(a)) {
    display: none !important;
}

.widget-destacados .widget-icono:empty {
    display: none !important;
}





/* =========================================
   DISEÑO DEL FOOTER (PIE DE PÁGINA)
   ========================================= */
.site-footer {
  background-color: #EEF2FB !important;
  color: #003366 !important;
  padding-top: 1rem;
  padding-bottom: 3rem;
  border-top: 2px solid #d0e4f5;
}

.site-footer a {
  color: #004080;
  text-decoration: none;
  line-height: 1.45 !important;
}

.site-footer a:hover {
  color: #001f40;
  text-decoration: underline;
}

.site-footer ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.site-footer ul li {
  margin-bottom: 8px;
 
}

.site-footer li a{
  padding: 0.1em 2px 0.1em 20px !important;
}

/* Forzar el color azul oscuro en todos los textos, párrafos y títulos del footer */
.site-footer a,
.site-footer p,
.site-footer div,
.site-footer span,
.site-footer strong,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
  color: #003366 !important;
}

.site-footer__top {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 16px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 851px) {
  .site-footer__top .region {
    float: none !important;
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
  }
}

.site-footer__legal {
  width: 100% !important;
  clear: both;
  float: none !important;
  display: block !important;
  text-align: center !important;
  margin-top: 28px;
  padding: 24px 16px 4px;
  border-top: 1px solid #c5d4e8;
  box-sizing: border-box;
}

.site-footer__legal a,
.site-footer__legal a:visited {
  display: inline !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  color: #003366 !important;
  text-decoration: none !important;
  font-weight: 400;
  white-space: normal;
  line-height: 1.7 !important;
}

.site-footer__legal a:hover {
  text-decoration: underline !important;
}

.site-footer .region-footer-second a[href*="aviso-legal"],
.site-footer .region-footer-second p:has(a[href*="aviso-legal"]),
.site-footer .region-footer-second div:has(> p > a[href*="aviso-legal"]),
#block-nuevo-comienzo-2026-footertransparencia a[href*="aviso-legal"],
#block-nuevo-comienzo-2026-footertransparencia p:has(a[href*="aviso-legal"]),
#block-nuevo-comienzo-2026-footertransparencia div:has(> p > a[href*="aviso-legal"]),
#block-nuevo-comienzo-footertransparencia a[href*="aviso-legal"] {
  display: none !important;
}

.site-footer__bottom,
.site-footer .region-footer-fifth {
  width: 100%;
  clear: both;
  text-align: center;
  margin-top: 8px;
}

.site-footer__bottom .block,
.site-footer__bottom .content,
.site-footer__bottom p,
.site-footer .region-footer-fifth,
.site-footer .region-footer-fifth p,
.site-footer .region-footer-fifth .block,
.site-footer .region-footer-fifth .content {
  text-align: center !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-footer__bottom a,
.site-footer .region-footer-fifth a,
.site-footer .region-footer-fifth li a {
  float: none !important;
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
}

/* ===================================================
   VIÑETAS EXCLUSIVAS PARA: Footer - Transparencia
   =================================================== */

#block-nuevo-comienzo-footertransparencia ul,
#block-nuevo-comienzo-2026-footertransparencia ul,
.block-nuevo-comienzo-footertransparencia ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 0 !important;
}

#block-nuevo-comienzo-footertransparencia ul li,
#block-nuevo-comienzo-2026-footertransparencia ul li,
.block-nuevo-comienzo-footertransparencia ul li {
    display: list-item !important;
    margin-bottom: 10px !important;
    line-height: 1.45 !important;
}


 /*===============================================
  * MODIFICA EL COLOR DEL ICONO DE LOGIN Y LOGOUT
  =============================================== */

.icono-personalizado {
    color: #f17524 !important; /* Cambia este código HEX por el color que desees */
    font-size: 0 !important; /* Oculta el texto "Log out" */
    text-decoration: none; /* Quita el subrayado si lo tiene */
}

/* Le devuelve el tamaño exclusivamente al icono */
.icono-personalizado::before,
.icono-personalizado svg {
    font-size: 25px !important; /* Tamaño del icono */
}


/*=========================================
 *DISEÑOS PERSONALIZADOS DE LAS VISTAS
===========================================*/


/*=====================================
 * VISTA PROGRAMAS SOCIALES
 * ====================================*/
.path-programas-sociales .block-page-title-block,
.path-programas-sociales h1.page-title,
.path-programas-sociales-estatales .block-page-title-block,
.path-programas-sociales-estatales h1.page-title,
.path-programas-sociales_estatales .block-page-title-block,
.path-programas-sociales_estatales h1.page-title {
    display: none !important;
}

.ps-directorio,
.ps-directorio.row,
.view-id-programas_sociales,
.view-id-programas_sociales.row,
.view-id-programas_sociales_estatales_tabla,
.view-id-programas_sociales_estatales_tabla.row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: unset !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ps-directorio.ui-accordion,
.ps-directorio .ui-accordion-header,
.ps-directorio .ui-accordion-content,
.view-id-programas_sociales.ui-accordion,
.view-id-programas_sociales .ui-accordion-header,
.view-id-programas_sociales .ui-accordion-content {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
}

.ps-directorio .js-views-accordion-group-header,
.view-id-programas_sociales .js-views-accordion-group-header {
    display: none !important;
}

.ps-directorio__encabezado {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.ps-directorio__titulo {
    margin: 0 0 6px !important;
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15 !important;
}

.ps-directorio__subtitulo {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 1rem !important;
}

.ps-directorio__total {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(15, 40, 90, 0.06);
    min-width: 230px;
}

.ps-directorio__total-icono {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ps-directorio__total small {
    display: block;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
}

.ps-directorio__total strong {
    display: block;
    color: #1e3a8a;
    font-size: 1.7rem;
    line-height: 1.1;
    font-weight: 800;
}

.ps-directorio__filtros {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 22px;
}

.ps-directorio__buscar {
    position: relative;
    flex: 1 1 280px;
    margin: 0;
}

.ps-directorio__buscar-icono {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    display: flex;
}

.ps-directorio__buscar input {
    width: 100%;
    height: 50px;
    border: 1px solid #dbe3ee !important;
    border-radius: 12px !important;
    padding: 0 16px 0 46px !important;
    color: #334155;
    font-size: 14px;
    background: #fff !important;
    box-sizing: border-box;
}

.ps-directorio__select {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 400px;
    flex: 0 1 200px;
}

.ps-directorio__select label {
    margin: 0;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 700;
}

.ps-directorio__select select {
    height: 50px;
    border: 1px solid #dbe3ee !important;
    border-radius: 12px !important;
    padding: 0 14px;
    color: #334155;
    background: #fff;
    font-size: 14px;
}

.ps-directorio .ps-deps-grid,
.view-id-programas_sociales .ps-deps-grid,
.view-id-programas_sociales_estatales_tabla .ps-deps-grid,
.ps-deps-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    align-items: stretch;
}

.ps-dep {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column;
}

.ps-dep.is-hidden,
.ps-dep.is-extra,
.programa-tarjeta.is-hidden {
    display: none !important;
}

.ps-directorio.is-expanded .ps-dep.is-extra,
.ps-directorio.is-filtering .ps-dep.is-extra {
    display: flex !important;
    flex-direction: column;
}

.ps-directorio.is-expanded .ps-dep.is-extra.is-hidden,
.ps-directorio.is-filtering .ps-dep.is-extra.is-hidden {
    display: none !important;
}

.ps-dep.is-open {
    grid-column: 1 / -1;
}

.ps-dep-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 40, 90, 0.04);
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ps-dep-card:hover,
.ps-dep-card:focus,
.ps-dep.is-open .ps-dep-card {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(15, 40, 90, 0.1);
    outline: none;
}

.ps-dep-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #f8fafc;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-dep-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ps-dep-card__textos {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.ps-dep-card__nombre {
    color: #1e3a8a;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
}

.ps-dep-card__conteo {
    color: #3b82f6;
    font-size: 0.86rem;
    font-weight: 600;
}

.ps-dep-card__flecha {
    color: #2563eb;
    display: inline-flex;
    margin-left: auto;
}

.ps-dep.is-open .ps-dep-card__flecha svg {
    transform: rotate(90deg);
}

.ps-dep-panel {
    display: none;
}

.ps-dep.is-open .ps-dep-panel.programas-tarjetas-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin: 14px 0 0 !important;
    padding: 18px !important;
    overflow: visible !important;
    float: none !important;
}

@media (min-width: 768px) {
    .ps-dep.is-open .ps-dep-panel.programas-tarjetas-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    }
}

.ps-directorio__mas {
    display: flex;
    justify-content: center;
    margin: 22px 0 8px;
}

.ps-directorio__mas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1e3a8a;
    border: 1.5px solid #93c5fd;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ps-directorio__mas-btn:hover,
.ps-directorio__mas-btn:focus {
    background: #eff6ff;
    outline: none;
}

.ps-directorio {
    padding-bottom: 24px;
}

.ps-directorio__aviso {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #eff6ff;
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 18px;
    margin-bottom: 20px;
}

.ps-directorio__aviso-icono {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #1e3a8a;
    color: #fff;
    font-weight: 800;
    font-style: italic;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-directorio__aviso-texto,
.ps-directorio__aviso-texto p,
.ps-directorio__aviso .view-header,
.ps-directorio__aviso .text-justify {
    margin: 0 !important;
    color: #1e3a8a !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

.ps-directorio__aviso a {
    color: #1e3a8a !important;
    font-weight: 700;
}

.ps-directorio__aviso p + p {
    margin-top: 8px !important;
}

.programa-tarjeta-item.views-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto;
    float: none !important;
}

.programa-tarjeta-item .views-field,
.programa-tarjeta-item .field-content {
    display: contents;
}

/* 6. Tarjeta de cada programa */
.programa-tarjeta {
    position: relative;
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    min-height: 180px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 32, 91, 0.06) !important;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    box-sizing: border-box !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.programa-tarjeta:hover,
.programa-tarjeta:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 32, 91, 0.14) !important;
    border-color: #024C87 !important;
    text-decoration: none !important;
    outline: none;
}

.programa-tarjeta__accent {
    display: block;
    width: 6px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #00205B 0%, #024C87 100%);
}

.programa-tarjeta__contenido {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 14px 16px;
    min-width: 0;
    flex: 1;
}

.programa-tarjeta__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.programa-tarjeta__anio {
    display: inline-flex;
    align-items: center;
    background: #00205B;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 3px 10px;
    line-height: 1.3;
}

.programa-tarjeta__etiqueta {
    display: inline-flex;
    align-items: center;
    background: #eef2fb;
    color: #024C87 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 999px;
    padding: 3px 10px;
    line-height: 1.3;
}

.programa-tarjeta__titulo {
    margin: 0 !important;
    color: #00205B !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.programa-tarjeta:hover .programa-tarjeta__titulo {
    color: #024C87 !important;
}

.programa-tarjeta__extracto {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #475569 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.programa-tarjeta__pie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.programa-tarjeta__beneficio {
    color: #64748b !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.programa-tarjeta__enlace {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #024C87 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.programa-tarjeta:hover .programa-tarjeta__enlace {
    color: #00205B !important;
}


/* ==========================================================================
   ESTILOS INSTITUCIONALES PARA MODAL Y WEBFORM (DRUPAL 11)
   ========================================================================== */

/* 1. Fondo Oscuro Traslúcido con Desenfoque de Pantalla */
.ui-widget-overlay {
  background: rgba(0, 3, 6, 0.50) !important;
  backdrop-filter: blur(1px) !important;
  opacity: 1 !important;
  z-index: 1000 !important;
}

/* 2. Ancho, Centrado Perfecto y Bordes Redondeados de la Ventana */
.ui-dialog.ui-widget-content,
.modal-institucional.ui-dialog {
  width: 850px !important;
  max-width: 92vw !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 32, 91, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
  padding: 0 !important;
  z-index: 1001 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* 3. Encabezado Azul Marino Institucional (#00205B) */
.ui-dialog .ui-dialog-titlebar {
  background: linear-gradient(135deg, #00205B 0%, #024C87 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-bottom: 4px solid #rgb(2, 77, 136) !important;
  padding: 18px 28px !important;
  border-radius: 20px 20px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ui-dialog .ui-dialog-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.01em !important;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

/* Botón de Cierre (X) Elegante */
.ui-dialog .ui-dialog-titlebar-close {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  position: static !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.08);
}

.ui-dialog .ui-dialog-titlebar-close .ui-icon {
  background: none !important;
  text-indent: 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

.ui-dialog .ui-dialog-titlebar-close .ui-icon:before {
  content: "X" !important;
  color: #ffffff;
  display: block;
  line-height: 1;
}

/* 4. Cuerpo Interno de la Modal */
.ui-dialog .ui-dialog-content {	
  padding: 32px 36px !important;
  background: #f8fafc !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
}

/* 5. Preguntas, Radio Buttons e Inputs del Webform */
.ui-dialog .form-item label {
  color: #00205B !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.ui-dialog .form-text,
.ui-dialog .form-select,
.ui-dialog .form-textarea {
  width: 100% !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.ui-dialog .form-text:focus,
.ui-dialog .form-select:focus {
  border-color: #00205B !important;
  box-shadow: 0 0 0 3px rgba(0, 32, 91, 0.15) !important;
  outline: none !important;
}

/* Tarjetas para Opciones de Selección Multiples */
.ui-dialog .form-type-radio,
.ui-dialog .form-type-checkbox {
  background: #ffffff !important;
  padding: 12px 18px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ui-dialog .form-type-radio:hover,
.ui-dialog .form-type-checkbox:hover {
  border-color: #024C87 !important;
  background-color: #f1f5f9 !important;
}

.ui-dialog input[type="radio"],
.ui-dialog input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  accent-color: #00205B !important;
  cursor: pointer !important;
}

/* 6. Botones de Envío / Navegación */
.ui-dialog .form-actions {
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.ui-dialog .webform-button--submit,
.ui-dialog .webform-button--next,
.ui-dialog input[type="submit"] {
  background: linear-gradient(135deg, #00205B 0%, #024C87 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 32px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 32, 91, 0.25) !important;
  transition: all 0.25s ease !important;
}

.ui-dialog .webform-button--submit:hover,
.ui-dialog .webform-button--next:hover,
.ui-dialog input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 32, 91, 0.35) !important;
}

/*=======================================
 VISTA DE BOTONES DE MONITOREO Y EVALUACION
 ========================================*/

.custom-dashboard {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.custom-dashboard .card {
  width: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  border: 1px solid #f0f0f0;
}

.custom-dashboard .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* HEADER */
.custom-dashboard .card-header {
  background: #1e3a8a; /* Azul institucional */
  color: #ffffff;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.custom-dashboard .card-header .icon-wrapper {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-dashboard .card-header img.icon-svg {
  width: 24px;
  height: 24px;
}

.custom-dashboard .card-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.custom-dashboard .card-header p {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* BODY */
.custom-dashboard .card-body {
  padding: 30px 20px;
}

.custom-dashboard .stat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.custom-dashboard .icon-wrapper-body {
  width: 64px;
  height: 64px;
  background: #eef2ff; /* Azul claro suave */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-dashboard img.icon-svg-body {
  width: 32px;
  height: 32px;
}

.custom-dashboard .stat p {
  margin: 0;
  font-size: 13px;
  color: #555555;
  font-weight: 500;
}

.custom-dashboard .stat h1 {
  margin: 2px 0 0;
  font-size: 38px;
  color: #1e3a8a;
  font-weight: 800;
  line-height: 1;
}

/* FOOTER */
.custom-dashboard .card-footer {
  padding: 18px 22px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.2s ease;
}

.custom-dashboard .card-footer:hover {
  background: #f8fafc;
}

.custom-dashboard .card-footer strong {
  font-size: 13px;
  color: #1e3a8a;
  display: block;
  font-weight: 700;
}

.custom-dashboard .card-footer p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
}

.custom-dashboard .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

/* IFRAME VISOR */
.interfaz-container {
  margin-top: 25px;
}

.iframe-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.iframe-box iframe {
  border: none;
  display: block;
  width: 100%;
  height: 750px;
}

/******************************
====================================================
ESTILO DE LA VISTA CUANDO SU FORMATO SEA EN TABLAS
====================================================
 */

/* Estilos para embellecer la tabla renderizada por AJAX */
#visor-dashboard table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-family: inherit;
}

/* Cabecera de la tabla */
#visor-dashboard th {
  background: #1e3a8a; /* Mismo azul de las tarjetas */
  color: #ffffff;
  padding: 14px 16px;
  font-size: 13px;
  text-align: left;
  font-weight: 600;
}

/* Celdas de la tabla */
#visor-dashboard td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #333333;
}

/* Enlaces dentro de la tabla */
#visor-dashboard td a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
}

#visor-dashboard td a:hover {
  text-decoration: underline;
}

/* Efecto hover en las filas */
#visor-dashboard tr:hover td {
  background: #f8fafc;
}

/* Botón de descarga dentro de la tabla */
#visor-dashboard td .btn-descargar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #1e3a8a; /* Azul institucional */
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.15);
}

#visor-dashboard td .btn-descargar:hover {
  background-color: #1d4ed8; /* Azul un poco más claro al pasar el mouse */
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.25);
}

#visor-dashboard td .btn-descargar svg {
  stroke: #ffffff;
}


/*========================================
 *
 	ROTATIVO SECUNDARIO
 *=======================================*/



/* Contenedor Principal */
.carrusel-tarjetas-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 10px auto;
  padding: 0 0; 
  box-sizing: border-box;
  margin-top:-70px;
}

/* Ventana visible: Oculta la 5.ª tarjeta hasta desplazar el riel */
.carrusel-tarjetas-mask {
  width: 100%;
  overflow: hidden;
  padding: 12px 5px;
}

/* Riel deslizable suavemente */
.carrusel-tarjetas-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Tarjeta / Contenedor de la Imagen */
.carrusel-card {
  flex: 0 0 calc(25% - 12px); /* Muestra exactamente 4 tarjetas alineadas */
  border-radius: 16px;
/*  padding: 15px; */
  box-sizing: border-box;
/*  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carrusel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Fondos por tarjeta */
.card-pink   { background-color: #ffffff; }
.card-cyan   { background-color: #ffffff; }
.card-purple { background-color: #ffffff; }
.card-blue   { background-color: #ffffff; }

/* Enlace dentro de la tarjeta */
.carrusel-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Control estricto de tamaño para evitar desproporciones en las imágenes */
.carrusel-card-link img {
  width: 100% !important;
  height: auto !important;
  max-height: 200px !important;
  object-fit: contain;
  display: block;
}

/* Flechas Flotantes de Navegación */
.btn-carrusel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: #0d2c74;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-carrusel-nav:hover {
  background-color: #0d2c74;
  color: #ffffff;
  border-color: #0d2c74;
}

.btn-carrusel-nav.prev { left: 0; }
.btn-carrusel-nav.next { right: 0; }


/* ==========================================================================
   BARRA DE INDICADORES / ESTADÍSTICAS (FONDO BLANCO)
   ========================================================================== */

.indicadores-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff; /* Fondo blanco pedido */
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); /* Sombra suave para destacar sobre fondos */
  width: 100%;
  max-width: 1280px;
  margin: 20px auto;
  box-sizing: border-box;
}

/* Elemento individual */
.indicador-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  padding: 0 15px;
  position: relative;
}

/* Línea divisora gris entre cada elemento */
.indicador-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

/* Ajustes de los íconos de Font Awesome */
.indicador-icon {
  font-size: 2.2rem;
  color: #0d2c74; /* Azul corporativo */
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
}

/* Estilos de Textos */
.indicador-info {
  display: flex;
  flex-direction: column;
}

.indicador-info .label {
  font-size: 0.85rem;
  color: #0d2c74;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 3px;
}

.indicador-info .value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d2c74;
  line-height: 1.1;
}

/* Adaptación para pantallas pequeñas (Móviles / Tablets) */
@media (max-width: 992px) {
  .indicadores-bar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .indicador-item {
    flex: 0 0 calc(50% - 10px); /* 2 columnas en tablets */
    padding: 10px 0;
  }

  .indicador-item::after {
    display: none; /* Oculta divisores verticales en vista móvil */
  }
}

@media (max-width: 576px) {
  .indicador-item {
    flex: 0 0 100%; /* 1 columna en teléfonos */
  }
}



/*==============================
 *CONOCENOS
 * =============================*/
/* ==========================================================================
   ESTILOS EXACTOS PÁGINA "CONÓCENOS" - DRUPAL 11
   ========================================================================== */

.conocenos-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2b364b;
}

.section-gap {
  margin-bottom: 45px;
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-custom {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 25px;
}
.breadcrumb-custom a { color: #2b6cb0; text-decoration: none; }

/* Títulos */
h1 { font-size: 2.8rem; font-weight: 800; color: #002b66; margin: 0 0 15px 0; }
.section-title { font-size: 1.75rem; font-weight: 700; color: #002b66; margin-bottom: 30px; }
.title-left { font-size: 1.75rem; font-weight: 700; color: #002b66; margin: 0 0 15px 0; }

/* Layout Grids */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-5-col { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }

/* 1. Hero Section */
.section-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.hero-text { flex: 0 0 52%; }
.hero-text p { font-size: 1.05rem; color: #4a5568; line-height: 1.6; }
.hero-image { flex: 0 0 45%; text-align: right; }
.hero-image img { max-width: 100%; height: auto; }

/* 2. Tarjetas Azules Claro */
.card-blue-light {
  background-color: #f3f8fd;
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.card-content h3 { color: #002b66; margin: 0 0 10px 0; font-size: 1.25rem; font-weight: 700; }
.card-content p { font-size: 0.92rem; color: #4a5568; margin: 0; line-height: 1.55; }

.card-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  flex-shrink: 0;
}
.icon-blue-dark { background-color: #002b66; }
.icon-blue-outline { background-color: #e2eeef; color: #002b66; border: 2px solid #002b66; }

/* 3. Principios */
.card-principio {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 15px;
  text-align: left;
  align-items: flex-start;
}
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.icon-green { background-color: #2e8b57; }
.icon-purple { background-color: #7b469b; }
.icon-orange { background-color: #e66b00; }

.principio-content h3 { margin: 0 0 6px 0; font-size: 1.1rem; font-weight: 700; }
.principio-content p { margin: 0; font-size: 0.88rem; color: #4a5568; line-height: 1.45; }
.text-green { color: #2e8b57; }
.text-purple { color: #7b469b; }
.text-orange { color: #e66b00; }

/* 4. Portal Social & Grid de Servicios */
.desc-portal { font-size: 0.95rem; color: #4a5568; line-height: 1.5; margin-bottom: 20px; }
.portal-mockup img { max-width: 100%; height: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 15px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #002b66;
}
.s-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.bg-purple-light { background: #f2e8f7; color: #7b469b; }
.bg-blue-light { background: #e8f3fc; color: #0066cc; }
.bg-green-light { background: #e6f7ed; color: #2e8b57; }
.bg-red-light { background: #fde8e8; color: #d93838; }
.bg-orange-light { background: #fdf0e6; color: #e66b00; }
.bg-gray-light { background: #edf2f7; color: #718096; font-size: 0.8rem; font-weight: 600; }

/* 5. ¿Quiénes somos? */
.card-quienes {
  background-color: #f3f8fd;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.quienes-text { flex: 1; }
.quienes-text p { font-size: 0.92rem; color: #4a5568; line-height: 1.55; margin-bottom: 10px; }
.quienes-img { flex: 0 0 350px; text-align: right; }
.quienes-img img { width: 100%; border-radius: 12px; object-fit: cover; }

/* 6. Misión y Visión */
.card-mision-vision {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 20px;
}
.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.icon-blue-circle { background-color: #0066cc; }
.icon-purple-circle { background-color: #7b469b; }

.mv-text h3 { color: #002b66; font-size: 1.3rem; margin: 0 0 10px 0; font-weight: 700; }
.mv-text p { font-size: 0.88rem; color: #4a5568; line-height: 1.5; margin-bottom: 10px; }

/* 7. Valores */
.card-valor {
  background: #fbfcfd;
  border-radius: 12px;
  padding: 20px 15px;
  border: 1px solid #edf2f7;
}
.v-icon { font-size: 1.8rem; margin-bottom: 12px; }
.text-pink { color: #d63384; }
.text-blue { color: #0066cc; }
.text-yellow { color: #ffb100; }
.text-teal { color: #20c997; }

.card-valor h4 { margin: 0 0 8px 0; font-size: 0.95rem; font-weight: 700; color: #002b66; }
.card-valor p { font-size: 0.78rem; color: #64748b; margin: 0; line-height: 1.4; }

/* Responsive para dispositivos móviles */
@media (max-width: 992px) {
  .grid-2-col, .grid-3-col, .section-hero, .card-quienes { 
    grid-template-columns: 1fr; 
    flex-direction: column; 
  }
  .grid-5-col { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quienes-img { flex: 1 1 100%; text-align: center; }
}


/*=================================================================
 *FICHAS DE MONITOREO Y DE EVALUACION DE PROGRAMAS
 =================================================================
 */
.monitoreo-dashboard{background:#fff;border:1px solid #e8eef5;border-radius:16px;padding:22px 24px 18px;box-shadow:0 8px 24px rgba(15,40,90,.06);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.monitoreo-filtros,.monitoreo-dashboard .views-exposed-form,#visor-dashboard .monitoreo-filtros,#visor-dashboard .views-exposed-form{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:22px;background:#fff;padding:20px;border-radius:12px;border:1px solid #E2E8F0;box-shadow:0 4px 6px -1px rgba(0,0,0,.05)}
.monitoreo-filtros__item,.monitoreo-dashboard .views-exposed-form .form-item,#visor-dashboard .views-exposed-form .form-item{display:flex;flex-direction:column;gap:6px;margin:0!important;flex:1 1 220px}
.monitoreo-filtros__item label,.monitoreo-dashboard .views-exposed-form label,#visor-dashboard .views-exposed-form label{font-size:13px;font-weight:700;color:#1e3a8a}
.monitoreo-filtros__buscar{position:relative}
.monitoreo-filtros__buscar i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:15px;z-index:1}
.monitoreo-filtros input[type=search],.monitoreo-filtros input[type=text],.monitoreo-dashboard .views-exposed-form input[type=text],#visor-dashboard .views-exposed-form input[type=text]{height:48px;width:100%;border:2px solid #e2e8f0!important;border-radius:12px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 15px center!important;padding:0 16px 0 45px!important;color:#334155;font-size:14px;box-sizing:border-box}
.monitoreo-filtros select,.monitoreo-dashboard .views-exposed-form select,#visor-dashboard .views-exposed-form select{height:48px;width:100%;border:2px solid #e2e8f0!important;border-radius:12px!important;background:#fff;padding:0 14px;color:#334155;font-size:14px;box-sizing:border-box}
.monitoreo-filtros__buscar input{padding-left:45px!important}
.monitoreo-filtros__btn,.monitoreo-dashboard .views-exposed-form input[type=submit],#visor-dashboard .views-exposed-form input[type=submit]{height:48px;padding:0 30px!important;background:#1a4189!important;color:#fff!important;border:none!important;border-radius:10px!important;font-weight:700!important;text-transform:uppercase;display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.monitoreo-tabla-head{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.monitoreo-tabla-head h2{margin:0;color:#1e3a8a;font-size:1.15rem;font-weight:800}
.monitoreo-badge{background:#dbeafe;color:#1e3a8a;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700}
.monitoreo-tabla-wrap{overflow-x:auto}
.monitoreo-tabla,#visor-dashboard .monitoreo-tabla{width:100%;border-collapse:collapse;background:#fff;box-shadow:none}
.monitoreo-tabla th,#visor-dashboard .monitoreo-tabla th{text-align:left;color:#ffffff !important;font-size:13px;font-weight:800;padding:12px 10px;border-bottom:1px solid #e5edf6;background:transparent!important}
.monitoreo-tabla td,#visor-dashboard .monitoreo-tabla td{padding:16px 10px;border-bottom:1px solid #eef2f7;vertical-align:middle;color:#1e3a8a;font-size:14px}
.monitoreo-tabla tbody tr:hover td{background:#f8fafc}
.monitoreo-programa{display:flex;align-items:center;gap:12px}
.monitoreo-programa__icono{width:44px;height:44px;min-width:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#f8fafc;overflow:hidden}
.monitoreo-programa__icono img{width:100%;height:100%;object-fit:contain;display:block}
.monitoreo-programa__textos{display:flex;flex-direction:column;gap:2px;min-width:0}
.monitoreo-programa__textos strong{color:#1e3a8a;font-size:15px;font-weight:800;line-height:1.25}
.monitoreo-programa__textos small{color:#64748b;font-size:12px;line-height:1.3}
.monitoreo-dep{font-weight:600;color:#1e3a8a!important}
.monitoreo-fecha{color:#334155!important;white-space:nowrap}
.monitoreo-acciones{display:flex;flex-wrap:wrap;gap:8px}
.btn-ver-ficha,.monitoreo-tabla .btn-descargar,#visor-dashboard .monitoreo-tabla .btn-descargar{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none!important;white-space:nowrap}
.btn-ver-ficha{background:#fff;color:#1e3a8a!important;border:1.5px solid #1e3a8a}
.btn-ver-ficha:hover{background:#eff6ff}
.monitoreo-tabla .btn-descargar,#visor-dashboard .monitoreo-tabla .btn-descargar{background:#1e3a8a!important;color:#fff!important;border:1.5px solid #1e3a8a}
.monitoreo-tabla-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.monitoreo-resumen{margin:0;color:#64748b;font-size:13px}
.monitoreo-dashboard .pager,.monitoreo-dashboard .pagination{margin:0}
.monitoreo-dashboard .pager__items,.monitoreo-dashboard .pagination{display:flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0}
.monitoreo-dashboard .pager__item a,.monitoreo-dashboard .page-link,.monitoreo-dashboard .pager li a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1px solid #dbe3ee;border-radius:8px;color:#1e3a8a!important;background:#fff;text-decoration:none!important;font-weight:700;font-size:13px}
.monitoreo-dashboard .pager__item.is-active a,.monitoreo-dashboard .page-item.active .page-link,.monitoreo-dashboard .pager li.active a{background:#1e3a8a!important;border-color:#1e3a8a!important;color:#fff!important}
.monitoreo-fila-oculta{display:none!important}

/*===============================================================
 *COMPLEMENTO DEL MENU DESTACADOS
 ===============================================================
 */
/* Estructura base para el ítem padre */
.item-desplegable {
  position: relative;
}

/* Ocultar la sublista por defecto */
.sub-lista {
  display: none;
  list-style: none;
  padding: 8px 0 8px 15px; /* Indentado hacia la derecha */
  margin: 5px 0 0 0;
  background-color: #f8fafc;
  border-left: 3px solid #051c7a; /* Línea guía lateral */
  border-radius: 0 0 6px 6px;
}

/* Estilo para las subopciones */
.sub-lista li {
  padding: 4px 0;
}

.sub-lista a {
  padding-left:35px;
  text-decoration: none;
  color: #051c7a;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sub-lista a:hover {
  color: #2563eb;
}

/* ACCIÓN: Mostrar el submenú al pasar el cursor (Hover) */
.item-desplegable:hover .sub-lista {
  display: block;
}







/* =========================================================
   ESTILOS CSS PROFESIONALES PARA TABLAS EN DRUPAL 11
   ========================================================= */

/* 1. Contenedor de la tabla (Sombra suave, bordes redondeados) */
.node__content table, 
table.views-table,
.table-responsive table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: inherit;
}

/* 2. Encabezado de la tabla (THEAD) */
table thead {
  background-color: #034c87; /* Azul marino oscuro / Slate 900 */
  color: #ffffff;
}

/* 3. Celdas de títulos (TH) */
table thead th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 3px solid #2563eb; /* Línea de acento azul */
  white-space: nowrap;
}

/* 4. Filas del cuerpo (TBODY TR) */
table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

/* Filas alternadas (Zebra Striping) */
table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

/* Efecto al pasar el cursor (Hover) */
table tbody tr:hover {
  background-color: #f1f5f9;
}

/* 5. Celdas de contenido (TD) */
table tbody td {
  padding: 12px 16px;
  color: #334155;
  font-size: 14px;
  vertical-align: middle;
  line-height: 1.4;
}

/* Quitar el borde inferior a la última fila */
table tbody tr:last-child {
  border-bottom: none;
}

/* 6. Pie de tabla (TFOOT) */
table tfoot {
  background-color: #f8fafc;
  border-top: 2px solid #e2e8f0;
  font-weight: 600;
}

table tfoot td {
  padding: 10px 16px;
  color: #475569;
  font-size: 13px;
}

/* Botón flotante: Encuesta de opinión */
.encuesta-flotante {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: block;
  background: transparent;
  color: #ffffff !important;
  text-decoration: none !important;
}
.encuesta-flotante:hover,
.encuesta-flotante:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  outline: none;
}
.encuesta-flotante__icono {
  display: block;
  width: 118px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(15, 40, 90, 0.28));
  transition: transform 0.2s ease;
}
.encuesta-flotante:hover .encuesta-flotante__icono,
.encuesta-flotante:focus .encuesta-flotante__icono {
  transform: scale(1.04);
}
.encuesta-flotante__etiqueta {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 12px;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 40, 90, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.encuesta-flotante:hover .encuesta-flotante__etiqueta,
.encuesta-flotante:focus .encuesta-flotante__etiqueta,
.encuesta-flotante:focus-visible .encuesta-flotante__etiqueta {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.encuesta-flotante__titulo {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.encuesta-flotante__subtitulo {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  line-height: 1.2;
}
@media (max-width: 575px) {
  .encuesta-flotante {
    right: 10px;
  }
  .encuesta-flotante__icono {
    width: 92px;
  }
  .encuesta-flotante__etiqueta {
    padding: 6px 10px;
  }
  .encuesta-flotante__titulo {
    font-size: 11px;
  }
  .encuesta-flotante__subtitulo {
    font-size: 10px;
  }
}

