Introduction

The rapid urban growth in the last decades comprises one of the main drivers of biodiversity loss of the Anthropocene (Batáry et al. 2018; Dáttilo and MacGregor-Fors 2021). Such abrupt environmental transformation results from the process that involves the migration of people from rural to urban areas, which nowadays dwell more than half of the world population (Gómez-Baggethun et al. 2013; Sejati et al. 2018; Busso et al. 2021; Guoru et al. 2023). Urban centers impose a great challenge for the conservation of the global environment because city-dwellers produce an ecological footprint per capita far greater than rural populations (Martine et al. 2008; Ahmed et al. 2020; Hasan et al. 2020). During the urbanization process, habitat loss and fragmentation comprise two important dynamics that are the main threat for native biodiversity in urban landscapes (Fischer and Lindenmayer 2007; Li et al. 2017; Dadashpoor et al. 2019; Reinmann et al. 2020). The increase of urban cover poses novel challenges to individuals and populations that inhabit in urban native habitat patches (Mckinney 2002; Bonier 2012). Such challenges may result in a decrease of individual condition and fitness (Giraudeau et al. 2014; Salomão et al. 2020a; Corsini et al. 2021), impairing the maintenance of many native species in these urban landscapes. This may have direct consequences for people’s well-being because cities with greater biodiversity are healthier cities with a better quality of life (Taylor and Hochuli, 2015; Carrus et al. 2015; Marselle et al. 2019). In order to maintain stable and healthy urban ecosystems for both human and natural communities, it is crucial to understand how the spatial context of urban landscapes and urban forest fragments work as biodiversity reservoirs (Faeth et al. 2011).

The spatial distribution and arrangement of the different land-use types (i.e., landscape structure) directly affects the diversity of species and their traits (Fahrig 2005; Callaghan et al. 2018; Palacio 2020; Gaona et al. 2021; Millard et al. 2021). From an ecological perspective, one of the main consequences of the urban spatial expansion is the conversion of semi-natural habitats into human-made biotopes, which comes together with the increase of non-forest matrices (Piano et al. 2020). Such landscape changes alter the environmental quality of forest patches surrounded by urban matrices (Fahrig 2001; Zhu et al. 2020), consequently impairing the displacement and occupation of forest-dweller species in urban patches (Vergnes et al. 2012; Bonebrake and Cooper 2014; Fattorini et al. 2018; Palacio 2020). The way in which native species perceive and respond to landscape elements may vary according to the different scale analyzed (Murray et al. 2019). Since cities have their own socioeconomical and historical contexts, land-cover distribution may vary enormously among cities. Recent studies suggest that urbanization effects on biodiversity are city-scale dependent, suggesting that larger cities may be more challenging for species persistence (Łopucki et al. 2020; Uchida et al. 2021). In this sense, it is reasonable to expect different ecological dynamics in response to landscape change within cities and among them. Therefore, a key parameter is scale at which ecological dynamics are being analyzed in urban landscapes (Tscharntke et al. 2002; Grimm et al. 2008; Su et al. 2015; Magura and Lövei, 2020). By assessing how species distribution and individual condition are related to city attributes (e.g., city size, population density), public policies can predict environmental consequences of urban sprawl and promote friendly urban landscapes (Łopucki et al. 2020).

Forest loss in the Neotropical region, especially in Amazonian rainforests, has been increasing at alarming rates in the last decades mostly due to the agricultural expansion and the exploration of natural resources (e.g., mining activity) (Fearnside 2005; Sonter et al. 2017; Ribeiro et al. 2019). Anthropogenic activities in the Amazon have demanded an increase in infrastructure causing direct and indirect environmental shifts in the region due to the establishment and expansion of urban centers (Sonter et al. 2017; Cortês and Silva Jr, 2021). Although very scarce, previous studies in Amazonian cities indicate that communities and populations are affected by landscape changes caused by urbanization (Lees and Moura 2017; Leveau et al. 2017; Avilla et al. 2021). For example, only 13% of the regional pool of native bird species persist in Belém, a major Amazonian city (Lees and Moura 2017). Furthermore, in another major Amazonian city (Manaus), urban populations of a forest specialist bird are morphologically and behaviorally differentiated from preserved forest populations (Avilla et al. 2021). Although far less studied, population and individual-scale approaches encompassing the urbanization effects on biodiversity are essential for a fine understanding of the importance of native habitat patches for biodiversity conservation in urban landscapes.

