﻿.container-logo-header-govco .logo-header-govco, .icon-entidad-menu-govco {
	content: url(https://www.adres.gov.co/PublishingImages/Header%20Logos/logo-adres.png);
}
.barra-superior-govco a:not(.govco-logo){
	content: none;
	height: 1.875rem;
	width: 8.5rem;
}
.funcionarios {
	color: white;
}
.funcionarios:hover {
	color: #F7F7F7;
}
.funcionarios:visited {
	color: white;
}
.barra-superior-govco .funcionarios {
	justify-content: end;
}
.govco-logo-entidad {
	content: url(https://www.adres.gov.co/PublishingImages/Footer%20Logos/logo-adres-pie.jpg);
	display: inline-block;
	height: 124px;
}
.govco-data-front {
	box-shadow: 150px 90px 0 -90px #73b9af, -150px 90px 0 -90px #73b9af, 0 60px 0 0 #73b9af, 150px 150px 0 -90px #73b9af, -150px 150px 0 -90px #73b9af;
	margin-left: 60px !important;
	margin-right: 60px !important;
	width: calc(100% - 120px);
}
.govco-logo {
	content: url(https://cdn.www.gov.co/v4/assets/images/logo.svg);
	display: inline-block;
	height: 30px;
	vertical-align: super;
}
.govco-co {
	content: url(https://cdn.www.gov.co/v4/assets/images/logo-colombia.svg);
	display: inline-block;
	height: 48px;
	margin-top: 24px;
}
.barra-accesibilidad-govco {
	z-index: 1000;
}
input[type=button], input[type=reset], input[type=submit], button {
	min-width: 0em;
}
@media 
{
.govco-network {
	margin-top: 15px !important;
	margin-left: 30px !important;
}
.govco-description {
	margin-top: 15px !important;
	margin-left: 15px !important;
}
}
.navbar-menu-govco ul.navbar-nav li.dropdown.has-megamenu-menu-govco ul li a {
	padding: 0 0 0 0;
}
/* === ADAPTADOR GOV.CO para Search de SharePoint 2019 (sin botón X) === */
/* Ajuste rápido de separación vertical: cambia este valor si lo quieres más abajo */
.container-search-header-govco .search-govco {
	margin-top: var(--search-offset);
}
/* Ocultar icono <img> nativo del link de búsqueda */
#ctl00_SmallSearchInputBox1_csr_SearchLink, #ctl00_SmallSearchInputBox1_csr .ms-srch-sb-searchImg {
	display: none !important;
}
/* Quitar borde/estilos nativos del wrapper de SH */
#ctl00_SmallSearchInputBox1_csr .ms-srch-sb {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
/* Contenedor GOVCO del buscador */
.search-govco {
	width: 100%;
	position: relative;
	z-index: 1;
}
.search-govco .bar-search-govco {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	z-index: 12;
	padding: .2rem;
}
/* Input nativo de SH con look gov.co (sin espacio para la X) */
#ctl00_SmallSearchInputBox1_csr_sbox.input-search-govco {
	width: 100%;
	height: 2.625rem;
	border-radius: 1.5rem;
	border: .063rem solid #4B4B4B;
	background: #fff;
	color: #4B4B4B;
	outline: 0;
	font-size: 16px;
	text-overflow: ellipsis;
	overflow: hidden;
	padding: 0 3.25rem 0 1rem; /* solo deja espacio para la lupa */
}
/* Estado activo (cuando hay foco) */
.search-govco .bar-search-govco.active #ctl00_SmallSearchInputBox1_csr_sbox.input-search-govco {
	border: .125rem solid #3366CC;
}
/* Botón BUSCAR (lupa redonda) */
.search-govco .search-icon-search-govco {
	position: absolute;
	right: .45rem;
	top: .35rem;
	background-color: #737373;
	border-radius: 50%;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.search-govco .search-icon-search-govco::after {
	font-family: "govco-font";
	content: "\eae1"; /* lupa */;
	font-size: 16px;
	color: #FFFFFF;
}
.search-govco .bar-search-govco.active .search-icon-search-govco {
	background-color: #3366CC;
}
/* Contenedor de sugerencias estilo gov.co */
.search-govco .container-options-search-govco {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10;
	padding-top: 2.8rem;
	margin: .2rem;
	display: none;
	background: #fff;
	border-radius: 1.5rem 1.5rem .125rem .125rem;
	border: .125rem solid #3366CC;
	box-shadow: 0 .188rem .375rem #00000029;
}
/* Lista de opciones */
.search-govco .options-search-govco {
	max-height: 12.063rem;
	overflow-y: auto;
	margin: 0 0 .5rem 0;
}
.search-govco .options-search-govco ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.search-govco .options-search-govco li a {
	display: block;
	text-decoration: none;
	cursor: pointer;
	color: #4B4B4B;
	font-size: 16px;
	padding: .75rem 0 .75rem 1rem;
}
.search-govco .options-search-govco li:not(.selected):hover,
.search-govco .options-search-govco li:not(.selected) a:focus { background: #E6EFFD; }
.search-govco .options-search-govco li:not(.selected) a:active { background: #3366CC; color: #fff; }
/* Mostrar sugerencias cuando hay foco */
.search-govco .bar-search-govco.active ~ .container-options-search-govco { display: block; }
/* Accesibilidad: focus visible consistente */
.search-govco .bar-search-govco:not(.disabled) input:focus-visible {
  outline: max(.125rem, .15em) solid #000; outline-offset: max(.125rem, .15em);
}
#s4-bodyContainer {
	padding-bottom: 0px;
}
.carrusel-govco {
	max-height: 300px;
	overflow: hidden;
}
.carrusel-govco .carousel-item img {
	height: 300px;
	width: 100%;
	object-fit: cover;
}
.carrusel-govco .carousel-item {
	height: 300px;
}
/* Fondo con opacidad para la flecha derecha */
.carrusel-govco .carousel-control-next {
	background: rgba(0, 0, 0, 0.3);
	width: 50px;
	border-radius: 8px;
	right: 5%;
	top: 53%;
	transform: translateY(-50%);
	height: 50px;
}
.carrusel-govco .carousel-control-next:focus {
	background: rgba(0, 0, 0, 0.3);
}
.carrusel-govco .carousel-control-prev {
	background: transparent;
	width: 50px;
	left: 6%;
	border-radius: 8px;
	top: 53%;
	transform: translateY(-50%);
	height: 50px;
}
/* Estilos para la sección de título de trámites */
.tramites-header {
	text-align: center;
	margin: 50px 0 30px 0;
	padding: 0 20px;
}
.tramites-header h3 {
	font-size: 18px !important;
	font-weight: 500;
	color: #000000 !important;
	margin-bottom: 30px;
	letter-spacing: 0.5px;
	border-bottom: 3px solid #73b9af !important;
	display: inline-block;
	padding-bottom: 3px !important;
}
 
      /* Estilos para las tarjetas de servicios */
      
      
	#servicios-adres-container {
		font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Arial, sans-serif !important;
		color: #333 !important;
		background: #fff !important;
		line-height: 1.6 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.main-section {
		background: #fff;
		padding: 2rem;
	}
			
	/* FLEXBOX RESPONSIVE */
	
	.servicios-container {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 12px !important;
		justify-content: center !important;
		align-items: stretch !important;
		max-width: 1200px !important;
		margin: 30px auto 0 !important;
		padding: 0 20px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	@media (max-width: 1200px) {
		.servicio-card {
			flex: 0 0 calc(33.333% - 8px) !important;
			max-width: calc(33.333% - 8px) !important;
			width: calc(33.333% - 8px) !important;
		}
	}
	
	@media (max-width: 900px) {
		.servicio-card {
			flex: 0 0 calc(50% - 6px) !important;
			max-width: calc(50% - 6px) !important;
			width: calc(50% - 6px) !important;
		}
	}
	
	@media (max-width: 768px) {
		.servicios-container {
			gap: 8px !important;
		}
		
		.servicio-card {
			flex: 0 0 calc(50% - 4px) !important;
			max-width: calc(50% - 4px) !important;
			width: calc(50% - 4px) !important;
		}
	}
	
	@media (max-width: 600px) {
		.servicio-card {
			flex: 0 0 100% !important;
			max-width: 100% !important;
			width: 100% !important;
		}
	}
	
	.servicio-card {
		flex: 0 0 calc(25% - 18px) !important;
		max-width: calc(25% - 18px) !important;
		min-width: 280px !important;
		width: calc(25% - 18px) !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
	}
	
	.icono-tarjeta-govco {
		display: flex !important;
		text-decoration: none !important;
		border: 2px solid #73b9af !important;
		border-radius: 8px !important;
		background: rgba(115, 185, 175, 0.01) !important;
		transition: all 0.3s ease !important;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 280px !important;
		box-sizing: border-box !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		align-items: center !important;
	}
	
	.icono-tarjeta-govco:hover {
		transform: translateY(-2px) !important;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
		border-color: #5a9890 !important;
		background: rgba(115, 185, 175, 0.05) !important;
	}
	
	.container-icono-tarjeta-govco {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 80px !important;
		width: 100% !important;
		background: transparent !important;
		flex-shrink: 0 !important;
	}
	
	.container-icono-tarjeta-govco img {
		max-width: 70px !important;
		max-height: 50px !important;
		width: 70px !important;
		height: 50px !important;
		object-fit: contain !important;
	}
	
	.body-tarjeta-govco {
		padding: 1rem !important;
		background: #fff !important;
		text-align: center !important;
		flex: 1 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.title-body-tarjeta-govco h5 {
		margin: 0 0 0.5rem !important;
		font-weight: 600 !important;
		color: #73b9af !important;
		font-size: 0.9rem !important;
		line-height: 1.2 !important;
		height: 3.6em !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 3 !important;
		-webkit-box-orient: vertical !important;
		text-align: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.body-tarjeta-govco p {
		margin: 0 !important;
		color: #666 !important;
		font-size: 0.75rem !important;
		line-height: 1.3 !important;
		height: 6.5em !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 5 !important;
		-webkit-box-orient: vertical !important;
		text-align: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.icono-tarjeta-govco.vertical-tarjeta-govco {
		width: 100% !important;
		height: 100% !important;
		min-height: 150px !important;
		text-align: center !important;
		padding: 1rem !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		align-items: center !important;
		box-sizing: border-box !important;
	}
	
	.icono-tarjeta-govco.vertical-tarjeta-govco .body-tarjeta-govco {
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		flex: 1 !important;
		padding: 0.5rem !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.icono-tarjeta-govco.vertical-tarjeta-govco .body-tarjeta-govco .title-body-tarjeta-govco {
	    min-height: 3.5rem !important;
	    margin-bottom: 1rem;
	}
	
	.icono-tarjeta-govco.vertical-tarjeta-govco .body-tarjeta-govco h5 {
		top: 60% !important;
	}
	
	.action-section {
		text-align: center;
		margin-top: 4rem;
	}
	
	.loading-spinner {
		text-align: center;
		padding: 3rem;
	}
	
	.no-results-message {
		text-align: center !important;
		padding: 3rem 1rem !important;
		background: #fff !important;
		border: 1px solid #e0e0e0 !important;
		border-radius: 6px !important;
		margin: 2rem !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	/* Estilos adicionales para asegurar consistencia */
	* {
		box-sizing: border-box !important;
	}
	
	.servicio-card * {
		box-sizing: border-box !important;
	}
	
	.icono-tarjeta-govco * {
		box-sizing: border-box !important;
	}
	 
    .noticias-home {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
        align-items: start;
        overflow: hidden;
        width: 100%;
        min-width: 0;
      }
 
      .noticia-principal {
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background: white;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        height: 316px;
        grid-row: 1 / 4;
        min-height: 0;
      }
 
      .noticia-principal:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
        text-decoration: none;
      }
 
      .noticia-principal img {
        width: 100%;
        height: 176px;
        object-fit: cover;
        display: block;
        flex-shrink: 0;
      }
 
      .noticia-principal .noticia-content {
        padding: 10px 18px;
        background: white;
        color: #333;
        overflow: hidden;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
      }
 
      .noticia-principal .noticia-fecha {
        font-size: 11px;
        margin-bottom: 8px;
        color: #666;
        flex-shrink: 0;
      }
 
      .noticia-principal .noticia-titulo {
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        margin: 0;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        max-height: 5.6em;
      }
 
      .noticia-secundaria:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #e0e0e0;
      }
 
      .noticia-secundaria {
        display: flex;
        gap: 0;
        height: 100px;
        background: white;
        border-radius: 8px;
        padding: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        position: relative;
        text-decoration: none;
        min-height: 0;
        max-height: 90px;
      }
 
      .noticia-secundaria:hover {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
        text-decoration: none;
      }
 
      .noticia-secundaria img {
        width: 250px;
        height: 100px;
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 1px 0 0 1px;
      }
 
      .noticia-secundaria .noticia-content {
        padding: 12px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        flex: 1;
        overflow: hidden;
        min-height: 0;
        min-width: 0;
        max-height: 85px;
      }
 
      .noticia-secundaria .noticia-fecha {
        font-size: 10px;
        color: #999;
        margin-bottom: 5px;
        flex-shrink: 0;
        white-space: nowrap;
        overflow: hidden;
      }
 
      .noticia-secundaria .noticia-titulo {
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        color: #333;
        margin: 0;
        padding: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis;
        word-break: break-word;
        max-height: 4.05em;
        hyphens: auto;
        flex-shrink: 1;
      }
 
      /* Responsive */
      @media (max-width: 768px) {
        .noticias-home {
          grid-template-columns: 1fr;
          grid-template-rows: auto;
          gap: 15px;
        }
 
        .noticia-principal {
          grid-row: auto;
          height: auto;
          max-height: 305px;
        }
 
        .noticia-principal img {
          height: 180px;
        }
 
        .noticia-secundaria {
          height: 100px;
          max-height: 85px;
        }
 
        .noticia-secundaria img {
          width: 250px;
          height: 100px;
        }
 
        .noticia-secundaria .noticia-content {
          padding: 10px 12px;
          max-height: 85px;
        }
      }
 
      @media (max-width: 480px) {
        .noticia-secundaria {
          height: 100px;
          max-height: 85px;
        }
 
        .noticia-secundaria img {
          width: 250px;
          height: 100px;
        }
 
        .noticia-secundaria .noticia-titulo {
          font-size: 12px;
        }
      }
      
     .interes-home {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
     	gap: 10px;
        margin-bottom: 100px;
      }
	
	@media (max-width: 1000px) {
	.interes-home {

        grid-template-columns: repeat(2, 1fr);
      }
	}

		@media (max-width: 800px) {
	.interes-home {

        grid-template-columns: 1fr;
      }
	}

 
      .interest-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
        color: #333;
        text-decoration: underline !important	;
        font-size: 14px;
        transition: color 0.3s ease;
      }
      
 	  .interest-item:hover {
        color: #73b9af;
        text-decoration: none;
      }
 
      .interest-item span {
        font-size: 16px;	
        flex-shrink: 0;
      } 
      
      .accesos-header h3 {
        margin-bottom: 40px;
        font-size: 18px !important;
        font-weight: 500;
        color: #000000;
        letter-spacing: 0.1px;
        border-bottom: 3px solid #73b9af;
        display: inline-block;
        padding-bottom: 3px;
      }
      .slider-agenda {
		display: flex;
		gap: 20px;
        justify-content: center;
        margin-bottom: 30px;
        flex-wrap: wrap;

		
	}
}
    .agenda-cards {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-bottom: 30px;
        flex-wrap: wrap;
      }
 
      .agenda-card {
        width: 300px;
        border: 1px solid #73b9af;
        border-radius: 0;
        padding: 0;
        background: white;
        box-shadow: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
      }
 
      .agenda-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      } 
      .agenda-icon {
        text-align: center;
        margin-bottom: 10px;
        padding-top: 15px;
      }
 
      .agenda-icon span {
        font-size: 20px;
        color: #73b9af;
      }
 
      .agenda-content {
        text-align: left;
        padding: 0 20px 20px 20px;
      }
 
      .agenda-date {
        font-weight: normal;
        font-size: 16px;
        color: #73b9af;
        margin-bottom: 8px;
        text-align: center;
      }
 
      .agenda-title {
        font-size: 18px;
        font-weight: bold;
        color: #000 !important;
        margin-bottom: 15px;
        line-height: 1.3;
        text-align: center;
      }
 
      .agenda-divider {
        height: 1px !important;
        background-color: #73b9af !important;
        margin: 0 0 15px 0 !important;
      }
 
      .agenda-location,
      .agenda-time {
        font-size: 12px;
        color: #000 !important;
        margin-bottom: 8px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        line-height: 1.3;
      }
 
      .agenda-location span,
      .agenda-time span {
        font-size: 12px;
      	color: #000 !important;
        flex-shrink: 0;
        margin-top: 2px;
      }
      
      
      .alert-info {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-left: 4px solid #0066cc;
    color: #004085;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}
 
.alert-info .fa-info-circle {
    color: #0066cc;
}
 
/* Sidebar Filters */
.filter-main-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #004884;
}
 
.filter-section {
    margin-bottom: 1.5rem;
}
 
.filter-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}
 
.filter-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.95rem;
    color: #4a4a4a;
    transition: border-color 0.2s;
}
 
.filter-select:focus {
    border-color: #004884;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 72, 132, 0.15);
}
 
/* Search Input */
.search-input {
    border: 1px solid #ccc;
    border-right: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}
 
.search-input:focus {
    border-color: #004884;
    outline: none;
    box-shadow: none;
}
 
.btn-clear {
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
}
 
.btn-clear:hover {
    background-color: #f8f9fa;
    color: #495057;
}
 
.btn-search {
    background-color: #004884;
    border: 1px solid #004884;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
}
 
.btn-search:hover {
    background-color: #003366;
    border-color: #003366;
    color: #fff;
}
 
/* Results Header */
.results-header {
    font-size: 1rem;
    color: #4a4a4a;
    font-weight: 500;
}
 
/* Tramites List */
.tramites-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
 
/* Tramite Card */
.tramite-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
 
.tramite-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #004884;
}
 
.tramite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
 
.tramite-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0066cc;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}
 
