/* poppins-regular (400) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

/* poppins-500 (medium) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2');
}

/* poppins-700 (bold) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
}
body, h1, h2, h3, h4, h5, h6, .navbar, .t4-wrapper {
    font-family: 'Poppins', sans-serif !important;
}

/* ===== Sidebar right: #contenedor_derecho => estilo moderno ===== */

/* Estilo para el botón de regresar generado por JS */
/* Color de fondo específico para el botón Regresar */
#contenedor_derecho .contenedor_botones .boton-regresar-unico a {
  background: #018d38 !important; /* El verde que solicitaste */
  margin-bottom: 5px !important;
}

/* Color del círculo del icono (puedes ponerlo blanco o un verde más oscuro) */
#contenedor_derecho .contenedor_botones .boton-regresar-unico a::before {
  content: "➜" !important;
  transform: rotate(180deg) !important;
  background: #0b5640 !important; /* Verde oscuro para el círculo del icono */
  color: #ffffff !important;
}

/* Efecto al pasar el mouse */
#contenedor_derecho .contenedor_botones .boton-regresar-unico a:hover {
  background: #018d38 !important; /* Se oscurece un poco al pasar el mouse */
}






#contenedor_derecho {
  background: #ffffff !important;
  border: 3px solid #018d38 !important;
  border-radius: 20px !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin-bottom: 10px !important;
}

#contenedor_derecho .titulo-derecha {
  font-size: 25px !important;
  font-weight: 800 !important;
  color: #0b5640 !important;
  text-align: center !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.1 !important;
}

/* Contenedor de botones */
#contenedor_derecho .contenedor_botones {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* Link como botón - CORREGIDO PARA TEXTO LARGO */
#contenedor_derecho .texto_boton a {
  width: 100% !important;
  background: #0b5640 !important;
  color: #fff !important;
  padding: 10px 15px !important;
  border-radius: 30px !important;
  display: flex !important;
  align-items: center !important; /* Centra el icono con la primera línea de texto */
  gap: 12px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  box-sizing: border-box !important;
  
  /* Solución al desborde */
  white-space: normal !important; /* Permite que el texto pase a la línea de abajo */
  word-wrap: break-word !important; /* Rompe palabras si son excesivamente largas */
  text-align: left !important;
}

/* Icono circular (Círculo con flecha) */
#contenedor_derecho .texto_boton a::before,
#contenedor_derecho .boton3-accordion summary.texto_boton::before {
  content: "➜" !important;
  background: #018d38 !important;
  color: #fff !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important; /* Evita que el círculo se aplaste */
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  transition: transform 0.3s ease !important; /* Animación suave */
}

/* Hover general */
#contenedor_derecho .texto_boton a:hover,
#contenedor_derecho .boton3-accordion summary.texto_boton:hover {
  background: #0a6b32 !important;
}

/* ===== Acordeón corregido ===== */

#contenedor_derecho .boton3-accordion summary {
  list-style: none !important;
  outline: none !important;
}
#contenedor_derecho .boton3-accordion summary::-webkit-details-marker {
  display: none !important;
}

/* Summary estilo botón */
#contenedor_derecho .boton3-accordion summary.texto_boton {
  background: #0b5640 !important;
  color: #fff !important;
  padding: 10px 15px !important;
  border-radius: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* CAMBIO DE FLECHA AL ABRIR EL ACORDEÓN */
#contenedor_derecho details[open] summary.texto_boton::before {
  content: "➜" !important; /* Mantenemos el mismo carácter */
  transform: rotate(90deg) !important; /* Pero lo rotamos hacia abajo */
  background: #ffffff !important; /* Opcional: cambio de color para resaltar apertura */
  color: #018d38 !important;
}

/* Contenido interno del acordeón */
#contenedor_derecho .boton3-accordion .accordion-content {
  margin-top: 8px !important;
  background: #f9f9f9 !important;
  border: 1px solid #018d38 !important;
  border-radius: 15px !important;
  padding: 12px !important;
}

#contenedor_derecho .boton3-accordion .accordion-list {
  margin: 0 !important;
  padding-left: 20px !important;
}

#contenedor_derecho .boton3-accordion .accordion-list li {
  margin: 8px 0 !important;
  color: #0b5640 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}



/* Nuevo selector para títulos desplegables */
.titulo-derecha-desplegable {
  font-size: 25px !important;
  font-weight: 800 !important;
  color: #0b5640 !important;
  text-align: center !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.1 !important;
  cursor: pointer !important; /* Indica que es cliqueable */
  list-style: none !important; /* Quita la flecha en Firefox */
  outline: none !important;
}

/* Quita la flecha nativa en Chrome/Safari */
.titulo-derecha-desplegable::-webkit-details-marker {
  display: none !important;
}

/* Contenedor del acordeón */
.acordeon-modulo {
  display: block !important;
  width: 100% !important;
}







/* Ajustes de espaciado Joomla T4 */
.top-large { padding-top: 7px !important; }
.bottom-large { padding-bottom: 7px !important; }
.djslider-loader-default { margin: auto auto -100px auto; }
.t4-main-body { padding-top: 0px !important; }
/*forzar slideshow a fix y no ocupen en ocaciones el ancho completo*/
/* 1. Base para móviles (ancho total con margen pequeño) */
#t4-main-body .t4-section-inner.container-fluid {
    width: 100% !important;
    max-width: none !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

/* 2. Tablets (Pantallas de más de 768px) */
@media (min-width: 768px) {
    #t4-main-body .t4-section-inner.container-fluid {
        max-width: 720px !important;
    }
}

/* 3. Escritorio Estándar (Pantallas de más de 992px) */
@media (min-width: 992px) {
    #t4-main-body .t4-section-inner.container-fluid {
        max-width: 960px !important;
    }
}

/* 4. Pantallas Grandes (Tu ancho deseado de 1200px) */
@media (min-width: 1200px) {
    #t4-main-body .t4-section-inner.container-fluid {
        max-width: 1200px !important;
    }
}
















/*Estilos personalizados Banners*/

/* Contenedor Principal */
.banner-infra-container {
  margin: 0 auto !important;
  position: relative;
  width: 100%;
  aspect-ratio: 1263 / 472;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding-left: 100px;
  overflow: hidden;
}

.banner-infra-container::after {
  content: "";
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 25px;
  /* Aquí recibimos la variable del HTML */
  background-image: var(--banner-bg, linear-gradient(#eee, #ccc));
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  z-index: 2;
}

.banner-left-border {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  top: 50%;
  transform: translateY(0);
  background-color: #018d38;
  z-index: 1;
  height: 50%;
}

.banner-card {
  position: relative;
  background-color: #0b5640;
  color: white;
  padding: 35px 40px 20px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
  max-width: 527px;
  transform-style: preserve-3d;
}

.banner-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 70%;
  height: 25px;
  background-color: #3AF9A2;
  border-radius: 0 0 20px 20px;
  box-shadow: 15px 15px 30px rgba(0,0,0,0.2);
  transform: translateZ(-1px);
  z-index: -1;
}

.banner-badge {
  position: absolute;
  top: -30px;
  left: -25px;
  width: 70px;
  height: 70px;
  background-color: #3AF9A2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(1px);
  z-index: 4;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}

.banner-badge img {
  width: 50px;
  height: auto;
}

.banner-text h1 {
  margin: 0;
  color: #ffffff !important;
  line-height: 1.1;
  font-size: 1.8rem;
  font-weight: 300 !important;
}

.banner-text h1 strong {
  display: block;
  font-size: 3.7rem;
  font-weight: 600 !important;
  letter-spacing: -1px;
  text-transform: none;
}

/* ========== RESPONSIVO ========== */

/* Tablets - 768px y menores */
@media (max-width: 768px) {
  .banner-infra-container {
    padding-left: 0;
    justify-content: flex-start;
    aspect-ratio: 1263 / 472;
  }

  .banner-infra-container::after {
    left: 0;
  }

  .banner-card {
    border-radius: 30px;
    margin: 0 20px 0 20px;
    text-align: left;
    padding: 35px 20px 25px 25px;
    max-width: 100%;
    gap: 15px;
  }

  .banner-card::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 70%;
    height: 18px;
    background-color: #3AF9A2;
    border-radius: 0 0 20px 20px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.15);
    transform: translateZ(-1px);
    z-index: -1;
  }

  .banner-left-border {
    display: none;
  }

  .banner-badge {
    top: -20px;
    left: -10px;
    width: 40px;
    height: 40px;
    transform: translateZ(1px);
  }

  .banner-badge img {
    width: 28px;
  }

  .banner-text h1 {
    font-size: 1.3rem;
  }

  .banner-text h1 strong {
    font-size: 2.2rem;
  }
}