In the last decades, dung beetles (Coleoptera: Scarabaeinae) have been widely used as a reliable indicator group in ecological studies (Nichols et al. 2007; Nichols and Gardner 2011). Dung beetles are highly sensitive to environmental changes, such as shifts in vegetation structure, forest fragmentation, and modifications of land use caused by anthropogenic activities (Andresen 2003; Filgueiras et al. 2015). Nonetheless, the number of studies encompassing their responses in urban landscapes are still limited (see Korasaki et al. 2013; Ramírez-Restrepo and Halffter 2016; Salomão et al. 2019; Correa et al. 2021), and most of them focuses on the effects of urbanization at community level (but see Salomão et al. 2020a). Dung beetles are a key group for the maintenance of ecosystem services in urban landscapes, as they contribute to the removal of decomposing matter, improvement of soil quality, and the control of disease vectors (Nichols et al. 2008; Salomão et al. 2019).

By studying dung-beetle population traits (e.g., biomass, abundance, diet) it is possible to obtain fine responses regarding the effects of environmental changes on species (Larsen et al. 2008; Bui et al. 2020; Whitworth et al. 2021). Individual body size highlights as a key trait for animal species, being markedly related to specimen morphology, physiology, fitness, as well as to the amount of ecosystem services provided by them (Kingsolver and Huey 2008; Larsen et al. 2008; Nichols et al. 2008; Magura et al. 2020). Males’ horn length is a body trait that directly responds to the quantity and quality of food provided for the dung beetles during its larval development (Emlen 1997; Scholtz, 2009). Furthermore, horn length is a key trait in intraspecific competition for mates (Pomfret and Knell 2006; Scholtz et al. 2009). As traits related to reproductive strategy are strongly driven by urbanization (Hahs et al. 2023), individual body length and male horn length serve as a proxy to understand the dynamics of resource availability in different urban landscapes.

The aim of this study was to assess the effects of landscape cover (i.e., amount of forest and agriculture-pasture cover) on the abundance and body traits (individual body size and males’ horn length) of forest dung beetle populations in urban landscapes of the Amazonian region. We analyzed the effects of landscape cover at the site scale (i.e., among sites) and at the city scale (i.e., among cities). To attain this objective, we analyzed two key dung beetle species, Dichotomius boreus (Olivier) and Dichotomius quadrilobatus (Chamorro, Lopera and Rossini), which are highly abundant and widespread in the urban landscapes of Amazon cities. Although these species do not present clear difference regarding males’ and females’ body size (Chamorro et al. 2021, personal observation), they may present different energetical requirements (Adler et al. 2013); consequently, dung beetles’ response to environmental conditions may be sex dependent (Salomão et al. 2020a, 2021). Therefore, species abundance and body size were also analyzed for males and females separately. The studied species dwell native Amazon forests and are large bodied (Cultid-Medina et al. 2015; Chamorro et al. 2021), a trait that is related to sensitivity to forest loss in other tropical ecosystems (Fuzessy et al. 2021). Therefore, we expect that sites and cities with higher amount of forest cover will (i) dwell higher abundances of D. boreus and D. quadrilobatus and (ii) positively affect the size of body traits of both species. As females demand more energy associated with oviposition and brood protection than males (Klemperer 1983; Scholtz et al. 2009), we also expect that (iii) the effects of loss of forest cover will be more severe on females than on males.

Materials and methods

Study area

This study was conducted in 38 sites locates in six urban landscapes corresponding to six cities in the State of Amazonas, Brazil: Iranduba, Itacoatiara, Manacapuru, Manaus, Presidente Figueiredo and Rio Preto da Eva (ranging from 2°00’S; 58°24’W to 3°17’S; 60°36’W, see Fig. 1). These cities comprise different historical origins and have different socioeconomical contexts in the Amazonian region. Manaus is the most urbanized city of our study, encompassing the largest urban area and human population size, while Presidente Figueiredo and Rio Preto da Eva have, respectively, the smallest urban area and human population size of the studied cities (IBGE 2022, see Table 1). The matrix of our studied landscapes is composed by urban areas, agricultural fields and water cover in the surroundings of cities (Table 1). Agricultural areas are used for crop and family agriculture plantations and for livestock. The native vegetation in the study area is mostly composed by ombrophilous tropical rainforest (terra firme), but there are also patches of sandy tropical forest (white-sand Campinarana) and seasonal flooded forests (Várzea and Igapó). In order to standardize the ecosystem studied, we collected beetle data exclusively in the most widespread vegetation, the terra firme forests.

