Introduction

Heat tolerance, i.e. the capacity to cope with high temperatures, is becoming increasingly important throughout the tree of life with ongoing climate change. In many regions across the globe, not only are average temperatures rising but heat events are also getting more frequent (Perkins-Kirkpatrick & Lewis, 2020). High temperature can be directly lethal by physiological breakdown due to heat stress, but it may also cause secondary mortality by making organisms more susceptible to predation or disease (Kroeker & Sanford, 2022). Populations can better tolerate high temperatures by two mutually non-exclusive mechanisms: phenotypic plasticity expressed during the lifetime of individuals (acclimation or thermal plasticity), or over generations via microevolution, epigenetic modifications or other forms of transgenerational plasticity (Lambert et al., 2021; Urban et al., 2014). Mechanisms matter because phenotypically plastic responses can manifest much faster but can also be costly and their scope may be constrained (Gunderson & Stillman, 2015; Murren et al., 2015; Radchuk et al., 2019).

Dealing with heat stress is especially relevant for organisms living in urbanized habitats, because heat storage in buildings and sealed roads makes cities warmer compared to surrounding non-urban areas, and this urban heat island effect is amplified during heat waves (Li & Bou-Zeid, 2013). Accordingly, it has been shown in a variety of ectothermic species that urban populations have higher heat tolerance, expressed as the critical thermal maximum (CTmax), the upper temperature at which animals lose the ability to function (Diamond & Martin, 2021). These phenotypic changes can be adaptive (Brans et al., 2017; Martin et al., 2021) and result from a combination of phenotypic plasticity and local adaptation by microevolution (Brans et al., 2017; Diamond et al., 2017).

Heat tolerance may also differ between sexes. For example, female mice and male salmon tolerate heat better than their opposite-sex conspecifics (Garcia et al., 2018; Jeffries et al., 2012). This has important implications for evolutionary ecology and conservation biology. Sex-dependent mortality can lead to skewed sex ratios, which then constrain effective population size and adaptive potential but can also catalyze evolutionary changes in sex-specific life histories and social systems (Mitchell & Janzen, 2010; Schacht et al., 2022). Also, skewed sex ratios can have cascading effects on other species and even ecosystems (Edmands, 2021). Despite this significance of the issue, there is a dearth of information on sex differences in heat tolerance (Edmands, 2021; Pottier et al., 2021). Furthermore, sexes may also differ in their capacity for thermal plasticity (Pottier et al., 2021), yet next to nothing is known about the role of sex in thermal responses to urban heat islands.

For several organismal traits such as hormone levels, cognitive performance, and parasite load, it has been demonstrated that urbanization can have sex-specific effects (Bonier et al., 2007; Preiszner et al., 2017; Sykes et al., 2021). Because males and females can differ in the temperatures they experience, prefer, or tolerate due to differences in size, life history, and behaviors associated with reproduction (Edmands, 2021; Ruckstuhl & Neuhaus, 2005), the sexes may also differ in the selection pressures that urban heat islands exert on them. Then, sex-dependent selection for thermal tolerance and/or for acclimation capacity may complicate thermal adaptation of urban populations due to genetic correlations between the sexes and sexual selection (Leith et al., 2022). However, our understanding of these potential outcomes is highly deficient due to the virtual lack of empirical studies on sex differences in the effects of urbanization on heat tolerance.

Although the number of studies published on urban heat tolerance is increasing exponentially (Roeder et al., 2021), almost all this effort has been focused on terrestrial organisms (Diamond & Martin, 2021). Aquatic ectotherms, however, are also exposed to the urban heat island effect (Brans et al., 2018) and may be especially vulnerable to it due to limited dispersal (Pagliaro & Knouft, 2020) and the conflict between increased demand for and decreased supply of oxygen in warmer water (Brans et al., 2017). Here, we investigated heat tolerance in tadpoles of the agile frog (Rana dalmatina), a European species with decreasing population trends that occurs in both urban and non-urban habitats (Kaya et al., 2009). First, we show that individuals from relatively warm urban ponds and those from relatively cool non-urban ponds differ in heat tolerance measured as CTmax. Second, we report a common garden experiment to infer whether this difference is attributable to individual plasticity or transgenerational change (including microevolution and/or transgenerational plasticity). Finally, we compare heat tolerance between males and females and test whether the effect of urbanization on heat tolerance is sex-dependent.

