01 - Combine chilies, garlic, smoked paprika, sweet paprika, oregano, thyme, olive oil, lemon juice, red wine vinegar, salt, and black pepper in a food processor or blender. Blend until a smooth paste forms.
02 - Place chicken thighs in a large bowl or resealable bag. Pour the marinade over the chicken and rub thoroughly to coat all surfaces. Cover or seal and refrigerate for at least 2 hours, ideally overnight for enhanced flavor development.
03 - Preheat a grill or oven to 400°F (200°C) to ensure it reaches the required temperature before cooking.
04 - Take the chicken thighs from the marinade, allowing any surplus liquid to drip off. Reserve the remaining marinade for basting during cooking.
05 - Arrange the chicken thighs skin-side down on a preheated grill over medium-high heat. Grill for 6 to 7 minutes per side, turning once, and periodically brush with reserved marinade. Alternatively, roast the chicken thighs in the oven for 30 to 35 minutes, basting occasionally until juices run clear and the internal temperature reaches 165°F (75°C).
06 - Remove chicken from heat and allow to rest for 5 minutes. Garnish with lemon wedges and freshly chopped cilantro or parsley before serving.