body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  color: #002e6b;
}

.hc-profile-container {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.hc-profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hc-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.hc-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #bf9745;
  object-fit: cover;
}

.hc-profile-header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.hc-profile-header p {
  margin: 0.25rem 0 0;
  color: #666;
}

.hc-profile-section {
  margin-top: 2rem;
}

.hc-profile-section p {
  background: #fafafa;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  min-height: 3.5rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}


.hc-profile-section h3 {
  color: #bf9745;
  margin-bottom: 0.5rem;
}

.hc-profile-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
  gap: 1.5rem;
}

.hc-profile-meta span {
  font-size: 0.75rem;
  color: #888;
  display: block;
}

.hc-profile-meta strong {
  font-size: 0.95rem;
}

/* Make long text areas (like Favorite Verse) readable */
#favoriteVerse {
  display: block;
  min-height: 3.5rem;        /* makes the box visually taller */
  line-height: 1.6;
  white-space: pre-wrap;     /* preserves line breaks */
  word-break: break-word;    /* prevents overflow */
}

.hc-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-left: auto;
  background: #bf9745;
  color: white;
  padding: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
  min-width:140px;
  height:42px;
  white-space: nowrap;
}

.hc-edit-btn:hover {
  color:#002e6b;
}

.profile-badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.profile-badge {
  width: 28px;
  height: 28px;
}

.profile-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


@media (max-width: 640px) {
  .hc-profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
  }

  .hc-edit-btn {
    margin-left: 0;          /* remove desktop push-right */
    margin-top: 0.25rem;
  }
}
