.af-profile {
    --af-purple: #6d3ee6;
    --af-lilac: #c089fc;
    --af-ink: #222222;
    --af-muted: #6b7280;
    --af-line: #ebebeb;
    --af-soft: #f7f5fb;
    padding: 16px 0 48px;
    background: #fbfbfe;
}

.af-profile .container {
    max-width: 1280px;
}

.af-profile__crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    color: var(--af-muted);
    font-size: 13px;
}

.af-profile__crumb a {
    color: var(--af-muted);
}

.af-profile__crumb a:hover {
    color: var(--af-purple);
}

.af-profile__hero {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eee8f8;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(32, 40, 68, 0.06);
}

.af-profile__photo {
    width: 108px;
    height: 108px;
    min-width: 108px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--af-soft);
}

.af-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-profile__main {
    flex: 1;
    min-width: 0;
}

.af-profile__role {
    margin: 0 0 2px;
    color: var(--af-purple);
    font-size: 13px;
    font-weight: 600;
}

.af-profile__name {
    margin: 0 0 6px;
    color: var(--af-ink);
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
}

.af-profile__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: var(--af-muted);
    font-size: 13px;
}

.af-profile__meta i {
    color: var(--af-purple);
    margin-right: 4px;
}

.af-profile__meta b {
    color: var(--af-ink);
    font-weight: 700;
}

.af-profile__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.af-profile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.af-profile__btn--primary {
    background: linear-gradient(135deg, var(--af-lilac), var(--af-purple));
    color: #fff;
}

.af-profile__btn--primary:hover {
    color: #fff;
    filter: brightness(1.04);
}

.af-profile__btn--ghost {
    background: var(--af-soft);
    color: var(--af-ink);
}

.af-profile__btn--ghost:hover {
    background: #efe7ff;
    color: var(--af-purple);
}

.af-profile__social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.af-profile__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--af-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.af-profile__social a:hover {
    border-color: var(--af-lilac);
}

.af-profile__social img {
    width: 16px;
    height: 16px;
}

.af-profile__about {
    margin-top: 14px;
    padding: 16px 20px 18px;
    background: #fff;
    border: 1px solid #eee8f8;
    border-radius: 18px;
}

.af-profile__about h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--af-ink);
}

.af-profile__about p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.af-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.af-profile__tags li {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--af-soft);
    color: var(--af-ink);
    font-size: 12px;
    font-weight: 600;
}

.af-profile__board {
    margin-top: 18px;
}

.af-profile .profile-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
    padding: 4px;
    background: #fff;
    border: 1px solid #eee8f8;
    border-radius: 12px;
    width: fit-content;
}

.af-profile .profile-tab-btn {
    border: 0;
    background: transparent;
    color: var(--af-muted);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 9px;
}

.af-profile .profile-tab-btn.active,
.af-profile .profile-tab-btn:hover {
    background: var(--af-soft);
    color: var(--af-purple);
}

.af-profile .af-grid {
    margin-top: 0;
}

.af-profile .af-card {
    margin-bottom: 18px;
}

.af-profile__folio {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee8f8;
    margin-bottom: 18px;
}

.af-profile__folio img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.af-profile__folio span {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--af-ink);
}

.af-profile .af-empty {
    padding: 28px 12px;
}

@media (max-width: 767px) {
    .af-profile__hero {
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
    }

    .af-profile__photo {
        width: 72px;
        height: 72px;
        min-width: 72px;
        border-radius: 14px;
    }

    .af-profile__name {
        font-size: 20px;
    }

    .af-profile .profile-tabs {
        width: 100%;
    }

    .af-profile .profile-tab-btn {
        flex: 1;
    }
}
