.gr221-overview{margin:20px 0 16px;min-width:0}
.gr221-overview-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px 24px;flex-wrap:wrap;margin-bottom:12px}
#dialkove-treky :is(.gr221-intro-ending > h2, .gr221-overview-heading h4) {
  color:var(--accent);
  font:600 clamp(1.2rem,3vw,1.8rem)/1.3 var(--body);
  letter-spacing:normal;
}
@media (min-width:1024px) {
  #dialkove-treky .gr221-intro-ending > h2 {
    font-size:1.25rem;
  }
}
.gr221-overview-heading h4{margin:0}
.gr221-overview-heading p{margin:4px 0 0}
#dialkove-treky :is(.gr221-intro-plain .guide-description, .gr221-overview-heading p) {
  color:#c9c9c1;
  font:400 var(--description-font-size)/var(--description-line-height) var(--body);
}
.gr221-overview-map{height:clamp(300px,37vw,490px);width:100%;position:relative;z-index:0;border:1px solid #ffbe0b80;border-radius:10px;overflow:hidden;background:#18262c;color:var(--text);isolation:isolate}
.gr221-overview-map .leaflet-tile-pane{filter:saturate(.7) brightness(.8)}
.gr221-overview-map .leaflet-control-attribution{font-size:10px;color:#222;background:#ffffffe8}
.gr221-overview-map .leaflet-control-attribution a{color:#263c45}
.gr221-overview-map .leaflet-bar a{background:#151819;color:#fff;border-color:#555}
.gr221-map-marker{background:transparent;border:0}
.gr221-map-marker span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:7px;border-radius:50%;border:2px solid #eee;background:#1a1c1f;color:#fff;font:600 .875rem/1 var(--body);box-shadow:0 2px 8px #0008;transition:background .2s,color .2s,border-color .2s}
.gr221-map-marker.is-selected span{background:var(--accent);border-color:#ffdc79;color:#090909;box-shadow:0 0 0 4px #ffbe0b30,0 2px 8px #0008}
.gr221-map-marker:focus-visible{outline:3px solid var(--accent);outline-offset:0;border-radius:50%}
.gr221-overview-map .gr221-place{background:none;border:0;box-shadow:none;color:#fff;text-shadow:0 1px 3px #000,0 0 5px #000;font:500 12px/1.3 var(--body)}
.gr221-overview-map .gr221-place:before{display:none}
.gr221-overview-map .leaflet-tooltip{font-family:var(--body)}
.gr221-overview-detail{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;padding:12px 2px 0;min-height:50px}
.gr221-overview-detail strong{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0;max-width:100%;color:var(--text);font:600 clamp(1.2rem,3vw,1.8rem)/1.3 var(--body);letter-spacing:normal}
.gr221-route-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;color:var(--text);font:400 .8125rem/1.4 var(--body)}
.gr221-route-legend span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.gr221-route-legend span::before{content:"";display:block;flex:none;width:26px;height:3px;border-radius:99px;background:#e6a0a7;box-shadow:0 0 0 1px #fff}
.gr221-route-legend .gr221-legend-selected::before{height:5px;background:#ef273b}
@media(max-width:560px){.gr221-route-legend{margin-top:10px}}
.gr221-route-start,.gr221-route-end{min-width:0;flex:0 1 auto}
.gr221-route-chevron{display:inline-flex;flex:none;align-items:center;justify-content:center;color:#aaa9a1}
.gr221-route-chevron>svg{display:block;width:20px;height:20px}
.gr221-overview-detail .gr221-route-end{color:var(--accent)}
#gr221-panel .gr221-day-card>.episode-kicker{display:block;color:var(--accent)}
#gr221-panel .gr221-day-card>.episode-kicker .gr221-day-number{color:var(--accent)}
.gr221-overview-status{margin:8px 2px 0;min-height:1.4em;line-height:1.4;color:#bdbdb6;font-size:.875rem}
.gr221-overview-status:empty{display:block}
/* Keep mobile day buttons close to the route while reserving a status line. */
@media(max-width:819px){
  #gr221-panel.series-panel{padding-top:12px}
  .gr221-overview{margin-top:12px;margin-bottom:6px}
  .gr221-overview-detail{min-height:0}
  .gr221-overview-status{margin-top:4px}
}
.gr221-full-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;box-sizing:border-box;margin:0;padding:11px 18px;border:1px solid #ffbe0b80;border-radius:999px;background:#17170e;color:var(--accent);font:700 .8125rem/1.4 var(--body);text-align:center;text-decoration:none;touch-action:manipulation}
@media(hover:hover) and (pointer:fine){.gr221-overview-actions .gr221-full-download:hover{background:var(--accent);border-color:var(--accent);color:#090909}}
.gr221-full-download:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
#gr221-panel.has-day-timeline .gr221-day-picker{gap:8px;padding:8px;background:#090909f5;border:0;border-radius:8px}
#gr221-panel.has-day-timeline .gr221-day-picker :is(button,a){flex:1 0 66px;justify-content:center;min-height:46px;border:1px solid #ffbe0b60;border-radius:6px;color:#ddd;background:#0e0e0e;padding:8px 4px;font-size:.875rem}
#gr221-panel.has-day-timeline .gr221-day-picker :is(button,a)::before,#gr221-panel.has-day-timeline .gr221-day-picker :is(button,a)::after{display:none}
#gr221-panel.has-day-timeline .gr221-day-picker :is(button,a)[aria-pressed="true"]{background:var(--accent);border:1px solid var(--accent);color:#080808}
@media(max-width:560px){.gr221-overview-map{height:310px}.gr221-overview-heading{display:block}.gr221-overview-heading p{margin-top:4px}.gr221-overview-heading .gr221-full-download{margin-top:12px}.gr221-overview-detail{display:block}}
@media(prefers-reduced-motion:reduce){.gr221-map-marker span{transition:none}}
.native-map{touch-action:none;user-select:none;-webkit-user-select:none}
.gr221-map-tiles,.gr221-map-lines,.gr221-map-markers{position:absolute;inset:0;width:100%;height:100%}
.gr221-map-tiles{overflow:hidden}
.gr221-map-tiles img{position:absolute;max-width:none;max-height:none;border:0;pointer-events:none}
.gr221-map-lines{pointer-events:none;overflow:hidden}
.gr221-gpx-line,.gr221-gpx-outline{fill:none;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.gr221-gpx-outline{stroke:#fff;stroke-width:5}
.gr221-gpx-outline.is-selected{stroke-width:7}
.gr221-gpx-line{stroke:#e6a0a7;stroke-width:3}
.gr221-gpx-line.is-selected{stroke:#ef273b;stroke-width:5}
.gr221-map-markers{pointer-events:none}
.gr221-native-marker{pointer-events:auto;position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:34px;height:34px;border:2px solid #eee;border-radius:50%;background:#1a1c1f;color:#fff;box-shadow:0 2px 8px #0008;font:600 .875rem/1 var(--body);cursor:pointer;touch-action:manipulation}
.gr221-native-marker:before{content:"";position:absolute;inset:-6px;border-radius:50%}
.gr221-native-marker.is-selected{background:var(--accent);border-color:#ffdc79;color:#090909;z-index:1;box-shadow:0 0 0 4px #ffbe0b30,0 2px 8px #0008}
.gr221-native-marker:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.gr221-native-place{position:absolute;color:#fff;text-shadow:0 1px 3px #000;font:500 12px/1.3 var(--body)}
.gr221-map-tools{position:absolute;top:12px;left:12px;display:flex;gap:4px;z-index:3}
.gr221-map-tools button{height:40px;min-width:40px;padding:0 10px;border:1px solid #ffffff50;border-radius:5px;background:#131717ed;color:#fff;font:500 .875rem/1 var(--body);cursor:pointer;touch-action:manipulation}
.gr221-map-attribution{position:absolute;right:0;bottom:0;z-index:3;max-width:100%;background:#ffffffe8;color:#222;padding:3px 5px;font:400 10px/1.3 var(--body);user-select:text}
.gr221-map-attribution a{color:#263c45}
.gr221-map-fallback-credit[hidden]{display:none}
.gr221-mapy-logo{position:absolute;left:10px;bottom:10px;z-index:3;display:block;line-height:0}
.gr221-mapy-logo img{display:block;width:100px;height:30px;max-width:none}
.gr221-mapy-logo:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:560px){.gr221-mapy-logo{bottom:30px}.gr221-map-attribution{font-size:9px}}

.gr221-overview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:520px}
.gr221-overview-actions .gr221-full-download,.gr221-gear-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;margin:0!important;padding:11px 10px;border:1px solid #ffbe0b80;border-radius:999px;background:#17170e;color:var(--accent);font:700 clamp(.6875rem,2.8vw,.8125rem)/1.4 var(--body);text-align:center;text-decoration:none;touch-action:manipulation}
.gr221-gear-toggle{cursor:pointer}
.gr221-gear-toggle:hover,.gr221-gear-toggle[aria-expanded="true"]{background:var(--accent);color:#090909}
.gr221-gear-toggle[aria-expanded="true"] .gr221-action-chevron{transform:rotate(180deg)}
.gr221-gear-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.gr221-gear-panel{margin:0 0 16px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#0c0d0b}
.gr221-gear-panel[hidden]{display:none}
.gr221-gear-panel h5{margin:0 0 8px;color:var(--accent);font:600 1rem/1.4 var(--body)}
.gr221-gear-panel p{margin:0;color:var(--text);font:400 .875rem/1.5 var(--body)}
@media(max-width:560px){.gr221-overview-actions{margin-top:12px}}

.gr221-overview-actions .gr221-action-icon{display:block;flex:0 0 auto;width:23px;height:23px}
.gr221-overview-actions .gr221-action-chevron{display:block;flex:0 0 auto;width:16px;height:16px}
.gr221-overview-actions .gr221-action-label{min-width:0}
@media(max-width:400px){.gr221-overview-actions{gap:8px}.gr221-overview-actions .gr221-full-download,.gr221-overview-actions .gr221-gear-toggle{gap:6px;padding-inline:6px;font-size:.6875rem}.gr221-overview-actions .gr221-action-icon{width:20px;height:20px}.gr221-overview-actions .gr221-action-chevron{width:13px;height:13px}}

.gr221-gear-panel .gr221-gear-intro{margin-bottom:16px}

.gr221-gear-bag{display:flex;align-items:center;gap:13px;padding:4px 0 20px;margin-top:22px;border-bottom:1px solid var(--line)}
.gr221-gear-bag>svg{width:30px;height:30px;flex:none;color:var(--accent)}
.gr221-gear-bag strong{display:block;color:var(--text);font:600 .9375rem/1.5 var(--body)}
.gr221-gear-bag span{display:block;margin-top:3px;color:var(--muted);font:400 .8125rem/1.5 var(--body)}
.gr221-gear-category{padding-top:20px;margin-top:24px;border-top:1px solid var(--line)}
.gr221-gear-bag+.gr221-gear-category{border-top:0;margin-top:0}
#gr221-panel .gr221-gear-category h6{display:flex;align-items:center;gap:10px;margin:0;color:var(--accent);font:600 1rem/1.4 var(--body)}
.gr221-gear-category h6>svg{width:21px;height:21px;flex:none}

.gr221-gear-items{list-style:none;margin:12px 0 0;padding:0;color:var(--text);font:400 .9375rem/1.5 var(--body)}
.gr221-gear-items li{position:relative;padding:10px 0 10px 18px;border-bottom:1px solid var(--line)}
.gr221-gear-items li::before{content:"•";position:absolute;left:0;color:var(--accent)}
.gr221-gear-items li:last-child{border-bottom:0}

.gr221-gear-panel .gr221-gear-intro{text-align:justify;text-align-last:left;text-justify:inter-word;hyphens:none;-webkit-hyphens:none;word-break:normal;overflow-wrap:normal}

/* Match the long-distance trek description across equipment body text. */
.gr221-gear-panel p,.gr221-gear-bag strong,.gr221-gear-bag span,.gr221-gear-items{color:#c9c9c1;font-size:clamp(.9375rem,1.15vw,1.0625rem);line-height:1.65}
@media(min-width:1200px){.gr221-gear-panel p,.gr221-gear-bag strong,.gr221-gear-bag span,.gr221-gear-items{font-size:.9375rem;line-height:1.45}}
