/* Public host profile — Airbnb-style guest page. Scoped to .jre-host-profile*. */

.jre-host-profile {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.jre-host-profile__missing {
  text-align: center;
  padding: 80px 16px;
  color: #334155;
}

.jre-host-profile__missing i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #94a3b8;
}

.jre-host-profile__missing a {
  color: var(--primary-color, #297c39);
  font-weight: 600;
}

.jre-host-profile__hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
  position: static;
  top: auto;
  z-index: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.jre-host-profile__photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.jre-host-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jre-host-profile__kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.jre-host-profile__intro h1 {
  margin: 0 0 16px;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.jre-host-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jre-host-profile__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jre-host-profile__stats strong {
  font-size: 1.25rem;
  color: #0f172a;
}

.jre-host-profile__stats span {
  font-size: 13px;
  color: #64748b;
}

.jre-host-profile__card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
}

.jre-host-profile__card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.jre-host-profile__card h3 {
  margin: 20px 0 10px;
  font-size: 1rem;
}

.jre-host-profile__about {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #222;
}

.jre-host-profile__muted {
  color: #64748b;
}

.jre-host-profile__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jre-host-profile__langs li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 14px;
}

.jre-host-profile__city {
  margin: 16px 0 0;
  color: #475569;
}

.jre-host-profile__listings-wrap h2 {
  margin: 0 0 16px;
  font-size: 1.375rem;
}

.jre-host-profile__listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.jre-host-profile__listings .property-card {
  flex: none;
  width: 100%;
  max-width: none;
}

.jre-host-profile__listings .card-image-container {
  background: #f1f5f9;
}

@media (max-width: 640px) {
  .jre-host-profile__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .jre-host-profile__photo {
    width: 96px;
    height: 96px;
    font-size: 32px;
  }
}

/* Shared language chips (onboarding + public host; match edit-account: no visible checkbox) */
.jre-host-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jre-host-langs__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #334155;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.jre-host-langs__chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.jre-host-langs__chip:hover {
  border-color: #86efac;
}

.jre-host-langs__chip:has(input:checked) {
  border-color: var(--primary-color, #297c39);
  background: rgba(41, 124, 57, 0.1);
  color: #14532d;
}

.jre-host-langs__chip:focus-within {
  outline: 2px solid var(--primary-color, #297c39);
  outline-offset: 2px;
}

.jre-host-photo-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.jre-host-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