.tramite-title:hover {
    text-decoration: underline;
    cursor: pointer;
}
 
.tramite-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}
 
.tramite-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
}
 
.tramite-icon i {
    font-size: 0.9rem;
}
 
.tramite-body {
    margin-top: 1rem;
}
 
.tramite-description {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1rem;
}
 
.tramite-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}
 
.tramite-detail i {
    color: #004884;
    font-size: 0.95rem;
}
 
.tramite-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: none;
    transition: color 0.2s;
}
 
.tramite-more:hover {
    color: #004884;
    text-decoration: underline;
}
 
.tramite-more i {
    font-size: 1rem;
}
 
/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
 
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
 
.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.page-item {
    list-style: none;
}
 
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    color: #004884;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
 
.page-link:hover {
    background-color: #e9ecef;
    border-color: #004884;
    color: #003366;
}
 
.page-item.active .page-link {
    background-color: #004884;
    border-color: #004884;
    color: #fff;
    font-weight: 600;
}
 
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    opacity: 0.5;
}
 
/* jPList specific styles */
.jplist-panel {
    margin-bottom: 1rem;
}
 
.jplist-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
 
.jplist-no-results p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}
 
/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }
 
    .tramites-title {
        font-size: 1.5rem;
    }
 
    .tramites-subtitle {
        font-size: 0.95rem;
    }
 
    .tramite-header {
        flex-direction: column;
    }
 
    .tramite-icons {
        margin-left: 0;
        margin-top: 0.5rem;
    }
 
    .pagination {
        flex-wrap: wrap;
    }
 
    .page-link {
        min-width: 35px;
        height: 35px;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}
 
