Introduction

Species included in the same guild—i.e., that exploit similar categories of resources (Simberloff and Dayan 1991)—often show similar traits that force them to compete for resources (e.g., food resources; Blondel 2003). Nevertheless, to coexist, species must diverge in at least one of the three niche dimensions—temporal, spatial, and trophic (Schoener 1974), as a complete overlap in all three dimensions will lead to the local exclusion of the less efficient competitor. In terms of temporal segregation, species may adjust their activity patterns to reduce the overlap of the circadian activity or show similar activity patterns, being active in different areas/locations, i.e., distinct spatio-temporal patterns (Posillico et al. 1995). In anthropogenic areas, animals face extra challenges linked to the presence of humans and their activities (e.g., land-use changes, persecution; Reason et al. 1993; Frick et al. 2020), and while some move to other habitats/regions with lower human presence (Posillico et al. 1995; Lucherini et al. 2009), others tend to adapt and coexist with humans and their activities (Cruz et al. 2018; Smith et al. 2018; Li et al. 2019; Manlick and Pauli 2020). In such a scenario, animals must cope with the presence of competitors of the same guild, but also with humans and human-associated disturbances such as habitat destruction, land cover change, hunting (of predators and preys), domestic animals’ presence, among others (Gruber et al. 2019). Therefore, they may be forced to change their activity to avoid the most impactful disturbance, often of anthropic origin (e.g., hunt and agriculture; Posillico et al. 1995), and/or increase their levels of tolerance towards competitors allowing a higher overlap of activity between guild members to avoid higher anthropic disturbances (e.g., houses and human foot traffic; Smith et al. 2018).

Human populations and activities have been expanding toward natural areas since ancient times (Henn et al. 2012; Roser et al. 2013), enhancing the disturbance regimes. One recent example is the modification of natural and ancient habitats to install planted forests and wood production areas, which have been increasing in the last decades (FAO 2018) to fulfill demands on basic forest goods (e.g., wood, paper pulp) (Lamberg et al. 2012). Worldwide, the area of plantation forests has increased by 123 million ha in the last three decades (between 1990 and 2020), with, currently, over 293 million ha (FAO 2020). The majority of planted forests are composed of native species (Payn et al. 2015), aiming to enhance forest resources and protect watersheds (FAO 2020), control soil erosion and desertification (Fisher 1995), and maintain biodiversity (Humphrey et al. 2000; López‐Bedoya et al. 2022; Pietrek and Branch 2011). Nevertheless, they are still less efficient in delivering such ecosystems services than native forests (Hua et al. 2022). But others, are focused on wood/fiber production and used for commercial purposes, accounting for almost 45% (131 million ha) of the world’s planted forests, 5.5 million ha of which are present in Europe alone (FAO 2020). In Mediterranean Europe, landscapes have been altered by humans’ activities for millennia (Blondel 2006), which include establishing agroforestry systems (e.g., cork oak woodlands or “montado/dehesas”). These changes in habitats type, structure, and functionality have direct consequences on species’ ecological patterns, leading, for example, to regional/local extinctions (e.g., Chamberlain and Fuller 2000; Franco et al. 2006), population decline (e.g., Selwood et al. 2015) or simply to changes in their ecological processes and patterns (e.g., Verdade et al. 2011). However, even in natural areas that have not been highly altered by humans, their presence might be frequent (e.g., hunting, grazing livestock; personal observation), also inducing lower-scale changes in species’ ecological patterns (Oberosler et al. 2020). In order to avoid or reduce their interactions with human activities and consequent disturbance (e.g., noise), which are usually more concentrated in the daytime, many vertebrates, including carnivores, tend to increase their nocturnal activity. Agriculture (e.g., tractors and other agriculture machinery), forestry (e.g., clear-cutting), and hunting (e.g., gunshots and hunting dogs) (Cruz et al. 2018; Gaynor et al. 2018) can be listed as accountable for the disturbance.

