{"id":3128,"date":"2025-12-31T11:45:04","date_gmt":"2025-12-31T10:45:04","guid":{"rendered":"https:\/\/nicepartylife.com\/?p=3128"},"modified":"2026-01-20T16:44:15","modified_gmt":"2026-01-20T15:44:15","slug":"hur-langt-fran-nice-frankrike","status":"publish","type":"post","link":"https:\/\/nicepartylife.com\/sv\/hur-langt-fran-nice-frankrike\/","title":{"rendered":"Hur l\u00e5ngt fr\u00e5n Nice, Frankrike? Avst\u00e5ndskalkylator till 40+ st\u00e4der"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes\">\n    <title>How Far from Nice, France? Distance Calculator to 35+ Cities | Nice Travel Guide<\/title>\n    <meta name=\"description\" content=\"Calculate exact distances from Nice, France to Monaco (20km\/12mi), Paris (933km\/580mi), Milan (328km\/204mi), Barcelona (539km\/335mi) and 35+ destinations. Interactive calculator with driving &#038; train times.\">\n    <meta name=\"keywords\" content=\"nice france distance, how far from nice, nice to monaco, nice to paris, nice distance calculator, nice to milan, nice to barcelona, french riviera distances\">\n    <meta name=\"author\" content=\"Nice Party Life\">\n    <meta name=\"robots\" content=\"index, follow\">\n    <meta name=\"theme-color\" content=\"#667eea\">\n    \n    <!-- Open Graph \/ Facebook -->\n    <meta property=\"og:type\" content=\"website\">\n    <meta property=\"og:title\" content=\"How Far from Nice, France? Distance Calculator to 35+ Cities\">\n    <meta property=\"og:description\" content=\"Calculate distances from Nice to Monaco, Paris, Milan, Barcelona &#038; 35+ destinations. Interactive tool with km\/miles conversion.\">\n    <meta property=\"og:image\" content=\"https:\/\/nicepartylife.com\/wp-content\/uploads\/nice-distance-map.jpg\">\n    <meta property=\"og:url\" content=\"https:\/\/nicepartylife.com\/how-far-from-nice-france\/\">\n    \n    <!-- Twitter -->\n    <meta name=\"twitter:card\" content=\"summary_large_image\">\n    <meta name=\"twitter:title\" content=\"How Far from Nice, France? Distance Calculator\">\n    <meta name=\"twitter:description\" content=\"Interactive distance calculator from Nice to 35+ European cities with travel times.\">\n    \n    <!-- Canonical URL -->\n    <link rel=\"canonical\" href=\"https:\/\/nicepartylife.com\/how-far-from-nice-france\/\">\n    \n    <!-- Schema.org structured data for FAQPage -->\n    <script type=\"application\/ld+json\">\n    {\n        \"@context\": \"https:\/\/schema.org\",\n        \"@type\": \"FAQPage\",\n        \"mainEntity\": [\n            {\n                \"@type\": \"Question\",\n                \"name\": \"How far is Nice from Monaco?\",\n                \"acceptedAnswer\": {\n                    \"@type\": \"Answer\",\n                    \"text\": \"Monaco is 20 kilometers (12 miles) from Nice, France. By car, the journey takes approximately 30 minutes via the coastal road. By train, you can reach Monaco from Nice in about 20 minutes.\"\n                }\n            },\n            {\n                \"@type\": \"Question\",\n                \"name\": \"How far is Nice from Paris?\",\n                \"acceptedAnswer\": {\n                    \"@type\": \"Answer\",\n                    \"text\": \"Paris is 933 kilometers (580 miles) from Nice. The TGV high-speed train takes approximately 5.5 hours, while driving takes about 9.5 hours via the A7 autoroute.\"\n                }\n            },\n            {\n                \"@type\": \"Question\",\n                \"name\": \"How far is Nice from Milan?\",\n                \"acceptedAnswer\": {\n                    \"@type\": \"Answer\",\n                    \"text\": \"Milan is 328 kilometers (204 miles) from Nice. The drive takes approximately 3.5 hours through the Italian Riviera, while train journeys take around 5 hours.\"\n                }\n            },\n            {\n                \"@type\": \"Question\",\n                \"name\": \"How far is Nice from Barcelona?\",\n                \"acceptedAnswer\": {\n                    \"@type\": \"Answer\",\n                    \"text\": \"Barcelona is 539 kilometers (335 miles) from Nice along the Mediterranean coast. Driving takes approximately 5.5 hours via the A9 autoroute through southern France.\"\n                }\n            }\n        ]\n    }\n    <\/script>\n    \n    <style>\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n            -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);\n        }\n\n        html {\n            -webkit-text-size-adjust: 100%;\n            -ms-text-size-adjust: 100%;\n        }\n\n        body {\n            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n            background: #ffffff;\n            min-height: 100vh;\n            padding: 15px;\n            color: #333;\n            -webkit-font-smoothing: antialiased;\n            -moz-osx-font-smoothing: grayscale;\n        }\n\n        .container {\n            max-width: 1200px;\n            margin: 0 auto;\n        }\n\n        .header {\n            text-align: center;\n            color: #667eea;\n            margin-bottom: 30px;\n        }\n\n        .header h1 {\n            font-size: 2em;\n            margin-bottom: 10px;\n            line-height: 1.3;\n            font-weight: bold;\n        }\n\n        .header p {\n            font-size: 1.1em;\n            color: #555;\n        }\n\n        .quick-answer {\n            background: white;\n            padding: 25px;\n            border-radius: 15px;\n            box-shadow: 0 10px 30px rgba(0,0,0,0.2);\n            margin-bottom: 25px;\n            border: 3px solid #0066cc;\n        }\n\n        .quick-answer h2 {\n            color: #0066cc;\n            margin-bottom: 15px;\n            font-size: 1.6em;\n            font-weight: bold;\n        }\n\n        .quick-answer p {\n            font-size: 1.05em;\n            line-height: 1.7;\n            color: #444;\n        }\n\n        .search-box {\n            background: white;\n            padding: 25px;\n            border-radius: 15px;\n            box-shadow: 0 10px 30px rgba(0,0,0,0.2);\n            margin-bottom: 25px;\n        }\n\n        .search-box h3 {\n            color: #0066cc;\n            margin-bottom: 25px;\n            font-size: 1.3em;\n        }\n\n        .search-input-wrapper {\n            position: relative;\n            margin-bottom: 15px;\n        }\n\n        .search-input {\n            width: 100%;\n            padding: 15px 45px 15px 15px;\n            font-size: 1em;\n            border: 2px solid #ddd;\n            border-radius: 10px;\n            transition: all 0.3s ease;\n            min-height: 48px;\n        }\n\n        .search-input:focus {\n            outline: none;\n            border-color: #0066cc;\n            box-shadow: 0 0 0 3px rgba(0,102,204,0.1);\n        }\n\n        .search-icon {\n            position: absolute;\n            right: 15px;\n            top: 50%;\n            transform: translateY(-50%);\n            font-size: 1.2em;\n            color: #999;\n        }\n\n        .unit-toggle {\n            display: flex;\n            gap: 10px;\n            flex-wrap: wrap;\n            margin-top: 25px;\n        }\n\n        .unit-btn {\n            flex: 1;\n            min-width: 100px;\n            padding: 12px 20px;\n            background: #f0f0f0;\n            border: 2px solid #ddd;\n            border-radius: 8px;\n            font-size: 0.95em;\n            font-weight: 600;\n            cursor: pointer;\n            transition: all 0.3s ease;\n            min-height: 44px;\n            color: #333;\n        }\n\n        .unit-btn.active {\n            background: #0066cc;\n            color: white !important;\n            border-color: #0066cc;\n        }\n\n        .destinations-grid {\n            display: grid;\n            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));\n            gap: 15px;\n            margin-bottom: 30px;\n        }\n\n        .destination-card {\n            background: white;\n            padding: 20px;\n            border-radius: 12px;\n            box-shadow: 0 4px 15px rgba(0,0,0,0.15);\n            transition: all 0.3s ease;\n            border: 2px solid transparent;\n            cursor: pointer;\n        }\n\n        .destination-card:hover {\n            transform: translateY(-3px);\n            box-shadow: 0 6px 20px rgba(0,0,0,0.25);\n            border-color: #0066cc;\n        }\n\n        .destination-card.hidden {\n            display: none;\n        }\n\n        .destination-header {\n            display: flex;\n            justify-content: space-between;\n            align-items: flex-start;\n            margin-bottom: 12px;\n        }\n\n        .destination-name {\n            font-size: 1.2em;\n            font-weight: bold;\n            color: #333;\n            margin-bottom: 5px;\n        }\n\n        .destination-flag {\n            font-size: 1.8em;\n        }\n\n        .destination-country {\n            font-size: 0.9em;\n            color: #666;\n            margin-bottom: 10px;\n        }\n\n        .distance-info {\n            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);\n            padding: 12px;\n            border-radius: 8px;\n            margin-bottom: 10px;\n        }\n\n        .distance-main {\n            font-size: 1.8em;\n            font-weight: bold;\n            color: #0066cc;\n            margin-bottom: 5px;\n        }\n\n        .distance-alt {\n            font-size: 0.95em;\n            color: #666;\n        }\n\n        .travel-time {\n            display: grid;\n            grid-template-columns: 1fr 1fr;\n            gap: 8px;\n            margin-top: 10px;\n        }\n\n        .time-item {\n            background: white;\n            padding: 8px;\n            border-radius: 6px;\n            text-align: center;\n            border: 1px solid #e0e0e0;\n        }\n\n        .time-icon {\n            font-size: 1.1em;\n            margin-bottom: 3px;\n        }\n\n        .time-label {\n            font-size: 0.75em;\n            color: #666;\n            text-transform: uppercase;\n            margin-bottom: 3px;\n        }\n\n        .time-value {\n            font-size: 0.95em;\n            font-weight: bold;\n            color: #333;\n        }\n\n        .popular-badge {\n            display: inline-block;\n            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);\n            color: white;\n            padding: 4px 10px;\n            border-radius: 15px;\n            font-size: 0.75em;\n            font-weight: bold;\n            text-transform: uppercase;\n            margin-bottom: 8px;\n        }\n\n        .no-results {\n            text-align: center;\n            padding: 40px 20px;\n            background: white;\n            border-radius: 12px;\n            display: none;\n        }\n\n        .no-results.show {\n            display: block;\n        }\n\n        .no-results-icon {\n            font-size: 3em;\n            margin-bottom: 15px;\n        }\n\n        .category-filter {\n            display: flex;\n            gap: 8px;\n            margin-bottom: 20px;\n            flex-wrap: wrap;\n            justify-content: center;\n        }\n\n        .quick-search-chip {\n            padding: 8px 16px;\n            background: #f0f7ff;\n            border: 2px solid #667eea;\n            border-radius: 20px;\n            font-size: 0.9em;\n            font-weight: 600;\n            cursor: pointer;\n            transition: all 0.3s ease;\n            color: #667eea;\n            min-height: 38px;\n            white-space: nowrap;\n        }\n\n        .quick-search-chip:hover {\n            background: #667eea;\n            color: white;\n            transform: translateY(-2px);\n            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);\n        }\n\n        .quick-search-chip:active {\n            transform: translateY(0);\n        }\n\n        .category-btn {\n            padding: 10px 18px;\n            background: white;\n            border: 2px solid #ddd;\n            border-radius: 20px;\n            font-size: 0.9em;\n            font-weight: 600;\n            cursor: pointer;\n            transition: all 0.3s ease;\n            min-height: 44px;\n            color: #333;\n        }\n\n        .category-btn.active {\n            background: #0066cc;\n            color: white;\n            border-color: #0066cc;\n        }\n\n        .info-section {\n            background: white;\n            padding: 25px;\n            border-radius: 15px;\n            box-shadow: 0 5px 20px rgba(0,0,0,0.15);\n            margin-bottom: 20px;\n            border: 2px solid #e0e0e0;\n        }\n\n        .info-section h2 {\n            color: #0066cc;\n            margin-bottom: 15px;\n            font-size: 1.5em;\n            font-weight: bold;\n        }\n\n        .info-section p {\n            line-height: 1.8;\n            color: #444;\n            margin-bottom: 12px;\n        }\n\n        .info-section ul {\n            margin-left: 20px;\n            line-height: 1.8;\n            color: #444;\n        }\n\n        .info-section ul li {\n            margin-bottom: 8px;\n        }\n\n        .stats-grid {\n            display: grid;\n            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n            gap: 15px;\n            margin: 20px 0;\n        }\n\n        .stat-card {\n            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n            padding: 20px;\n            border-radius: 12px;\n            text-align: center;\n            color: white;\n        }\n\n        .stat-number {\n            font-size: 2em;\n            font-weight: bold;\n            margin-bottom: 5px;\n        }\n\n        .stat-label {\n            font-size: 0.9em;\n            opacity: 0.9;\n        }\n\n        \/* Map Modal Styles *\/\n        .map-modal {\n            display: none;\n            position: fixed;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n            background: rgba(0, 0, 0, 0.95);\n            z-index: 9999;\n            padding: 20px;\n            overflow: auto;\n        }\n\n        .map-modal.show {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n        }\n\n        .map-modal-content {\n            position: relative;\n            background: white;\n            border-radius: 15px;\n            padding: 30px;\n            max-width: 1200px;\n            width: 100%;\n            max-height: 90vh;\n            overflow: auto;\n        }\n\n        .map-modal-close {\n            position: absolute;\n            top: 15px;\n            right: 15px;\n            background: #667eea;\n            color: white;\n            border: none;\n            border-radius: 50%;\n            width: 48px;\n            height: 48px;\n            font-size: 28px;\n            font-weight: bold;\n            cursor: pointer;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            transition: all 0.3s ease;\n            z-index: 10000;\n            touch-action: manipulation;\n            -webkit-tap-highlight-color: rgba(102, 126, 234, 0.5);\n        }\n\n        .map-modal-close:hover {\n            background: #5566d8;\n            transform: rotate(90deg);\n        }\n\n        .map-clickable {\n            cursor: zoom-in;\n            transition: all 0.3s ease;\n        }\n\n        .map-clickable:hover {\n            opacity: 0.9;\n            transform: scale(1.01);\n        }\n\n        \/* Mobile Optimizations *\/\n        @media (max-width: 768px) {\n            body {\n                padding: 8px;\n            }\n\n            .container {\n                padding: 0;\n            }\n\n            .header h1 {\n                font-size: 1.6em;\n                line-height: 1.3;\n                margin-bottom: 15px;\n            }\n\n            .header p {\n                font-size: 1em;\n                line-height: 1.6;\n            }\n\n            .quick-answer {\n                padding: 16px;\n            }\n\n            .quick-answer h2 {\n                font-size: 1.3em;\n            }\n\n            .info-section {\n                padding: 16px !important;\n                margin-bottom: 20px;\n            }\n\n            .info-section h2 {\n                font-size: 1.4em;\n                line-height: 1.4;\n                margin-bottom: 15px;\n            }\n\n            .info-section p {\n                font-size: 1em;\n                line-height: 1.8;\n                margin-bottom: 15px;\n            }\n\n            .info-section ul {\n                margin-left: 18px;\n                padding-left: 0;\n            }\n\n            .info-section ul li {\n                margin-bottom: 10px;\n                line-height: 1.6;\n            }\n\n            .search-box {\n                padding: 16px;\n            }\n\n            .search-box h3 {\n                margin-bottom: 20px;\n                font-size: 1.2em;\n            }\n\n            .chips-container {\n                gap: 10px !important;\n            }\n\n            .quick-search-chip {\n                font-size: 0.85em;\n                padding: 6px 12px;\n                min-height: 36px;\n            }\n\n            #distanceMapSVG {\n                min-height: 400px !important;\n                margin: 20px 0;\n            }\n\n            #distanceMapSection {\n                padding: 20px 15px !important;\n            }\n\n            .destinations-grid {\n                grid-template-columns: 1fr;\n                gap: 12px;\n            }\n\n            .destination-card {\n                padding: 15px;\n            }\n\n            .distance-main {\n                font-size: 1.5em;\n            }\n\n            .travel-time {\n                grid-template-columns: 1fr;\n            }\n\n            .stats-grid {\n                grid-template-columns: repeat(2, 1fr);\n            }\n\n            .category-filter {\n                gap: 6px;\n            }\n\n            .category-btn {\n                padding: 8px 14px;\n                font-size: 0.85em;\n            }\n\n            .unit-btn {\n                font-size: 0.9em;\n                padding: 10px 15px;\n            }\n\n            .map-modal-content {\n                padding: 15px;\n                max-height: 95vh;\n            }\n\n            .map-modal-close {\n                width: 48px;\n                height: 48px;\n                font-size: 26px;\n                top: 10px;\n                right: 10px;\n            }\n\n            #distanceMapSVG {\n                min-height: 400px !important;\n            }\n\n            #distanceMapSVGModal {\n                min-height: 500px !important;\n            }\n        }\n\n        @media (max-width: 480px) {\n            .header h1 {\n                font-size: 1.4em;\n            }\n\n            .distance-main {\n                font-size: 1.3em;\n            }\n\n            .destination-name {\n                font-size: 1.1em;\n            }\n\n            .stats-grid {\n                grid-template-columns: 1fr;\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"container\">\n        <div class=\"header\">\n            <h1>\ud83d\uddfa\ufe0f How Far from Nice, France?<\/h1>\n            <p>Interactive Distance Calculator to Popular Destinations<\/p>\n        <\/div>\n\n        <!-- SEO Content Section -->\n        <div class=\"info-section\" style=\"margin-bottom: 25px;\">\n            <h2>Calculate Distances from Nice, France to 40+ Destinations<\/h2>\n            <p>Nice, located on the stunning French Riviera, is the perfect base for exploring the Mediterranean. Whether you&#8217;re planning day trips to Monaco (20 km), road trips to Paris (933 km), or adventures to Italy and Spain, our interactive distance calculator helps you plan your journey.<\/p>\n            \n            <p><strong>Popular distances from Nice:<\/strong><\/p>\n            <ul style=\"margin-bottom: 15px;\">\n                <li><strong>Monaco:<\/strong> 20 km (13 mi) &#8211; 30 minutes by car, 20 minutes by train<\/li>\n                <li><strong>Cannes:<\/strong> 33 km (21 mi) &#8211; Perfect for a day trip to the famous film festival city<\/li>\n                <li><strong>Paris:<\/strong> 933 km (580 mi) &#8211; 5h 30min by high-speed TGV train<\/li>\n                <li><strong>Milan, Italy:<\/strong> 328 km (204 mi) &#8211; Easy access to Italian fashion capital<\/li>\n                <li><strong>Barcelona, Spain:<\/strong> 539 km (335 mi) &#8211; Stunning Mediterranean coastal drive<\/li>\n            <\/ul>\n            \n            <p>Use the calculator below to find exact distances, driving times, and train durations to your destination. Switch between kilometers and miles, filter by country, or search for any city. Each destination includes travel time estimates for both car and train to help you plan the perfect French Riviera adventure.<\/p>\n        <\/div>\n\n        <!-- Quick Answer -->\n        <div class=\"quick-answer\">\n            <h2>\u26a1 Quick Distances from Nice, France<\/h2>\n            <p><strong>Most Popular:<\/strong> Monaco (20 km), Cannes (33 km), Monaco (13 mi), Paris (933 km \/ 580 mi), Milan (328 km \/ 204 mi), Barcelona (539 km \/ 335 mi). Use the search below to find exact distances and travel times to any destination!<\/p>\n        <\/div>\n\n        <!-- Distance Map Visualization -->\n        <div id=\"distanceMapSection\" class=\"info-section\" style=\"padding: 30px; background: white; margin-bottom: 25px;\">\n            <h2 style=\"color: #667eea; font-weight: bold; text-align: center; margin-bottom: 10px;\">\ud83d\uddfa\ufe0f Distance Map from Nice<\/h2>\n            <p style=\"text-align: center; color: #555; margin-bottom: 5px;\">Visual representation of distances from Nice to major destinations<\/p>\n            <p style=\"text-align: center; color: #667eea; font-size: 0.9em; margin-bottom: 15px; cursor: pointer;\" onclick=\"openMapModal()\">\ud83d\udd0d <u>Click map to enlarge<\/u><\/p>\n            \n            <!-- Map Unit Toggle -->\n            <div style=\"text-align: center; margin-bottom: 20px;\">\n                <button class=\"map-unit-btn active\" data-map-unit=\"km\" style=\"padding: 8px 20px; background: #667eea; color: white; border: 2px solid #667eea; border-radius: 20px 0 0 20px; font-weight: 600; cursor: pointer; min-height: 38px;\">Kilometers<\/button><button class=\"map-unit-btn\" data-map-unit=\"mi\" style=\"padding: 8px 20px; background: white; color: #667eea; border: 2px solid #667eea; border-radius: 0 20px 20px 0; font-weight: 600; cursor: pointer; min-height: 38px;\">Miles<\/button>\n            <\/div>\n            \n            <svg id=\"distanceMapSVG\" class=\"map-clickable\" onclick=\"openMapModal()\" viewBox=\"0 0 800 500\" style=\"max-width: 100%; height: auto; margin: 0 auto; display: block; min-height: 300px;\">\n                <!-- Distance circles -->\n                <circle cx=\"400\" cy=\"250\" r=\"30\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"80\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"150\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"220\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                \n                <!-- Distance labels (will be updated by JS) -->\n                <text id=\"mapLabel1\" x=\"430\" y=\"225\" fill=\"#999\" font-size=\"8\">50km<\/text>\n                <text id=\"mapLabel2\" x=\"480\" y=\"255\" fill=\"#999\" font-size=\"8\">200km<\/text>\n                <text id=\"mapLabel3\" x=\"550\" y=\"255\" fill=\"#999\" font-size=\"8\">500km<\/text>\n                \n                <!-- Nice (center) -->\n                <circle cx=\"400\" cy=\"250\" r=\"10\" fill=\"#667eea\"\/>\n                <text x=\"400\" y=\"275\" text-anchor=\"middle\" fill=\"#667eea\" font-weight=\"bold\" font-size=\"11\">NICE<\/text>\n                \n                <!-- Nearby cities -->\n                <circle cx=\"420\" cy=\"240\" r=\"5\" fill=\"#ff6b6b\"\/>\n                <text x=\"420\" y=\"230\" text-anchor=\"middle\" fill=\"#333\" font-size=\"8\" font-weight=\"600\">Monaco<\/text>\n                <text id=\"mapDist1\" x=\"420\" y=\"260\" text-anchor=\"middle\" fill=\"#666\" font-size=\"7\" data-km=\"20\">20km<\/text>\n                \n                <circle cx=\"360\" cy=\"245\" r=\"4\" fill=\"#ff6b6b\"\/>\n                <text x=\"360\" y=\"265\" text-anchor=\"middle\" fill=\"#333\" font-size=\"7\">Cannes<\/text>\n                \n                <circle cx=\"380\" cy=\"230\" r=\"3\" fill=\"#ffa500\"\/>\n                <text x=\"380\" y=\"220\" text-anchor=\"middle\" fill=\"#333\" font-size=\"7\">Antibes<\/text>\n                \n                <circle cx=\"440\" cy=\"245\" r=\"3\" fill=\"#ffa500\"\/>\n                <text x=\"460\" y=\"245\" text-anchor=\"start\" fill=\"#333\" font-size=\"7\">Menton<\/text>\n                \n                <!-- Medium distance -->\n                <circle cx=\"320\" cy=\"280\" r=\"4\" fill=\"#4CAF50\"\/>\n                <text x=\"320\" y=\"295\" text-anchor=\"middle\" fill=\"#333\" font-size=\"7\">Marseille<\/text>\n                <text id=\"mapDist2\" x=\"320\" y=\"305\" text-anchor=\"middle\" fill=\"#666\" font-size=\"6\" data-km=\"204\">204km<\/text>\n                \n                <circle cx=\"480\" cy=\"200\" r=\"4\" fill=\"#4CAF50\"\/>\n                <text x=\"480\" y=\"190\" text-anchor=\"middle\" fill=\"#333\" font-size=\"7\">Genoa<\/text>\n                \n                <circle cx=\"500\" cy=\"180\" r=\"4\" fill=\"#4CAF50\"\/>\n                <text x=\"520\" y=\"180\" text-anchor=\"start\" fill=\"#333\" font-size=\"7\">Milan<\/text>\n                <text id=\"mapDist3\" x=\"520\" y=\"190\" text-anchor=\"start\" fill=\"#666\" font-size=\"6\" data-km=\"328\">328km<\/text>\n                \n                <!-- Far distance -->\n                <circle cx=\"280\" cy=\"140\" r=\"5\" fill=\"#2196F3\"\/>\n                <text x=\"280\" y=\"130\" text-anchor=\"middle\" fill=\"#333\" font-size=\"8\" font-weight=\"600\">Paris<\/text>\n                <text id=\"mapDist4\" x=\"280\" y=\"155\" text-anchor=\"middle\" fill=\"#666\" font-size=\"7\" data-km=\"933\">933km<\/text>\n                \n                <circle cx=\"550\" cy=\"290\" r=\"4\" fill=\"#2196F3\"\/>\n                <text x=\"570\" y=\"290\" text-anchor=\"start\" fill=\"#333\" font-size=\"7\">Barcelona<\/text>\n                <text id=\"mapDist5\" x=\"570\" y=\"300\" text-anchor=\"start\" fill=\"#666\" font-size=\"6\" data-km=\"539\">539km<\/text>\n                \n                <circle cx=\"550\" cy=\"150\" r=\"4\" fill=\"#2196F3\"\/>\n                <text x=\"550\" y=\"140\" text-anchor=\"middle\" fill=\"#333\" font-size=\"7\">Florence<\/text>\n                \n                <!-- Legend -->\n                <g transform=\"translate(50, 420)\">\n                    <text x=\"0\" y=\"0\" fill=\"#333\" font-size=\"8\" font-weight=\"bold\">Distance:<\/text>\n                    <circle cx=\"60\" cy=\"-3\" r=\"3\" fill=\"#ff6b6b\"\/>\n                    <text id=\"mapLegend1\" x=\"70\" y=\"0\" fill=\"#666\" font-size=\"7\">&lt; 50km<\/text>\n                    <circle cx=\"125\" cy=\"-3\" r=\"3\" fill=\"#ffa500\"\/>\n                    <text id=\"mapLegend2\" x=\"135\" y=\"0\" fill=\"#666\" font-size=\"7\">50-100km<\/text>\n                    <circle cx=\"210\" cy=\"-3\" r=\"3\" fill=\"#4CAF50\"\/>\n                    <text id=\"mapLegend3\" x=\"220\" y=\"0\" fill=\"#666\" font-size=\"7\">100-400km<\/text>\n                    <circle cx=\"310\" cy=\"-3\" r=\"3\" fill=\"#2196F3\"\/>\n                    <text id=\"mapLegend4\" x=\"320\" y=\"0\" fill=\"#666\" font-size=\"7\">&gt; 400km<\/text>\n                <\/g>\n            <\/svg>\n        <\/div>\n\n        <!-- Popular Destinations & Unit Toggle -->\n        <div class=\"search-box\">\n            <h3>\ud83c\udf1f Popular Destinations<\/h3>\n            \n            <!-- Quick Destination Buttons -->\n            <div style=\"margin-top: 15px;\">\n                <div class=\"chips-container\" style=\"display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;\">\n                    <button class=\"quick-search-chip\" data-search=\"monaco\">\ud83c\uddf2\ud83c\udde8 Monaco<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"paris\">\ud83d\uddfc Paris<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"cannes\">\ud83c\udfac Cannes<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"milan\">\ud83c\uddee\ud83c\uddf9 Milan<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"barcelona\">\ud83c\uddea\ud83c\uddf8 Barcelona<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"marseille\">\u2693 Marseille<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"rome\">\ud83c\udfdb\ufe0f Rome<\/button>\n                    <button class=\"quick-search-chip\" data-search=\"geneva\">\ud83c\udde8\ud83c\udded Geneva<\/button>\n                <\/div>\n            <\/div>\n            \n            <div class=\"unit-toggle\">\n                <button class=\"unit-btn active\" data-unit=\"km\" style=\"color: white;\">KILOMETERS (KM)<\/button>\n                <button class=\"unit-btn\" data-unit=\"mi\" style=\"color: #333;\">MILES (MI)<\/button>\n            <\/div>\n        <\/div>\n\n        <!-- Destinations Grid -->\n        <div class=\"destinations-grid\" id=\"destinationsGrid\"><\/div>\n\n        <!-- No Results Message -->\n        <div class=\"no-results\" id=\"noResults\">\n            <div class=\"no-results-icon\">\ud83d\udd0d<\/div>\n            <h3>No destinations in this category<\/h3>\n            <p style=\"margin-bottom: 15px;\">Try selecting a different country filter or click &#8220;All Destinations&#8221; to see the complete list of 35 destinations.<\/p>\n        <\/div>\n\n        <!-- Statistics -->\n        <div class=\"stats-grid\">\n            <div class=\"stat-card\">\n                <div class=\"stat-number\">35<\/div>\n                <div class=\"stat-label\">Destinations<\/div>\n            <\/div>\n            <div class=\"stat-card\">\n                <div class=\"stat-number\">20 km<\/div>\n                <div class=\"stat-label\">Closest (Monaco)<\/div>\n            <\/div>\n            <div class=\"stat-card\">\n                <div class=\"stat-number\">933 km<\/div>\n                <div class=\"stat-label\">To Paris<\/div>\n            <\/div>\n            <div class=\"stat-card\">\n                <div class=\"stat-number\">30 min<\/div>\n                <div class=\"stat-label\">To Cannes<\/div>\n            <\/div>\n        <\/div>\n\n        <!-- Comprehensive SEO Content -->\n        <div class=\"info-section\">\n            <h2 style=\"color: #667eea; font-weight: bold;\">\ud83d\udccf Complete Distance Guide from Nice to All Destinations<\/h2>\n            <p style=\"color: #555; margin-bottom: 20px;\">Find out exactly how far Nice is from your destination. Whether you&#8217;re planning a quick day trip or an extended road trip, here are the precise distances from Nice, France to popular cities across France, Italy, Spain, and Europe.<\/p>\n            \n            <h3 style=\"color: #667eea; font-size: 1.3em; margin-top: 25px;\">How Far from Nice to French Riviera Cities?<\/h3>\n            <p style=\"line-height: 1.8;\">\n                <strong>How far from Nice to Monaco?<\/strong> Just 20 kilometers (12 miles), making it perfect for a quick 30-minute drive or train ride. \n                <strong>How far from Nice to Cannes?<\/strong> Only 33 km (21 miles), about 35 minutes by car or train. \n                <strong>How far from Nice to Antibes?<\/strong> A short 23 km (14 miles), roughly 30 minutes away. \n                <strong>How far from Nice to Menton?<\/strong> 29 km (18 miles) along the stunning coastal road. \n                <strong>How far from Nice to Eze?<\/strong> Just 12 km (7 miles) to this beautiful hilltop village. \n                <strong>How far from Nice to Villefranche-sur-Mer?<\/strong> Only 6 km (4 miles), the closest beach town. \n                <strong>How far from Nice to Saint-Tropez?<\/strong> 105 km (65 miles), about 1.5 hours by car. \n                <strong>How far from Nice to Grasse?<\/strong> 35 km (22 miles) inland, approximately 40 minutes.\n            <\/p>\n            \n            <h3 style=\"color: #667eea; font-size: 1.3em; margin-top: 25px;\">How Far from Nice to Major French Cities?<\/h3>\n            <p style=\"line-height: 1.8;\">\n                <strong>How far from Nice to Paris?<\/strong> 933 kilometers (580 miles) &#8211; the capital is reachable in 5.5 hours by TGV train or 9.5 hours driving. \n                <strong>How far from Nice to Marseille?<\/strong> 204 km (127 miles), about 2.25 hours by car or train. \n                <strong>How far from Nice to Lyon?<\/strong> 473 km (294 miles), roughly 4.75 hours by car or train. \n                <strong>How far from Nice to Avignon?<\/strong> 262 km (163 miles) to this historic Proven\u00e7al city. \n                <strong>How far from Nice to Aix-en-Provence?<\/strong> 177 km (110 miles), about 2 hours away. \n                <strong>How far from Nice to Bordeaux?<\/strong> 868 km (539 miles) across southern France. \n                <strong>How far from Nice to Toulouse?<\/strong> 548 km (340 miles) to the Pink City. \n                <strong>How far from Nice to Annecy?<\/strong> 371 km (231 miles) to the Alpine lake town. \n                <strong>How far from Nice to Arles?<\/strong> 241 km (150 miles) to Van Gogh&#8217;s beloved Provence. \n                <strong>How far from Nice to Les Baux-de-Provence?<\/strong> 228 km (142 miles). \n                <strong>How far from Nice to Lourdes?<\/strong> 636 km (395 miles) to the famous pilgrimage site.\n            <\/p>\n            \n            <h3 style=\"color: #667eea; font-size: 1.3em; margin-top: 25px;\">How Far from Nice to Italian Cities?<\/h3>\n            <p style=\"line-height: 1.8;\">\n                <strong>How far from Nice to Genoa?<\/strong> 195 kilometers (121 miles), about 2.25 hours through the Italian Riviera. \n                <strong>How far from Nice to Milan?<\/strong> 328 km (204 miles), approximately 3.5 hours by car or 5 hours by train. \n                <strong>How far from Nice to Florence?<\/strong> 402 km (250 miles) to the heart of Tuscany. \n                <strong>How far from Nice to Portofino?<\/strong> 206 km (128 miles) to this exclusive coastal village. \n                <strong>How far from Nice to Cinque Terre?<\/strong> 250 km (155 miles), about 3 hours along the coast. \n                <strong>How far from Nice to Rome?<\/strong> 687 km (427 miles) to Italy&#8217;s capital, approximately 7 hours by car. \n                <strong>How far from Nice to Venice?<\/strong> 549 km (341 miles) across northern Italy. \n                <strong>How far from Nice to Turin?<\/strong> 251 km (156 miles) to this elegant Piedmont city.\n            <\/p>\n            \n            <h3 style=\"color: #667eea; font-size: 1.3em; margin-top: 25px;\">How Far from Nice to Spanish Cities?<\/h3>\n            <p style=\"line-height: 1.8;\">\n                <strong>How far from Nice to Barcelona?<\/strong> 539 kilometers (335 miles) along the Mediterranean coast, about 5.5 hours by car. \n                <strong>How far from Nice to Madrid?<\/strong> 1,045 km (649 miles) across Spain. \n                <strong>How far from Nice to Valencia?<\/strong> 688 km (428 miles) down the Spanish coast.\n            <\/p>\n            \n            <h3 style=\"color: #667eea; font-size: 1.3em; margin-top: 25px;\">How Far from Nice to Other European Cities?<\/h3>\n            <p style=\"line-height: 1.8;\">\n                <strong>How far from Nice to Geneva?<\/strong> 347 kilometers (216 miles) to Switzerland&#8217;s international hub. \n                <strong>How far from Nice to Zurich?<\/strong> 577 km (359 miles) through the Alps. \n                <strong>How far from Nice to London?<\/strong> 1,037 km (644 miles) &#8211; best reached by flight. \n                <strong>How far from Nice to Amsterdam?<\/strong> 1,144 km (711 miles) across Europe. \n                <strong>How far from Nice to Brussels?<\/strong> 1,015 km (631 miles) to Belgium&#8217;s capital.\n            <\/p>\n        <\/div>\n\n        <!-- Info Section -->\n        <div class=\"info-section\">\n            <h2>\ud83d\udccd About Distances from Nice, France<\/h2>\n            <p>Nice is strategically located on the French Riviera, making it an ideal base for exploring the Mediterranean coast. The city is close to the Italian border and offers easy access to iconic destinations.<\/p>\n            <ul>\n                <li><strong>Closest International City:<\/strong> Monaco (20 km \/ 13 mi) &#8211; 30 minutes by car<\/li>\n                <li><strong>Major French Cities:<\/strong> Cannes (33 km), Marseille (204 km), Lyon (473 km), Paris (933 km)<\/li>\n                <li><strong>Italian Destinations:<\/strong> Genoa (195 km), Milan (328 km), Florence (402 km)<\/li>\n                <li><strong>Popular Day Trips:<\/strong> Antibes, Eze, Saint-Tropez, Menton, Villefranche-sur-Mer<\/li>\n            <\/ul>\n        <\/div>\n\n        <div class=\"info-section\" style=\"background: white; border: 2px solid #e0e0e0;\">\n            <h2 style=\"color: #667eea; font-weight: bold;\">\ud83c\udf1f Planning Your Trip from Nice?<\/h2>\n            <p style=\"color: #555; margin-bottom: 20px;\">Discover the best experiences and destinations around Nice:<\/p>\n            \n            <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-top: 20px;\">\n                <div style=\"background: #f8f9fa; padding: 15px; border-radius: 10px; border: 1px solid #e0e0e0;\">\n                    <h3 style=\"color: #667eea; font-size: 1.1em; margin-bottom: 10px; font-weight: bold;\">\ud83d\ude97 Day Trips<\/h3>\n                    <ul style=\"list-style: none; padding: 0; margin: 0;\">\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/day-trips-from-nice\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 Best Day Trips from Nice<\/a><\/li>\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/how-to-get-from-nice-to-monte-carlo\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 Nice to Monte Carlo<\/a><\/li>\n                    <\/ul>\n                <\/div>\n\n                <div style=\"background: #f8f9fa; padding: 15px; border-radius: 10px; border: 1px solid #e0e0e0;\">\n                    <h3 style=\"color: #667eea; font-size: 1.1em; margin-bottom: 10px; font-weight: bold;\">\u2708\ufe0f Getting Around<\/h3>\n                    <ul style=\"list-style: none; padding: 0; margin: 0;\">\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/how-to-get-to-nice-france\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 How to Get to Nice<\/a><\/li>\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/how-to-get-nice-airport-to-city-centre\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 Airport to City Centre<\/a><\/li>\n                    <\/ul>\n                <\/div>\n\n                <div style=\"background: #f8f9fa; padding: 15px; border-radius: 10px; border: 1px solid #e0e0e0;\">\n                    <h3 style=\"color: #667eea; font-size: 1.1em; margin-bottom: 10px; font-weight: bold;\">\ud83c\udfd6\ufe0f What to Do<\/h3>\n                    <ul style=\"list-style: none; padding: 0; margin: 0;\">\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/what-to-do-in-nice\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 What to Do in Nice<\/a><\/li>\n                        <li style=\"margin-bottom: 8px;\"><a href=\"https:\/\/nicepartylife.com\/best-beaches-nice-france\/\" style=\"color: #667eea; text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; min-height: 44px; line-height: 1.6;\">\u2192 Best Beaches<\/a><\/li>\n                    <\/ul>\n                <\/div>\n            <\/div>\n\n            <div style=\"text-align: center; margin-top: 25px; padding-top: 20px; border-top: 2px solid #e0e0e0;\">\n                <p style=\"color: #333; margin-bottom: 10px; font-size: 1.15em; font-weight: 600;\">\ud83d\udea4 <strong>Discover the French Riviera by Boat!<\/strong><\/p>\n                <p style=\"color: #555; margin-bottom: 15px;\">Private boat rentals available year-round. Explore Monaco, Cannes, and hidden coves with an experienced skipper.<\/p>\n                <a href=\"https:\/\/nicepartylife.com\/nice-boat-rental-with-skipper\/\" style=\"display: inline-block; background: #667eea; color: white; padding: 15px 35px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 1.1em; margin-top: 10px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(102,126,234,0.3); min-height: 48px; display: inline-flex; align-items: center; justify-content: center;\">Rent a Boat with Skipper \u2192<\/a>\n            <\/div>\n        <\/div>\n\n        <!-- Additional SEO Content -->\n        <div class=\"info-section\">\n            <h2>\ud83d\udca1 Travel Tips: Using Distances to Plan Your French Riviera Trip<\/h2>\n            <p><strong>Day Trip Planning:<\/strong> Destinations under 50 km (like Monaco, Cannes, Antibes) are perfect for half-day or full-day trips. You can easily visit multiple locations in one day using the efficient French train system or by renting a car.<\/p>\n            \n            <p><strong>Multi-Day Trips:<\/strong> For distances over 300 km (Paris, Milan, Barcelona), consider at least 2-3 days to truly enjoy the destination. The TGV high-speed train from Nice to Paris takes only 5h 30min and offers a comfortable alternative to driving.<\/p>\n            \n            <p><strong>Transportation Choices:<\/strong><\/p>\n            <ul>\n                <li><strong>Train:<\/strong> Best for Paris, Marseille, Lyon, and Italian cities. Book TGV tickets early for discounts.<\/li>\n                <li><strong>Car:<\/strong> Ideal for exploring small Riviera villages and coastal routes. Offers flexibility but consider summer traffic.<\/li>\n                <li><strong>Bus:<\/strong> Budget-friendly option for nearby towns. Line 100 from Nice to Menton costs only \u20ac1.50.<\/li>\n            <\/ul>\n            \n            <p><strong>Seasonal Considerations:<\/strong> Summer (June-August) sees heavy traffic on coastal roads. Spring and fall offer pleasant weather with fewer crowds, making road trips more enjoyable. Winter is perfect for ski resorts just 1-2 hours from Nice.<\/p>\n        <\/div>\n    <\/div>\n\n    <script>\n        \/\/ ============================================\n        \/\/ DISTANCE CALCULATOR DATA & FUNCTIONALITY\n        \/\/ ============================================\n        \/\/ Comprehensive destinations database\n        const destinations = [\n            \/\/ France - Popular\n            { name: 'Monaco', country: 'Monaco', flag: '\ud83c\uddf2\ud83c\udde8', km: 20, car: '30 min', train: '20 min', category: 'other', popular: true },\n            { name: 'Cannes', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 33, car: '35 min', train: '30 min', category: 'france', popular: true },\n            { name: 'Antibes', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 23, car: '30 min', train: '25 min', category: 'france', popular: true },\n            { name: 'Menton', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 29, car: '35 min', train: '35 min', category: 'france', popular: false },\n            { name: 'Eze', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 12, car: '20 min', train: 'N\/A', category: 'france', popular: false },\n            { name: 'Villefranche-sur-Mer', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 6, car: '15 min', train: '10 min', category: 'france', popular: false },\n            { name: 'Saint-Tropez', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 105, car: '1h 30min', train: 'N\/A', category: 'france', popular: true },\n            { name: 'Grasse', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 35, car: '40 min', train: '35 min', category: 'france', popular: false },\n            \n            \/\/ France - Major Cities\n            { name: 'Paris', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 933, car: '9h 30min', train: '5h 30min', category: 'france', popular: true },\n            { name: 'Marseille', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 204, car: '2h 15min', train: '2h 30min', category: 'france', popular: true },\n            { name: 'Lyon', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 473, car: '4h 45min', train: '4h 30min', category: 'france', popular: true },\n            { name: 'Avignon', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 262, car: '2h 45min', train: '3h 15min', category: 'france', popular: false },\n            { name: 'Aix-en-Provence', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 177, car: '2h', train: '2h 30min', category: 'france', popular: false },\n            { name: 'Bordeaux', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 868, car: '8h 30min', train: '9h', category: 'france', popular: false },\n            { name: 'Toulouse', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 548, car: '5h 30min', train: '7h 30min', category: 'france', popular: false },\n            { name: 'Annecy', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 371, car: '3h 45min', train: '6h', category: 'france', popular: false },\n            { name: 'Arles', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 241, car: '2h 30min', train: '3h 30min', category: 'france', popular: false },\n            { name: 'Les Baux-de-Provence', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 228, car: '2h 30min', train: 'N\/A', category: 'france', popular: false },\n            { name: 'Lourdes', country: 'France', flag: '\ud83c\uddeb\ud83c\uddf7', km: 636, car: '6h 30min', train: '9h', category: 'france', popular: false },\n            \n            \/\/ Italy\n            { name: 'Genoa', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 195, car: '2h 15min', train: '4h', category: 'italy', popular: true },\n            { name: 'Milan', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 328, car: '3h 30min', train: '5h', category: 'italy', popular: true },\n            { name: 'Florence', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 402, car: '4h 30min', train: '6h 30min', category: 'italy', popular: true },\n            { name: 'Portofino', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 206, car: '2h 30min', train: 'N\/A', category: 'italy', popular: false },\n            { name: 'Cinque Terre', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 250, car: '3h', train: '5h', category: 'italy', popular: true },\n            { name: 'Rome', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 687, car: '7h', train: '8h 30min', category: 'italy', popular: true },\n            { name: 'Venice', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 549, car: '5h 30min', train: '7h 30min', category: 'italy', popular: false },\n            { name: 'Turin', country: 'Italy', flag: '\ud83c\uddee\ud83c\uddf9', km: 251, car: '2h 45min', train: '4h', category: 'italy', popular: false },\n            \n            \/\/ Spain\n            { name: 'Barcelona', country: 'Spain', flag: '\ud83c\uddea\ud83c\uddf8', km: 539, car: '5h 30min', train: '10h', category: 'spain', popular: true },\n            { name: 'Madrid', country: 'Spain', flag: '\ud83c\uddea\ud83c\uddf8', km: 1167, car: '11h', train: '12h 30min', category: 'spain', popular: false },\n            { name: 'Valencia', country: 'Spain', flag: '\ud83c\uddea\ud83c\uddf8', km: 716, car: '7h', train: '11h', category: 'spain', popular: false },\n            \n            \/\/ Switzerland\n            { name: 'Geneva', country: 'Switzerland', flag: '\ud83c\udde8\ud83c\udded', km: 433, car: '4h 30min', train: '6h 30min', category: 'other', popular: true },\n            { name: 'Zurich', country: 'Switzerland', flag: '\ud83c\udde8\ud83c\udded', km: 652, car: '6h 30min', train: '8h 30min', category: 'other', popular: false },\n            \n            \/\/ Other European Cities\n            { name: 'London', country: 'United Kingdom', flag: '\ud83c\uddec\ud83c\udde7', km: 1043, car: 'N\/A', train: '10h+', category: 'other', popular: true },\n            { name: 'Amsterdam', country: 'Netherlands', flag: '\ud83c\uddf3\ud83c\uddf1', km: 1146, car: '11h', train: '12h+', category: 'other', popular: false },\n            { name: 'Brussels', country: 'Belgium', flag: '\ud83c\udde7\ud83c\uddea', km: 1021, car: '10h', train: '11h', category: 'other', popular: false },\n        ];\n\n        let currentUnit = 'km';\n\n        \/\/ Initialize\n        function init() {\n            renderDestinations();\n            setupEventListeners();\n        }\n\n        \/\/ Render destinations\n        function renderDestinations() {\n            const grid = document.getElementById('destinationsGrid');\n            const noResults = document.getElementById('noResults');\n            \n            \/\/ Sort: popular first, then by distance\n            const sorted = [...destinations].sort((a, b) => {\n                if (a.popular && !b.popular) return -1;\n                if (!a.popular && b.popular) return 1;\n                return a.km - b.km;\n            });\n\n            grid.innerHTML = sorted.map(dest => createDestinationCard(dest)).join('');\n            \n            \/\/ Check if any cards are visible\n            checkNoResults();\n        }\n\n        \/\/ Create destination card\n        function createDestinationCard(dest) {\n            const distance = currentUnit === 'km' ? dest.km : Math.round(dest.km * 0.621371);\n            const unit = currentUnit === 'km' ? 'km' : 'mi';\n            const altDistance = currentUnit === 'km' ? Math.round(dest.km * 0.621371) : dest.km;\n            const altUnit = currentUnit === 'km' ? 'mi' : 'km';\n\n            return `\n                <div class=\"destination-card\" data-name=\"${dest.name.toLowerCase()}\" data-category=\"${dest.category}\">\n                    ${dest.popular ? '<span class=\"popular-badge\">Popular<\/span>' : ''}\n                    <div class=\"destination-header\">\n                        <div>\n                            <div class=\"destination-name\">${dest.name}<\/div>\n                            <div class=\"destination-country\">${dest.country}<\/div>\n                        <\/div>\n                        <div class=\"destination-flag\">${dest.flag}<\/div>\n                    <\/div>\n                    <div class=\"distance-info\">\n                        <div class=\"distance-main\">${distance} ${unit}<\/div>\n                        <div class=\"distance-alt\">${altDistance} ${altUnit}<\/div>\n                    <\/div>\n                    <div class=\"travel-time\">\n                        <div class=\"time-item\">\n                            <div class=\"time-icon\">\ud83d\ude97<\/div>\n                            <div class=\"time-label\">By Car<\/div>\n                            <div class=\"time-value\">${dest.car}<\/div>\n                        <\/div>\n                        <div class=\"time-item\">\n                            <div class=\"time-icon\">\ud83d\ude86<\/div>\n                            <div class=\"time-label\">By Train<\/div>\n                            <div class=\"time-value\">${dest.train}<\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            `;\n        }\n\n        \/\/ Setup event listeners\n        function setupEventListeners() {\n            \/\/ Unit toggle\n            document.querySelectorAll('.unit-btn').forEach(btn => {\n                btn.addEventListener('click', function() {\n                    document.querySelectorAll('.unit-btn').forEach(b => b.classList.remove('active'));\n                    this.classList.add('active');\n                    currentUnit = this.dataset.unit;\n                    renderDestinations();\n                });\n            });\n\n            \/\/ Quick destination chips - filter to show only that destination\n            document.querySelectorAll('.quick-search-chip').forEach(chip => {\n                chip.addEventListener('click', function() {\n                    const searchTerm = this.dataset.search;\n                    console.log('\ud83c\udfaf Destination clicked:', searchTerm);\n                    \n                    \/\/ Filter to show only this destination\n                    filterDestinations(searchTerm);\n                    \n                    \/\/ Visual feedback\n                    this.style.background = '#667eea';\n                    this.style.color = 'white';\n                    setTimeout(() => {\n                        this.style.background = '#f0f7ff';\n                        this.style.color = '#667eea';\n                    }, 300);\n                });\n            });\n\n            \/\/ Map unit toggle\n            document.querySelectorAll('.map-unit-btn').forEach(btn => {\n                btn.addEventListener('click', function() {\n                    const unit = this.dataset.mapUnit;\n                    \n                    \/\/ Update button states\n                    document.querySelectorAll('.map-unit-btn').forEach(b => {\n                        if (b.dataset.mapUnit === unit) {\n                            b.style.background = '#667eea';\n                            b.style.color = 'white';\n                            b.classList.add('active');\n                        } else {\n                            b.style.background = 'white';\n                            b.style.color = '#667eea';\n                            b.classList.remove('active');\n                        }\n                    });\n                    \n                    \/\/ Update map distances\n                    updateMapDistances(unit);\n                });\n            });\n        }\n\n        \/\/ Update map distances between km and miles\n        function updateMapDistances(unit) {\n            const isKm = unit === 'km';\n            \n            \/\/ Update main map\n            \/\/ Distance labels on circles\n            document.getElementById('mapLabel1').textContent = isKm ? '50km' : '30mi';\n            document.getElementById('mapLabel2').textContent = isKm ? '200km' : '125mi';\n            document.getElementById('mapLabel3').textContent = isKm ? '500km' : '310mi';\n            \n            \/\/ Update modal map\n            document.getElementById('mapLabelModal1').textContent = isKm ? '50km' : '30mi';\n            document.getElementById('mapLabelModal2').textContent = isKm ? '200km' : '125mi';\n            document.getElementById('mapLabelModal3').textContent = isKm ? '500km' : '310mi';\n            \n            \/\/ City distances\n            const distElements = [\n                { id: 'mapDist1', modalId: 'mapDistModal1', km: 20 },    \/\/ Monaco\n                { id: 'mapDist2', modalId: 'mapDistModal2', km: 204 },   \/\/ Marseille\n                { id: 'mapDist3', modalId: 'mapDistModal3', km: 328 },   \/\/ Milan\n                { id: 'mapDist4', modalId: 'mapDistModal4', km: 933 },   \/\/ Paris\n                { id: 'mapDist5', modalId: 'mapDistModal5', km: 539 }    \/\/ Barcelona\n            ];\n            \n            distElements.forEach(dist => {\n                const element = document.getElementById(dist.id);\n                const modalElement = document.getElementById(dist.modalId);\n                const text = isKm ? dist.km + 'km' : Math.round(dist.km * 0.621371) + 'mi';\n                \n                if (element) element.textContent = text;\n                if (modalElement) modalElement.textContent = text;\n            });\n            \n            \/\/ Legend - main map\n            document.getElementById('mapLegend1').textContent = isKm ? '< 50km' : '< 30mi';\n            document.getElementById('mapLegend2').textContent = isKm ? '50-100km' : '30-60mi';\n            document.getElementById('mapLegend3').textContent = isKm ? '100-400km' : '60-250mi';\n            document.getElementById('mapLegend4').textContent = isKm ? '> 400km' : '> 250mi';\n            \n            \/\/ Legend - modal map\n            document.getElementById('mapLegendModal1').textContent = isKm ? '< 50km' : '< 30mi';\n            document.getElementById('mapLegendModal2').textContent = isKm ? '50-100km' : '30-60mi';\n            document.getElementById('mapLegendModal3').textContent = isKm ? '100-400km' : '60-250mi';\n            document.getElementById('mapLegendModal4').textContent = isKm ? '> 400km' : '> 250mi';\n        }\n\n        \/\/ Filter destinations by search\n        function filterDestinations(searchTerm) {\n            console.log('\ud83d\udd0d Filter term:', searchTerm);\n            const cards = document.querySelectorAll('.destination-card');\n            console.log('\ud83d\udce6 Total cards:', cards.length);\n            \n            let matchCount = 0;\n            cards.forEach(card => {\n                const name = card.dataset.name;\n                const matchesSearch = name.includes(searchTerm);\n                \n                if (matchesSearch) {\n                    card.classList.remove('hidden');\n                    matchCount++;\n                } else {\n                    card.classList.add('hidden');\n                }\n            });\n            console.log('\u2705 Matches found:', matchCount);\n            checkNoResults();\n        }\n\n        \/\/ Check if no results\n        function checkNoResults() {\n            const visibleCards = document.querySelectorAll('.destination-card:not(.hidden)');\n            const noResults = document.getElementById('noResults');\n            \n            if (visibleCards.length === 0) {\n                noResults.classList.add('show');\n            } else {\n                noResults.classList.remove('show');\n            }\n        }\n\n        \/\/ Initialize on load\n        document.addEventListener('DOMContentLoaded', init);\n\n        \/\/ Map Modal Functions\n        function openMapModal() {\n            const modal = document.getElementById('mapModal');\n            modal.classList.add('show');\n            document.body.style.overflow = 'hidden';\n        }\n\n        function closeMapModal() {\n            const modal = document.getElementById('mapModal');\n            modal.classList.remove('show');\n            document.body.style.overflow = 'auto';\n        }\n\n        \/\/ Add touch event for close button (mobile)\n        document.addEventListener('DOMContentLoaded', function() {\n            const closeBtn = document.querySelector('.map-modal-close');\n            if (closeBtn) {\n                \/\/ Touch event for mobile\n                closeBtn.addEventListener('touchstart', function(e) {\n                    e.preventDefault();\n                    e.stopPropagation();\n                    closeMapModal();\n                }, { passive: false });\n                \n                \/\/ Also keep click event\n                closeBtn.addEventListener('click', function(e) {\n                    e.preventDefault();\n                    e.stopPropagation();\n                    closeMapModal();\n                });\n            }\n        });\n\n        \/\/ Close modal on outside click\/touch\n        document.addEventListener('click', function(event) {\n            const modal = document.getElementById('mapModal');\n            if (event.target === modal) {\n                closeMapModal();\n            }\n        });\n\n        document.addEventListener('touchstart', function(event) {\n            const modal = document.getElementById('mapModal');\n            if (event.target === modal) {\n                closeMapModal();\n            }\n        });\n\n        \/\/ Close modal on escape key\n        document.addEventListener('keydown', function(event) {\n            if (event.key === 'Escape') {\n                closeMapModal();\n            }\n        });\n    <\/script>\n\n    <!-- Map Modal -->\n    <div id=\"mapModal\" class=\"map-modal\">\n        <div class=\"map-modal-content\">\n            <button class=\"map-modal-close\" id=\"modalCloseBtn\">\u00d7<\/button>\n            <h2 style=\"color: #667eea; font-weight: bold; text-align: center; margin-bottom: 10px;\">\ud83d\uddfa\ufe0f Distance Map from Nice<\/h2>\n            <p style=\"text-align: center; color: #555; margin-bottom: 20px;\"><strong>Tap the \u00d7 button or tap outside to close<\/strong><\/p>\n            \n            <!-- Map Unit Toggle in Modal -->\n            <div style=\"text-align: center; margin-bottom: 20px;\">\n                <button class=\"map-unit-btn active\" data-map-unit=\"km\" style=\"padding: 8px 20px; background: #667eea; color: white; border: 2px solid #667eea; border-radius: 20px 0 0 20px; font-weight: 600; cursor: pointer; min-height: 38px;\">Kilometers<\/button><button class=\"map-unit-btn\" data-map-unit=\"mi\" style=\"padding: 8px 20px; background: white; color: #667eea; border: 2px solid #667eea; border-radius: 0 20px 20px 0; font-weight: 600; cursor: pointer; min-height: 38px;\">Miles<\/button>\n            <\/div>\n            \n            <svg id=\"distanceMapSVGModal\" viewBox=\"0 0 800 500\" style=\"max-width: 100%; height: auto; margin: 0 auto; display: block; min-height: 500px;\">\n                <!-- Distance circles -->\n                <circle cx=\"400\" cy=\"250\" r=\"30\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"80\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"150\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                <circle cx=\"400\" cy=\"250\" r=\"220\" fill=\"none\" stroke=\"#e0e0e0\" stroke-width=\"1\" stroke-dasharray=\"4 4\"\/>\n                \n                <!-- Distance labels -->\n                <text id=\"mapLabelModal1\" x=\"430\" y=\"225\" fill=\"#999\" font-size=\"11\">50km<\/text>\n                <text id=\"mapLabelModal2\" x=\"480\" y=\"255\" fill=\"#999\" font-size=\"11\">200km<\/text>\n                <text id=\"mapLabelModal3\" x=\"550\" y=\"255\" fill=\"#999\" font-size=\"11\">500km<\/text>\n                \n                <!-- Nice (center) -->\n                <circle cx=\"400\" cy=\"250\" r=\"14\" fill=\"#667eea\"\/>\n                <text x=\"400\" y=\"275\" text-anchor=\"middle\" fill=\"#667eea\" font-weight=\"bold\" font-size=\"16\">NICE<\/text>\n                \n                <!-- Nearby cities -->\n                <circle cx=\"420\" cy=\"240\" r=\"7\" fill=\"#ff6b6b\"\/>\n                <text x=\"420\" y=\"230\" text-anchor=\"middle\" fill=\"#333\" font-size=\"12\" font-weight=\"600\">Monaco<\/text>\n                <text id=\"mapDistModal1\" x=\"420\" y=\"260\" text-anchor=\"middle\" fill=\"#666\" font-size=\"10\" data-km=\"20\">20km<\/text>\n                \n                <circle cx=\"360\" cy=\"245\" r=\"6\" fill=\"#ff6b6b\"\/>\n                <text x=\"360\" y=\"265\" text-anchor=\"middle\" fill=\"#333\" font-size=\"11\">Cannes<\/text>\n                \n                <circle cx=\"380\" cy=\"230\" r=\"5\" fill=\"#ffa500\"\/>\n                <text x=\"380\" y=\"220\" text-anchor=\"middle\" fill=\"#333\" font-size=\"10\">Antibes<\/text>\n                \n                <circle cx=\"440\" cy=\"245\" r=\"5\" fill=\"#ffa500\"\/>\n                <text x=\"460\" y=\"245\" text-anchor=\"start\" fill=\"#333\" font-size=\"10\">Menton<\/text>\n                \n                <!-- Medium distance -->\n                <circle cx=\"320\" cy=\"280\" r=\"6\" fill=\"#4CAF50\"\/>\n                <text x=\"320\" y=\"295\" text-anchor=\"middle\" fill=\"#333\" font-size=\"11\">Marseille<\/text>\n                <text id=\"mapDistModal2\" x=\"320\" y=\"305\" text-anchor=\"middle\" fill=\"#666\" font-size=\"9\" data-km=\"204\">204km<\/text>\n                \n                <circle cx=\"480\" cy=\"200\" r=\"6\" fill=\"#4CAF50\"\/>\n                <text x=\"480\" y=\"190\" text-anchor=\"middle\" fill=\"#333\" font-size=\"11\">Genoa<\/text>\n                \n                <circle cx=\"500\" cy=\"180\" r=\"6\" fill=\"#4CAF50\"\/>\n                <text x=\"520\" y=\"180\" text-anchor=\"start\" fill=\"#333\" font-size=\"11\">Milan<\/text>\n                <text id=\"mapDistModal3\" x=\"520\" y=\"190\" text-anchor=\"start\" fill=\"#666\" font-size=\"9\" data-km=\"328\">328km<\/text>\n                \n                <!-- Far distance -->\n                <circle cx=\"280\" cy=\"140\" r=\"7\" fill=\"#2196F3\"\/>\n                <text x=\"280\" y=\"130\" text-anchor=\"middle\" fill=\"#333\" font-size=\"13\" font-weight=\"600\">Paris<\/text>\n                <text id=\"mapDistModal4\" x=\"280\" y=\"155\" text-anchor=\"middle\" fill=\"#666\" font-size=\"11\" data-km=\"933\">933km<\/text>\n                \n                <circle cx=\"550\" cy=\"290\" r=\"6\" fill=\"#2196F3\"\/>\n                <text x=\"570\" y=\"290\" text-anchor=\"start\" fill=\"#333\" font-size=\"11\">Barcelona<\/text>\n                <text id=\"mapDistModal5\" x=\"570\" y=\"300\" text-anchor=\"start\" fill=\"#666\" font-size=\"9\" data-km=\"539\">539km<\/text>\n                \n                <circle cx=\"550\" cy=\"150\" r=\"6\" fill=\"#2196F3\"\/>\n                <text x=\"550\" y=\"140\" text-anchor=\"middle\" fill=\"#333\" font-size=\"11\">Florence<\/text>\n                \n                <!-- Legend -->\n                <g transform=\"translate(50, 420)\">\n                    <text x=\"0\" y=\"0\" fill=\"#333\" font-size=\"11\" font-weight=\"bold\">Distance:<\/text>\n                    <circle cx=\"60\" cy=\"-3\" r=\"4\" fill=\"#ff6b6b\"\/>\n                    <text id=\"mapLegendModal1\" x=\"70\" y=\"0\" fill=\"#666\" font-size=\"10\">&lt; 50km<\/text>\n                    <circle cx=\"125\" cy=\"-3\" r=\"4\" fill=\"#ffa500\"\/>\n                    <text id=\"mapLegendModal2\" x=\"135\" y=\"0\" fill=\"#666\" font-size=\"10\">50-100km<\/text>\n                    <circle cx=\"210\" cy=\"-3\" r=\"4\" fill=\"#4CAF50\"\/>\n                    <text id=\"mapLegendModal3\" x=\"220\" y=\"0\" fill=\"#666\" font-size=\"10\">100-400km<\/text>\n                    <circle cx=\"310\" cy=\"-3\" r=\"4\" fill=\"#2196F3\"\/>\n                    <text id=\"mapLegendModal4\" x=\"320\" y=\"0\" fill=\"#666\" font-size=\"10\">&gt; 400km<\/text>\n                <\/g>\n            <\/svg>\n        <\/div>\n    <\/div>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Hur l\u00e5ngt fr\u00e5n Nice, Frankrike? Avst\u00e5ndskalkylator till 35+ st\u00e4der | Nice reseguide \ud83d\uddfa\ufe0f Hur l\u00e5ngt fr\u00e5n Nice, Frankrike? Interaktiv avst\u00e5ndskalkylator till popul\u00e4ra destinationer Ber\u00e4kna avst\u00e5nd fr\u00e5n Nice, Frankrike till 40+ destinationer Nice, bel\u00e4get p\u00e5 den fantastiska franska rivieran, \u00e4r den perfekta basen f\u00f6r att utforska Medelhavet. Oavsett om du planerar dagsutflykter till\u2026<\/p>","protected":false},"author":1,"featured_media":3187,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"disable","_kad_post_title":"hide","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-3128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-travel"],"taxonomy_info":{"category":[{"value":2,"label":"Travel"}]},"featured_image_src_large":["https:\/\/nicepartylife.com\/wp-content\/uploads\/2025\/12\/How-Far-from-Nice-France.webp",1024,1024,false],"author_info":{"display_name":"Nice","author_link":"https:\/\/nicepartylife.com\/sv\/author\/nice\/"},"comment_info":0,"category_info":[{"term_id":2,"name":"Travel","slug":"travel","term_group":0,"term_taxonomy_id":2,"taxonomy":"category","description":"","parent":0,"count":39,"filter":"raw","cat_ID":2,"category_count":39,"category_description":"","cat_name":"Travel","category_nicename":"travel","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/posts\/3128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/comments?post=3128"}],"version-history":[{"count":9,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/posts\/3128\/revisions"}],"predecessor-version":[{"id":3146,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/posts\/3128\/revisions\/3146"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/media\/3187"}],"wp:attachment":[{"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/media?parent=3128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/categories?post=3128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nicepartylife.com\/sv\/wp-json\/wp\/v2\/tags?post=3128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}