/* osvita.city: small additions to the old site.css/theme.css for the rebuilt pages */
.os-map { width: 100%; height: 100%; min-height: 320px; }
.os-filters details > summary { list-style: none; cursor: pointer; }
.os-filters details > summary::-webkit-details-marker { display: none; }
.os-filters details[open] { position: relative; }
.os-filter-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; min-width: 240px; margin: 0; padding: 8px 0; background: #fff; box-shadow: 0 6px 18px rgba(6, 41, 62, .18); list-style: none; text-align: left; }
.os-filter-list li a { display: block; padding: 8px 16px; color: #06293e; }
.os-filter-list li a:hover, .os-filter-list li a.active { background: #f0f8ff; color: #9b1e3e; }
.os-gallery .cat-image a { display: block; height: 420px; background-size: cover; background-position: center; }
.os-subscribe-msg { margin: 8px 0 0; font-size: 14px; }
.os-empty { padding: 12px 0; color: #fff; }
.pagination-container .pagination { display: flex; flex-wrap: wrap; gap: 4px; padding: 16px 0; margin: 0; list-style: none; }
.pagination-container .pagination li a, .pagination-container .pagination li span { display: inline-block; min-width: 36px; padding: 6px 10px; border: 1px solid #a3cef0; color: #06293e; text-align: center; }
.pagination-container .pagination li.active a { background: #06293e; border-color: #06293e; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* map of schools: brand pins, hover cards */
.os-pin { background: none; border: 0; cursor: pointer; }
.os-drop { width: 28px; height: 28px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: #9b1e3e; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(6, 41, 62, .35); display: grid; place-items: center; box-sizing: border-box; transition: transform .2s, background .2s; }
.os-drop span { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.os-pin:hover .os-drop, .os-pin:focus .os-drop, .os-pin.active .os-drop { background: #06293e; transform: rotate(-45deg) scale(1.25); }
.os-pin:focus { outline: none; }
.os-near { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: #06293e; font: 600 14px/1 Montserrat, Arial, sans-serif; box-shadow: 0 4px 14px rgba(6, 41, 62, .2); cursor: pointer; }
.os-near svg { fill: #9b1e3e; stroke: #9b1e3e; stroke-width: 2; }
.os-near svg circle[fill=none] { fill: none; }
.os-near:hover { color: #9b1e3e; }
.os-near.busy { opacity: .6; cursor: progress; }
.leaflet-tooltip.os-tip { padding: 6px 10px; border: 0; border-radius: 4px; background: #06293e; color: #fff; font: 13px/1.35 Montserrat, Arial, sans-serif; max-width: 280px; white-space: normal; box-shadow: 0 4px 12px rgba(6, 41, 62, .3); }
.leaflet-tooltip.os-tip b { font-weight: 700; }
.leaflet-tooltip-top.os-tip::before { border-top-color: #06293e; }
.os-popup .leaflet-popup-content { margin: 12px 14px; }
.leaflet-container a.os-pop { display: block; color: #06293e; font: 14px/1.35 Montserrat, Arial, sans-serif; text-decoration: none; }
.os-pop b { display: block; font-weight: 700; }
.os-pop span { display: block; margin-top: 4px; color: #5a6b78; font-size: 13px; }
.os-pop em { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 4px; background: #9b1e3e; color: #fff; font-style: normal; font-weight: 600; font-size: 13px; }
.places-list .location-item { cursor: pointer; }
.places-list .location-item .h3 a { transition: color .15s ease; }
.places-list .location-item:hover .h3 a { color: #9b1e3e; }