Portugal can be considered a high carnivore diversity area in Europe (Bencatel et al. 2018), but mesocarnivores distribution varies greatly, with only 60% of the species being widely distributed (e.g., red fox, Vulpes vulpes L.; stone marten Martes foina Erxleben) (Bencatel et al. 2018; Álvares et al. 2019). All these mesocarnivores have been coping with humans’ presence in the Portuguese landscape for centuries and had to adapt to the disturbance contexts linked to this co-existence to find adequate resources to survive. Thus, to understand how species have adapted to anthropic environmental changes, especially to highly artificial systems such as planted exotic forests (e.g., Eucalyptus plantations), the use of habitat-generalist species as models often seems adequate. They have wider biological and physiological plasticity that allows them to be more tolerant to changes in environmental conditions (Richmond et al. 2005), which will allow them to change their ecological patterns to cope with different levels of disturbance. Within Portuguese mesocarnivores, two generalist species comply with this criterion, although showing distinct habits that may shape their ecological responses: the stone marten with a higher arboreal capacity and the red fox, a more cursorial mesocarnivore (Santos et al. 2007). The red fox is the most widespread and abundant mesocarnivore in Portugal (Bencatel et al. 2018) with a great ability to adjust to habitat transformation, occurring in most Portuguese native areas, but also in agroecosystems and more urbanized areas (Díaz-Ruiz et al. 2013; Alexandre et al. 2020). The stone marten is also a native species that occur in different types of habitats, from native forests to cities (Santos and Santos-Reis 2010; Pereira et al. 2012). Both mesocarnivores have been described as well adapted to humans and urban areas (Harris and Rayner 1986; Adkins and Stott 1998; Wilkinson and Smith 2001; Santos and Santos-Reis 2010), although there is a lack of data for Iberia. The ecology of red foxes and stone martens’ population in the Iberian Peninsula has been fairly described (e.g., Bencatel et al. 2018), with some information regarding these species’ activity patterns being already available in the literature (Santos and Santos-Reis 2010; Barrull et al. 2014; Monterroso et al. 2014, 2016; Díaz-Ruiz et al. 2016; Vilella et al. 2020). However, very little data exist on how both species adapt their activity pattern in production forests (but see Cruz et al. 2015), especially in Eucalyptus plantations, which in Portugal is the widest forested area, covering more territory than any individual type of native forest types (COS 2018) a de Uso e Ocupação do Solo de Portugal continental para 2018). The information available regarding these species’ activity patterns derive from studies implemented in native habitats or in historical and High Nature Value farmlands (e.g., Barrull et al. 2014; Monterroso et al. 2014). Those studies show that the red fox and the stone marten are mainly nocturnal mesocarnivores, but their activity peaks vary according to the season (Vilella et al. 2020), breeding season phase (Monterroso et al. 2014), and food availability (Barrull et al. 2014). Still, in none of those studies, the activity patterns are estimated and compared for different disturbance contexts to assess how specifically each disturbance factor may be shaping these generalist carnivores’ circadian cycle, nor the effect of inhabiting exotic Eucalyptus plantations on those patterns assessed.

Considering this information gap, our goal was to understand how two sympatric mesocarnivores may temporally coexist within the same guild and how they managed to adapt their activity to distinct human activities and disturbances contexts. Using camera trapping detections in a Portuguese landscape dominated by Eucalyptus plantations, also including native patches (in the central region of Portugal), we specifically studied the activity patterns of two Iberian mesocarnivore species, the red fox and the stone marten, by evaluating: (i) their daily activity pattern and corresponding overlaps; (ii) how each species activity pattern varies in different human-related disturbance contexts (i.e., in areas with and without the presence of humans, dogs, and livestock); (iii) how red fox activity patterns diverge between native areas and plantations, hunting periods and seasons; and (iv) the spatio-temporal pattern of both species, and each species with humans, dogs, and livestock.

