#mapContainer {
  position: relative;
  z-index: 1;
}

.btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: nowrap;
}

.location-card {
  flex: 0 0 calc(33%); /* 父容器1/3宽度 */
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border .2s;
  padding: 0; /* 内边距由下方元素控制 */
  margin-right: 24px; 
}

.location-card:hover {
  transform: scale(1.03);
}

.location-card img {
  width: 100%;
  max-height: 160px; /* 固定高度*/
  object-fit: cover;
  display: block;
}

.location-card .text-container { 
  display: flex;
  flex-direction: column;
  padding: 10px; 
  box-sizing: border-box;
}

.location-card .name {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  margin-bottom: 8px; /* name 和 address之间小间距 */
}

.location-card .address {
  font-size: 13px;
  color: #6B7280; /* 灰色 */
  line-height: 1.2;
  margin-top: 40px;
}

/* .location-card.active {
  border: 2px solid #dc2626;
} */

.location-info {
  margin-top: 8px;
  padding: 6px 10px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}