Methods

Pond Temperatures

We used six study sites: three were in hilly woodlands with < 0.1% anthropogenically modified habitat within 500 m of each pond, whereas the other three sites were in three different townships with ca. 70% anthropogenically modified land cover within 500 m of the ponds (Table S1). The chosen ponds were representative of their respective habitat type based on land-use metrics and preliminary temperature measurements taken in the previous year. In each pond, we recorded water temperature every 30 min from 6th April to 8th July 2022 using Onset UA-002-64 HOBO loggers. We placed four loggers within each pond in the area where we collected eggs (see below). One pair of loggers was placed in the deepest water we could access, whereas another pair of loggers was placed close to the shore, at ≤ 30 cm water depth. Within each pair, one logger was ca. 5 cm under the water surface and one was ca. 5 cm above the bottom. We monitored the loggers weekly and adjusted their position to follow changes in water depth (for further information see Fig. S1).

Experimental Protocol

From the six study ponds, we collected three cohorts of animals. For the first two cohorts, we collected freshly spawned agile frog eggs on 4th April, and 3-weeks old embryos (right before hatching) on 20th April. From each pond, we took ca. 20 embryos from each of four egg masses for each of the two cohorts (Table S1) and transported them to our laboratory. We kept each sibling group in a separate container with ca. 1 cm deep reconstituted soft water (RSW; 48 mg NaHCO3, 30 mg CaSO4 × 2 H2O, 61 mg MgSO4 × 7 H2O, 2 mg KCl added to 1 L reverse-osmosis filtered, UV-sterilized, aerated tap water). Over the course of the study, temperature in the lab was set to gradually increase from 18 to 20 °C (mean ± standard deviation: 19.3 ± 0.9 °C) and we regularly adjusted the photoperiod to mimic the natural dark–light cycles. When the animals reached the free-swimming state, i.e. developmental stage 25 according to (Gosner, 1960), we placed them individually in 2-L plastic rearing containers filled with 1 L RSW, arranged in a randomized block design to ensure that both cohorts and all six populations were homogeneously distributed across the shelves in the laboratory. We changed the rearing water twice a week and fed the tadpoles ad libitum with chopped, slightly boiled spinach. On the 18th–20th day after reaching developmental stage 25, we randomly selected six tadpoles from each sibling group (Table S1), resulting in a total sample size of 144 tadpoles (24 per pond) from each cohort, and tested their CTmax (see below). The remaining tadpoles were released at their ponds of origin.

From the same six ponds, we collected the third cohort as tadpoles by dip-netting in the second half of May, when the animals were at a similar developmental stage (having only small hindlimb buds) as the captive-reared tadpoles were at the time of CTmax testing. We aimed to collect 24 tadpoles from each pond, but we did not find any in one of the urban ponds and we could capture only six from a woodland (non-urban) pond, yielding a total sample size of 102 free-living tadpoles (Table S1). We transported the tadpoles to our laboratory, housed and fed them the same way as the captive-reared tadpoles, and tested their CTmax one or two days after their collection.

We measured CTmax in a randomized order within each cohort by placing 8 tadpoles, each in its original rearing container, into a tray (80 × 60 × 12 cm) in which water was heated with two digital thermostat heaters (BRH Heizung LCD Turbo 600) and circulated by two water pumps (Tetra WP 300). For the time of the test, each tadpole’s container was filled with 1.5 L fresh RSW, and when all 8 containers were placed in the tray, water level in the tray was ca. 0.5 cm below that in the tadpole containers. We increased water temperature in the tadpoles’ containers at a rate of 0.6 °C/min. Twenty-one minutes after placing the containers into the tray, we started to observe the animals, lightly prodding the base of their tail every 6 s. We defined CTmax as the temperature (as measured by Greisinger digital thermometers GTH175/PT; ± 0.1 °C) at which the tadpole failed to respond with motion over three consecutive prods. The test was performed by six experimenters, four at a time, each person overseeing two tadpoles always at the same two positions within the tray.

