{"id":3976,"date":"2025-01-28T11:24:29","date_gmt":"2025-01-28T11:24:29","guid":{"rendered":"https:\/\/trekking.parcoforestecasentinesi.it\/track\/1-trek-01-cozzo-del-diavolo-en\/"},"modified":"2025-01-28T11:24:29","modified_gmt":"2025-01-28T11:24:29","slug":"1-trek-01-cozzo-del-diavolo-en","status":"publish","type":"track","link":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/","title":{"rendered":"1 &#8211; Trek 01 &#8211; Cozzo del Diavolo"},"content":{"rendered":"\t\t\t<!-- Fallback featured image (same markup used by grid_track) -->\n\t\t<section class=\"wm_featured_image_page_header_fallback l-section wpb_row height_small with_img with_overlay wm_header_section\">\n\t\t\t<div class=\"l-section-img loaded wm-header-image\" style=\"background-image: url('https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/Resize\/1440x500\/36603_1440x500.jpg');\"><\/div>\n\t\t\t<div class=\"l-section-h i-cf wm_header_wrapper\"><\/div>\n\t\t<\/section>\n\t\t<div class=\"wm_content_wrapper\">\n\t\t<!-- 1. Featured Image -->\n\t\t\n\t\t<!-- 2. Title -->\n\t\t\t\t\t<h1 class=\"wm_title\">\n\t\t\t\t1 - Trek 01 - Cozzo del Diavolo\t\t\t<\/h1>\n\t\t\n\t\t<!-- 2.5. Not Accessible Message -->\n\t\t\n\t\t<!-- 3. Taxonomies -->\n\t\t\t\t\t<div class=\"wm_taxonomies\">\n\t\t\t\t\t\t\t\t\t<span class=\"wm_taxonomy_item\">\n\t\t\t\t\t\t<span class=\"wm_taxonomy_name\">Trekking<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\n\t\t<!-- 4. Main content + optional sidebar (same layout as single_poi) -->\n\t\t\t\t\t<div class=\"wm_detail_with_sidebar\">\n\t\t\t\t<div class=\"wm_detail_main_content\">\n\t\t\t\t\n\t\t\t\t<!-- 4. Map -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_map\">\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tid=\"wm-leaflet-map-track-75550\"\n\t\t\t\t\t\t\tclass=\"wm_leaflet_map\"\n\t\t\t\t\t\t\tdata-geometry='{&quot;type&quot;:&quot;LineString&quot;,&quot;coordinates&quot;:[[11.69234,44.03186,802],[11.69247,44.03176,802],[11.69259,44.03175,802],[11.69252,44.03161,802],[11.69251,44.0314,802],[11.69255,44.03126,778],[11.69274,44.03133,778],[11.69281,44.03132,778],[11.69298,44.03133,778],[11.6931,44.03138,802],[11.69321,44.03146,802],[11.69325,44.0316,802],[11.69325,44.03173,802],[11.69319,44.03186,802],[11.69316,44.03198,802],[11.69343,44.03216,765],[11.69368,44.0322,765],[11.69382,44.03185,765],[11.69389,44.0316,765],[11.6938,44.03153,765],[11.69375,44.03132,741],[11.69378,44.03115,741],[11.69387,44.03101,741],[11.69405,44.0309,741],[11.69441,44.03079,741],[11.69462,44.03062,702],[11.6947,44.03066,702],[11.69471,44.03075,702],[11.695,44.03069,702],[11.69521,44.0307,702],[11.69526,44.03065,702],[11.69526,44.03056,702],[11.69524,44.03051,702],[11.69519,44.03048,702],[11.69513,44.0304,687],[11.69514,44.03038,687],[11.69541,44.03029,687],[11.69575,44.03031,687],[11.69578,44.03029,668],[11.69588,44.03014,668],[11.69595,44.03007,668],[11.6961,44.03006,668],[11.69621,44.02994,668],[11.69617,44.02987,668],[11.69617,44.02983,668],[11.69633,44.02973,668],[11.69634,44.02971,668],[11.69602,44.02969,668],[11.69596,44.02962,668],[11.69603,44.02953,668],[11.6961,44.02949,662],[11.69628,44.02944,662],[11.69639,44.02942,662],[11.69705,44.02935,643],[11.69736,44.02945,643],[11.69712,44.02918,643],[11.69706,44.02903,643],[11.69707,44.02888,643],[11.69729,44.02839,653],[11.69739,44.02809,653],[11.69731,44.02776,653],[11.69735,44.02766,659],[11.69729,44.02742,659],[11.69709,44.02693,659],[11.69679,44.02672,672],[11.69678,44.02672,672],[11.69667,44.02664,672],[11.69654,44.02661,672],[11.69648,44.02656,672],[11.69644,44.02646,672],[11.69645,44.0264,672],[11.69651,44.02627,672],[11.69629,44.02604,672],[11.69627,44.02586,684],[11.69629,44.02572,684],[11.69639,44.02557,684],[11.69628,44.02551,684],[11.69608,44.02546,684],[11.69602,44.02538,684],[11.69579,44.02529,684],[11.69568,44.02523,684],[11.69558,44.02513,689],[11.69538,44.0252,689],[11.69531,44.02518,689],[11.6953,44.02514,689],[11.69534,44.02503,689],[11.6953,44.02482,708],[11.69512,44.02446,708],[11.69503,44.02416,708],[11.69497,44.02408,735],[11.69486,44.02403,735],[11.69477,44.02401,735],[11.6948,44.02409,735],[11.69485,44.02414,708],[11.69483,44.02416,708],[11.69453,44.02396,735],[11.69416,44.02379,735],[11.69392,44.02372,735],[11.69387,44.02363,735],[11.69393,44.02348,735],[11.69392,44.02308,768],[11.69396,44.02302,768],[11.69405,44.02296,768],[11.6941,44.02289,768],[11.69413,44.02278,768],[11.69412,44.02254,768],[11.69405,44.02246,768],[11.69387,44.02211,794],[11.6938,44.02204,794],[11.69339,44.02184,794],[11.69272,44.02164,779],[11.69232,44.02138,812],[11.69231,44.02136,812],[11.69213,44.02128,812],[11.69159,44.02117,821],[11.6913,44.02118,821],[11.69121,44.0212,821],[11.69111,44.02112,821],[11.69095,44.02091,821],[11.69081,44.02082,821],[11.69064,44.02074,821],[11.6902,44.02067,824],[11.68997,44.02055,871],[11.68977,44.02049,871],[11.68969,44.02042,871],[11.68972,44.02039,871],[11.68966,44.02041,871],[11.68966,44.02037,871],[11.68957,44.02029,871],[11.68921,44.02003,902],[11.68919,44.02,902],[11.68924,44.01981,871],[11.68916,44.01956,930],[11.6891,44.01944,930],[11.68912,44.01919,930],[11.68916,44.01905,930],[11.68896,44.0188,927],[11.68866,44.01862,927],[11.68797,44.01841,927],[11.68757,44.01825,960],[11.68749,44.01816,960],[11.68744,44.01802,960],[11.68746,44.01797,960],[11.68729,44.01771,955],[11.6872,44.01764,955],[11.68687,44.0175,955],[11.6868,44.01743,955],[11.68647,44.01722,974],[11.68646,44.01722,974],[11.68639,44.01718,974],[11.68614,44.01712,974],[11.68589,44.01694,976],[11.68583,44.01694,976],[11.68564,44.01697,976],[11.68557,44.017,976],[11.68563,44.01711,974],[11.68558,44.01722,974],[11.68556,44.01738,974],[11.68546,44.01766,974],[11.68534,44.01816,1002],[11.68527,44.01829,1002],[11.68518,44.01858,1002],[11.6851,44.01865,1002],[11.68478,44.01885,1002],[11.6846,44.01904,1017],[11.6844,44.01919,1017],[11.68411,44.01931,1032],[11.6839,44.01931,1032],[11.6836,44.01911,1032],[11.68335,44.01904,1032],[11.68326,44.01907,1032],[11.68323,44.01911,1032],[11.68324,44.01927,1032],[11.68339,44.01942,1032],[11.68344,44.01954,1032],[11.68342,44.01958,1032],[11.6834,44.01972,1032],[11.68321,44.02012,1047],[11.68311,44.02024,1047],[11.68292,44.02039,1044],[11.68264,44.02066,1044],[11.68245,44.02082,1045],[11.68231,44.02088,1045],[11.68222,44.02098,1045],[11.6822,44.0211,1045],[11.68241,44.02144,1045],[11.68241,44.02143,1045],[11.68249,44.02155,1045],[11.68278,44.0221,1011],[11.68331,44.02288,982],[11.68338,44.02307,982],[11.68377,44.0235,953],[11.68388,44.02381,953],[11.68382,44.02412,953],[11.68381,44.0245,940],[11.68393,44.02482,940],[11.68393,44.02481,940],[11.68416,44.02537,930],[11.6843,44.02623,912],[11.68452,44.02667,944],[11.6848,44.02707,947],[11.68507,44.02727,947],[11.68559,44.02805,945],[11.68563,44.02822,945],[11.68583,44.02837,913],[11.68617,44.02885,897],[11.68616,44.02909,897],[11.6868,44.02959,897],[11.68697,44.02974,875],[11.68723,44.03025,869],[11.6873,44.03035,869],[11.68745,44.03051,869],[11.68754,44.03056,846],[11.68781,44.03071,846],[11.68807,44.0308,846],[11.68858,44.03112,837],[11.68887,44.03123,837],[11.68971,44.0314,825],[11.6901,44.03164,815],[11.69077,44.03195,815],[11.69139,44.03212,813],[11.69154,44.03225,813],[11.69172,44.03236,793],[11.69182,44.03249,793],[11.69193,44.03253,793],[11.69213,44.03274,800],[11.69236,44.03292,800],[11.69274,44.03318,800],[11.69263,44.03299,800],[11.69263,44.03298,800],[11.69255,44.03284,800],[11.69248,44.03256,800],[11.69231,44.03238,800],[11.6923,44.03232,800],[11.69232,44.03225,802],[11.69228,44.03204,802],[11.69232,44.032,802],[11.69234,44.03186,802]]}'\n\t\t\t\t\t\t\tdata-related-pois='[]'><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_download_links wm_download_links--map\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wm_download_link\" href=\"https:\/\/geohub.webmapp.it\/api\/ec\/track\/download\/75550.gpx\" download>\n\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download\"><\/i>\n\t\t\t\t\t\t\t\t\t\tDownload GPX\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<!-- 5. Description -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_description\">\n\t\t\t\t\t\t<h3>Lago di Ponte \u2013 Le Piane \u2013 Valico del Tramazzo \u2013 Cozzo del Diavolo \u2013 Lago di Ponte<\/h3>\r\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traduzione\"><span lang=\"en\">Nice ring walk, always recommended, even in the middle of summer given the prevalence of shady sections and on the north side; only the slope between the Tramazzo pass and the Cozzo del Diavolo is sunny, however short and largely reforested. The attribution of the maximum excursion difficulty (5 shoes) refers to the first part of the descent along the north ridge of Monte Val dei Porri: it is a marked path, but the considerable slope, the rocky steps and the exposure mean that in certain winter conditions (ice, snow, mud) a lot of attention and caution is required. Obviously under normal conditions there are no particular problems. For those who have time it is highly advisable to take the short detour (calculate just over an hour, excluding stop, between there and back) to Trebbana and the splendid ultra-secular oak tree which stands near Ca \u2018de Pian. <\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<!-- 6. Gallery -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_gallery\">\n\t\t\t\t\t\t<div class=\"swiper-container wm_swiper\">\n\t\t\t\t\t\t\t<div class=\"swiper-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16952.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16952.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16593.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16593.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16950.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16950.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-pagination\"><\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-button-prev\"><\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-button-next\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t\t<!-- 7a. Welcome points (osm2cai only: POIs with identifier punto-accoglienza) -->\n\t\t\t\t\n\t\t\t\t<!-- 7b. Related POIs -->\n\t\t\t\t\n\t\t\t\t<!-- 8. Track Navigation -->\n\t\t\t\t\n\t\t\t\t\t\t\t\t<\/div><!-- .wm_detail_main_content -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<aside class=\"wm_detail_sidebar\">\n\t\t\t\t\t\t<div class=\"wm_info_details\">\n\t\t\t\t\t\t\t<h2 class=\"wm_info_details_title\">Information<\/h2>\n\t\t\t\t\t\t\t<div class=\"wm_info_details_grid\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-route\" aria-hidden=\"true\"><\/i> Distance:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">6.0 km<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-clock\" aria-hidden=\"true\"><\/i> Duration Forward:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">240 min<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-clock\" aria-hidden=\"true\"><\/i> Duration Backward:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">120 min<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"><\/i> Ascent:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">450 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-arrow-down\" aria-hidden=\"true\"><\/i> Descent:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">435 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-plus\" aria-hidden=\"true\"><\/i> Start Elevation:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">798 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-minus\" aria-hidden=\"true\"><\/i> End Elevation:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">801 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/aside>\n\t\t\t\t\t\t\t<\/div><!-- .wm_detail_with_sidebar -->\n\t\t\t<\/div>\n\n\t<script>\n\t\tdocument.addEventListener('DOMContentLoaded', function() {\n\t\t\t\t\t\t\t\/\/ Set featured image in page-header section\n\t\t\t\tvar fallbackEl = document.querySelector('.wm_featured_image_page_header_fallback');\n\t\t\t\t\/\/ Try both the original selector and a permissive one (some themes use .page-header on non-header tags).\n\t\t\t\tvar pageHeader = document.querySelector('header.page-header') || document.querySelector('.page-header');\n\t\t\t\tif (pageHeader) {\n\t\t\t\t\tvar wmFeaturedImageUrl = 'https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/Resize\/1440x500\/36603_1440x500.jpg';\n\t\t\t\t\tpageHeader.style.backgroundImage = 'url(' + wmFeaturedImageUrl + ')';\n\t\t\t\t\tpageHeader.style.backgroundSize = 'cover';\n\t\t\t\t\tpageHeader.style.backgroundPosition = 'center';\n\t\t\t\t\tpageHeader.style.backgroundRepeat = 'no-repeat';\n\t\t\t\t\tif (fallbackEl) {\n\t\t\t\t\t\t\/\/ Hide fallback only if the theme actually ended up applying a background image.\n\t\t\t\t\t\tvar computedBg = window.getComputedStyle(pageHeader).backgroundImage;\n\t\t\t\t\t\tif (computedBg && computedBg !== 'none') {\n\t\t\t\t\t\t\tfallbackEl.style.display = 'none';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\tif (typeof Swiper !== 'undefined') {\n\t\t\t\tvar swiperContainers = document.querySelectorAll('.wm_swiper');\n\t\t\t\tswiperContainers.forEach(function(container) {\n\t\t\t\t\tvar config = {\n\t\t\t\t\t\tslidesPerView: 1,\n\t\t\t\t\t\tspaceBetween: 10,\n\t\t\t\t\t\tfreeMode: true,\n\t\t\t\t\t\tloop: true\n\t\t\t\t\t};\n\n\t\t\t\t\tvar paginationEl = container.querySelector('.swiper-pagination');\n\t\t\t\t\tif (paginationEl) {\n\t\t\t\t\t\tconfig.pagination = {\n\t\t\t\t\t\t\tel: paginationEl,\n\t\t\t\t\t\t\tclickable: true\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tvar nextEl = container.querySelector('.swiper-button-next');\n\t\t\t\t\tvar prevEl = container.querySelector('.swiper-button-prev');\n\t\t\t\t\tif (nextEl && prevEl) {\n\t\t\t\t\t\tconfig.navigation = {\n\t\t\t\t\t\t\tnextEl: nextEl,\n\t\t\t\t\t\t\tprevEl: prevEl\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tnew Swiper(container, config);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t\/\/ Initialize Leaflet map for Track\n\t\t\t\t\t\t\tvar mapElement = document.getElementById('wm-leaflet-map-track-75550');\n\t\t\t\tif (mapElement && typeof wmInitLeafletMap !== 'undefined') {\n\t\t\t\t\tvar geometryJson = mapElement.getAttribute('data-geometry');\n\t\t\t\t\tvar relatedPoisJson = mapElement.getAttribute('data-related-pois');\n\t\t\t\t\tvar defaultImageUrl = 'https:\/\/trekking.parcoforestecasentinesi.it\/wp-content\/plugins\/wm-package\/assets\/default_image.png';\n\t\t\t\t\twmInitLeafletMap('wm-leaflet-map-track-75550', geometryJson, relatedPoisJson, defaultImageUrl);\n\t\t\t\t}\n\t\t\t\n\t\t\t\/\/ Handle GPX generation from GeoJSON\n\t\t\tvar gpxGenerateLinks = document.querySelectorAll('.wm_download_link--generate');\n\t\t\tgpxGenerateLinks.forEach(function(link) {\n\t\t\t\tlink.addEventListener('click', function(e) {\n\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\tvar trackFeatureJson = this.getAttribute('data-track-feature');\n\t\t\t\t\tvar trackName = this.getAttribute('data-track-name') || 'track';\n\n\t\t\t\t\tif (!trackFeatureJson) {\n\t\t\t\t\t\tconsole.error('Track feature data not found');\n\t\t\t\t\t\talert('Error: Track data not available');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Function to generate and download GPX\n\t\t\t\t\tfunction generateAndDownloadGPX() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tvar trackFeature = JSON.parse(trackFeatureJson);\n\n\t\t\t\t\t\t\t\/\/ Check if togpx is available\n\t\t\t\t\t\t\tif (typeof togpx === 'undefined') {\n\t\t\t\t\t\t\t\tconsole.error('togpx library not loaded');\n\t\t\t\t\t\t\t\talert('Error: GPX generation library not available. Please refresh the page.');\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Generate GPX from GeoJSON\n\t\t\t\t\t\t\tvar gpxString = togpx(trackFeature);\n\n\t\t\t\t\t\t\tif (!gpxString || gpxString.trim() === '') {\n\t\t\t\t\t\t\t\tconsole.error('Failed to generate GPX');\n\t\t\t\t\t\t\t\talert('Error: Failed to generate GPX file');\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Clean track name for filename (remove spaces and special chars)\n\t\t\t\t\t\t\tvar cleanName = trackName.replace(\/\\s+\/g, '').replace(\/[^a-zA-Z0-9-_]\/g, '') || 'track';\n\n\t\t\t\t\t\t\t\/\/ Create blob and download\n\t\t\t\t\t\t\tvar blob = new Blob([gpxString], {\n\t\t\t\t\t\t\t\ttype: 'application\/gpx+xml'\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tvar url = window.URL.createObjectURL(blob);\n\t\t\t\t\t\t\tvar a = document.createElement('a');\n\t\t\t\t\t\t\ta.href = url;\n\t\t\t\t\t\t\ta.download = cleanName + '.gpx';\n\t\t\t\t\t\t\tdocument.body.appendChild(a);\n\t\t\t\t\t\t\ta.click();\n\t\t\t\t\t\t\tdocument.body.removeChild(a);\n\t\t\t\t\t\t\twindow.URL.revokeObjectURL(url);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tconsole.error('Error generating GPX:', error);\n\t\t\t\t\t\t\talert('Error: Failed to generate GPX file');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Wait for togpx library to be loaded if not already available\n\t\t\t\t\tif (typeof togpx !== 'undefined') {\n\t\t\t\t\t\tgenerateAndDownloadGPX();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Wait a bit for the library to load\n\t\t\t\t\t\tvar attempts = 0;\n\t\t\t\t\t\tvar checkInterval = setInterval(function() {\n\t\t\t\t\t\t\tattempts++;\n\t\t\t\t\t\t\tif (typeof togpx !== 'undefined') {\n\t\t\t\t\t\t\t\tclearInterval(checkInterval);\n\t\t\t\t\t\t\t\tgenerateAndDownloadGPX();\n\t\t\t\t\t\t\t} else if (attempts > 20) {\n\t\t\t\t\t\t\t\tclearInterval(checkInterval);\n\t\t\t\t\t\t\t\talert('Error: GPX generation library failed to load. Please refresh the page.');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 100);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t<\/script>\n\n\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"class_list":["post-3976","track","type-track","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>1 - Trek 01 - Cozzo del Diavolo - PNFC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"1 - Trek 01 - Cozzo del Diavolo - PNFC\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/\" \/>\n<meta property=\"og:site_name\" content=\"PNFC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/\",\"url\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/\",\"name\":\"1 - Trek 01 - Cozzo del Diavolo - PNFC\",\"isPartOf\":{\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website\"},\"datePublished\":\"2025-01-28T11:24:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tracks\",\"item\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"1 &#8211; Trek 01 &#8211; Cozzo del Diavolo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website\",\"url\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/\",\"name\":\"PNFC\",\"description\":\"Parco Nazionale Foreste Casentinesi\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"1 - Trek 01 - Cozzo del Diavolo - PNFC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/","og_locale":"en_US","og_type":"article","og_title":"1 - Trek 01 - Cozzo del Diavolo - PNFC","og_url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/","og_site_name":"PNFC","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/","url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/","name":"1 - Trek 01 - Cozzo del Diavolo - PNFC","isPartOf":{"@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website"},"datePublished":"2025-01-28T11:24:29+00:00","breadcrumb":{"@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/1-trek-01-cozzo-del-diavolo-en\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/"},{"@type":"ListItem","position":2,"name":"Tracks","item":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/"},{"@type":"ListItem","position":3,"name":"1 &#8211; Trek 01 &#8211; Cozzo del Diavolo"}]},{"@type":"WebSite","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website","url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/","name":"PNFC","description":"Parco Nazionale Foreste Casentinesi","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/track\/3976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/track"}],"about":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/types\/track"}],"wp:attachment":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/media?parent=3976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}