We predicted that: (1) both mesocarnivores species will be more active during the nighttime (Vilella et al. 2020), sunrise and sunset period (Cruz et al. 2015), since in these periods humans are absent from plantations and native areas, leading to a lower encounter risk and (2) both mesocarnivores will overlap their activity patterns, considering they are nocturnal (Vilella et al. 2020); (3) the two species will show more nocturnal activities in areas where humans/human activities are present to reduce the probability of encountering those human-related disturbance drivers, since all occur more often during the day (Kight and Swaddle 2011); (4) red foxes will reduce their daytime activity in Eucalyptus plantations, when compared to native areas, due to forestry works that are usually implemented during daytime in these production areas (personal observation); (5) red foxes will show higher nocturnality during the hunting period to avoid being detected by hunters and hunting dogs, as hunting journeys can only legally target daytime periods (Hipólito et al. 2018); 6) red foxes will show a reduced daytime activity period during the dry season due to thermoregulation limitations, to avoid extreme daytime temperatures in the Iberian Mediterranean summer (Monterroso et al. 2014); 7) red foxes and stone martens will show an avoidance spatio-temporal pattern to reduce competition (Torretta et al. 2017); and 8) both species will present a spatio-temporal avoidance of humans, dogs and livestock as a strategy to minimize disturbance (Hipólito et al. 2016, 2018; Alexandre et al. 2020).

Material and methods

Study area

This study was carried out in eight different study areas in the Mediterranean region of central Portugal (Fig. 1), described by hot and dry summers and cold and wet winters, with an average annual temperature of 16 °C and an average annual rainfall of 758 mm. Six areas were located within Eucalyptus plantations dominated landscapes (Pampilhosa da Serra, Góis, and Mortágua; Fundão, Penamacor, and Penha-Garcia) and included patches of Mediterranean shrubland species and native woodlands. All Eucalyptus areas included in our study are managed by the same Portuguese forestry company and thus are managed similarly. Each area encompassed different production stages [initial (trees with ≤ 1.5 m); intermediate (> 1.5—< 10 m) and preharvest (≥ 10 m)], corresponding to a 12-years production cycle. Forestry workers normally start working after sunrise and all interventions on the plantation is limited to daylight hours and include: 1) the tree pruning process after 1.5–3.5 years of trees being planted and, sometimes, three years after the first pruning process; 2) soil and dirt roads maintenance to avoid erosion; 3) mechanical or chemical control of the understory (the use of the latter is limited to the first six years, and to the application of systemic herbicides with low/null toxicity to the environment); and 4) fertilization, implemented in the first four years of the plantation.

Fig. 1
figure 1

Location of the eight study areas in central Portugal where camera trap grid was implemented. The green area represents Eucalyptus plantations. This figure was produced using QGIS 3.10.8-A Coruña software (QGIS Development Team 2020)

Moreover, two areas corresponded to native vegetation areas used as control (Serra da Lousã and Serra da Malcata), dominated by native species such as Pinus pinaster Aiton., Quercus robur L., Quercus suber L. and native Mediterranean shrubland (e.g., Arbutus unedo L, Erica spp., Ulex spp., Genista spp.). Serra da Lousã is classified as a Site of Community Importance (SIC) within the Natura 2000 network (PTCON0060), and Serra da Malcata is a Natural Reserve, also SIC (PTZPE0007) (European Commission 2021).

Human activities (e.g., grazing, forestry operations, tracking, mountain biking, offroad 4WD, leisure activities) occurred in some parts of all the eight areas, including hunting that is permitted during the hunting season (October-February; Law-Decree n. º 202/2004—Official Journal (Diário da República) n.º 194/2004, Series I-A de 2004–08-18). In this period hunters use dogs to hunt game species, such as the red fox.

Sampling design