/* Móviles grandes - 600px y menores */
@media (max-width: 600px) {
  .banner-infra-container {
    aspect-ratio: 1263 / 550;
  }

  .banner-card {
    padding: 30px 15px 20px 20px;
    border-radius: 15px;
    margin: 0 15px 0 15px;
    gap: 12px;
  }

  .banner-badge {
    top: -18px;
    left: -8px;
    width: 38px;
    height: 38px;
    transform: translateZ(1px);
  }

  .banner-badge img {
    width: 26px;
  }

  .banner-card::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 15px;
    width: 70%;
    height: 16px;
    background-color: #3AF9A2;
    border-radius: 0 0 15px 15px;
    box-shadow: 8px 8px 15px rgba(0,0,0,0.15);
    transform: translateZ(-1px);
    z-index: -1;
  }

  .banner-text h1 {
    font-size: 1.1rem;
    text-align: left;
  }

  .banner-text h1 strong {
    font-size: 1.9rem;
    letter-spacing: 0px;
  }
}

/* Móviles medianos - 480px y menores */
@media (max-width: 480px) {
  .banner-infra-container {
    aspect-ratio: 1263 / 620;
  }

  .banner-card {
    padding: 25px 12px 18px 18px;
    border-radius: 12px;
    margin: 0 10px 0 12px;
    gap: 10px;
  }

  .banner-badge {
    top: -16px;
    left: -6px;
    width: 35px;
    height: 35px;
    transform: translateZ(1px);
  }

  .banner-badge img {
    width: 23px;
  }

  .banner-card::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 12px;
    width: 70%;
    height: 14px;
    background-color: #3AF9A2;
    border-radius: 0 0 12px 12px;
    box-shadow: 6px 6px 12px rgba(0,0,0,0.15);
    transform: translateZ(-1px);
    z-index: -1;
  }

  .banner-text h1 {
    font-size: 0.95rem;
    text-align: left;
  }

  .banner-text h1 strong {
    font-size: 1.7rem;
    letter-spacing: 0px;
  }
}

/* Móviles pequeños - 360px y menores */
@media (max-width: 360px) {
  .banner-infra-container {
    aspect-ratio: 1263 / 680;
  }

  .banner-card {
    padding: 18px 10px 14px 15px;
    border-radius: 10px;
    margin: 0 8px 0 10px;
    gap: 8px;
  }

  .banner-badge {
    top: -14px;
    left: -5px;
    width: 32px;
    height: 32px;
    transform: translateZ(1px);
  }

  .banner-badge img {
    width: 21px;
  }

  .banner-card::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 10px;
    width: 70%;
    height: 12px;
    background-color: #3AF9A2;
    border-radius: 0 0 10px 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    transform: translateZ(-1px);
    z-index: -1;
  }

  .banner-text h1 {
    font-size: 0.85rem;
    text-align: left;
  }

  .banner-text h1 strong {
    font-size: 1.5rem;
  }
}




@media (max-width: 991px) {
    /* Clase que activaremos con JS cuando el usuario baje el scroll */
    .menu-fixed-active {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        width: 100% !important;
        z-index: 9999 !important;
        background-color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease-out; /* Efecto suave al aparecer */
    }

    @keyframes slideDown {
        from { transform: translateY(-100%); }
        to { transform: translateY(0); }
    }
}



/*Estilos tarjetas perfiles Gabinete*/

  /* Prefijo único gab-ant (Gabinete Antioquia) para evitar colisiones */
  .gab-ant-container {
    display: block;
    width: 100%;
    background-color: #ffffff;
    text-decoration: none !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: none; /* Aseguramos que no herede bordes */
  }

  .gab-ant-wrapper {
    display: flex;
    align-items: stretch; 
    width: 100%;
  }

  .gab-ant-media {
    flex: 0 0 40%;
    position: relative;
    background-color: #fff;
    /* Curva característica en la esquina inferior derecha */
    border-bottom-right-radius: 100px; 
    overflow: hidden;
    aspect-ratio: 4 / 5; 
  }

  .gab-ant-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
    image-rendering: smooth;
    /* Sin sombras ni bordes redondeados internos según correcciones previas */
    border-radius: 0;
    box-shadow: none;
  }

  .gab-ant-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
  }

  .gab-ant-title {
    color: #0b5640; /* Verde Institucional */
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 10px 0;
    text-transform: none;
  }

  .gab-ant-subtitle {
    color: #018d38; /* Color de cargo */
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    margin: 0;
    border-left: 4px solid #3AF9A2; /* Detalle con el color secundario institucional */
    padding-left: 15px;
  }

  /* Ajustes para dispositivos móviles */
  @media (max-width: 768px) {
    .gab-ant-wrapper { 
      flex-direction: column; 
    }
    .gab-ant-media { 
      flex: none;
      width: 100%; 
      aspect-ratio: 1 / 1; 
      border-radius: 0; 
    }
    .gab-ant-content { 
      text-align: center; 
      padding: 30px 20px; 
    }
    .gab-ant-subtitle {
      border-left: none;
      padding-left: 0;
    }
  }

/*Estilos para videos de Youtube*/

.videos-bloque{
  background:#0a8a3e;
  border-radius:18px;
  padding:16px;
  margin:16px 0 30px;
}

.videos-grid{
  background:#075840;
  border-radius:16px;
  padding:18px;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  justify-items:center;
}