@media (max-width: 992px) {
    .filter-section {
        margin-bottom: 1rem;
    }
 
    .tramite-card {
        padding: 1.25rem;
    }
}
 
/* Accessibility */
.btn:focus,
.page-link:focus,
.filter-select:focus,
.search-input:focus {
    outline: 2px solid #004884;
    outline-offset: 2px;
}
 
/* Loading State */
.jplist-loading {
    opacity: 0.5;
    pointer-events: none;
}
 
/* Empty State */
.tramites-list:empty::after {
    content: 'No se encontraron resultados';
    display: block;
    text-align: center;
    padding: 3rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #6c757d;
    font-size: 1.1rem;
}
 
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
.tramite-card {
    animation: fadeIn 0.3s ease-in-out;
}
 
/* Print Styles */
@media print {
    .filter-section,
    .pagination-container,
    .btn-search,
    .btn-clear {
        display: none;
    }
 
    .tramite-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}
 
/* GOV.CO Color Palette Integration */
:root {
    --govco-primary: #004884;
    --govco-secondary: #3366CC;
    --govco-success: #069169;
    --govco-info: #0066CC;
    --govco-warning: #F3561F;
    --govco-danger: #A80521;
    --govco-light: #F5F5F5;
    --govco-dark: #2C2C2C;
}
 