Fig. 1
figure 1

Study area showing the Brazilian Legal Amazonia (in green on the left map) in which the six studied urban landscapes were located A; the sampling sites were dung beetles were sampled in each city B; and an example of the 200–1,000 m radius buffer centered at each site C. The dung beetles were sampled in the centroid of each sampling site

Table 1 Estimated land use coverage in a 10 km radius centered by the sampling points of each city, human population size and density (per km2) of the six studied cities in the Central Amazon region, state of Amazonas, Brazil. Municipality human population size and population density were obtained from IBGE (2022)

The climate is classified as Af according to Köppen’s classification, presenting an average annual temperature of 26.2 °C and with a mean annual precipitation of 3,038 mm (Climate-Data 2022). The dry season comprises the period between June and November (mean monthly rainfall: 152 mm), while the rainy season comprises the period between December and May (mean monthly rainfall: 337 mm, Climate-Data 2022).

Study species

Among the dung beetles, Dichotomius Hope features a genus of dung beetles that is widely distributed in America, with its higher diversity being found in South America (Sarmiento-Garcés and Germán, 2009). Dichotomius species body length ranges from ca. 10 mm to more than 25 mm, species diet ranges from strictly coprophagous to diet generalists, most of them are nocturnal and their spatial distribution ranges from stenotopic to eurytopic species, although most of them are forest-dwellers (Chamorro et al. 2021; Sarmiento-Garcés and Germán, 2009). Moreover, Dichotomius beetles have been used frequently as models to understand the consequences of environmental transformation at population level (França et al. 2016; Salomão et al. 2020a; Vieira et al. 2022).

Dichotomius boreus and D. quadrilobatus are part of a species complex, which is mostly distributed in the Amazon region (Chamorro et al. 2021). The still scarce literature regarding their distribution indicates that both D. boreus and D. quadrilobatus are mostly forest-dwellers and that does not inhabit open-canopy habitats, as pasturelands (Vulinec 2002; Tissiani et al. 2017; Chamorro et al. 2021). The Rio Negro River acts as a biogeographic barrier for D. boreus and D. quadrilobatus, separating these two species. In our study area four cities (Itacoatiara, Manaus, Presidente Figueiredo, and Rio Preto da Eva) are located in the North bank of the Rio Negro river, and two cities in the South bank of the river (Iranduba and Manacapuru). Therefore, D. boreus is only found in the four northern cities and D. quadrilobatus in the two southern cities. Regarding adult body size, pronotum width ranges from 11.3 to 21.2 mm in D. quadrilobatus and ranges from 9.4 to 19.5 mm in D. boreus. Such wide variation is observed both in males and females (see Chamorro et al. 2021 and the Results section of this manuscript).

Sampling sites and landscape cover

We used a sample site-landscape-approach (Fahrig 2013) to assess D. boreus and D. quadrilobatus abundance in 38 sampling sites located in forested areas throughout an urbanization gradient (6 sampling sites per city, except for Manaus, in which we sampled 8, see Fig. 1). We used landscape cover maps for the year of 2017 with 30 × 30 m resolution from MapBiomas (MapBiomas Amazon Project – Collection 2017). The MapBiomas Amazon project is a multi-institutional initiative to generate annual land use maps based on automatic classification processes applied to satellite imagery. The 2017 land-use maps had the most accurate classification for our study area. We quantified the amount of forest (old-growth and/or secondary vegetation in different stages of regeneration), urban, agriculture, pasture, and water cover at different scales for each sampling site (in hectares). In each city we sampled sites along an urbanization gradient, with at least one site in a completely urbanized area and one site in a continuous and preserved forest with 90–100% forest cover (i.e., control) to represent the entire gradient. We considered five different spatial scales (within a buffer radius of 200, 400, 600, 800, and 1000 m centered in each sampling site) in order to cover maximum home range size of large Dichotomius species (their linear movement distance ranges from ca. 280 to ca. 580 m, see Cultid-Medina et al. 2015; Barretto et al. 2021). We obtained the amount of land-cover for each sampling site at the different scales using the QGIS 3.20.1-Odense software (QGIS, 2021). Agriculture and pasture cover were grouped into the same lands-cover class (hereafter agriculture-pasture cover class).

Before performing the statistical models, we tested multicollinearity among the land-cover variables at different spatial scales through Pearson correlations. There was a high negative correlation (r > − 0.75) between forest cover and urban cover, and thus we excluded urban cover from all models. Since water cover was present in the buffers of only three sampling sites, we did not consider this land-cover in our analyses.