After the CTmax test, we weighed each tadpole (± 0.1 mg), and recorded its developmental stage by stereomicroscopic examination. Animals that survived the CTmax test were euthanized in a water bath of 6 g/L tricaine-methanesulfonate (MS-222) buffered to neutral pH with the same amount of disodium hydrogen phosphate. To preserve DNA for genetic sexing, we stored every tadpole in 96% ethanol. We extracted DNA using E.Z.N.A. Tissue DNA Kit following the manufacturer’s protocol, except that digestion time was at least 3 hours. For genetic sexing, we used the method of Nemesházi et al. (2020). Briefly, we tested all tadpoles for sex marker Rds3 (≥ 95% sex linkage; primers: Rds3-HRM-F and Rds3-HRM-R) using high-resolution melting (Fig. S2). The total HRM reaction volume was 15 µL, containing 7.5 µL 2x PerfeCTa® SYBR® Green SuperMixes (ROX, Quantabio), 1 µL forward and 1 µL reverse primer (10 µM each), and 80–100 ng genomic DNA in MQ water to reach the final volume. Reactions were performed in a Quantabio Q 4-channel qPCR Instrument and the results were analysed with the 1.0.2. version Q-qPCR Software (Quantabio).

Statistical Analyses

We used R 4.2.2 for all analyses (R Core Team, 2022). We analyzed pond temperatures using a generalized additive mixed model (‘gamm’ function of package ‘mgcv), because the change of temperature over time was not linear (Fig. S1). We included pond identity and logger position as fixed factors, and time as a covariate and temporal autocorrelation (order-1 auto-regressive model) within the data of each logger. For comparison among the ponds, we extracted marginal means for each pond from the model and calculated linear contrasts pairwise and also between the three urban and three woodland ponds (‘emmeans’ function of package ‘emmeans’). For the pairwise comparisons, we corrected the P-values with the false discovery rate (FDR) method (Pike, 2011).

To analyze CTmax, we used a generalized estimation equations (GEE) model (‘geeglm’ function of package ‘geepack’). GEE is a population-averaging method that can handle the correlation structure of our data (i.e. tadpoles from the same pond are not independent, but the pond effect is nested within the habitat effect) appropriately and without penalizing power (Zuur et al., 2009). We included the following fixed factors: habitat type (urban or woodland), cohort (collected as eggs, embryos, or tadpoles), sex, their three-way and all two-way interactions, body mass, developmental stage, and experimenter identity; we used pond of origin as a random factor (‘compound symmetry’ correlation structure). From this initial full model, we evaluated the significance of interactions by analysis-of-deviance tables. Then we dropped the non-significant interactions stepwise, to facilitate the accuracy and ease of estimation for the significant interaction term. We calculated linear contrasts (as above, correcting the P-values with the FDR method) to test the habitat effect within each cohort from the final GEE model that contained only significant interactions but all main effects regardless of their significance.

Results

All urban ponds were significantly warmer than all woodland ponds (Figs. S1 and S3), on average by 5.27 °C ± 0.18 SE (urban-woodland contrast, P < 0.001). For CTmax, the three-way interaction between sex, cohort, and habitat of origin was non-significant (χ22 = 2.70, P = 0.259; Fig. S4), and so were the two-way interactions between sex and cohort (χ22 = 1.38, P = 0.501) and between sex and habitat of origin (χ21 = 0.13, P = 0.713). According to the final model, females had slightly higher CTmax than males (by 0.07 ± 0.04 °C; Fig. 1), but this difference was not statistically significant, although not far from the 5% significance threshold (P = 0.090). The interaction between cohort and habitat of origin was highly significant (χ22 = 58.4, P < 0.001; Fig. 1), such that tadpoles living in urban habitats had higher CTmax than tadpoles living in woodland habitats (by 0.15 ± 0.05 °C, P = 0.004), but this difference was reversed when the animals were raised in a common, captive environment after being collected from the field as freshly spawned eggs (by 0.17 ± 0.09 °C, P = 0.045) or three-weeks old embryos (by 0.20 ± 0.08 °C, P = 0.016).

Fig. 1
figure 1