/* Additional Utility Classes */
.text-govco-primary {
    color: var(--govco-primary) !important;
}
 
.bg-govco-primary {
    background-color: var(--govco-primary) !important;
}
 
.border-govco-primary {
    border-color: var(--govco-primary) !important;
}
 
 .barra-accesibilidad-govco #titledisminuir {
	margin-top: -20px;
}


 .barra-accesibilidad-govco #titleaumentar {
	margin-top: -20px;
}

 #adres-psd{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#333}
  #adres-psd *{box-sizing:border-box}
  :root{--adres-primary:#32b4a8;--adres-border:rgba(0,0,0,.08);--adres-shadow:0 2px 8px rgba(0,0,0,.1)}

  .psd-header{
    background:linear-gradient(135deg,rgba(50,180,168,.9),rgba(50,180,168,.7)),
      url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=1200&h=400&fit=crop') center/cover no-repeat;
    color:#fff;padding:48px 0;position:relative;overflow:hidden}
  .psd-header::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.1)}
  .psd-header-content{position:relative;z-index:1;max-width:1200px;margin:0 auto;padding:0 20px}
  .psd-logo img{height:56px;filter:brightness(0) invert(1);margin-bottom:18px}
  .psd-title{margin:0 0 8px;font-weight:700;font-size:1.8rem;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.3)}
  .psd-subtitle{margin:0;max-width:800px;line-height:1.5;text-shadow:0 1px 2px rgba(0,0,0,.3)}
  .psd-divider{width:200px;height:4px;background:#fff;border-radius:2px;margin-top:40px;margin-bottom:40px}

  .psd-content{background:#fff;padding:48px 0}
  .psd-cards-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
  .psd-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:24px}
  .psd-card{background:#fff;border-radius:12px;border:1px solid var(--adres-border);box-shadow:var(--adres-shadow);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
  .psd-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px rgba(0,0,0,.15);border-color:var(--adres-primary)}
  .psd-img{width:100%;height:200px;object-fit:cover;display:block;background:#f3f4f6}
  .psd-body{padding:22px;display:flex;flex-direction:column;gap:14px;flex:1}
  .psd-card-title{margin:0;font-size:1.15rem;font-weight:700;color:var(--adres-primary);line-height:1.3}
  .psd-card-sub{margin:0;font-size:.95rem;color:#444;font-weight:600}
  .psd-desc{margin:0;color:#444}
  .psd-list{margin:0;padding:0;list-style:none}
  .psd-list li{font-size:.95rem;padding:3px 0;line-height:1.3}
  .psd-list li::before{content:"•";font-weight:700;margin-right:8px;color:var(--adres-primary)}

  /* Acciones al fondo de la card */
  .psd-actions{
    margin-top:auto;
    display:flex;               /* centra el botón en X */
    justify-content:center;     /* centra horizontal */
  }

  .psd-btn{
    display:inline-flex;align-items:center;justify-content:center;
    height:42px;padding:0 16px;border-radius:25px;border:2px solid #3366cc;
    background:#fff;color:#3366cc;text-decoration:none;font-weight:600
  }

  /* Mantener SIEMPRE azul aunque sea :visited */
  #adres-psd .psd-btn:link,
  #adres-psd .psd-btn:visited{
    color:#3366cc !important;
  }

  /* Interacción: en hover/focus cambia a fondo azul oscuro y texto blanco */
  #adres-psd .psd-btn:hover,
  #adres-psd .psd-btn:focus-visible{
    background:#004884 !important;
    color:#fff !important;
    border-color:#004884 !important;
    outline:2px solid #000; outline-offset:3px;
  }

  .psd-loading{text-align:center;padding:48px 16px}
  .psd-spinner{width:40px;height:40px;border:4px solid #eee;border-top:4px solid var(--adres-primary);border-radius:50%;margin:0 auto 16px;animation:psdspin 1s linear infinite}
  @keyframes psdspin{to{transform:rotate(360deg)}}
  @media (max-width:992px){.psd-cards{grid-template-columns:repeat(2,1fr);gap:22px}}
  @media (max-width:576px){.psd-cards{grid-template-columns:1fr;gap:18px}.psd-title{font-size:1.4rem}}
  /* Asegura capas del header (overlay detrás, contenido delante) */
.psd-header { position: relative; }
.psd-header::before { z-index: 0; }
.psd-header-content { position: relative; z-index: 1; }
 
/* Forzar que el contenido NO herede el blanco del header */
.psd-content,
.psd-cards,
.psd-card,
.psd-body,
.psd-list,
.psd-list li { color: #444; }
 
/* Si algún global del tema fuerza blanco, sube especificidad */
#adres-psd .psd-list li { color: #444 !important; }
 
/* Background por capas explícito: gradient + imagen */
.psd-header{
  background-image:
    linear-gradient(135deg, rgba(50,180,168,.9), rgba(50,180,168,.7)),
    url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=1200&h=400&fit=crop');
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
}
 
/* Extra: mejor contraste del título de card (opcional pero recomendable) */
#adres-psd .psd-card-title { color: #004884; }
/* Aísla el stacking del componente completo */
#adres-psd { position: relative; isolation: isolate; }
 
/* Header y overlay: asegúrate de que el overlay no capture eventos ni se salga */
.psd-header { position: relative; z-index: 0; }
.psd-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;              /* debajo del contenido del header */
  pointer-events: none;     /* NUNCA bloquea clics */
}
 
/* El contenido de tarjetas siempre por encima del header */
.psd-content, .psd-cards { position: relative; z-index: 1; }
 
/* Forzar color en la zona de contenido, por si hereda blanco del header/tema */
#adres-psd .psd-body,
#adres-psd .psd-list,
#adres-psd .psd-list li,
#adres-psd .psd-card-sub { color:#444 !important; }
 
/* Fondo del header en capas explícitas (evita “división” en algunos navegadores) */
.psd-header{
  background-image:
    linear-gradient(135deg, rgba(50,180,168,.9), rgba(50,180,168,.7)),
    url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=1200&h=400&fit=crop');
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
}
 
/* (Opcional pero recomendable) Mejor contraste del título de la tarjeta */
#adres-psd .psd-card-title { color:#004884; }