/* Fieldset = card section */
.user-dashboard fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 30px;
  background: #fff;
}

/* Section titles */
.user-dashboard legend {
  padding: 0 10px;
}

.user-dashboard .fieldset-legend {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

/* Grid layout for fields */
.user-dashboard .fieldset-wrapper > div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 10px 20px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

/* remove last border */
.user-dashboard .fieldset-wrapper > div:last-child {
  border-bottom: none;
}

/* Labels */
.user-dashboard .fieldset-wrapper > div > div:first-child,
.user-dashboard h4.label {
  font-weight: 600;
  color: #4b5563;
}

/* Values */
.user-dashboard .fieldset-wrapper > div > div:last-child {
  color: #111827;
}

/* taxonomy links */
.user-dashboard a {
  color: #2563eb;
  text-decoration: none;
}

.user-dashboard a:hover {
  text-decoration: underline;
}

/* multi-value items */
.user-dashboard .fieldset-wrapper > div > div:last-child > div {
  margin-bottom: 5px;
}

/* Paragraph blocks (tattoos, languages etc) */
.user-dashboard .paragraph {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 10px;
}

.user-dashboard .paragraph > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  margin-bottom: 6px;
}

/* images */
.user-dashboard img {
  max-width: 260px;
  height: auto;
  border-radius: 6px;
  margin-top: 6px;
}

/* audio link */
.user-dashboard a[href$=".webm"] {
  display: inline-block;
  padding: 6px 12px;
  background: #2563eb;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  pointer-events: auto !important;
  text-decoration: none;
}

.user-dashboard a[href$=".webm"]:hover {
  background: #1d4ed8;
  text-decoration: none;
}


.user-dashboard a {
  pointer-events: none;
  color: black;
}

/* Address formatting */
.user-dashboard .address {
  line-height: 1.5;
  margin: 0;
  font-size: 16px;
}

.user-dashboard h4.label {
  margin: 0px;
}

/* Responsive */
@media (max-width: 768px) {

  .user-dashboard fieldset {
    padding: 20px;
  }

  .user-dashboard .fieldset-wrapper > div {
    grid-template-columns: 1fr;
  }

  .user-dashboard .fieldset-wrapper > div > div:first-child,
  .user-dashboard h4.label {
    margin-bottom: 4px;
  }

}