Dung beetle data collection

We sampled dung beetles in each of the 38 sites from March to June 2021 (one sampling event at each site), in the end of the rainy season. Since dung beetle seasonality in Amazon and neighboring tropical ecosystems is not marked (Filgueiras et al. 2009; Ratcliffe 2013), we believe that the period of the year did not affect abundance and morphological aspects of the studied species. In each sampling event, twenty pitfall traps were installed per site, 10 traps baited with ca. 25 g of human excrement and 10 baited with ca. 25 g of rotten bovine liver. The baits used in this study comprise the most widely used in Neotropical region (Mora-Aguilar et al. 2023), which are highly effective to obtain a trustworthy sample of the species that inhabit tropical ecosystems in America. Such baits have been used both in urban and non-urban tropical landscapes (Barretto et al. 2021; Correa et al. 2021; Salomão et al. 2019, 2020b). Pitfall traps consisted of a cylindrical plastic recipient (100 ml of volume) which was buried at soil surface and filled with ca. 250 ml of a solution of water, salt, and detergent, to capture and preserve dung beetles. A 50 ml plastic cup with attractive bait (human excrement or bovine carrion) was set above this recipient. A plastic lid was attached on the top of the trap to avoid the entrance of rainwater. In each sampling site, paired traps (each baited with one bait type, spaced 10 m between them) were installed each 25 m across a 250 m-long linear transect. Traps were installed with at a minimum distance of 20 m from the forest edge. All traps were removed 48 h after their installation, which is the period most widely used for ecological studies with tropical dung beetles (Mora-Aguilar et al. 2023). No traps were lost, and specimens were stored in alcohol until their morphology was assessed. Dung beetles were deposited in the entomological collections of the Instituto Nacional de Pesquisas da Amazônia (INPA) and the Universidade Federal do Mato Grosso (UFMT). Dichotomius boreus and D. quadrilobatus were identified and sexed using the taxonomic key provided by Chamorro et al. (2021).

To analyze the effects of landscape cover on D. boreus and D. quadrilobatus body size and males’ relative horn length, we measured all collected individuals. Pronotum width was used as a measure of body size, which was measured horizontally at the widest portion of the pronotum. The use of pronotum width to estimate body length in dung beetle species has been widely recognized as an effective approach (see Emlem 1994; Servín-Pastor et al. 2021). Horn length of males was estimated measuring from the base to the apex of their horns, and the relative horn length was obtained by the division “horn length / body size”. Both measurements were obtained from digital pictures taken using a Motorola E7 Plus digital camera under a microscope (Opton TIM-2B), analyzed in ImajeJ software version 1.46r. All measurements were performed by GVSB.

Data analysis

We analyzed the spatial relationships of each species with land-cover by using data from sampling sites in the cities in which they dwell. Dichotomius boreus was analyzed by using data obtained from sites in Itacoatiara, Manaus, Presidente Figueiredo, and Rio Preto da Eva (26 sites), while D. quadrilobatus was analyzed by using the data obtained from Iranduba and Manacapuru (12 sites). We analyzed land-cover effects at the site scale and at the city scale. All the analyses were performed in R software version 4.1.3 (R Development Core Team 2022). In order to normalize data distribution, species abundance was log-transformed, and statistical models fitted better in log-transformed variables compared to other distribution families.

Site-scale analyses

To test the effect of land-cover variables (i.e., amount of forest cover and agriculture-pastureland cover) on the abundance (total abundance, abundance of males, abundance of females) and body traits (body size of males and females, and male relative horn size), we carried out Generalized Linear Mixed Models with Template Model Builder (GLMM-TMB). These models were performed in glmmTMB package (Brooks et al. 2017). Cities were included as random effect, in order to compensate potential spatial autocorrelation issues among sampling sites of each city. We compared GLMMs based on the Gaussian, Poisson, and Negative Binomial distribution, which are routinely used, to assess residual distribution, over/underdispersion and presence of outliers using the simulateResiduals function in the DHARMa package (Hartig 2021). We only show results from GLMM models with adequate residual dispersion. We selected the spatial scale (200, 400, 600, 800, and 1000 m of radius centered at each site) that best explained the variation of our response variables (abundances and body traits) using R2 which was used as an estimator of goodness of fit. R2 was obtained through the function r.squaredGLMM of MuMIn package (Barton 2020). For D. boreus the spatial scale of land-cover that best explained its abundance was 200 m and the scale that best explained Males’ relative horn length was 1000 m. For D. quadrilobatus 1000 m was the scale with best explanative power for abundance and 200 m was the scale that best explained body traits. Models were performed with forest cover and agriculture/pastureland cover as fixed effects for each sampling site. Table 2 shows the distribution family and spatial scale that best explained the response variables and were selected in each model.

