/* Public profile, /u/{handle}. Builds on homepage.css and account.css. */

.bi-profile-head {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.bi-profile-photo {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.15);
}

.bi-profile-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bi-profile-owner-note {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #eef4fb;
    color: #0a315f;
}

.bi-profile-bio {
    max-width: 68ch;
    white-space: normal;
    line-height: 1.6;
}

.bi-profile-services {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bi-profile-services li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bi-border);
}

.bi-profile-services li:last-child {
    border-bottom: 0;
}

.bi-profile-price {
    flex: 0 0 auto;
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bi-profile-price small {
    margin-right: 6px;
    font-weight: 400;
}

@media (max-width: 520px) {
    .bi-profile-photo {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
    }
}

/* a formatted bio: paragraphs, lists and links as written */
.bi-profile-bio p {
    margin: 0 0 0.8em;
}

.bi-profile-bio p:last-child,
.bi-profile-bio ul:last-child,
.bi-profile-bio ol:last-child {
    margin-bottom: 0;
}

.bi-profile-bio ul,
.bi-profile-bio ol {
    margin: 0 0 0.8em;
    padding-left: 1.4em;
}

.bi-profile-bio a {
    text-decoration: underline;
}

/* where they are, what they speak, who they play and teach with */
.bi-profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.bi-profile-facts li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.bi-profile-level {
    padding: 1px 9px;
    border-left: 3px solid var(--level);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
}
