/* Cemre Yachting: one isolated live OpenStreetMap map component.
   The old .route-map-* stylesheet rules do not apply to this component. */
.osm-route{width:100%;min-width:0;margin:18px 0 24px;font-family:Roboto,Arial,sans-serif}
.osm-route__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}
.osm-route__heading h2{margin:0;color:#192c48;font:700 clamp(21px,2.2vw,27px)/1.28 Roboto,Arial,sans-serif}
.osm-route__heading span{color:#7d90a8;font:400 13px/1.5 Roboto,Arial,sans-serif;white-space:nowrap}
.osm-route__viewport{position:relative;isolation:isolate;width:100%;height:clamp(350px,40vw,535px);border-radius:12px;border:1px solid #d4e2eb;overflow:hidden;background:#e4f1f6}
.osm-route__canvas{position:absolute;inset:0;display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;min-width:0;min-height:0;z-index:1}
.osm-route__canvas canvas{display:block}
.osm-route__notice{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:20px;color:#445a71;background:linear-gradient(145deg,#e1eff4,#e8f1f4);font:500 14px/1.6 Roboto,Arial,sans-serif}
.osm-route__notice[hidden]{display:none!important}
.osm-route__notice button{cursor:pointer;border:1px solid #bbd4ec;border-radius:8px;padding:10px 15px;background:#477cc5;color:white;font:700 13px/1.3 Roboto,Arial,sans-serif}
.osm-route__notice button:hover{background:#3268ac}
.osm-route__foot{display:block;margin-top:10px}
.osm-route__foot p{margin:0;color:#74869b;font:400 12px/1.5 Roboto,Arial,sans-serif}
.osm-route__foot a{display:inline-flex;gap:5px;align-items:center;color:#477cc5;font:700 12px/1.5 Roboto,Arial,sans-serif;white-space:nowrap;text-decoration:none}
.osm-route__foot a:hover{color:#244d81}
.osm-route__foot .ui-icon{width:14px;height:14px}
.osm-route__canvas .maplibregl-ctrl-attrib{font-size:10px}
/* Minimal teardrop markers; the 40x42px tap target remains accessible. */
.osm-route__pin{display:grid;place-items:center;width:40px;height:42px;padding:0;border:0;background:transparent;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;}
.osm-route__pin-shape{display:grid;place-items:center;width:24px;height:24px;border-radius:50% 50% 50% 5px;background:#327ab5;border:2px solid #fff;box-shadow:0 3px 9px rgba(20,45,73,.22);transform:rotate(-45deg);}
.osm-route__pin-label{display:block;transform:rotate(45deg);color:#fff;font:700 10px/1 Roboto,Arial,sans-serif;}
.osm-route__pin:focus:not(:focus-visible){outline:none;}
.osm-route__pin:focus-visible{outline:2px solid #ffd66c;outline-offset:1px;border-radius:8px;}
.osm-route__canvas .maplibregl-popup-close-button{border:0;border-radius:6px;background:transparent;color:#61738a;padding:3px 7px;font:700 18px/1 Roboto,Arial,sans-serif;-webkit-tap-highlight-color:transparent;}
.osm-route__canvas .maplibregl-popup-close-button:hover{color:#193f63;background:#eef3f8;}
.osm-route__canvas .maplibregl-popup-close-button:focus:not(:focus-visible){outline:none!important;box-shadow:none!important;}
.osm-route__canvas .maplibregl-popup-close-button:focus-visible{outline:2px solid #83aef1;outline-offset:1px;}
.osm-route__canvas .maplibregl-popup-content{border-radius:9px;padding:12px 34px 12px 13px;color:#203e60;font:600 13px/1.5 Roboto,Arial,sans-serif;box-shadow:0 6px 22px rgba(22,42,65,.18)}
.osm-route__canvas .maplibregl-ctrl-group{border-radius:9px;overflow:hidden}
@media(max-width:720px){
 .osm-route{margin-top:12px}
 .osm-route__viewport{height:385px;border-radius:10px}
 .osm-route__foot{align-items:flex-start;flex-direction:column;gap:6px}
 .osm-route__heading h2{font-size:21px}
}
@media(max-width:420px){.osm-route__viewport{height:340px}.osm-route__notice{font-size:12px;padding:18px}}