Table 2 Selected models testing the effect of the forest cover and agriculture-pastureland cover on abundance (total, males and females separately) and body traits of D. boreus and D. quadrilobatus beetles at the site scale. Bold values indicate statistically significant relationships (P ≤ 0.05)

City-scale analyses

Since each city has a different scenario of urbanization (Table 1) and differ in overall amounts of forest cover (Fig. 1), we compared abundances and body traits of the two species of Dichotomius beetles among each city. The comparison among cities highlights the fact that differences may arise because of other factors (besides forest cover), associated with the socioeconomic and historical context of each city. City was the predictor variable, and abundance and body traits of D. quadrilobatus and D. boreus were the response variables. Such analyses were performed using Generalized Linear Models (GLM) with Gaussian family distribution. Post-hoc comparisons between each paired city were assessed by the lsmeans function of emmeans package (Lenth 2021), which were followed by Tukey (HSD).

Results

We collected 302 individuals throughout the 38 sampling sites, of which 53% were D. boreus individuals and 47% were D. quadrilobatus individuals (see Supplementary material). Itacoatiara and Manaus were the cities with the highest abundances of D. boreus and Manacapuru the city with the highest abundance of D. quadrilobatus (N = 89, 60 and 120, respectively). Regarding the abundance distribution of females : males, similar number of male and female individuals were observed both for D. boreus (79 : 81) and for D. quadrilobatus (71 : 72). These females : males abundances were constant throughout the cities (Supplementary material). Only five dung beetles were captured in carrion-baited pitfall traps, all of them belonging to D. boreus (see Supplementary material).

Dichotomius boreus had a mean size of 13.80 ± 1.10 mm (mean ± Standard Deviation), while D. quadrilobatus had a mean size of 15.22 ± 1.20 mm. In D. boreus, males were slightly larger than females (males, 13.90 ± 1.60 mm; females, 13.70 ± 1.61 mm), the same being observed in D. quadrilobatus (males, 15.20 ± 1.68 mm; females, 15.10 ± 1.70 mm). Males’ horn length for D. boreus was 1.00 ± 0.10 mm long, while for D. quadrilobatus the horn was 1.30 ± 0.10 mm long (Supplementary material).

Site-scale effects on Dichotomius abundance and body traits

For both species, the increase of forest cover positively affected abundance, but the amount of agriculture-pastureland cover had no significant effect (Fig. 2). The effect of forest cover was observed both for total abundance, as well as for the abundance of males and females separately (Fig. 2). There was a positive relation between male’s horn length and forest cover for D. boreus beetles (Fig. 3), but no significant relationship was observed between the land covers and male’s horn length in D. quadrilobatus (Table 2). Effects of land-cover variables on beetle body size were not significant (Table 2).

Fig. 2
figure 2

Relationships between the amount of forest cover and total abundance and of male and female D. boreusA-C and D. quadrilobatusD-F beetles collected in 38 sites located in six urban landscapes of the Central Amazonian region

Fig. 3
figure 3

Relationship between forest cover and D. boreus male horn length in 26 sites located in four urban landscapes in the Central Amazonian region

City-scale effects on Dichotomius abundance and body traits

Abundance of D. boreus among cities was distinct, but only for males (Table 3). Males of D. boreus had a higher abundance in Itacoatiara (with 60% of overall forest cover, see Table 1) when compared to President Figueiredo and Rio Preto da Eva (with 93% and 88% overall forest cover respectively, see Table 1) (Fig. 4B), the cities with the lowest percentage of urbanization (Table 1). Females did not show marked differences in their abundances among cities (Fig. 4C). When analyzing body size, D. boreus beetles from Itacoatiara and Manaus were smaller than those from Presidente Figueiredo and Rio Preto da Eva (Fig. 5B). When analyzing by gender, males’ beetles from Itacoatiara and Manaus were smaller than those from Rio Preto da Eva (Fig. 5C), while females from Itacoatiara and Manaus were smaller than females from Presidente Figueiredo (Fig. 5D). In D. quadrilobatus, neither abundance nor body size varied between the two cities in which they were recorded (Table 3). Nonetheless, males’ horn length differed between cities in D. quadrilobatus, with males from Manacapuru showing larger horns than in Iranduba (Fig. 5E).