The eight study areas were located at least 10 km from the nearest one. For each study area, a grid containing 25 camera traps (Cuddeback 20 Megapixel IR H-1453 white series), 1 km apart, active for 24 h during 30 consecutive days for each sampling season (i.e., wet season from January to May 2019–2020; and dry season from June to September 2019–2020), totalizing 800 camera-trap stations. Camera trapping is a non-invasive methodology that enables the study and continuous monitoring of wildlife, while reducing the wildlife-observer interaction. The method is particularly efficient for providing evidence of an animal’s presence, especially for species that are difficult to observe (typically carnivores), due to their solitary and elusive behavior, low densities, and large home ranges (O’Connell et al. 2011; Rovero and Zimmermann 2016). It is widely used to study distinct ecological processes at different scales, such as individual behaviors (e.g., report specific behaviors, such as feeding), monitor populations (and estimate abundance, occupancy, density, etc.; Burton et al. 2015), or understand intra-community interactions (e.g., seed dispersal actors) (Trolliet et al. 2014). Even though, it still entangles some limitations, such as when applied to areas with dense vegetation cover (that reduces animals’ detectability due to a reduction of the camera’s field of view and detection zone; Hofmeester et al. 2019), when targeting species with specific movement behaviors [e.g., arboreal species such as the common genet (Genetta genetta L.)], or when individual identification is needed (which is not possible when the photographed individual does not have individual marks, such as fur patterns). Nevertheless, this methodology is commonly used, and highly efficient to study mammals’ activity patterns, and temporal overlap (i.e., the similarity between two activity patterns) between species (Li et al. 2019) since camera records allow accurate dates and times at which individuals are detected, and thus active. Camera time was set according to Coordinated Universal Time (UTC), and cameras were installed at 40 to 60 cm above ground level, attached to trees or wooden sticks, and programmed to take three consecutive photos every time the sensor was triggered, with a 30-s interval between any subsequent trigger event (O’Connell et al. 2011). We did not use bait or lures in any camera.

We identified the species detected in each photo and registered the trap location, day, and local time. However, to assure temporal independence between each event, multiple photo captures of the same species, less than 30 min apart, were collapsed into a single independent data point, and we only considered independent detection events in our analysis (Rovero and Zimmermann 2016).

Data analyses

Species activity patterns and overlap

To estimate red fox and stone marten activity patterns in the different environmental contexts, we converted the local time data of each mesocarnivore detection event to solar time using the “solaR” R package (Perpiñán 2012) to standardize the temporal data and allow inter-areas comparisons. After correction, the time was scaled into a 0–1 range and then transformed into radians (time*2π).

To visualize the daily activity patterns of species, we created probability density function plots for the global data set using the “overlap” R package (Meredith and Ridout 2021). We also estimated the activity overlap between both mesocarnivore species and between each species in the different human-related disturbance contexts (i.e., with and without humans, dogs, and livestock presence) by plotting both probability density functions. Then we compared activity patterns estimation between each data subset by calculating the coefficient of overlap Δ4, which is the recommended metric for sample sizes with more than 75 detections (Meredith and Ridout 2021), ranging from 0 to 1 (no overlap and complete overlap, respectively) (Ridout and Linkie 2009). We used a standard deviation of 999 bootstrap replicates (Linkie and Ridout 2011) to estimate Δ4 95% confidence intervals precision. Using the methodology adopted by Monterroso et al. (2014), we classify the overlapping activity in three categories: low overlap = Δ4 ≤ 50th sample percentile; moderate overlap = 50th percentile < Δ4 ≤ 75th percentile; high overlap = Δ4 > 75th percentile.

To test the uniformity of records’ distribution over the 24 h of the day, we used the Rayleigh Uniformity Test (Mardia and Jupp 2000), and to compare the detections’ distribution across the diel cycle for all the previous combinations of subsets data, we used the Watson-Wheeler test (W) (Zar 2010), both available in the “circular” R package (Agostinelli and Lund 2022). Rayleigh Test values close to 1 (records with a higher value) indicate that records are concentrated in a specific period of the day with a non-uniform distribution. Inversely, values close to 0 (records with a lower value) indicate that activity may be occurring during the 24 h of the day without a specific peak of activity. When the Watson-Wheeler test value is high, it indicates a bigger difference between the activity patterns of each data subset pair (which can be significant, i.e., p < 0.05).

As the red fox sample size was higher than that collected for the stone marten, we were able to test variations in activity between other environmental contexts for this canid. Therefore, we compared red fox activity patterns between seasons (i.e., dry vs wet season), locations (i.e., native areas vs Eucalyptus plantation), and hunting periods (i.e., hunting vs no-hunting period). When datasets were large enough, we also assessed activity variations between a combination of those contexts: hunting vs no-hunting period in Eucalyptus plantation and native areas.

Species spatio-temporal segregation—Time-to-encounter

