* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { color: #1e273d; background: #eef2ff; font: 16px/1.45 Arial, sans-serif; }
a { color: #304cc5; text-underline-offset: 3px; }
a:hover { color: #182d8d; }
a:focus-visible, button:focus-visible, #clinic-map:focus-visible { outline: 3px solid #304cc5; outline-offset: -3px; }
::selection { color: #fff; background: #304cc5; }
.clinic-location { display: grid; grid-template-columns: 310px minmax(0, 1fr); height: 100%; }
.location-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
.location-details h1 { margin: 0 0 12px; font: 700 27px/1.15 Georgia, serif; }
.location-address { margin: 0 0 16px; }
.location-phone { font-size: 20px; font-weight: 700; margin-bottom: 3px; text-decoration: none; }
.location-hours { width: 100%; margin: 18px 0; }
.location-hours div { display: flex; justify-content: space-between; gap: 12px; }
.location-hours dd { margin: 0; }
.location-messengers { display: flex; gap: 22px; margin-bottom: 18px; }
.location-route { display: inline-block; padding: 12px 18px; background: #4963e8; color: #fff; border-radius: 5px; text-decoration: none; font-weight: 700; }
.location-route:hover { background: #344dcd; color: #fff; }
.location-map-panel { position: relative; min-width: 0; background: #e4e9ef; }
#clinic-map { width: 100%; height: 100%; z-index: 0; font-family: Arial, sans-serif; }
.map-status, .map-fallback { position: absolute; bottom: 28px; left: 14px; right: 14px; margin: 0; padding: 10px 14px; background: #fff; font-size: 14px; z-index: 500; }
.map-status[hidden], .map-reset[hidden] { display: none; }
.map-reset { position: absolute; top: 12px; right: 12px; z-index: 500; padding: 11px 15px; border: 0; border-radius: 5px; background: #fff; color: #1e273d; font: 700 14px Arial, sans-serif; cursor: pointer; box-shadow: 0 2px 10px #1e273d26; }
.clinic-pin { background: #4963e8; border: 3px solid white; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); width: 32px; height: 32px; box-shadow: 0 3px 10px #1e273d40; }
.clinic-pin::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.leaflet-tooltip.clinic-label { border: 0; padding: 7px 10px; color: #1e273d; font-size: 14px; font-weight: 700; }
.leaflet-control-attribution { font-size: 11px; }
@media (max-width: 700px) {
    .clinic-location { grid-template-columns: 1fr; grid-template-rows: 330px minmax(0, 1fr); }
    .location-map-panel { grid-row: 1; }
    .location-details { padding: 20px 24px; justify-content: center; }
    .location-details h1 { font-size: 25px; margin-bottom: 8px; }
    .location-address { margin-bottom: 10px; }
    .location-address br { display: none; }
    .location-hours { margin: 12px 0; max-width: 310px; }
    .location-messengers { margin-bottom: 12px; }
    .location-route { padding: 10px 16px; }
}