Table 3 GLM results showing the comparisons of D. boreus and D. quadrilobatus abundance and body traits effects among cities in which these species were recorded. Statistically significant variables (P ≤ 0.05) are shown in bold
Fig. 4
figure 4

Abundance of D. boreus beetles A-C and D. quadrilobatusD-F sampled in six cities located in the Central Amazonian region. The white dot represents the mean abundance and the gray area shows the frequency of the data

Fig. 5
figure 5

Males’ horn length, body size of all beetles and separated by sex of D. boreusA-D and D. quadrilobatusE-H sampled in six cities located in Central Amazonian region. The white dot represents the mean abundance and the gray area shows the frequency of the data

Discussion

With the increase of urbanization it is essential to search for alternatives that allow the coexistence of urban landscapes and green infrastructure that maintain a significant portion of native biodiversity. The maintenance of native vegetation patches in cities is determinant to maintain a subset of the regional biodiversity, thus playing a key role for ecological conservation and human health (Marselle et al. 2019). Healthy dung beetle populations can play a key role in the maintenance and recovery of environmental quality in human-modified landscapes (Nichols et al. 2008; Servín-Pastor et al. 2021). Here we show that in our studied urban landscapes at the site scale, the decrease of forest cover results in decrease of beetle abundance and males with smaller horns. At the city scale, were population processes most likely respond to the historical and socioeconomical development of cities, we found that cities with reduced forest cover and thus more urbanized (i.e., cities with higher human population) have higher abundance of beetles but individuals are smaller. Furthermore, the reduction in beetle abundance was not sex-biased and both males and females are negatively affected by the loss of forest cover. Moreover, beetle species seem to respond to land cover variables at different spatial scales, changes in D. boreus abundance responds at a rather fine scale (200 m) when compared to abundance changes in D. quadrilobatus (1000 m).

These results present strong evidence for landscape change effects that result from an ongoing urbanization process in the Amazon with effects on population and individual processes impairing abundance and body traits of native species. Most studies have shown that effects of habitat loss are intrinsically related to species loss and decreases of native species population (Pimm and Askins 1995; He and Hubbell 2011; Chase et al. 2020). Nonetheless, population and individual level responses have strong consequences on ecosystem functioning. Therefore, the maintenance of native habitat fragments in urban areas is determinant not only to keep a subset of the rich regional biodiversity, especially in Amazonian cities, but also to keep functional ecosystems that play a key role improving the quality of urban environment and human health. However, our results also show that landscape changes affect population and individual processes at different spatial scales, imposing additional challenges for urban landscape management.

In accordance with our first prediction, there was a marked decrease of beetle abundance with the decrease of forest cover in the urban landscapes. The modification of the abundance of species as a consequence of environmental degradation is a trend observed in populations (including dung beetles) that persist in anthropogenic landscapes (Korasaki et al. 2013; Newbold et al. 2014; Piano et al. 2020; Salomão et al. 2020b). Environmental pressures in anthropogenic landscapes driven by reduction of habitat and food resource availability, and by changes in microclimatic conditions, negatively affect individual survival leading to changes in abundance (Nichols et al. 2007; McKinney 2008; Fuzessy et al. 2021). For dung beetle species, the quantity and quality of food resources (i.e., feces from native mammals, decaying corpses) is determinant for the fitness of individuals and consequent success in population establishment in the environments (Favila 1993; Moczek 2002; Servín-Pastor et al. 2021). The urban matrix is an inhospitable environment that strongly contrasts with the native forest habitat in many aspects including contrasting microclimatic conditions and a different suite of predators. These contrasting conditions may strongly affect habitat quality via edge effects reducing food resources and increasing mortality of individuals within remnant habitat patches in cities. Therefore, we conclude that the decrease in Dichotomius abundance within habitat patches is a consequence of the reduction of their native habitats, which comes together with changes in food availability, in addition to dispersal barriers imposed by the harsh urban matrix that limits the movement of individuals among patches. The still incipient literature regarding these Dichotomius species (Vulinec 2002; Chamorro et al. 2021), do not allow a clear assessment of D. boreus and D. quadrilobatus diets in natural conditions. Considering our findings, a plausible hypothesis is that these species are not benefited by the novel food availability present in the Amazonian urban landscapes. To present more precise studies regarding urbanization dynamics, and for a finer disentangling of habitat and food availability effects on dung beetle persistence in urban ecosystems, species natural diet should be better understood. Moreover, it is important to consider that D. boreus and D. quadrilobatus are two of the largest dung beetle species in the region. Large-bodied species tend to be sensitive to human activities that drive landscape change, usually decreasing their abundances (Gardner, 2008; Braga et al. 2013). With the decrease of beetle abundance, there is a loss of key ecosystem services, as secondary seed dispersal, soil bioturbation, and the control of parasitic transmission (Nichols, 2008; Servín-Pastor et al. 2020; Rivera et al. 2021).