To assess the spatio-temporal segregation among species in the different environmental contexts, we created a matrix of species encounters per hour for each camera-trap station. Then we calculated the proportion of sites, at each hourly interval, when the activity detection of any two species overlapped. We then estimated the time-to-encounter across each species pair (i.e., each mesocarnivore species with humans, dogs, and livestock presence and between the two mesocarnivores) using a multi-response permutation procedure (Mielke et al. 1976). For each encounter of one species at a specific camera location, we calculated the minimum time to encounter the co-pair. Hence, we obtained, for each species pair, a set of observed times-to-encounter. We produced expected statistical distributions of times-to-encounter by randomly (in 1000 simulations) attributing encounter times to camera-trap locations. Lastly, we compared the median observed time-to-encounter with the simulated distribution of expected times-to-encounter (Mielke et al. 1976; Karanth et al. 2017).

A smaller observed time-to-encounter than expected (i.e., simulated) implies species aggregation, while a larger observed time-to-encounter reflects species segregation. This method was used to test species spatio-temporal segregation, conditional on observed space-use and temporal activity patterns of the target species (Mielke et al. 1976; Karanth et al. 2017).

All analyses were made in R software (R Core Team 2021).

Results

In total, we ended with 765 fully operating cameras during the complete study period due to some malfunctions that restrained us from using the entire 800 cameras. We detected five mesocarnivore species: the red fox, the stone marten, the European badger, the common genet, and the Egyptian mongoose (Herpestes ichneumon L.). However, only for red foxes (N = 364) and stone martens (N = 42) we generated enough data to assure a robust analysis (> 30 independent records). We also registered records of humans, livestock (goat and sheep), and dogs (Table 1).

Table 1 Independent events of each species in each sampled location habitat

Species’ daily activity patterns and temporal overlap

Red foxes and stone martens presented a typically nocturnal pattern (with a statistically significant non-uniform pattern: Rayleighfox = 0.328, p < 0.001; Rayleighmarten = 0.675, p < 0.001), with most of their detections being concentrated in the night period. Nevertheless, some variation was detected, with red fox presenting a high crepuscular activity, with activity peaks around 20:00 h (sunset) and 05:00 h (sunrise), and stone martens being more nocturnal, with an activity peak near 22:00 h (Fig. 2). Livestock, dogs, and humans were typically diurnal with activity peaks closer to sunrise and sunset (also showing a significant non-uniform activity pattern: Rayleighlivestock = 0.631, p < 0.001; Rayleighdogs = 0.325, p < 0.001; Rayleighhumans = 0.704, p < 0.001). Humans’ activity at the study site increases sharply at the beginning of the day and continues relatively constant throughout the day until around sunset, where it decreases abruptly (Fig. 2).

Fig. 2
figure 2

Daily activity patterns of red foxes a, stone martens b, livestock c, domestic dogs d, and humans e in six Eucalyptus dominated landscapes and two native habitats of central Portugal, based on the Kernel density estimator. Vertical dashed lines represent the beginning and end of sunset (in red) and sunrise (in blue). R – Rayleigh test; n – number of independent events