.video-card{
  width:100%;
  max-width:780px;
  background:#ffffff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}

/* contenedor horizontal */
.video-media{
  width:100%;
  aspect-ratio:16 / 9;
  background:#000;
}

.video-media iframe{
  width:100% !important;
  height:100% !important;
  display:block;
  border:0;
}

@media (max-width: 768px){
  .videos-bloque{
    padding:12px;
  }

  .videos-grid{
    padding:12px;
    gap:14px;
  }

  .video-card{
    max-width:100%;
  }

  .video-media{
    aspect-ratio:16 / 9;
  }
}




/*Inicio rediseño*/
.borde-curvo-inferior-derecho{
  border-radius: 0 0 50px 0;
}
.borde-curvo-inferior-izquierdo{
  border-radius: 0 0 0 50px;
}
/* 1. RESET DE ESTRUCTURA */
.normativa-grid .category-list,
.normativa-grid #adminForm,
.normativa-grid table,
.normativa-grid tbody {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* 2. GRID DE 3 COLUMNAS (ESCRITORIO) */
.normativa-grid tbody {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    padding: 20px 0 !important;
}
/* 3. LA TARJETA (FILA) - ESTILO BASE (PARES) */
.normativa-grid tbody tr {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    border-radius: 35px !important;
    border: 3px solid #0b5640 !important;
    background-color: #ffffff !important;
    min-height: 350px !important;
    transition: all 0.4s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
}
/* --- TARJETAS IMPARES (OVERRIDE) --- */
.normativa-grid tbody tr:nth-child(odd) {
    background-color: #0b5640 !important;
}
/* 4. EL ENLACE DEL TÍTULO */
.normativa-grid .list-title a {
    color: #0b5640 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: block !important;
    padding: 50px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.4s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
/* Texto normal tarjetas impares */
.normativa-grid tbody tr:nth-child(odd) .list-title a {
    color: #ffffff !important;
}
/* 5. HOVER GENERAL (PARES) */
.normativa-grid tbody tr:hover {
    background-color: #0b5640 !important;
    border-color: #0b5640 !important;
}
.normativa-grid tbody tr:hover .list-title a {
    color: #ffffff !important;
}
/* --- HOVER IMPARES (INVERSO) --- */
.normativa-grid tbody tr:nth-child(odd):hover {
    background-color: #ffffff !important;
    border-color: #0b5640 !important;
}
.normativa-grid tbody tr:nth-child(odd):hover .list-title a {
    color: #0b5640 !important;
}
/* 6. TEXTO "LEER MÁS" */
.normativa-grid .list-title::after {
    content: "Leer más...";
    display: block !important;
    padding-bottom: 30px !important;
    color: #0b5640 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    transition: color 0.4s ease !important;
    text-shadow: none !important;
}
.normativa-grid tbody tr:nth-child(odd) .list-title::after {
    color: #ffffff !important;
}
.normativa-grid tbody tr:hover .list-title::after {
    color: #ffffff !important;
}
.normativa-grid tbody tr:nth-child(odd):hover .list-title::after {
    color: #0b5640 !important;
}
/* 7. ELIMINACIÓN DE CAPAS INTERNAS */
.normativa-grid td,
.normativa-grid .list-title,
.normativa-grid tr td,
.normativa-grid td > *,
.normativa-grid td span {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
/* 8. OCULTAR SOBRANTES */
.normativa-grid thead,
.normativa-grid .filter-select,
.normativa-grid .display-limit,
.normativa-grid .pagination-limit,
.normativa-grid .list-footer {
    display: none !important;
}
/* 9. RESPONSIVE ADAPTADO */
@media (max-width: 1024px) {
    .normativa-grid tbody {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}
@media (max-width: 767px) {
    .normativa-grid tbody {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 10px 5px !important;
    }
    .normativa-grid .list-title a {
        /* PADDING REDUCIDO: 18px arriba/abajo y 10px laterales */
        padding: 18px 10px !important;
        font-size: 1rem !important; /* Ajuste leve de fuente para 2 columnas */
    }
    .normativa-grid tbody tr {
        /* ALTURA REDUCIDA para acompañar el nuevo padding */
        min-height: 220px !important;
        border-radius: 20px !important;
        border-width: 2px !important; /* Borde más fino para pantallas pequeñas */
    }
    .normativa-grid .list-title::after {
        font-size: 0.85rem !important;
        padding-bottom: 15px !important;
        margin-top: 5px !important;
    }
}
/*acordeones*/
/* --- SISTEMA DE ACORDEONES UNIFICADO (ANTIOQUIA) --- */
/* Contenedor principal con marco verde */
.gov-accordion-container {
    margin: 20px auto;
    background-color: #0b5640; /* Verde Oscuro */
    padding: 15px;
    border-radius: 23px;
}
/* Título de la sección dentro del marco */
.gov-accordion-main-title {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 15px;
    margin-bottom: 10px;
}
/* Bloque de cada item */
.gov-accordion-item {
    margin-bottom: 12px;
    background-color: white;
    border-radius: 30px !important;
    overflow: hidden;
    border: none;
}
/* Checkbox oculto */
.gov-accordion-item input[type="checkbox"] {
    display: none;
}
/* Encabezado clicable */
.gov-accordion-header {
    display: flex;
    align-items: center;
    padding: 3px 25px;
    background-color: white;
    cursor: pointer;
    font-weight: bold;
    color: #0b5640;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: none;
    margin: 0;
}
/* Icono circular con flecha (FontAwesome) */
.gov-accordion-header::before {
    content: '\f0a9';
    font-family: "Font Awesome 5 Free";
    margin-right: 15px;
    font-size: 26px;
    color: #018d38; /* Verde Claro */
    transition: transform 0.3s;
}
/* Cuerpo del acordeón (Grid) */
.gov-accordion-content {
    display: none;
    padding: 20px 30px;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}
/* Lógica de apertura */
.gov-accordion-item input[type="checkbox"]:checked ~ .gov-accordion-content {
    display: block;
}
.gov-accordion-item input[type="checkbox"]:checked + .gov-accordion-header {
    background-color: #018d38; /* Cambia a verde claro al abrir */
    color: white;
}
.gov-accordion-item input[type="checkbox"]:checked + .gov-accordion-header::before {
    color: white;
    content: '\f0ab'; /* Flecha hacia abajo */
}
/* Rejilla de enlaces (3 columnas en PC, 1 en móvil) */
.gov-accordion-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 12px;
}
.gov-accordion-grid li a {
    text-decoration: none;
    color: #0b5640;
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
    padding: 5px 0;
}
.gov-accordion-grid li a i {
    color: #0b5640;
    margin-right: 10px;
    margin-top: 3px;
}
.gov-accordion-grid li a:hover {
    color: #018d38;
    text-decoration: underline;
}
/* Bloques de texto descriptivo */
.gov-accordion-info-text {
    grid-column: 1 / -1;
    background-color: #f4fbf7;
    padding: 12px 15px;
    border-left: 4px solid #018d38;
    font-size: 13px;
    color: #444;
    margin: 10px 0;
}
@media (max-width: 768px) {
    .gov-accordion-grid {
        grid-template-columns: 1fr;
    }
}
/*fin acordeones*/
/*inicio cambio en titulos*/
/* Estilo de barra verde de ancho completo */
/* Se aplica a H2-H5 EXCEPTO si tienen estilos inline o la clase .no-estilo */
h2:not([style*="background"]):not([style*="color"]):not(.no-estilo),
h3:not([style*="background"]):not([style*="color"]):not(.no-estilo),
h4:not([style*="background"]):not([style*="color"]):not(.no-estilo),
h5:not([style*="background"]):not([style*="color"]):not(.no-estilo) {
    background-color: #0b5640 !important;
    color: #ffffff !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    border: none !important;
    line-height: 1.2 !important;
}
/* 2. Clase para CANCELAR estilos de módulos (como pediste antes) */
.modulo-limpio, .modulo-limpio .moduletable {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
/* Si el padre tiene la clase .no-estilo, reseteamos el h2, h3, h4, h5 */
.no-estilo h2,
.no-estilo h3,
.no-estilo h4,
.no-estilo h5 {
    background-color: transparent !important;
    color: #ffffff !important; /* O el color que desees */
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important; /* O el valor por defecto */
    width: auto !important;
    text-align: left !important;
}
/* Asegurar que el enlace sea blanco */
.no-estilo h2 a,
.no-estilo h3 a,
.no-estilo h4 a {
    color: #ffffff !important;
}
/*fin cambio titulos*/
/* Forzar alineación a la izquierda en el contenedor principal de T4 */
.t4-section-inner .custom {
    text-align: left !important;
}
/* Si el texto está dentro de un artículo de Joomla estándar */
.com-content-article__body {
    text-align: left !important;
}
/* Apuntar específicamente a la clase del Layout 3 de Purity IV */
.article-body {
    text-align: left !important;
}
/* Por si el texto está envuelto en párrafos dentro de esa clase */
.article-body p,
.article-body div,
.article-body span {
    text-align: left !important;
}
/* Estado inicial del botón */
.btn-noticia-antioquia {
    background-color: #0b5640 !important; /* Fondo verde oscuro */
    color: #3AF9A2 !important;            /* Texto verde neón */
    border: 2px solid #0b5640;           /* Borde para evitar saltos al hacer hover */
    transition: all 0.3s ease-in-out;    /* Transición suave */
    font-size: 0.9rem;
    text-transform: uppercase;           /* Opcional: para que coincida con la imagen */
}
/* Efecto Hover: Intercalado de colores */
.btn-noticia-antioquia:hover {
    background-color: #3AF9A2 !important; /* El fondo pasa a ser el neón */
    color: #0b5640 !important;            /* El texto pasa a ser el verde oscuro */
    border-color: #3AF9A2;                /* Ajuste del borde al color neón */
}
.card-noticia {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave y difuminada */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para suavizar el efecto */
}
/* Efecto al pasar el mouse (opcional pero recomendado) */
.card-noticia:hover {
    transform: translateY(-5px); /* Eleva la tarjeta un poco */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* La sombra se vuelve más profunda */
}
/*inicio DOTS galerias*/
/* 1. Asegurar espacio para los puntos en ambos sliders */
.djslider-default,
#dj-image-slider112,
#dj-image-slider500000,
#dj-image-slider500127 {
    margin-bottom: 100px !important;
    overflow: visible !important;
}
/* 2. Reposicionar el contenedor de los puntos para ambos IDs */
#cust-navigation112.navigation-container-custom,
#cust-navigation500000.navigation-container-custom,
#cust-navigation500127.navigation-container-custom {
    position: absolute !important;
    top: auto !important;
    bottom: -60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
    background: transparent !important;
}
/* 3. Diseño de los Dots (Grandes y Verdes) */
#cust-navigation112 .load-button,
#cust-navigation500000 .load-button,
#cust-navigation500127 .load-button {
    width: 18px !important;
    height: 18px !important;
    background: transparent !important;
    border: 2px solid #018d38 !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin: 0 8px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}
/* 4. Dot Activo (Verde sólido) */
#cust-navigation112 .load-button.load-button-active,
#cust-navigation500000 .load-button.load-button-active,
#cust-navigation500127 .load-button.load-button-active {
    background: #018d38 !important;
    transform: scale(1.3) !important;
    transition: transform 0.3s ease !important;
    border: none !important;
}
/* 5. Restaurar visibilidad de las flechas (General para todos) */
.djslider-default .next-button,
.djslider-default .prev-button {
    z-index: 100 !important;
}
/* Ajuste para móviles: Dots más pequeños */
@media only screen and (max-width: 768px) {
    /* Reducimos el tamaño base de los dots */
    #cust-navigation112 .load-button,
    #cust-navigation500000 .load-button,
    #cust-navigation500127 .load-button {
        width: 12px !important;  /* Antes 18px */
        height: 12px !important; /* Antes 18px */
        margin: 0 5px !important;  /* Un poco más juntos */
    }
    /* Ajustamos el escalado del dot activo para que no crezca demasiado */
    #cust-navigation112 .load-button.load-button-active,
    #cust-navigation500000 .load-button.load-button-active,
    #cust-navigation500127 .load-button.load-button-active {
        transform: scale(1.2) !important; /* Un poco menos que el 1.3 original */
    }
#cust-navigation112.navigation-container-custom,
    #cust-navigation500000.navigation-container-custom,
    #cust-navigation500127.navigation-container-custom {
        bottom: -40px !important; /* Subimos el contenedor en móvil */
    }
}
/* Forzar el tamaño de la imagen del logo */
.logo-img {
    height: auto !important;
    width: auto !important;
    max-height: 70px !important; /* Aumenta este valor según necesites */
    min-width: 170px !important; /* Ajusta el ancho mínimo si es necesario */
}
/* Logo más grande en móvil */
/* Selector alternativo para móvil */
.logo-img-sm {
    height: auto !important;
    width: auto !important;
    max-height: 67px !important;
    min-width: auto;
}
/*configuracion layout 3 noticias*/
/* Estilo para el título tipo banner */
.layout-3 .custom-article-title {
    color: #0b5640 !important; /* Verde oscuro institucional */
    font-size: 3rem !important; /* Tamaño grande */
    font-weight: 800 !important; /* Extra negrita */
    text-align: center !important;
    line-height: 1.1 !important;
    max-width: 900px;
    margin: 0 auto 30px auto !important;
    letter-spacing: -1px;
}
/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    .layout-3 .custom-article-title {
        font-size: 1.8rem !important;
    }
      .logo-img-sm {
        margin-top: 6px;
        margin-bottom: 6px;
    }
}
/*fin configuracion layout-3*/
/* 1. FUERZA BRUTA PARA TIPOGRAFÍA */
div.t4-megamenu ul.nav.navbar-nav.level0 > li > a,
div.t4-megamenu ul.nav.navbar-nav.level0 > li > a span,
.t4-megamenu .navbar-nav .nav-link {
    /* CAMBIO: Se actualizó de 'Open Sans' a 'Poppins' */
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    color: #0b5640 !important;
    text-transform: none !important;
    letter-spacing: -0.2px !important;
    display: flex !important;
    align-items: center !important;
    height: 45px !important;
    padding: 0px 5px !important;
    -webkit-font-smoothing: antialiased !important;
    white-space: nowrap !important;
}
/* 2. CÁPSULA DINÁMICA (ALINEADA) */
div.t4-megamenu ul.nav.navbar-nav.level0 > li.active > a,
div.t4-megamenu ul.nav.navbar-nav.level0 > li.current > a {
    background-color: #26ffb5 !important;
    color: #0b5640 !important;
    border-radius: 50px !important;
    padding: 0 15px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-self: center !important;
    margin-top: 0px !important;
}
/* 3. HOVER (VERDE OSCURO) */
div.t4-megamenu ul.nav.navbar-nav.level0 > li:not(.active) > a:hover {
    color: #042b20 !important;
    background: transparent !important;
}
/* 5. ESTABILIZADOR DEL CONTENEDOR */
div.t4-megamenu ul.nav.navbar-nav.level0 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}
/*menu busqueda search*/
/* 1. REESTRUCTURACIÓN DE LA FILA PADRE */
#t4-header .row, 
#t4-header .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* 2. LIMITAR EL MENÚ */
.t4-megamenu, 
#t4-megamenu,
.t4-col[data-pos="menu"] {
    flex: 1 1 auto !important;
    /* Ajustamos el cálculo para que el menú tenga más espacio */
    max-width: calc(100% - 130px) !important; 
    min-width: 0 !important;
    transition: all 0.3s ease;
}

