.yedapi-footprint-map-wrap {
  position: relative;
  width: 100%;
  min-height: 620px;
  background: #f6f7f7;
}

.yedapi-footprint-map {
  width: 100%;
  height: min(76vh, 760px);
  min-height: 620px;
}

.yedapi-footprint-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #50575e;
  background: #f6f7f7;
}

.yedapi-footprint-empty[hidden] {
  display: none;
}

.yedapi-footprint-marker {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #16A085;
  box-shadow: 0 4px 12px rgba(22, 160, 133, 0.34);
  cursor: pointer;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.yedapi-footprint-marker::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.yedapi-footprint-marker.is-active {
  box-shadow: 0 7px 18px rgba(22, 160, 133, 0.52);
  transform: rotate(-45deg) scale(1.28);
}

.yedapi-footprint-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  width: min(300px, calc(100vw - 48px));
  min-height: 72px;
  color: #1d2327;
  text-decoration: none;
}

.yedapi-footprint-info {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.yedapi-footprint-card.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.yedapi-footprint-card,
.yedapi-footprint-card * {
  text-decoration: none !important;
}

.yedapi-footprint-card:hover,
.yedapi-footprint-card:focus {
  color: #135e96;
  text-decoration: none;
}

.yedapi-footprint-card-img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #dcdcde;
}

.yedapi-footprint-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.yedapi-footprint-card-place,
.yedapi-footprint-card-date {
  color: #646970;
  font-size: 12px;
  line-height: 1.35;
}

.yedapi-footprint-card strong {
  overflow: hidden;
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .yedapi-footprint-map-wrap,
  .yedapi-footprint-map {
    min-height: 520px;
  }
}