Critical thermal maximum (CTmax) of agile frog tadpoles originating from woodland or urban habitats and raised in the field or in captivity from the egg or embryo stage, and by sex. Means with standard errors (SE) were corrected for body mass, developmental stage, experimenter identity, and pseudoreplication (non-independence of tadpoles from the same site) using a generalized estimation equations model

Discussion

We found that urban ponds were several degrees warmer, supporting Brans et al. (2018) and Pagliaro & Knouft (2020) that urbanization is accompanied by higher temperatures of freshwater habitats in the temperate climate zone. This urban heat island effect was accompanied by a small but statistically significant increase in CTmax for agile frog tadpoles developing in urban ponds compared to their counterparts inhabiting woodland ponds. This difference is similar in magnitude to those found between cooler and warmer environments in other amphibians and to those expected based on the relatively low thermal acclimation capacity of amphibians and the slow pace of CTmax adaptation due to the “Bogert effect” (Bodensteiner et al., 2021; Skelly & Freidenburg, 2000). Our result aligns with the findings of Brans et al. (2017) on water fleas, demonstrating that aquatic organisms respond to urbanization by higher heat tolerance similarly to a wide variety of terrestrial taxa ranging from fungi through arthropods to lizards (Campbell-Staton et al., 2020; Diamond & Martin, 2021; McLean et al., 2005). This phenotypic response is important for several reasons. First, already these days, pond temperatures occasionally rise so high (Lambert et al., 2018; Lindauer et al., 2020) that they approach or exceed the upper thermal tolerance limits of aquatic animals (Brans et al., 2017; Pagliaro & Knouft, 2020), especially so in urban heat islands (see Fig. S1); and such heat events are expected to get more frequent in the future due to climate change. Second, CTmax is not a standalone physiological trait, as it may be part of a “thermal syndrome”, linked with other aspects of thermal performance and preference, and potentially also with behavioral and life-history traits (Goulet et al., 2017; Goulet et al., 2017). For example, individuals with higher CTmax can also better tolerate ecologically relevant slow-rate warming (Åsheim et al., 2020). Often, the magnitude of heat tolerance decreases with the duration of heat (Troia, 2023); for example, agile frog tadpoles can experience high mortality during a 6-days long period at 28°C (Ujszegi et al., 2022) despite their ≥ 33.6°C CTmax (according to the present study). Such a several-days heat wave has not only lethal effects but also induces sex reversal in developing larvae (Ujszegi et al., 2022) which may have wide-ranging consequences for individual fitness and population persistence (Bókony et al., 2017; Bókony et al., 2021; Nemesházi et al., 2021). Thus, a “thermal type” with elevated tolerance against the various physiological harms of high temperatures is likely to be adaptive particularly for urban populations which are more frequently exposed to heat.

This surmised adaptive response can come about through individual plasticity or by changes accumulating over the course of many generations. Our study suggests that the former mechanism is the main driver of higher CTmax in urban agile frog tadpoles, because we observed elevated heat tolerance only in the free-living urban animals and not in the urban-collected animals raised in the common-garden experiment from early or late embryonic stages. Phenotypic plasticity is further suggested by the higher CTmax of free-living tadpoles which experienced higher temperatures in the field (up to 28.46 °C before being collected for CTmax testing; Fig. S1) than did their captive-raised counterparts (up to 19.9 °C). Our study was not designed to identify the mechanism of phenotypic plasticity or to measure the contribution of short-term, reversible acclimatization and longer-lasting, more slowly establishing developmental plasticity (Beaman et al., 2016). However, CTmax of amphibians can acclimate within a few days (Hutchison & Maness, 1979; Layne & Claussen, 1982; Turriago et al., 2023), suggesting that the 1–2 days acclimation period in our study might have canceled (some of the) differences that had been induced by acclimatization to the temperatures experienced in urban and woodland ponds, leaving room for developmental plasticity to potentially manifest in our measurements.