The activity patterns of red fox and stone marten were clearly distinct (Watson's Test = 15.689, p < 0.001), with stone marten showing a unimodal and typically nocturnal pattern, while red fox evidence a bimodal pattern with two activity peaks, near sunset and sunrise (Fig. 3). Their activity overlap was moderate according to Monterroso et al. (2014) [Δ4 = 0.734 (0.633–0.836 CI)] (see Appendix I).

Fig. 3
figure 3

Activity overlap (shaded areas) patterns between red foxes and: stone martens a, domestic dogs b, livestock d, and humans f; and between stone martens and: domestic dogs c, livestock e and humans g in six Eucalyptus dominated landscapes and two native habitats of central Portugal. Vertical dashed lines represent the beginning and end of sunset (in red) and sunrise (in blue). Overlap coefficients (Δ4), their confidence interval, and the significance of the difference are also presented. (Color figure online)

There was a significant mismatch between the activity patterns of red foxes (Watson's Testhumans = 218.220, p < 0.001; Watson's Testdogs = 68.304, p < 0.001; Watson's Testlivestock = 137.050, p < 0.001) and stone martens (Watson's Testhumans = 87.275, p < 0.001; Watson's Testdogs = 58.795, p < 0.001; Watson's Testlivestock = 80.530, p < 0.001) with the activity of humans and domestic animals (Fig. 3), with Δ4 always < 0.50, indicating a low overlap. This mismatch seems to be higher for stone martens as they consistently show a lower overlap with humans, livestock, and domestic dogs than foxes (Fig. 3), as foxes show some overlap, especially during sunset and sunrise. Both carnivores showed a higher overlap with dogs’ activity than with humans or livestock.

Red fox activity patterns in different environmental and disturbance contexts

Red fox activity patterns showed some variation between the different analyzed environmental and disturbance contexts. In the wet season and native habitats, red foxes show a unimodal pattern with a peak of activity in the early evening, and then the activity decreases towards sunrise (Figs. 4a, b). In the dry season and on Eucalyptus plantations, the activity has a peak at sunset and another at sunrise (Figs. 4a, b). These variations between habitats and seasons are highlighted by the medium value of Δ4 and the significant differences in patterns (Δ4season = 0.778, Watson's Testseason = 14.113, p < 0.001; Δ4habitat = 0.779; Watson's Testhabitat = 19.327, p < 0.001).

Fig. 4
figure 4

Activity patterns and overlap (shaded areas) of red foxes in different environmental and disturbance contexts: a wet and dry seasons; b Eucalyptus plantations and native habitats; c hunting and no-hunting periods; d hunting and no-hunting periods in Eucalyptus plantations; and e hunting and no-hunting periods in native habitats. Vertical dashed lines represent the beginning and end of sunset (in red) and sunrise (in blue). Overlap coefficients (Δ4), their confidence interval, and the significance of the difference are also presented. (Color figure online)

Regarding the effect of disturbance contexts, we did not detect a significant difference in activity patterns between hunting and no-hunting periods, with a high pattern overlap (Fig. 4c; Δ4 = 0.840, Watson's Test = 1.208, p = 0.547). This pattern holds when the effect of hunting is analyzed in each specific habitat (Δ4Eucalyptus = 0.870, Δ4native = 0.757).

Spatio-temporal patterns between red foxes and stone martens

We examined the times-to-encounter patterns between red foxes and stone martens to test for spatio-temporal segregation. The results apparently show some avoidance behavior, although not significantly (p-value = 0.338; Fig. 5; Appendix II), as the frequency of the simulated time-to-encounter between the two mesocarnivores is mostly within 125 days (Fig. 5), while the median minimum observed is in 177 days.

Fig. 5
figure 5

Spatio-temporal interactions between red foxes and stone martens, as shown by the times-to-encounter between both species. The vertical red line represents the median minimum observed time-to-encounter between the two species, and the area under the curve the randomly simulated times-to-encounter. P—p-value

Our data highlights a tendency for the red fox to avoid people (p-value = 0.062 is almost significant) (Fig. 6), with the estimated time-to-encounter between foxes and humans being 84 days (Fig. 6), while the median minimum observed period is 120 days. Surprisingly, stone martens seem to show some aggregation behavior towards dogs (Fig. 6; observed period of 12 days, but the estimated values reached 457 days). However, this difference was not significant (p > 0.05). A similar non-significant effect was detected for both carnivores and livestock. Red fox-dogs and stone martens-human spatio-temporal patterns showed an almost perfect match between observed and estimated values (Fig. 6).

Fig. 6
figure 6

Spatio-temporal interactions between red foxes and stone martens, and domestic dogs (a and b), livestock (c and d), and humans (e and f), as shown by the times-to-encounter between species. The vertical red line represents the median minimum observed time-to-encounter between the two species, and the area under the curve the randomly simulated times-to-encounter. P—p-value

Discussion

Red foxes and stone martens were the most common species of mesocarnivores across our study areas and therefore were the focus species of our study. Overall, both species were mostly active during nighttime, which is in line with the mesocarnivores’ nocturnal character described by several authors (Barrull et al. 2014; Monterroso et al. 2014; Vilella et al. 2020), supporting our first hypothesis. Often, the concentration of activity in a specific period is driven by habitat structure (Díaz-Ruiz et al. 2016) and by the need to reduce competition (Torretta et al. 2017), disturbance (Kight and Swaddle 2011) or predation (Monterroso et al. 2013). Moreover, the studied populations seem to follow most of these ecological mechanisms. Red foxes and stone martens seem to be reducing their competition by slightly diverging their night activity. Red fox shows a typically crepuscular activity, being mostly active at sunset and sunrise, while stone martens concentrate their activity in the middle of the night. Such a strategy may be adopted to reduce the encounter probability between both species and thus any agonistic behavior that may induce injuries, which may be common in contexts of low food abundance (Papakosta et al. 2010). In Mediterranean landscapes, this temporal segregation seems to be the most important ecological mechanism facilitating mesocarnivores coexistence (Ferreiro-Arias et al. 2021). Nevertheless, these processes are usually multidimensional (Ferreiro-Arias et al. 2021) with a concurrent effect of spatio and/or trophic dimensions. However, the spatio-temporal avoidance pattern was not corroborated by our results (and thus our seventh hypothesis) which showed a non-significant avoidance. In Southwestern Mediterranean, both species focus their diet on the consumption of fruits and insects (Santos et al. 2007), which indicates some degree of trophic competition and that both species may be targeting similar areas where they can find these resources. In poor resource environments (such as plantations; da Silva et al. 2019), high interspecific competition for food resources may occur between red foxes and stone martens (Remonti et al. 2012). López-Bedoya et al. (2022) showed that globally the richness and abundance of coleopters (an important prey group for both carnivores; Santos et al. 2007) is lower in plantations than in natural forest. A similar pattern was detected by da Silva et al. (2019) for Portugal, which also showed that Eucalyptus plantation harbor a lower diversity of shrub species, which are often the most import fruit producing plants in plantations (as native trees are often absent). The detected temporal segregation behavior may be a strategy to allow the use of the same sites as feeding grounds (and where fruits and/or insects are available), but at different night periods to reduce encounter probabilities, corroborating our seventh hypothesis. Thus, the detected temporal segregation could be linked to a decrease in food availability and be a strategy to allow co-existence between competitors. Such avoidance between red foxes and stone martens was already detected in other Mediterranean environments, and competition was one of the highlighted drivers (Monterroso et al. 2014; Torretta et al. 2017).

Red foxes’ activity also changed according to seasonality, with activity being mostly concentrated in the sunset during the wet season, while in the dry season, red foxes were also highly active in the sunrise. The wet season is characterized by colder temperatures and rain, creating more challenging weather conditions for wildlife while searching for food. During this season, temperatures drop more drastically at night, which combined with the rain and wind, increases the animal’s thermoregulatory needs (Maurel and Boissin 1983). Therefore, as a more nocturnal animal (Monterroso et al. 2014), red foxes may concentrate their activity in the sunset and the first hours of the night and avoid later night periods that get progressively colder, as a strategy to reduce body heat loss (thermoregulation). In the dry summer, the night period is milder, and the most challenging period is the daytime, in which temperatures in the Mediterranean region can reach more than 40 °C (Santos and Miranda 2006). Thus, red foxes are more active throughout the night, showing two activity peaks but less day activity in the dry season (as hypothesized in number six).

Influence of anthropic disturbance on species activity

The habitat structure can be one of the drivers of species activity patterns (Díaz-Ruiz et al. 2016), and this is especially true if this effect is coupled with the anthropic disturbance linked to man-shaped habitats, such as plantations. In Eucalyptus plantations, red foxes showed two activity peaks: one at the beginning of the night and another at sunrise. Eucalyptus plantations are often a low diversity system (da Silva et al. 2019) and, therefore carnivore trophic resources may be scarcer (e.g., management action, such as thinning, can affect insect richness, abundance, and community structure; Taki et al. 2010). Usually, in low-abundance resource areas, carnivores increase their mobility and activity to optimize prey detection and hunting efforts (Karanth et al. 2017). Therefore, in plantations, red foxes must be active for longer periods to find enough food to fill their energy requirements. The second-night activity peak detected in plantations may be linked to this strategy. Inversely, in the native areas, a single activity peak was detected at the end of the sunset, with a decline in activity throughout the night. The monitored native areas have some degree of statutory protection (e.g., Natural Reserve and Sites of Community Importance; European Commission 2021) and are often used by the general public as recreation and sports areas, where outdoor activities occur throughout the day (e.g., mountain biking, hiking trails), often starting near sunrise. Accordingly, foxes may be concentrating their activity in periods where fewer people are active in the area, thus minimizing encounter risks (Reilly et al. 2017). This data does not corroborate our fourth hypothesis, as no lower diurnal activity was detected in Eucalyptus plantations, but is aligned with the third one (i.e., avoidance of periods where humans and their activity occur).

Another disturbance factor that may affect species activity patterns, especially those that can be legally hunted, such as the red fox, is the hunting pressure (Kämmerle et al. 2020). This disturbance is linked not only to the direct effect of shooting, but also to the indirect effects of hunters’ vehicles and hunting dogs. As hunting activities start around 6 a.m. (near sunrise), we forecasted a change in red foxes’ activity during the hunting period, being more nocturnal (fifth hypothesis). Although no overall difference was detected between hunting and no-hunting periods, some variation was detected depending on the habitat type. In native habitats, where most hunting raids occur, red foxes start their activity later in the day (already during nighttime), probably to avoid hunters and hunting dogs, as no hunting is allowed during the night, thus reducing disturbance. As hunting raids start earlier in the morning, we detected a lower peak of activity near sunrise. We hypothesize that such a peak may be linked to the presence of hunters and dogs that may disturb the species leading them to move in search of refuge. This result partially supports our fifth initial hypothesis, where we stated that the hunting period would influence red fox activity.

In landscapes shaped by humans and their activities, such as Mediterranean Europe (Blondel 2006), their presence will constrain wildlife ecological patterns (Oberosler et al. 2017), usually leading to a mismatch between wildlife activity and humans/domestic animals (Hipólito et al. 2016; Gaynor et al. 2018) to reduce disturbance. Our data corroborate this general pattern as a significantly low overlap between red foxes and stone martens with humans, livestock, and domestic dogs (always Δ4 < 0.45) was detected (eighth hypothesis). This pattern was, however, more evident for stone martens. Nevertheless, even if the activity pattern shows a similar shape, there is a mismatch. For instance, domestic dogs show two activity peaks, like the red fox, but foxes’ activity peaks occur later in the sunset and earlier in the sunrise, reducing the overlap. Red foxes are known to shift their activity in areas where domestic dogs are present to reduce encounter probability (Galvez et al. 2021). Most of the dogs detected in our study areas are hunters or shepherds’ dogs (Appendix III), usually large dogs that may pose a real threat to the red fox. Thus, being active in periods when dogs are not is an adaptive strategy. Carnivores may even present similar activity patterns to those of humans, domestic dogs or livestock, but may be active at distinct sites, which will contribute to preventing negative effects. Our data shows that even when detected in the same sites, foxes show an avoidance behavior towards humans, reinforcing the impact humans induce on this canid activity (Monterroso et al. 2014; Díaz-Ruiz et al. 2016).

Conclusion

Our results corroborate that generalist and resilient mesocarnivores, such as the red fox and the stone marten, tend to avoid humans and their related activities due to the associated disturbances, such as hunting, domestic animals, or forest management which may affect these species. Red fox can even modify their activity peaks according to habitat, seasons or hunting pressures. Since species can adjust their activity patterns to some extent, it is important to assess the impacts of anthropic drivers (including humans and their activities) on other mesocarnivores to generate evidence that can support the sustainable management of landscapes and mitigate the disturbances associated with anthropic activities. Providing insights on critical periods where activity overlaps may occur and anthropic impacts on wildlife may be higher, will contribute to achieve a healthier coexistence between the wildlife community and humans. Such evidence should be considered in land management plans to avoid and reduce disturbances related to human activities, such as forestry activities (e.g., clear-cutting), during periods when most species are most sensitive. For example, red foxes usually search for mates between December and February (Loureiro et al. 2012), being more mobile in this period when looking for reproductive partners. Therefore, they may extend their activity towards sunset/sunrise, increasing the overlap with forestry activities (Cavallini 1996). By reducing anthropic activities in this period, we can assure that those disturbances have a limited impact on the natural wildlife activity patterns and, consequently, on individuals’ fitness.