:root{
      --brand:#02316D;
      --brand-dark:#012856;
      --text:#243041;
      --line:#e6ebf2;
      --soft:#f7f9fc;
      --soft-blue:#eef6fb;
      --shadow:0 18px 42px rgba(15,23,42,.08);
      --radius-xl:28px;
      --radius-lg:22px;
      --radius-md:18px;
      --tour-yellow:#ffd84d;
      --tour-yellow-border:#d6a800;
      --flat:#1f7a39;
      --hilly:#c2410c;
      --mountain:#a12626;
      --tempo:#005fcb;
      --card-shadow:0 10px 24px rgba(15,23,42,.06);
      --gold:#8a6d3b;
      --blue-soft:#edf4fb;
    }
    *{box-sizing:border-box;}
    html{scroll-behavior:smooth;}
    .fr-page{margin:0;font-family:Arial, Helvetica, sans-serif;color:var(--text);background:#fff;}
    img{max-width:100%;display:block;}
    a{color:var(--brand);text-decoration:none;}
    a:hover{text-decoration:underline;}
    .fr-page{width:100%;max-width:var(--maxw,1180px);margin:0 auto;padding:6px 14px 0;}
    .fr-hero{display:grid;grid-template-columns:600px minmax(0,1fr);gap:16px;margin:0 auto 34px;align-items:stretch;}
    .fr-hero-media{width:600px;min-width:600px;min-height:600px;height:600px;border-radius:var(--radius-xl);overflow:hidden;background:#dbe6f0;}
    .fr-hero-media img{width:600px;height:600px;object-fit:cover;}
    .fr-hero-copy{min-height:600px;height:600px;padding:4px 6px 10px 10px;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden;}
    .fr-kicker{display:inline-block;margin:0 0 8px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--brand);}
    h1{margin:0 0 10px;font-size:56px;line-height:1.02;letter-spacing:-.03em;color:#121826;}
    .fr-hero-lead{margin:0 0 12px;font-size:20px;line-height:1.45;font-weight:800;color:#1f2937;}
    .fr-hero-copy p,.fr-intro p,.fr-section p,.fr-section li,.fr-conclusion p,.fr-stismuler{font-size:18px;line-height:1.78;color:#2d3748;}
    .fr-hero-copy p{margin:0 0 10px;font-size:17px;line-height:1.62;}
    .fr-content{width:100%;}
    .fr-intro{margin:0 0 28px;padding:0 0 18px;border-bottom:1px solid var(--line);}
    .fr-toc{margin:0 0 36px;padding:22px 24px;background:var(--soft);border:1px solid var(--line);border-radius:24px;}
    .fr-toc h2{margin:0 0 12px;font-size:28px;line-height:1.15;color:#111827;}
    .fr-toc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;}
    .fr-toc a{display:block;padding:8px 0;font-weight:700;}
    .fr-ad-float{width:100%;background:var(--soft-blue);border:1px solid #d6e7f2;border-radius:22px;overflow:hidden;}
    .fr-ad-label{display:block;padding:12px 16px 10px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);border-bottom:1px solid #d6e7f2;background:var(--soft-blue);}
    .fr-ad-frame{line-height:0;background:var(--soft-blue);}
    .fr-ad-frame iframe{display:block;width:100%;max-width:390px;border:0;margin:0;}
    .fr-section{margin:0 0 40px;padding-bottom:8px;border-bottom:1px solid var(--line);clear:both;}
    .fr-section:last-of-type{border-bottom:none;}
    .fr-section h2{margin:0 0 14px;font-size:36px;line-height:1.12;letter-spacing:-.02em;color:#111827;scroll-margin-top:24px;}
    .fr-section h3{margin:24px 0 10px;font-size:24px;line-height:1.24;color:#162032;}
    .fr-section p{margin:0 0 15px;}
    .fr-section ul{margin:8px 0 16px 24px;padding:0;}
    .fr-section li{margin:0 0 8px;}
    .fr-float-stack,.fr-bottom-right-stack{float:right;width:390px;max-width:100%;margin:4px 0 18px 28px;display:flex;flex-direction:column;gap:16px;}
    .fr-note{margin:18px 0 0;padding:16px 18px;border-radius:18px;background:#f7f9fc;border:1px solid var(--line);font-size:17px;line-height:1.72;color:#334155;}
    .fr-stismuler{margin:0 0 18px;}
    .fr-stismuler a{font-weight:700;}
    .fr-conclusion{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);}
    .fr-conclusion h2{margin:0 0 12px;font-size:34px;line-height:1.15;color:#111827;}

    /* Refreshed content blocks from draft */
    .tdf-subkicker{margin:0 0 8px;font-size:12px;line-height:1.2;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brand);}
    .tdf-lead{margin:0 0 16px;font-size:17px;color:#4b5563;line-height:1.72;}
    .tdf-grid-2{display:grid;grid-template-columns:1.35fr .85fr;gap:18px;}
    .tdf-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
    .tdf-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
    .tdf-card,.tdf-info-card,.tdf-spot-card,.tdf-road-card,.tdf-timeline-card,.tour-map-wrap{background:#fff;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--card-shadow);}
    .tdf-card,.tdf-info-card,.tdf-timeline-card{padding:22px;}
    .tdf-card h3,.tdf-info-card h3{margin:0 0 10px;font-size:26px;line-height:1.08;color:#111827;}
    .tdf-card p,.tdf-card li,.tdf-info-card p,.tdf-timeline-card p{font-size:16px;line-height:1.72;color:#263341;}
    .tdf-card ul{margin:0;padding-left:18px;}
    .tdf-info-card strong{display:block;margin:0 0 8px;font-size:11px;line-height:1.2;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);}
    .tdf-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
    .tdf-pill{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--brand);font-size:11px;font-weight:700;}
    .tour-map-wrap{padding:18px;}
    .tour-map-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px;}
    .tour-map-head p{margin:0;color:#4b5563;font-size:15px;max-width:760px;line-height:1.65;}
    .tour-map-actions{display:flex;gap:10px;flex-wrap:wrap;}
    .tour-map-btn,.stage-chip,.cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:999px;background:var(--blue-soft);border:1px solid #d9e7f5;color:var(--brand);font-size:13px;font-weight:700;text-decoration:none;cursor:pointer;appearance:none;}
    .tour-map-btn:hover,.stage-chip:hover,.cta-btn:hover{background:#e4effa;text-decoration:none;}
    .cta-btn.is-primary{background:var(--brand);border-color:var(--brand);color:#fff;}
    .map-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 16px;}
    .stage-chip{width:100%;text-align:center;}
    .stage-chip.is-active{background:var(--brand);color:#fff;border-color:var(--brand);}
    .stage-chip.stage-all{background:#fff7ed;border-color:#fed7aa;color:#c2410c;}
    #tourMap{width:100%;height:760px;border-radius:22px;overflow:hidden;background:#eef4f8;border:1px solid #e5edf5;}
    .tour-map-note{margin:14px 0 0;padding:12px 14px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;}
    .tdf-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
    .tdf-timeline-card h3{margin:0 0 6px;font-size:19px;line-height:1.14;color:#111827;}
    .tdf-date{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f8fafc;border:1px solid #e5edf5;color:var(--brand);font-size:11px;font-weight:700;margin-bottom:10px;}
    .tdf-timeline-card.is-rest{background:linear-gradient(180deg,#fffaf5 0%,#fff 100%);}
    .tdf-spot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;}
    .tdf-spot-card{display:flex;flex-direction:column;height:100%;}
    .tdf-spot-media{width:100%;aspect-ratio:2 / 1;height:auto;background:#dbe7f2 center/cover no-repeat;transition:transform .35s ease;flex:0 0 auto;}
    .tdf-spot-card:hover .tdf-spot-media,.tdf-road-card:hover .tdf-road-thumb{transform:scale(1.02);}
    .tdf-spot-body{padding:18px;display:flex;flex-direction:column;flex:1 1 auto;}
    .tdf-spot-body h3{margin:0 0 8px;font-size:24px;line-height:1.08;color:#111827;}
    .tdf-spot-body p{margin:0 0 12px;font-size:15px;color:#263341;line-height:1.65;}
    .tdf-road-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
    .tdf-road-card{text-decoration:none;color:inherit;display:block;}
    .tdf-road-thumb{aspect-ratio:4/3;overflow:hidden;background:#eef2f6 center/cover no-repeat;transition:transform .35s ease;}
    .tdf-road-text{padding:16px 16px 18px;}
    .tdf-road-text h3{margin:0 0 8px;font-size:20px;line-height:1.12;color:#111827;}
    .tdf-road-text p{margin:0;color:#4b5563;font-size:14px;line-height:1.58;}
    .tdf-spot-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto;}
    .tdf-spot-meta .tdf-chip-row{margin-top:0;flex:1 1 auto;}
    .tdf-stage-jump{white-space:nowrap;flex:0 0 auto;}
    .tdf-road-empty{grid-column:1 / -1;padding:22px;border:1px dashed #cbd5e1;border-radius:22px;background:#f8fafc;color:#475569;font-size:15px;line-height:1.6;}
    .tdf-destination-card .tdf-road-thumb{background-color:#eef2f6;background-position:center;background-size:cover;background-repeat:no-repeat;}
    .tdf-destination-card{display:flex;flex-direction:column;height:100%;}
    .tdf-road-text{display:flex;flex-direction:column;flex:1 1 auto;}
    .tdf-destination-actions{margin-top:14px;}
    .tdf-destination-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:999px;background:var(--brand);border:1px solid var(--brand);color:#fff;font-size:13px;font-weight:700;text-decoration:none;}
    .tdf-destination-btn:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff;text-decoration:none;}



    .leaflet-popup-content-wrapper{border-radius:18px;box-shadow:0 12px 28px rgba(15,23,42,.16);overflow:hidden;}
    .leaflet-popup-content{margin:0;width:280px !important;}
    .tdf-popup{font-family:Arial,Helvetica,sans-serif;overflow:hidden;}
    .tdf-popup-body{padding:14px;}
    .tdf-popup strong{display:block;margin:0 0 6px;font-size:16px;line-height:1.2;color:#111827;}
    .tdf-popup p{margin:0 0 10px;font-size:13px;line-height:1.5;color:#475569;}
    .tdf-stats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;}
    .tdf-stats span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f8fafc;border:1px solid #e5edf5;color:var(--brand);font-size:11px;font-weight:700;}
    .stage-badge{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--tour-yellow);border:2px solid var(--tour-yellow-border);color:#3c2b00;font-size:13px;font-weight:900;box-shadow:0 8px 16px rgba(15,23,42,.18);}
    .stage-end{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid var(--brand);color:var(--brand);font-size:11px;font-weight:900;box-shadow:0 8px 16px rgba(15,23,42,.16);}

    @media (max-width:980px){
      .fr-hero{grid-template-columns:1fr;gap:18px;}
      .fr-hero-media{width:100%;min-width:0;min-height:auto;height:auto;aspect-ratio:1/1;}
      .fr-hero-copy{min-height:auto;height:auto;padding:16px 8px 10px;overflow:visible;}
      h1{font-size:50px;}
      .fr-hero-lead{font-size:21px;}
      .fr-float-stack,.fr-bottom-right-stack{float:none;width:100%;margin:0 0 18px;}
      .fr-toc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
      .tdf-grid-2,.tdf-grid-3,.tdf-timeline,.tdf-road-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
      .map-controls{grid-template-columns:repeat(4,minmax(0,1fr));}
    }
    @media (max-width:640px){
      h1{font-size:40px;}
      .fr-hero-lead{font-size:19px;line-height:1.55;}
      .fr-hero-copy p,.fr-intro p,.fr-section p,.fr-section li,.fr-conclusion p,.fr-stismuler{font-size:17px;line-height:1.76;}
      .fr-section h2,.fr-conclusion h2{font-size:30px;}
      .fr-toc h2{font-size:25px;}
      .fr-section h3{font-size:22px;}
      .tdf-grid-2,.tdf-grid-3,.tdf-timeline,.tdf-spot-grid,.tdf-road-grid,.map-controls{grid-template-columns:1fr;}
      #tourMap{height:540px;}
      .leaflet-popup-content{width:240px !important;}
      .tdf-spot-media{aspect-ratio:2 / 1;height:auto;}
    }
