#map{height:400px;margin:15px auto 0;border-radius:3px;position:relative}.track-popup .leaflet-popup-content,.photo-popup .leaflet-popup-content{max-width:300px;word-wrap:break-word;overflow-wrap:break-word;display:flex;justify-content:center;align-items:center;padding:0;background:transparent;margin:0;min-width:calc(2 / 3 * 100vw)}.track-popup .leaflet-popup-content-wrapper,.photo-popup .leaflet-popup-content-wrapper{padding:0;background:transparent;border:none;width:100%;min-width:calc(2 / 3 * 100vw);max-width:none;height:auto}.track-popup .leaflet-popup-tip,.photo-popup .leaflet-popup-tip{background:gray}.photo-popup .leaflet-popup-content img{width:100%;height:100%;object-fit:contain;border-radius:10px;border:2px solid gray}@media(min-width:600px){.track-popup .leaflet-popup-content-wrapper,.photo-popup .leaflet-popup-content-wrapper,.track-popup .leaflet-popup-content,.photo-popup .leaflet-popup-content{min-width:400px!important}}@media(min-width:1000px){#map{height:600px;margin:15px auto 0;border-radius:3px;position:relative}}@media(min-width:700px){#map{height:500px;margin:15px auto 0;border-radius:3px;position:relative}}.popup-container{text-align:center}.popup-image{width:100%;max-width:400px;border-radius:8px;transition:transform .3s ease}.popup-image:hover{transform:scale(1.01)}.popup-caption{background:#000000b3;color:#fff;font-size:14px;text-align:center;padding:10px 5px 5px;border-radius:0 0 8px 8px;margin-top:-10px}.map-viewport-gallery-wrapper{margin-top:16px}.map-viewport-gallery-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:15px}.map-viewport-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}.map-gallery-item{position:relative;overflow:hidden;border-radius:8px;background:#f3f3f3}.map-gallery-item img{width:100%;height:130px;object-fit:cover;display:block;transition:transform .25s ease}.map-gallery-item:hover img{transform:scale(1.04)}.map-gallery-caption{position:absolute;left:0;right:0;bottom:0;padding:6px 8px;font-size:12px;line-height:1.25;color:#fff;background:linear-gradient(transparent,#000000bf);pointer-events:none}.map-gallery-empty{text-align:center;padding:16px;color:#666}.leaflet-control-show-gallery span{font-size:17px;line-height:26px}.leaflet-control-show-gallery.active{background:#dceeff;color:#06c}.leaflet-control-show-gallery.active span{font-weight:700}.map-gallery-item{position:relative}.map-gallery-show-on-map{position:absolute;top:6px;right:6px;width:28px;height:28px;border:none;border-radius:50%;background:#000000b3;color:#fff;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;font-size:15px;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .2s ease,transform .2s ease,background-color .2s ease}.map-gallery-item:hover .map-gallery-show-on-map{opacity:1;visibility:visible;transform:translateY(0)}.map-gallery-show-on-map:hover{background:#00000080}.map-gallery-load-more-wrapper{grid-column:1 / -1;text-align:center;margin-top:6px;margin-bottom:12px}.map-gallery-load-more{padding:8px 18px;font-weight:700;cursor:pointer;border:1px solid #000;border-radius:5px;background-color:#f3891d;color:#000;transition:all .3s ease}.map-gallery-load-more:hover{background:#ff7e00}