/* 3. CONTENEDOR DEL BUSCADOR */
.t4-module.search, 
div[data-pos="search"],
.t4-col[data-pos="search"] {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: 8px !important; /* Espacio reducido entre Participa y el buscador */
    z-index: 100 !important;
}

/* 4. ESTILO DEL INPUT CON CRECIMIENTO REDUCIDO */
input.js-finder-search-query.form-control {
    /* Estado inicial: más pequeño */
    width: 100px !important; 
    height: 34px !important;
    border-radius: 20px !important;
    border: 1px solid #ced4da !important;
    padding: 0 12px !important;
    background-color: #ffffff !important;
    font-size: 13px !important; /* Fuente un poco más pequeña para que quepa el placeholder */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* EFECTO HOVER Y FOCUS (Ajustado para que crezca menos) */
input.js-finder-search-query.form-control:hover,
input.js-finder-search-query.form-control:focus {
    /* CRECIMIENTO LIMITADO: Solo sube a 160px en lugar de 220px */
    width: 160px !important; 
    border-color: #0b5640 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    outline: none !important;
}
/* Limpieza de la lista de resultados */
.com-finder__results-list {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Aplicación de la línea gráfica de Antioquia a la clase no-estilo */
.result-title.no-estilo a {
    color: #064532 !important; /* El verde oscuro de tus títulos */
    font-family: 'Montserrat', sans-serif; /* O la que use el sitio */
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.result-title.no-estilo a:hover {
    color: #00a135 !important; /* Verde vibrante del logo al hacer hover */
}

.result-date {
    color: #666;
    font-size: 0.9rem;
}

.result-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Ajuste para imágenes miniatura */
.result-image img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

/*barra gov co delgada*/
.t4-topbar {
    padding-top: 3px !important;    /* Ajusta este valor a tu gusto */
    padding-bottom: 3px !important; /* Ajusta este valor a tu gusto */
    min-height: auto !important;    /* Elimina alturas mínimas forzadas */
}
/*fin rediseño*/
/*SIDAP Tablas*/
#sidap table td,
#sidap table th {
  border: none !important;
  padding: 0 !important;
}
#sidap table {
  border: none !important;
  border-collapse: collapse !important;
}
/*fin SIDAP*/
/*Ocultar fechas de articulos tarjetas*/
.card-info small {
    display: none !important;
}
/* Ocultar fechas en artículos de inicio - Versión mejorada */
.card-text .text-muted,
.card-text small.text-muted,
.card-info .text-muted {
    display: none !important;
    visibility: hidden !important;
}
/*fin ocultar fechas*/
/*ocultar ultimo breadcumb como en produccion*/
.mod-breadcrumbs li.breadcrumb-item.active {
  display: none !important;
}
/*fin breadcumb*/
.titulo-noticia {
  background-color: #226600; /* verde oscuro similar al de la imagen */
  color: white;
  text-transform: uppercase;
  padding: 8px 10px 10px 10px !important;
  display: inline-block; /* para que el fondo no ocupe todo el ancho */
  font-size: 14px; /* ajusta si deseas que se vea más grande o más pequeño */
  font-weight: bold;
  margin: 20px 0px 50px 0px !important;
}
.desc-article {
  text-align: left !important;
}
.item-intro {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Número de líneas visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*imagenes art*/
.blog .pull-left.item-image,
.blog .pull-left.item-image img,
.category .pull-left.item-image,
.category .pull-left.item-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
}
/*imagenes art*/
/*
.pull-left.item-image {
  width: 100%;
  height: 220px; /* igual que la imagen */
  overflow: hidden; /* para recortar el exceso */
}
.pull-left.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
*/
/*inicio desplegables acordeones*/
/* Contenedor principal */
#tramiteswrap {
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}
/* Título de la sección */
.tramitestitle {
    background-color: #2b2b2b;
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
}
/* Títulos tipo pestaña (Historico de Proyectos, Proyectos Subregiones Entidades) */
.tramitescontent1 h3 {
    margin: 0;
    padding: 8px 15px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
}
.tramitescontent1 h3 a {
    color: #004d00;
    text-decoration: none;
    display: block;
}
.tramitescontent1 h3.activo {
    background-color: #fff;
    font-weight: bold;
}
/* Contenido desplegable */
.description {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: white;
}
.description h3 {
    margin: 8px 0;
}
.description h3 a {
    color: #006600;
    text-decoration: none;
    font-weight: normal;
}
.description h3 a:hover {
    text-decoration: underline;
}
/*prensa*/
.article-content-centered {
  max-width: 750px;
  margin: 0 auto;
}
.article-content-centered p {
  text-align: justify;
  line-height: 1.7;
}
/*imagenes de articulos*/
/* Estilo para imagen destacada en el artículo completo */
.com-content-article .full-image,
.com-content-article .full-image figure,
.com-content-article .full-image .pull-left.item-image {
  width: 100%;
  max-width: 800px; /* 👈 Limita el tamaño máximo real */
  margin: 0 auto;    /* 👈 Centra horizontalmente */
  height: auto !important;
  overflow: visible !important;
  text-align: center;
}
.com-content-article .full-image img {
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}
/*Footer gerencias, secretarias*/
.t4-footnav .t4-module .module-title span {
  font-weight: 500;
  padding-bottom: 0;
  letter-spacing: 0.5px;
  border: none;
  color: white;
  text-transform: uppercase;
}
 .footer-modulo .nav-item a {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  line-height: 1.2;
}
/*entidades footer*/
.entidades-footer {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #000000;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .entidades-footer li {
    margin-bottom: 4px;
  }
  .entidades-footer a {
    text-decoration: none;
    color: #000000;
  }
  .entidades-footer a:hover {
    text-decoration: underline;
  }
