/* City seller pages (sell-<city>-ut.html). Builds on styles.css + sell.css. */
.city-local-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) { .city-local-grid { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; } }
.city-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 1.3rem;
}
.city-card h3 { font-size: 1.4rem; margin: 0 0 0.5rem; }
.city-card p { margin: 0 0 0.6rem; color: var(--ink-soft); }
.city-card p:last-child { margin-bottom: 0; }
.city-card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.city-card li { margin: 0.35rem 0; }
.city-card li strong { color: var(--ink); }
.city-card.wide { grid-column: 1 / -1; }

.city-snapshot {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.98rem;
}
.city-snapshot th, .city-snapshot td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.city-snapshot th { font-weight: 500; color: var(--ink-soft); }
.city-snapshot td { font-weight: 600; white-space: nowrap; text-align: right; }
.city-source {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}
.city-source a { color: var(--ink-soft); }
.city-nearby {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.city-nearby a { color: var(--navy); font-weight: 600; }
.city-links { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.city-links a { color: var(--navy); font-weight: 600; }
.city-process-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Hero city photo — Holladay-sized box (340px desktop / 200px mobile). photo3 */
/* No empty right column when a city has no hero photo yet */
.city-hero-grid:not(:has(.city-hero-photo)) {
  grid-template-columns: 1fr;
}
.city-hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.city-hero-copy .btn-row { margin-top: 0; }

/* Mobile / default: compact thumbnail; credit centered under image */
.city-hero-photo {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  width: 200px;
  max-width: 200px;
  box-sizing: border-box;
  text-align: center;
}
.city-hero-photo picture {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.city-hero-photo img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}
.city-photo-credit,
.city-hero-photo > figcaption,
.city-hero-photo figcaption {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding: 0 0.2rem;
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: center !important;
  color: rgba(255, 252, 248, 0.55);
}
.city-photo-credit a,
.city-hero-photo figcaption a {
  color: rgba(255, 252, 248, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Desktop: fixed 340px column to the right of the headline (Holladay reference) */
@media (min-width: 900px) {
  .city-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: center;
  }
  .city-hero-photo {
    width: 340px;
    max-width: 340px;
    justify-self: end;
    align-items: center;
  }
  .city-hero-photo picture {
    border-radius: 12px;
  }
  .city-hero-photo img {
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  .city-photo-credit,
  .city-hero-photo figcaption {
    font-size: 0.72rem;
  }
}
@media (max-width: 899px) {
  .city-hero-photo { order: 2; }
  .city-hero-copy { order: 1; }
}
