.member-avatar {
  flex: 0 0 auto;
  display: block;
}
.member-avatar .avatar-letter {
  overflow: hidden;
}
.avatar-letter img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-heading {
  min-width: 0;
}
.member-name {
  color: #183e2c;
  overflow-wrap: anywhere;
}
.member-name:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.member-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #667459;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
  flex-wrap: wrap;
}
.profile-page {
  max-width: 1260px;
  margin: 0 auto;
}
.profile-hero.panel {
  padding: 0;
  overflow: hidden;
}
.profile-banner {
  height: clamp(180px, 22vw, 310px);
  background: #e4e9db;
}
.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-banner-art {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 35px;
  color: #627559;
  background: linear-gradient(115deg, #e7e8dc, #dce5d5 60%, #f0eadb);
}
.profile-banner-art span {
  max-width: 330px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.profile-heading {
  position: relative;
  padding: 0 34px 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.profile-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: #3e6445;
  background: #e7eedc;
  border: 6px solid white;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-heading > .profile-avatar {
  margin-top: -40px;
  box-shadow: 0 4px 16px #1d3c2812;
}
.profile-title {
  padding-top: 22px;
  min-width: 0;
  flex: 1;
}
.profile-title h1 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 12px 0 8px;
  overflow-wrap: anywhere;
}
.profile-title p {
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.profile-heading > .button {
  margin-top: 28px;
}
.profile-stats {
  border-top: 1px solid #e5e9df;
  background: #fafbf7;
  padding: 18px 34px;
  display: flex;
  gap: 34px;
  color: #62715e;
  font-size: 14px;
  flex-wrap: wrap;
}
.profile-stats strong {
  color: #254e37;
  font-size: 20px;
  margin-right: 7px;
}
.profile-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}
.profile-columns > .panel {
  min-width: 0;
}
.profile-columns .preserve {
  overflow-wrap: anywhere;
}
.profile-buybox h2 {
  margin: 6px 0 0;
}
.profile-buybox dl {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px 16px;
}
.profile-buybox dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 550;
}
.profile-buybox dt {
  font-size: 14px;
  font-weight: 600;
  color: #5f705a;
}
.listing-contact {
  margin-top: 24px;
}
.listing-contact .social-author {
  margin: 20px 0;
}
.profile-contact-link {
  display: block;
  font-weight: 650;
}
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
}
.profile-chip {
  display: inline-block;
  background: #eef2e7;
  border: 1px solid #e1e7d8;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 13px;
  color: #456139;
}
.profile-listings {
  margin-top: 18px;
}
.profile-listing {
  color: inherit;
}
.profile-listing:hover {
  text-decoration: none;
  border-color: #a9bca0;
}
.profile-listing-photo {
  height: 180px;
  background: #e8ecdf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718967;
}
.profile-listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-listing-price {
  font-size: 27px;
  color: #245a3d;
}
.profile-edit {
  max-width: 1040px;
}
.profile-media-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px;
  align-items: start;
  margin-top: 24px;
}
.profile-media-edit > div {
  min-width: 0;
}
.profile-media-edit label {
  margin-top: 22px;
}
.profile-media-edit input {
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  padding: 10px;
}
.profile-media-edit .text-button {
  margin-top: 8px;
}
.profile-banner-preview {
  width: 100%;
  aspect-ratio: 3/1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eddf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d7252;
}
.profile-banner-preview img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.profile-edit .form-grid {
  margin: 22px 0;
}
.profile-options {
  border: 0;
  border-top: 1px solid #e1e6dc;
  padding: 20px 0;
  margin: 24px 0;
  min-width: 0;
}
.profile-options legend {
  font-size: 17px;
  font-weight: 650;
  padding-right: 12px;
  color: #324e38;
}
.profile-options > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 18px;
}
.profile-options .check {
  margin: 0;
  align-items: center;
  font-size: 15px;
}
.profile-options input,
.profile-visibility input {
  min-width: 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  accent-color: #245b3f;
}
.profile-visibility {
  margin-top: 24px;
}
.profile-county-picker {
  border: 1px solid #dce4d5;
  border-radius: 9px;
  padding: 16px;
  margin-top: 28px;
  background: #fafbf7;
}
.profile-county-picker summary {
  cursor: pointer;
  font-weight: 650;
  line-height: 1.5;
}
.profile-county-picker .profile-options > div {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}
.profile-save {
  padding: 0 4px 24px;
}
.profile-save .actions {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .profile-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .profile-heading {
    flex-wrap: wrap;
    gap: 18px;
  }
  .profile-heading > .button {
    margin-top: 22px;
  }
}
@media (max-width: 650px) {
  .profile-banner {
    height: 170px;
  }
  .profile-banner-art {
    padding: 22px;
    gap: 15px;
  }
  .profile-banner-art span {
    font-size: 20px;
  }
  .profile-banner-art svg {
    width: 42px;
    flex-shrink: 0;
  }
  .profile-heading {
    padding: 0 20px 24px;
    gap: 12px;
  }
  .profile-heading .profile-avatar {
    width: 98px;
    height: 98px;
    font-size: 36px;
    margin-top: -30px;
  }
  .profile-title {
    flex: 1 1 100%;
    padding-top: 0;
  }
  .profile-heading > .button {
    margin: 4px 0 0;
  }
  .profile-stats {
    padding: 18px 20px;
    gap: 16px;
  }
  .profile-buybox dl {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .profile-buybox dd {
    margin-bottom: 14px;
  }
  .profile-media-edit {
    grid-template-columns: 1fr;
  }
  .profile-options > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-listings > .section-title {
    flex-wrap: wrap;
    gap: 10px;
  }
  .member-location {
    font-size: 12px;
  }
}
