/* CSS Document - Estilos para Trámites */

/* Título de Categorías */
.subtitulo-h3-contenido {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

/* Cards de Categorías - Diseño Horizontal */
.tramite_portada {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  min-height: auto;
  height: auto !important;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.tramite_portada:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.tramite_portada::after {
  content: '›';
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
  margin-left: 1rem;
  flex-shrink: 0;
}

/* Cards de Trámites Individuales - Diseño Horizontal */
.tramite {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  min-height: auto;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
     height:125px;
}

.tramite:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}


/* Iconos */
.icono_tramite {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono_tramite img,
.icono_tramite svg,
.icono_tramite i {
  max-width: 100%;
  max-height: 100%;
  font-size: 2rem;
}

/* Nombre del trámite */
.nombre_tramite {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.4;
}

/* Ajustes para el contenedor de categorías */
.d-flex.justify-content-center {
  gap: 1rem;
  margin-bottom: 2rem;
}

.d-flex.justify-content-center > [class*="col-"] {
  padding: 0.5rem;
}

/* Ajustes para el contenedor de servicios */
.servicios {
  margin-bottom: 2rem;
}


.servicios a {
  text-decoration: none;
  display: block;
}

/* Botón Volver al Inicio */
.btn-volver-inicio {
  background-color: #6b9f4d;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
}

.btn-volver-inicio:hover {
  background-color: #5a8a3f;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 159, 77, 0.3);
}
.contenedor-mapa {
  position: relative;
  width: 30rem;
  height: 120px; /* Ajusta según necesites */
  overflow: hidden;
  width: 100%;
  padding: 1rem;
  background: var(--gris);
  border-radius: 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: flex-start;
}

.mapa-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/imagenes/tramites/mapa_devoto_tramite.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(90%);
}

.icono-mapa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0.1rem solid #fff;
  border-radius: 6rem;
  background: var(--blanco);
  color: var(--primario);
  /* width: 7rem; */
  /* height: 7rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1rem 2rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .tramite,
  .tramite_portada {
    padding: 1rem;
  }
  
  .icono_tramite {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
  }
  
  .nombre_tramite {
    font-size: 1rem;
  }
  
  .tramite::after,
  .tramite_portada::after {
    font-size: 1.25rem;
  }
  
  .servicios,
  .d-flex.justify-content-center {
    gap: 0.75rem;
  }
  
  .btn-volver-inicio {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
}