/*centrar articulos de cobro coactivo*/
.coactivo-fijo .desc-article {
    font-size: 12px !important;
}
/* Aplica ancho completo al contenedor del artículo */
.coactivo-fijo #content,
.coactivo-fijo .item-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    overflow-x: hidden;
    box-sizing: border-box;
}
/* Forzar que todas las tablas dentro del contenido no desborden */
.coactivo-fijo table {
font-size: 13px;
display: block;
    width: 100% !important;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 0;
    box-sizing: border-box;
}
/* Reducir tamaño de los enlaces tipo VER=> en páginas coactivo-fijo */
.coactivo-fijo a span {
    font-size: 12px !important;  /* Puedes bajarlo más si lo deseas */
}
/* Asegura que las celdas no se expandan descontroladamente */
.coactivo-fijo th,
.coactivo-fijo td {
    text-align: left;
    padding: 8px;
    white-space: normal;
    word-break: break-word;
}
/*bordes tablas*/
/* Añade bordes a las tablas dentro de la clase coactivo-fijo */
.coactivo-fijo table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
}
/* Bordes internos de filas y columnas */
.coactivo-fijo th,
.coactivo-fijo td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}
/* Opcional: resalta el encabezado */
.coactivo-fijo th {
    background-color: #f2f2f2;
    font-weight: bold;
}
/* Quitar viñetas y sangría en listas */
.coactivo-fijo ul,
.coactivo-fijo ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
/* En páginas coactivo-fijo, oculta el último breadcrumb */
.coactivo-fijo .mod-breadcrumbs li.breadcrumb-item.active {
  display: none !important;
}
/* Y también el penúltimo breadcrumb (el anterior al activo) */
.coactivo-fijo .mod-breadcrumbs li.breadcrumb-item:nth-last-child(2) {
  display: none !important;
}
/*fin centrar articulos cobro coactivo*/

/*ocultar etiquetas -tags en articulos*/
ul.tags.list-inline {
    display: none;
}
/*secertaria de hacienda notificaciones*/
.introtext-grande p {
display: none !important;
}
div.item ul {
    display: flex;
    flex-wrap: wrap;
    list-style-position: inside; /* Opcional, para mejorar la posición de las viñetas */
 list-style: none;
    padding-left: 0;
}
div.item ul li {
    width: 100%;
    box-sizing: border-box;
}
/*fin secertaria de hacienda notificaciones*/
/*estilo tabla eliminado*/
/*Estilo tablas notificaciones transito*/
body.notificaciones-transito.view-article .t4-content table,
body.notificaciones-transito.view-article .com-content-article table,
body.notificaciones-transito.view-article .t4-section table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: auto;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0;
  box-sizing: border-box;
  font-size: 13px;
}
body.notificaciones-transito.view-article .t4-content table td,
body.notificaciones-transito.view-article .t4-content table th,
body.notificaciones-transito.view-article .com-content-article table td,
body.notificaciones-transito.view-article .com-content-article table th,
body.notificaciones-transito.view-article .t4-section table td,
body.notificaciones-transito.view-article .t4-section table th {
  white-space: normal !important;
  word-break: break-word;
  max-width: 200px;
  padding: 6px;
  text-align: left;
  font-size: 13px;
}
body.notificaciones-transito.view-article table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #333;
}
body.notificaciones-transito.view-article table th,
body.notificaciones-transito.view-article table td {
  border: 1px solid #333;
  padding: 8px;
  text-align: left;
}
/* esconder titulo manual de identidad */
.container.my-4 h4.fw-bold {
    display: none;
}



/*Logo govco estilos */



  /* Esto añade espacio extra específicamente antes del primer icono de acción */
.acciones {
  margin-left: 20px; /* Ajusta este valor (20px, 30px, etc.) según necesites */
}
  
  .barra-superior-govco {
    padding: 0px 0;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    z-index: 9999;

  }

  .container-govco {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
  }

.logo img {
  height: 20px; /* Cambia 30px por 20px o el tamaño que desees */
  width: auto;  /* Asegura que la proporción se mantenga */
  vertical-align: middle;
}

  .acciones {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: left;
    flex-grow: 1;
  }

  .accion {
    color: #ffffff !important;
    font-size: 10px !important;
    text-decoration: none;
    font-weight: 400;
    background: transparent;
    border: 0px solid #ffffff;
    padding: 3px 7px;
    border-radius: 4px;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.3s;
  }

  .accion:hover,
  .accion:focus,
  .accion:active {
    background-color: #0943B5;
    color: #ffffff !important;
  }

  /* Contraste alto */
  .contraste-alto {
    background-color: #000 !important;
    color: #00ffff !important;
  }

  .contraste-alto *:not(.no-escalar) {
    color: #00ffff !important;
    background-color: transparent !important;
  }

  @media screen and (max-width: 600px) {
    .container-govco {
      flex-direction: column;
      gap: 10px;
    }

    .acciones {
      flex-wrap: wrap;
    }
  }


/*fin estilos gov co*/


/*tramites a un clic inicio*/
:root {
    --green-light: #018d38;
    --green-dark: #0b5640;
    --mint: #3AF9A2;
}

.modulo-tramites-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 15px 30px; 
    font-family: 'Poppins', sans-serif;
    background: #fff;
    position: relative;
    z-index: 999;
    margin-top: 50px;
}

.titulo-principal {
    color: var(--green-light);
    font-size: 3.5rem; /* Antes 3.2 */
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 25px;
}

.titulo-principal span {
    font-size: 5.5rem; /* Antes 5.0 */
    font-weight: 800;
    display: block;
    line-height: 0.8;
}

