/* releaseapp.ai/spaces — the directory of places that already rent by the
   hour. Product-adjacent, Architectural Minimal: off-white, white cards with
   line borders, orange only on the ask ("Request"). No prices until an owner
   sets one by claiming; fine print is a trust surface and stays contained. */

.sp-hero {
  padding: calc(var(--header-h) + 56px) 0 32px;
}

.sp-heading {
  max-width: 19ch;
}

.sp-hero .accent-rule {
  margin-top: 24px;
}

.sp-lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--warm-gray);
}

.sp-lead strong {
  color: var(--near-black);
  font-weight: 500;
}

.sp-lead-strong {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--near-black);
}

.sp-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.sp-chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--warm-gray);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.sp-chip:hover {
  border-color: var(--near-black);
  color: var(--near-black);
}

.sp-chip[aria-pressed="true"] {
  border-color: var(--near-black);
  background: var(--near-black);
  color: var(--off-white);
}

.sp-chip:focus-visible {
  outline: 2px solid var(--near-black);
  outline-offset: 2px;
}

.sp-list {
  padding-bottom: 72px;
}

.sp-group {
  margin-top: 48px;
}

.sp-group[hidden] {
  display: none;
}

.sp-group-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.sp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  overflow: hidden;
}

.sp-card[hidden] {
  display: none;
}

/* The whole card opens the place (the founder, Oct 25): the name's link stretches over the card, and
   Request, Claim and Remove stay their own links above it. */
.sp-card {
  position: relative;
  transition: border-color 120ms ease;
}

.sp-card:hover {
  border-color: var(--line-strong);
}

.sp-name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sp-card:hover .sp-name a {
  color: var(--deep-orange);
}

.sp-actions a,
.sp-owner a {
  position: relative;
  z-index: 2;
}

.sp-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--neutral-fill);
}

.sp-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The credit sits on the photo as quiet text, no chip behind it (the
   founder, Oct 23: "less pronounced"). A soft shadow keeps it legible on a
   light photo. */
.sp-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.sp-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.sp-kind {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.sp-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.sp-addr {
  margin-top: 6px;
  font-size: 14px;
  color: var(--warm-gray);
}

.sp-facts {
  margin-top: 10px;
  font-size: 14px;
  color: var(--near-black);
}

.sp-price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sp-rate {
  font-family: var(--font-display);
  color: var(--near-black);
}

.sp-rate-from {
  font-size: 15px;
  font-weight: 500;
  margin-right: 4px;
}

.sp-rate-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-rate-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-gray);
}

.sp-rate-none {
  font-size: 18px;
  font-weight: 700;
}

.sp-rate-fine {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--light-gray);
}

.sp-status {
  align-self: flex-start;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--neutral-fill);
  font-size: 12.5px;
  color: var(--warm-gray);
}

.sp-status .wm-hidden {
  color: inherit;
}

.sp-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
}

.sp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 1;
  height: 48px;
  padding: 0 18px;
  font-size: 16px;
  text-decoration: none;
}

.sp-site {
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.sp-owner {
  margin-top: 14px;
  font-size: 13px;
  color: var(--light-gray);
}

.sp-owner a {
  color: var(--warm-gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sp-fine {
  margin-top: 48px;
}

@media (max-width: 959px) {
  .sp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .sp-hero {
    padding: calc(var(--header-h) + 32px) 0 16px;
  }
  .sp-lead {
    font-size: 17px;
  }
  .sp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .sp-group {
    margin-top: 36px;
  }
  .sp-group-heading {
    font-size: 22px;
  }
}