Dichotomius species responded to forest cover at different spatial scales: the population of D. boreus was influenced at a fine scale (200 m), while the abundance of D. quadrilobatus changed as a function of forest cover at a larger scale (1000 m). Species responses to landscape change typically vary across spatial scales and are also frequently reported for a wide range of organisms (Roland and Taylor 1997; Moll et al. 2020). The scale at which species respond appears to be related to body size (Roland and Taylor 1997) or traits related to dispersal capacity (e.g. Buse et al. 2018). Finer landscape-scale responses in D. boreus may be related to a greater sensitivity to spatial processes and their smaller body size when compared to D. quadrilaterus. Moreover, the scale at which a landscape variable affects a species can also differ for different response variables and these differences seem not to be predictable (Moraga et al. 2019). For instance, the response of D. boreus abundance to forest-cover reduction occurred at a finer scale (200 m) than for reduction in horn length (1000 m).

The higher abundance of D. boreus in one of the cities with lowest percentage of forest cover and as such a more urbanized city (Itacoatiara) appears to conflict with the site scale result in which we found a positive relationship between forest cover and beetle abundance. This seemingly conflicting result, however, can be explained by the fact that the abundance in high forest cover sites within each city may differ among cities because of city-specific factors such as different socioeconomical or historical contexts. Also, in cities with reduced forest cover (Itacoatiara and Manaus) individuals are smaller suggesting effect of urban ecosystems on dung beetle populations (Halffter and Arellano 2002; Nichols et al. 2013). Habitat quality and landscape configuration are important drivers of dung beetle distribution (which includes Dichotomius beetles) in urban ecosystems (Salomão et al. 2019, 2020b; Correa et al. 2021). Habitat quality, type or availability of resources are determinant for individual body size in dung beetles (Nichols et al. 2007; McKinney 2008; Servín-Pastor et al. 2021). It is interesting to note that cities with reduced forest cover and more urbanized cities dwell larger populations but small-bodied individuals, which suggest a compensatory effect of D. boreus biomass in the most urbanized cities (Itacoatiara and Manaus). Since dung beetles use food to reproduce (Hanski and Cambefort 1991; Scholtz et al. 2009), a higher abundance of individuals in more urbanized cities could be related to landscapes with more abundance of food (feces, carrion, decaying organic material). Nonetheless, food quality directly regulates dung beetle body size (Moczek 2002; Servín-Pastor et al. 2021), which could also be driving the patterns observed herein. The body size of species may be indirectly correlated with species persistence in the landscapes (Gaston and Blackburn 1996; Chown et al. 2010, but see Davies et al. 2000). Considering the energetical demand to maintain a large body (Kotze et al. 2003; Ulrich et al. 2008), we believe that the limiting spatial and trophic resource availability in more urbanized landscapes may be exerting a populational pressure on D. boreus beetles, resulting in abundant populations of small-bodied individuals. These results are a novel finding, highlighting how population persistence may compensate its ecological role by a trade-off between individual biomass (i.e. body size) and species abundance. Future studies should evaluate if this trade-off is affecting ecosystem services provided by dung beetles.

