.photo-list-item.pk-map-card,
.pk-spot-row.pk-map-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 14px 0;
  color: #302c28;
  border-color: #e5dfd5;
  text-decoration: none;
  font-family: system-ui, sans-serif;
}

.pk-spot-row.pk-map-card {
  grid-template-columns: 100px minmax(0, 1fr) auto;
}

.pk-map-card .pk-map-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f0ede7;
  color: #84786a;
}

.pk-map-card .pk-map-thumb > svg {
  width: 26px;
  height: 26px;
}

.pk-map-card .pk-map-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  object-fit: cover;
}

.pk-map-card .pk-map-copy {
  min-width: 0;
}

.pk-map-card h3,
.pk-map-card .pk-spot-title {
  margin: 0;
  color: #2e6b86;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pk-map-card .pk-spot-title {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.pk-map-card .pk-map-description {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #625b53;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pk-map-card .pk-spot-row-meta {
  margin-top: 6px;
}

.pk-map-card .pk-map-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pk-map-card .pk-spot-avatar,
.pk-map-card .pk-spot-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

.pk-map-card .pk-spot-avatar img {
  width: 32px;
  height: 32px;
}

.photo-list-item.pk-map-ad {
  margin: 10px 0;
  padding: 12px;
  border: 1px dashed #d5b684;
  border-radius: 10px;
  background: #fffaf2;
}

.pk-map-card .pk-map-pr {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #8a601e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.pk-map-card .pk-map-ad-link {
  margin: 6px 0 0;
  color: #2e6b86;
  font-size: 11px;
  font-weight: 600;
}

.pk-map-card a:focus-visible,
a.pk-map-card:focus-visible {
  outline: 3px solid #2e6b86;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .photo-list-item.pk-map-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .pk-spot-row.pk-map-card {
    grid-template-columns: 64px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .pk-map-card .pk-map-actions {
    flex-direction: column;
  }
}
