/* ============================================================
   PlinkExchange — Per-range listing page styles
   These are extras only — most listing styles live in
   range-styles.css under the "PER-RANGE LISTING PAGE" block.
============================================================ */

/* "More in this state" cards in the sidebar */
.listing-similar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.listing-similar-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all 0.14s ease;
}
.listing-similar-link:hover {
  border-color: var(--orange);
  background: white;
  transform: translateX(2px);
}
.listing-similar-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--charcoal);
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.listing-similar-loc {
  font-size: var(--t-xs);
  color: var(--charcoal-3);
}
.listing-similar-back {
  display: inline-block;
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--t-eye);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: none;
}
.listing-similar-back:hover { color: var(--orange); }

/* Mini state map shown in the listing header */
#listing-map .ml-state-shape {
  fill: var(--paper);
  stroke: var(--charcoal-3);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
#listing-map .ml-city-dot {
  fill: rgba(45, 54, 61, 0.42);
}
#listing-map .ml-city-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  fill: rgba(45, 54, 61, 0.65);
  paint-order: stroke fill;
  stroke: #FCEAD9;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
#listing-map .ml-pin-shadow { fill: rgba(45,54,61,0.3); }
#listing-map .ml-pin-body {
  fill: var(--orange-deep);
  stroke: white;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 3px rgba(45,54,61,0.3));
}
#listing-map .ml-pin-dot { fill: white; }
#listing-map .ml-pulse {
  fill: rgba(242, 92, 31, 0.22);
}
#listing-map .ml-approx-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  fill: rgba(45, 54, 61, 0.6);
  letter-spacing: 0.16em;
}

/* Mobile tweaks specific to listing pages */
@media (max-width: 820px) {
  .listing-section { padding-top: var(--s-5); }
  .listing-photos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .listing-photos-grid { grid-template-columns: 1fr; }
}