In accordance with our second prediction, males’ relative horn length was also negatively affected by urbanization, which was observed in D. boreus (at site-scale) and D. quadrilobatus (at city-scale). Intraspecific variations of horn length in dung beetle populations may be driven by different factors, including genetic and environmental effects (West-Eberhard 1992; Moczek and Emlen 1999). The decreased forest cover as a consequence of urbanization results in sharp increases in temperature (e.g. urban heat islands, see Zhang et al. 2013; Roth 2020). More urbanized landscapes presented wider portions of open-canopy vegetation compared to less urbanized ones (personal observation); and such opener sites present higher soil temperature and lower humidity, directly influencing the physical characteristics of the food and its quality (López-Bedoya et al. 2022; Alcântra et al. 2023). These environmental conditions influence larval development of dung beetles, which consequently reduce male horn length (Moczek and Emlen 1999; Scholtz et al. 2009). The decrease of forest cover also decreases vertebrate diversity (e.g. McKinney 2008) – the main food providers for the dung beetles (Hanski and Cambefort 1991; Scholtz et al. 2009). The physical and chemical characteristics of vertebrates’ dung (e.g. nutrient, fiber content, moisture) influences dung beetle morphological characteristics, such as males’ horn size (Tonelli et al. 2021). Thus, the scarcity of dungs in urban areas and their lower quality can decrease dung beetles’ fitness because horn length is a morphological trait related to sexual selection in dung beetles (Pomfret and Knell 2006). Similarly, in a forest-specialist bird species studied in the same city (Manaus, the most populated city), individuals were smaller and behaved differently in urban forest fragments than in the nearby continuous and preserved forest (Avilla et al. 2021). These studies and our results present an alarming scenario in which the decrease of forest cover in urban landscapes leads to shifts in intraspecific dynamics with decreasing fitness of individuals. Nonetheless, since the strength of sexual selection may be affected by habitat quality (Yeh 2004), and population density (Buzatto et al. 2012), an alternative explanation is that sexual selection is relaxed in cities, which dwell low-abundance populations and could lead to smaller-horn individuals in urban landscapes.

In our study, site-scale effects on Dichotomius beetles were distinct from those observed at city scale. For example, D. boreus body size and D. quadrilobatus horn size only differed in the analyses performed at city scale. Human population density in cities, distribution of land cover types, urban growth speed, and spatial configuration of forest remnants may modulate effects of urbanization on biodiversity (Burdine and McCluney 2019; Uchida et al. 2021). The site and city scales analyzed in this study most probably relate to processes that occur at individual and population levels, respectively, and thus the ecological dynamics and filters that exist for Dichotomius beetles at the city scale and the site scale are markedly distinct. Among the differences that encompass these scales, rapid environmental changes may mask the effects of landscape transformations on ecological communities (Uchida et al. 2021). The effects observed at the site scale (i.e. as a response to the amount of forest cover within a 200 m scale) were mostly related to beetle abundance, which may indicate that this population parameter is very sensitive to local changes in habitat quality. Nevertheless, by assessing the city-scale, we observe a potential compensatory mechanism encompassing beetle abundance and body size. Although the city scale and the site scale comprise different scales and therefore different ecological processes, both were determinant for a broader comprehension of the mechanisms driving dung beetle distribution in urban ecosystems.

Contrary to our third prediction, both sexes were negatively affected by the loss of forest cover. This result may be associated with the energy requirement of both males and females. Females have a high energy demand linked to reproduction, which includes egg development and nest protection, while males disperse larger distances through the landscape making them more susceptible to parasites (Klemperer 1983; Salomão et al. 2020b, 2021). Small forest patches may not provide food in sufficient quantity and quality for female reproduction and also limit the optimum functioning of the physiological condition of males (Zanette et al. 2000; Salomão et al. 2020a), which can lead to unsuitable environments for both sexes. Moreover, isolation of forest patches due to the advancement of urbanization may further reduce the number of females, which can result in local extinction of populations. The forest cover in large urban centers in the tropical region has dramatically decreased mostly because of the migration of people towards cities and lack of appropriate urban planning. Consequently, these landscape and population dynamics put the preservation of forested areas in urban regions at risk, diminishing the quality of life in tropical cities.

The Amazon region has been suffering from a set of anthropogenic activities that are affecting biodiversity at different spatial scales (e.g. forest loss and fragmentation, climatic changes, see Sobral-Souza et al. 2018). Landscape transformations that have occurred during the Anthropocene are resulting in cascading environmental consequences for the ecosystems, which affect ecological communities, population structure and the individual condition of organisms (McKinney 2006; Filloy et al. 2019; Onandia et al. 2019; Magura et al. 2021). In this study, we focused in understanding how population structure and morphological traits of D. boreus and D. quadrilobatus respond to changes in forest cover assessed at different scales in Amazon cities. Our results showed marked negative effects of forest loss on population dynamics of dung beetles, which could indicate that urban landscapes with more forest cover are the best ones to conserve abundant and healthy dung beetle populations ensuring their ecosystem services. Compared to other tropical rainforests, the Amazon still maintains a relatively high amount of native vegetation (Ribeiro et al. 2009; Vega-Vela et al. 2018). Therefore, it is of utmost importance to develop environmental policies that conserve large forest patches in urban landscapes, which will maintain a high biodiversity, stable populations and healthier cities.