.boton-acceso {
  margin-top: 15px;
    background-color: var(--green-dark);
    color: var(--mint);
    display: inline-flex;
    align-items: center;
    padding: 10px 90px 10px 70px !important; /* Más padding para que el botón sea más grande */
    border-radius: 70px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.boton-acceso:hover {
    background-color: var(--mint);
    color: var(--green-dark);
}

.texto-boton {
    font-size: 3.2rem; /* Antes 2.9 */
    font-weight: bold;
}

.icono-click {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-40%) rotate(-45deg);
    width: 95px; /* Un poco más grande para el nuevo tamaño del botón */
    height: auto;
    pointer-events: none;
}

.icono-hover { opacity: 0; }
.icono-normal { opacity: 1; }
.boton-acceso:hover .icono-normal { opacity: 0; }
.boton-acceso:hover .icono-hover { opacity: 1; }

.tramites-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tramite-card {
    background-color: var(--green-light);
    color: white;
    padding: 12px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 35px 0;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.tramite-card.dark { background-color: var(--green-dark); }

.tramite-card .icon img { 
    width: 50px;
    height: auto; 
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 10000;
    top: 100%;
    left: 0;
    min-width: 250px;
}

.dropdown-content a {
    color: var(--green-dark) !important;
    padding: 10px 15px;
    text-decoration: none !important;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-content.show { display: block; }

.pre-titulo {
    font-weight: bold;
    text-transform: none;
    margin-bottom: -15px;
    display: flex;
    align-items: baseline; /* Asegura que ambas partes se alineen perfectamente por abajo */
  }

  /* Estilos para "MÍA" (Verde más oscuro/institucional y 20.36% más grande) */
  .pre-titulo .txt-mia {
    font-size: 2.88864rem; /* 1.2rem * 1.2036 */
    color: #018d38;       /* Tono verde oscuro */
  }

  /* Estilos para "ntioquia" (Verde más claro/brillante y tamaño base) */
  .pre-titulo .txt-ntioquia {
    font-size: 2.4rem;   /* Tu tamaño base original */
    color: #0b5640;       /* Tono verde claro */
  }

/* --- AJUSTES MÓVIL --- */
@media (max-width: 768px) {
    .modulo-tramites-wrapper { 
        flex-direction: column; 
        padding: 15px;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
        overflow: visible;
    }

 .tramites-intro {
        display: flex;
        flex-direction: column;  /* CAMBIADO DE ROW A COLUMN para enviar MIAntioquia arriba */
        align-items: center;
        justify-content: center;
        gap: 20px; 
        width: 100%;
    }

    .titulo-principal { 
        font-size: 1.8rem; /* Antes 1.5 */
        text-align: center;  /* Cambiado a center para balancear el diseño vertical en móvil */
        margin-bottom: 0; 
    }
    .titulo-principal span { 
        font-size: 2.3rem; /* Antes 2.0 */
    }

    .boton-acceso { 
        padding: 10px 45px 10px 20px !important; /* Más padding en movil */
    }
    .texto-boton { 
        font-size: 1.35rem; /* Antes 1.1 */
    }
    .icono-click { 
        width: 45px; /* Antes 35 */
        right: -10px; 
    }

    .tramites-grid { 
        grid-template-columns: repeat(3, 1fr); 
        width: 100%; 
        gap: 8px;
    }

    .tramite-card {
        height: 100px;
        font-size: 0.65rem;
    }

    .tramite-card .icon img { width: 28px; margin-bottom: 8px; }

    .dropdown-content {
        position: fixed; 
        left: 5% !important;
        right: 5% !important;
        top: 50% !important; 
        transform: translateY(-50%);
        width: 90% !important;
        min-width: unset;
        max-height: 80vh; 
        overflow-y: auto; 
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
        border: 2px solid var(--green-light);
    }

    .dropdown-content a {
        white-space: normal; 
        border-bottom: 1px solid #eee;
        padding: 15px;
    }
}
.tramite-card, .tramite-card span { color: #ffffff !important; text-decoration: none !important; }
.tramite-card:hover, .tramite-card:hover span { color: #ffffff !important; }

/*fin a un clic tus tramites*/




/*asi transformamos a antioquia inicio*/
 /* Oculta el salto de línea en desktop por defecto */
.mobile-break {
    display: none;
}
  
    .ant-wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        overflow: hidden; 
        position: relative; 
    }
  
.ant-card img.img-left {
    object-position: left center;
}

.ant-card img.img-right {
    object-position: right center;
}
  
    .ant-main-title {
        color: #008a33;
        font-size: 57px;
        font-weight: 700;
        margin-bottom: 25px;
    }

    .ant-carousel-container {
        display: flex;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .ant-grid {
        display: flex;
        width: max-content;
        will-change: transform;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .ant-card-link {
        text-decoration: none;
        display: block;
    }

    .ant-card {
        position: relative;
        width: 240px; 
        flex: 0 0 240px; 
        height: 217px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .ant-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0; left: 0;
    }

    .ant-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1;
        opacity: 0.7;
    }

    .ant-text {
        position: relative;
        z-index: 2;
        color: #ffffff;
        font-size: 22px;
        font-weight: 900;
        padding: 15px;
        line-height: 1.1;
    }

    .bg-z { background-color: #3561ab; }
    .bg-v { background-color: #0b5640; }
    .bg-m { background-color: #8b4a97; }
    .bg-n { background-color: #f28e18; }
    .bg-a { background-color: #8FCAF0; }
    .bg-lm { background-color: #8bc542; } 

    .ant-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 138, 51, 0.8);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    .ant-arrow:hover { background: #008a33; scale: 1.1; }
    .ant-prev { left: 10px; }
    .ant-next { right: 10px; }

    /* AJUSTES PARA MÓVIL */
    @media (max-width: 480px) {
        .ant-card { 
            width: 50vw; 
            flex: 0 0 50vw; 
            height: 180px; 
        }
        .ant-main-title { font-size: 32px; line-height: 0.9;}
        .ant-text { font-size: 18px; }

        /* Flechas más pequeñas en móvil */
        .ant-arrow {
            width: 32px;        /* Antes 45px */
            height: 32px;       /* Antes 45px */
            font-size: 16px;    /* Antes 24px */
        }
        .ant-prev { left: 5px; }  /* Más pegadas al borde para no estorbar */
        .ant-next { right: 5px; }
      .mobile-break {
        display: block; /* Muestra el salto solo en móvil */
    }
    }
/*fin transformamos antioquia*/


/*banner programas sociales primera dama*/
    /* ESTILOS PARA EL TÍTULO */
    .ant-main-title {
        color: #008a33;
        font-size: 57px;
        font-weight: 700;
        margin-bottom: 25px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px; /* Espacio entre Programas y el recuadro */
    }

    /* ESTILO PARA EL RECUADRO DE LA PALABRA SOCIALES */
    .ant-sociales-box {
        background-color: #0b5640; /* Verde oscuro de la imagen */
        color: #ffffff; /* Letras blancas */
        padding: 5px 25px; /* Espaciado interno */
        border-radius: 12px; /* Esquinas redondeadas */
        display: inline-block;
        line-height: 1.2;
    }

    /* ESTILOS PARA EL BANNER DE ANCHO COMPLETO */
    .banner-completo-container {
        width: 100%;
        height: 217px; 
        overflow: hidden;
        position: relative;
        margin-bottom: 5px;
      margin-top:15px;
    }

    .banner-completo-imagen {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center; 
        display: block;
    }

    /* AJUSTES MÓVILES */
    @media (max-width: 480px) {
        .ant-main-title { 
            font-size: 32px;
            gap: 10px;
        }
        .ant-sociales-box {
            padding: 2px 15px;
            border-radius: 8px;
        }
        .banner-completo-container {
            height: 145px; 
        }
    }

/*fin banner primera dama*/



/*en antioquia estan pasando cosas */
.modulo-antioquia-firme {
    --ant-green-dark: #0b5640; 
    --ant-green-bright: #018d38; 
    --ant-neon-bright: #3AF9A2;
    --ant-overlay-yellow: rgba(255, 240, 0, 0);
    --ant-white: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px !important;
    overflow: hidden;
    margin: 20px auto 50px auto;
}

/* Título Escritorio: Grande y con altura de línea moderada */
.ant-firme-header h1 {
    color: var(--ant-green-bright);
    text-align: center;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1; /* Aumentado para escritorio */
    margin: 10px 0 20px 0;
    letter-spacing: -2px;
}

.ant-firme-header h1 span {
    display: block;
    font-weight: 600;
    font-size: 0.9em;
}

.ant-firme-slider-container {
    display: flex;
    align-items: center !important;
    gap: 15px;
    position: relative;
}

.ant-firme-wrapper {
    overflow: hidden;
    flex-grow: 1;
}

.ant-firme-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.ant-firme-card {
    flex: 0 0 calc(25% - 11.25px); 
    background: linear-gradient(var(--ant-overlay-yellow), var(--ant-overlay-yellow)), 
                url('/images/rediseno/img/fondo-512x320.webp');
    background-size: cover;
    background-position: center;
    border-radius: 35px;
    padding: 15px 13px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.ant-firme-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ant-firme-small-text { font-size: 1.2rem; color: var(--ant-green-dark); margin: 0; font-weight: 600; line-height: 0.8; }
.ant-firme-medium-text { font-size: 1.5rem; color: var(--ant-green-dark); margin: 0; font-weight: 600; line-height: 0.8; }
.ant-firme-card-title { color: var(--ant-green-dark); font-size: 2.5rem; font-weight: 900 !important; margin: 5px 0; line-height: 0.95; text-shadow: 0.5px 0 0 var(--ant-green-dark); }
.ant-firme-desc { color: var(--ant-green-dark); font-size: 0.85rem; margin-top: 5px; font-weight: 500; line-height: 1.2; }

.ant-firme-btn {
    background-color: var(--ant-green-dark);
    color: var(--ant-neon-bright) !important;
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    margin: 10px 0 5px 0;
}

.ant-firme-btn:hover {
    transform: scale(1.05);
    background-color: var(--ant-neon-bright);
    color: var(--ant-green-dark) !important;
}

.ant-firme-arrow {
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--ant-green-dark);
    cursor: pointer;
    z-index: 10;
    padding: 0 10px;
}

.ant-firme-badge {
    background: var(--ant-green-dark);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .ant-firme-card { flex: 0 0 calc(33.333% - 10px); }
    /* Ajuste de línea para pantallas medianas */
    .ant-firme-header h1 { font-size: 4rem; line-height: 1; }
}

@media (max-width: 768px) {
    .ant-firme-card { flex: 0 0 calc(50% - 7.5px); }
    /* Altura de línea compacta para móvil */
    .ant-firme-header h1 { font-size: 3rem; line-height: 1; }
}

@media (max-width: 480px) {
    .ant-firme-card { flex: 0 0 100%; }
    /* Altura de línea compacta para móvil pequeño */
    .ant-firme-header h1 { font-size: 2.5rem; line-height:1; letter-spacing: -1px; }
    .ant-firme-arrow { font-size: 2rem; }
}

/*fin en antioquia estan pasando cosas muy buenas*/


/*cajon redes sociales modo antioqueño*/
    /* --- Estilos CSS del Módulo --- */
    .ma-module-container {
        color: #ffffff;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 30px auto;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        font-family: sans-serif; /* Asegurando una fuente base */
    }

    /* Header Verde Oscuro */
    .ma-header {
        background-color: #135e3b;
        padding: 12px 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 100;
    }

    .ma-header-content {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .ma-header-content span {
        font-size: 32px;
        font-weight: 300;
    }
    
    .ma-social-icons {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .ma-social-icon-img {
        width: 30px;
        height: auto;
        display: block;
        transition: opacity 0.3s ease;
    }

    .ma-social-icon-img:hover {
        opacity: 0.8;
        cursor: pointer;
    }

    /* Cuerpo Principal Verde Brillante */
    .ma-main-body {
        background-color: #009640;
        padding: 80px 40px 40px 40px; 
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        position: relative;
        align-items: center;
        z-index: 1;
    }

    /* Botón Escucha */
    .ma-escucha-btn {
        position: absolute;
        top: 30px;
        left: 0;
        background-color: #ffffff;
        color: #000;
        padding: 10px 25px 10px 15px;
        border-radius: 0 25px 25px 0;
        font-weight: 400;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        z-index: 10;
        font-size: 18px;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.2s ease, background-color 0.2s ease;
        user-select: none;
    }

    .ma-escucha-btn:active {
        transform: scale(0.95);
        background-color: #f0f0f0;
    }

    .ma-escucha-icon {
        width: 27px;
        height: auto;
        display: block;
    }

    /* Columna Izquierda (Texto) */
    .ma-left-col {
        flex: 1 1 350px; 
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ma-logo-img {
        max-width: 220px;
        height: auto;
        margin-bottom: 20px;
        align-self: center;
        display: block;
    }
    
    .ma-description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .ma-description strong {
        font-weight: 800;
    }

    .ma-author {
        font-size: 11px;
        opacity: 0.9;
        margin-bottom: 25px;
    }

    /* Botón Ver Video */
    .ma-ver-video-btn {
        background-color: #0b5640;
        color: #3AF9A2;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: 700;
        font-size: 16px;
        transition: all 0.3s ease;
        align-self: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .ma-ver-video-btn:hover {
        background-color: #3AF9A2;
        color: #0b5640;
        transform: translateY(-2px);
    }

    /* Columna Derecha (Video) */
    .ma-right-col {
        flex: 2 1 500px;
    }

    .ma-video-responsive {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .ma-video-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    
    /* --- AJUSTES PARA MÓVILES --- */
    @media (max-width: 850px) {
      /* BOTÓN VER VIDEO MÁS PEQUEÑO EN MÓVIL */
.ma-ver-video-btn {
    padding: 8px 22px; /* Reducido de 12px 30px */
    font-size: 14px;   /* Reducido de 16px */
    border-radius: 20px; /* Un poco más estilizado para su tamaño */
}  
      
      /* Reducción de padding lateral para que el video ocupe más espacio */
        .ma-main-body {
            flex-direction: column;
            padding: 80px 15px 30px 15px; /* Padding lateral reducido de 40px a 15px */
            gap: 25px;
        }

        .ma-header {
            padding: 12px 15px;
        }

        .ma-header-content {
            gap: 12px;
        }

        /* Texto "Síguenos en" más pequeño */
        .ma-header-content span {
            font-size: 18px;
        }

        /* Logos más grandes y pegados */
        .ma-social-icons {
            gap: 8px; /* Menos espacio entre iconos */
        }

        .ma-social-icon-img {
            width: 27px; /* Iconos un poco más grandes */
        }

        .ma-left-col, .ma-right-col {
            flex: 1 1 auto;
            width: 100%;
        }

        .ma-left-col {
            align-items: center;
            text-align: center;
        }

        .ma-author {
            align-self: center;
        }

        .ma-module-container {
            margin-bottom: 5px;
        }

      /* BOTÓN ESCUCHA MÁS PEQUEÑO EN MÓVIL */
        .ma-escucha-btn {
            padding: 6px 15px 6px 10px; /* Reducido de 10px 25px... */
            font-size: 14px;            /* Reducido de 18px */
            top: 20px;                  /* Un poco más arriba para ahorrar espacio */
            gap: 8px;                   /* Espacio entre icono y texto más corto */
        }

        .ma-escucha-icon {
            width: 20px;                /* Reducido de 27px */
        }
    }
/*fin redes sociales video youtube modo ant*/


/* popup modal inicio */
/* --- POPUP MODAL INICIO --- */

/* 1. ESTADO BASE (Escritorio y Global) */
#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  /* Centrado y un ligero efecto de escala inicial */
  transform: translate(-50%, -50%) scale(0.9);
  background-color: white;
  padding: 12px 12px 20px 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 999999;

  /* Manejo de visibilidad para rendimiento */
  display: block !important; /* IMPORTANTE: Siempre block para evitar reprocesamiento */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;

  /* Dimensiones originales escritorio */
  max-width: 70%; 
  max-height: 70%; 
  width: auto;
  height: auto;
  overflow: hidden;
  text-align: center;
}

/* 2. ESTADO ACTIVO (Cuando aparece) */
#popup.is-active, #overlay.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#popup.is-active {
  transform: translate(-50%, -50%) scale(1); /* Vuelve a su tamaño real */
}

/* 3. VERSIÓN MÓVIL */
@media screen and (max-width: 768px) {
  #popup {
    max-width: 92% !important; 
    max-height: 85% !important;
    width: 92% !important;
    padding: 10px !important;
  }

  #popup img {
    max-height: 70vh !important;
  }
}

/* 4. ELEMENTOS INTERNOS */
#popup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
  max-height: 60vh;
}

#close-popup {
  background-color: #0b5640;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  margin: 15px auto 0 auto;
  border-radius: 5px;
  display: block;
  width: fit-content;
}

/* 5. OVERLAY (Fondo oscuro) */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9998;

  /* Manejo de visibilidad */
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* --- POPUP MODAL FIN --- */





/*footer estilos*/
  /* --- ESTILOS PREEXISTENTES (MANTENIDOS) --- */
  .footer-institucional {
    font-size: 13px;
    background-color: #fff;
    color: #333;
    border-top: 0;
    border-bottom: 1px solid #ccc;
    padding: 20px;
  }

  .footer-institucional .contenido-interno {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 7px;
  }

  .footer-col {
    flex: 1;
    min-width: 250px;
    color: #616161;
    font-size: 12px;
  }

  .cuadricula-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 7px;
    width: 100%;
  }

  .bloque-contacto {
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }

  .bloque-contacto img {
    width: 33px;
    height: auto;
    flex-shrink: 0;
    margin-top: 3px;
  }

  .bloque-contenido {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
  }

  .bloque-contenido h3 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #616161;
    text-transform: none;
  }

  .bloque-contenido p {
    margin: 2px 0 0 0;
  }

  .footer-col a {
    color: #616161;
    text-decoration: none;
  }

  .footer-col a:hover {
    text-decoration: underline;
  }

  .negrilla {
    font-weight: bold;
  }

  .col-gobernacion {
    flex: 0 1 250px;
  }
  
  .col-gobernacion .titulo-gob {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
  }

  .col-gobernacion .subtitulo-gob {
    font-size: 45px;
    font-weight: bold;
    margin: 0;
    line-height: 0.8;
    display: block;
  }

  .datos-generales {
    font-size: 12px;
    margin-top: 15px;
  }

  .redes-sociales {
    margin-top: 15px;
    display: flex;
    gap: 7px;
  }
  
  .redes-sociales img {
    width: 24px;
    opacity: 0.5;
    transition: 0.3s;
  }
  
  .redes-sociales img:hover {
    opacity: 0.7;
  }

  .col-cert {
    flex: 0 1 150px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .col-cert img {
      max-height: 100px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  }

  .enlaces-contenedor {
    text-align: center;
    margin-top: 30px;
    font-size: 11px;
    color: #606060;
    border-top: 0px solid #eee;
    padding-top: 15px;
  }

  /* --- CORRECCIÓN DE LA BARRA AZUL (FULL WIDTH SIN SCROLL) --- */
  .footer-barra {
    background-color: #3561ab;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    position: relative;
    /* Técnica para fondo infinito sin usar 100vw */
    width: 100%;
    box-shadow: 0 0 0 100vmax #3561ab;
    clip-path: inset(0 -100vmax);
  }
  
  .footer-barra-wrap {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .footer-barra img {
    height: 25px;
    width: auto;
  }

  @media (max-width: 992px) {
    .cuadricula-contacto {
      grid-template-columns: 1fr;
    }
    .footer-barra {
        /* Se mantiene limpio en móviles */
        margin-left: 0; 
    }
  }
/*fin footer*/


/*redes sociales lateral izquierdo flotante*/
/* --- ESTILOS GENERALES (ESCRITORIO) --- */
.box_i {
  position: fixed !important;
  top: 50% !important;
  left: 0 !important; /* ← Cambiado de right a left */
  transform: translateY(-70%);
  z-index: 9999 !important;
  background-color: #ffffff;
  padding: 15px 10px;
  border-radius: 0 30px 30px 0; /* ← Bordes invertidos */
  box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.15); /* ← Sombra invertida */
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.gk-social {
  display: flex;
  transition: transform 0.2s ease;
  position: relative;
  text-decoration: none;
}

.gk-social img {
  width: 37px;
  height: auto;
  display: block;
}

/* --- TOOLTIP (Ahora aparece a la derecha del icono) --- */
.gk-social::after {
  content: attr(data-label);
  position: absolute;
  left: 130%; /* ← Cambiado de right a left */
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background-color: #2d572c;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
}

/* Flechita del tooltip */
.gk-social::before {
  content: "";
  position: absolute;
  left: 110%; /* ← Cambiado de right a left */
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  border: 6px solid transparent;
  border-right-color: #2d572c; /* ← Cambiado de border-left-color */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Hover: mostrar tooltip */
.gk-social:hover::after, 
.gk-social:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.gk-social:hover {
  transform: scale(1.1);
}

/* --- AJUSTE EXTRA PEQUEÑO PARA MÓVIL --- */
@media (max-width: 767px) {
  .box_i {
    padding: 8px 5px;
    gap: 8px;
    border-radius: 0 15px 15px 0; /* ← Bordes invertidos */
  }

  .gk-social img {
    width: 20px;
  }

  .gk-social::after, .gk-social::before {
    display: none;
  }
}
/*fin redes sociales flotantes izquierda*/




/*inicio entidades desplegable footer*/

/* CONTENEDOR GENERAL */
.entidades-wrapper {
  display: flex;
  gap: 80px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 90px;
}

/* BOTONES */
.entidad-btn {
  font-size: 17px;
  background: #0b4f3c;
  color: #3CFF9E;
  border: none;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.entidad-btn:hover, 
.entidad-btn.active {
  position: relative;
  background: #3CFF9E;
  color: #0b4f3c;
  z-index: 3;
}

.arrow {
  font-size: 22px;
  display: inline-block;
  transform: translateY(-4px);
  line-height: 1;
}

/* CONTENEDOR DESPLEGABLE */
.entidad {
  position: relative;
}

/* PANEL */
.entidad-panel {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #0b4f3c;
  border-radius: 20px;
  padding: 25px 20px 20px 20px;
  min-width: 650px; /* Aumentado ligeramente para dar espacio a la jerarquía */
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  display: none !important;
  z-index: 2;
}

.entidad.active .entidad-panel {
  display: block !important;
}

/* LISTAS Y JERARQUÍA (NUEVO) */
.entidad-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Columnas para el primer nivel (Secretarías) */
.entidad-panel.two-columns > ul {
  column-count: 2;
  column-gap: 30px;
}

/* Estilo para los ítems principales (Secretarías/Deptos) */
.entidad-panel > ul > li {
  break-inside: avoid;
  margin-bottom: 15px;
  color: #0b4f3c;
  font-weight: bold;
  font-size: 13px; /* Ajustado para legibilidad */
  line-height: 1.2;
}

.entidad-panel a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.entidad-panel a:hover {
  opacity: 0.7;
}

/* Estilo para Subsecretarías, Gerencias y Direcciones (Nivel 2) */
.entidad-panel ul li ul {
  column-count: 1 !important; /* Los sub-ítems siempre en una columna */
  padding-left: 12px;
  margin-top: 5px;
  border-left: 1.5px solid #3CFF9E; /* Línea guía color institucional */
}

.entidad-panel ul li ul li {
  font-weight: 400; /* Normal para sub-ítems */
  font-size: 11px;
  padding: 3px 0;
  line-height: 1.1;
  color: #444;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .entidad-panel {
    min-width: 90vw;
    max-width: 90vw;
  }
}

@media (max-width: 768px) {
  .entidades-wrapper {
    gap: 15px;
  }
  .entidad-panel {
    min-width: 95vw;
    left: 50%;
    transform: translateX(-50%);
  }
  .entidad-panel.two-columns > ul {
    column-count: 1;
  }
  .entidad-panel > ul > li {
    font-size: 14px;
  }
}

/*fin desplegable entidades*/


/*ocultar titulos H1 innecesarios*/
.visual-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