The lack of support for local adaptation by microevolution or other transgenerational changes in tadpole CTmax is in contrast with findings on arthropods where, besides phenotypic plasticity, microevolution also proved an important driver of urban heat tolerance (Diamond & Martin, 2021). It is possible that the relatively long generation time in frogs may not have permitted enough evolutionary change to accumulate in urban populations. Despite the relatively restricted gene flow across the barriers represented by anthropogenically altered habitats (Hitchings & Beebee, 1997; Lesbarrères et al., 2006), low-resistance corridors may still have allowed for sufficient levels of migration to prevent the establishment of local adaptation (Furman et al., 2016; Neal et al., 2020). Also, phenotypic plasticity seems to be favored in amphibian physiological traits, maybe due to high spatiotemporal environmental heterogeneity within urban habitats (Bókony et al., 2019; Bókony et al., 2021), which is exemplified by the relatively large microclimatic differences between nearby ponds in the present study (e.g. two ponds in Pilisszentiván, see Fig. S1 & S3). Indeed, the magnitude of thermal pollution in urban ponds is strongly affected by local-scale variation such as the “park cooling effect” and runoff (Brans et al., 2018), which might explain why higher heat tolerance was not found in some ectotherms in broad-scale urban regions (Diamond & Martin, 2021). Naturally, heterogeneous thermal microhabitats are also present outside cities, which may select for genotypes with different thermal tolerances and thereby facilitate adaptations to urban habitats (Campbell-Staton et al., 2020). However, such standing variation in heat tolerance might be limited in the agile frog because it primarily occurs in relatively cool habitats and its genetic diversity across Europe is very low (Vences et al., 2013). Furthermore, genetic divergence might also be constrained by relatively low heritability of CTmax in ectotherms (Logan & Cox, 2020).

Interestingly, in our common-garden experiment, the lack of experiencing field temperatures was not simply accompanied by no difference in CTmax; instead, the captive-raised tadpoles originating from urban ponds had lower heat tolerance than those from woodland ponds. We can only speculate about the causes of this difference. It has been demonstrated in some anuran species, including agile frogs, that compared to conspecifics originating from more natural habitats, individuals originating from urban habitats perform poorly in various fitness-related traits when raised in captivity, including slower development, reduced growth, more frequent developmental abnormalities, and higher mortality (Bókony et al., 2018, 2023; Hitchings & Beebee, 1997). The reasons are unclear but may be related to transgenerational effects of endocrine-disrupting chemical pollutants (Bókony et al., 2018) or inbreeding in isolated urban populations due to landscape fragmentation (Hitchings & Beebee, 1997; Lesbarrères et al., 2006). Lower heat tolerance might be another manifestation of this overall poor physiological fitness; for example, due to a genetic correlation between growth rate and CTmax (Martins et al., 2019). An alternative explanation might be that the higher heat tolerance of free-living urban tadpoles was conferred by “maternal programming” which resulted in the opposite outcome in the mismatched captive environment (Monaghan, 2008). Additionally, countergradient variation and/or divergence in plastic responses (i.e. crossing reaction norms) might also underlie our findings (Bodensteiner et al., 2021; Lambert et al., 2021). To tease apart and test these alternatives, further common-garden experiments including multiple rearing temperatures will be needed.

Finally, we found no difference between male and female tadpoles in the effect of urbanization on CTmax, although there was a slight, non-significant trend for higher heat tolerance in females. In adult agile frogs, the two sexes may face different selection pressures on thermal tolerance for several reasons. For example, females typically mature at larger body sizes than males, which may affect multiple aspects of their thermal physiology (Rohr et al., 2018; Rubalcaba et al., 2019). Furthermore, males migrate earlier from hibernacula to the breeding ponds, sometimes even when snow and ice have not yet melted (Riis, 1997), whereas females were reported to forage less in open microhabitats compared to males (Cicort-Lucaciu et al., 2011). However, even if these microclimatic differences select for different thermal physiology in the two sexes, it is possible that those differences may not become expressed until sexual maturity, as sex seems to have little effect on behavior and life history in immature agile frogs (Bókony et al., 2021). More studies are needed, ideally with multiple age groups and life-history stages, to increase our knowledge from next to nothing about sex differences in temperature sensitivities of amphibians and various other taxa (Edmands, 2021). That knowledge will be necessary for inferring the role of sex-biased mortality via sex-dependent thermal tolerance in the effects of urbanization and climate change on the fate of wildlife populations and biodiversity.