.maps-hub__lead {
  margin: 0 0 18px;
  max-width: 62ch;
  line-height: 1.45;
}
.maps-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}
a.maps-hub__card,
.maps-hub__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 148px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: #f4f7fb !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color .15s, background .15s, transform .15s;
}
a.maps-hub__card:hover,
.maps-hub__card:hover {
  border-color: rgba(232,163,23,0.65);
  background: linear-gradient(180deg, rgba(232,163,23,0.14), rgba(255,255,255,0.03));
  transform: translateY(-1px);
}
.maps-hub__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #9aabbc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.maps-hub__title,
.maps-hub__card strong {
  display: block;
  min-height: 2.5em;
  color: #fff !important;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}
.maps-hub__desc,
.maps-hub__card span:not(.maps-hub__kicker):not(.maps-hub__title) {
  display: block;
  color: #9aabbc !important;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: auto;
}
@media (max-width: 980px) {
  .maps-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .maps-hub__grid { grid-template-columns: 1fr; }
  a.maps-hub__card,
  .maps-hub__card { min-height: 0; }
}


.maps-atlas__crumb { font-size: 0.85rem; margin: 0 0 8px; color: #9aabbc; }
.maps-atlas__crumb a { color: var(--amber, #e8a317); }
.maps-atlas__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.maps-atlas__panel { margin-top: 14px; }
.maps-atlas__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 12px;
  align-items: stretch;
}
.maps-atlas__map {
  width: 100%;
  height: min(64vh, 580px);
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--line, #2a3544);
  overflow: hidden;
  background: #0f141c;
  position: relative;
}
.maps-atlas__map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  background: #0f141c;
  font: inherit;
}
.maps-atlas__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line, #2a3544);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  overflow: hidden;
}
.maps-atlas__side-title {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #9aabbc;
  border-bottom: 1px solid var(--line, #2a3544);
}
.maps-atlas__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow: auto;
  max-height: min(64vh, 580px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.maps-atlas__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e8eef6;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.35;
  cursor: pointer;
}
.maps-atlas__item:hover {
  background: rgba(232,163,23,0.12);
  color: #fff;
}
.maps-atlas__legal { margin-top: 10px; font-size: 0.78rem; line-height: 1.45; }
.maps-atlas__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #9aabbc;
}
.maps-atlas__legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid #fff;
}
.maps-atlas__legend .is-active i { background: #ff6b6b; }
.maps-atlas__legend .is-upcoming i { background: #5ec8ff; }
.maps-atlas__legend .is-past i { background: #6b7c8f; }
.maps-atlas__legend--types span[data-type="apvgk"] i { background: #ff6b6b; }
.maps-atlas__legend--types span[data-type="ppvk"] i { background: #5ec8ff; }
.maps-atlas__legend--types span[data-type="spvk"] i { background: #a78bfa; }
.maps-atlas__legend--types span[data-type="agency"] i,
.maps-atlas__legend--types span[data-type="apvk"] i { background: #f0c674; }

.maps-atlas__search {
  width: calc(100% - 20px);
  margin: 8px 10px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--line, #2a3544);
  background: rgba(0,0,0,0.28);
  color: #f4f7fb;
  font: inherit;
  font-size: 0.88rem;
}
.maps-atlas__search:focus {
  outline: 1px solid rgba(232,163,23,0.55);
  border-color: rgba(232,163,23,0.45);
}
.maps-atlas__list--static {
  padding: 8px 12px 12px;
  gap: 8px;
  list-style: none;
}
.maps-atlas__list--static a { color: var(--amber, #e8a317); }
.maps-atlas__more { padding: 8px 10px; font-size: 0.78rem; }

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(232, 163, 23, 0.28) !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: rgba(232, 163, 23, 0.88) !important;
  color: #0e1620 !important;
  font-weight: 800;
}

@media (max-width: 900px) {
  .maps-atlas__layout { grid-template-columns: 1fr; }
  .maps-atlas__list { max-height: 220px; }
  .maps-atlas__map { min-height: 300px; height: 50vh; }
}
