/**
 * Saarland Today – Mein Konto / Benutzerprofil.
 */

.st-listing-page--account .st-account-profile {
  margin: var(--st-space-20, 20px) auto 0;
  max-width: min(560px, 100%);
}

.st-account-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--st-space-24, 24px);
  padding: var(--st-space-32, 32px) var(--st-space-24, 24px);
  background: var(--st-bg-card, var(--card-bg));
  border: 1px solid color-mix(in srgb, var(--st-border) 65%, transparent);
  border-radius: var(--st-radius-lg, 12px);
  box-shadow: 0 12px 40px color-mix(in srgb, #000 18%, transparent);
  text-align: center;
}

.st-account-profile-card__photo-wrap {
  flex-shrink: 0;
}

.st-account-profile-card__photo {
  display: block;
  width: 256px;
  height: 256px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--st-border) 80%, transparent);
  background: color-mix(in srgb, var(--st-bg-page) 85%, #fff 15%);
}

.st-account-profile-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--st-space-12, 12px);
  min-width: 0;
  width: 100%;
}

.st-account-profile-card__username {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--st-text);
  word-break: break-word;
}

.st-account-profile-card__member-since {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--st-text) 78%, transparent);
}

.st-account-profile-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--st-text) 62%, transparent);
}

.st-account-profile-card__date {
  font-size: 1rem;
  font-weight: 500;
  color: var(--st-text);
}

@media (min-width: 480px) {
  .st-account-profile-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: var(--st-space-32, 32px);
  }

  .st-account-profile-card__meta {
    align-items: flex-start;
  }
}
