.pafp-wrap{
    max-width:900px;
    margin:40px auto;
    direction:rtl;
    font-family:tahoma;
}

#pafp-search{
    width:100%;
    height:65px;
    border:none;
    background:#f5f7fb;
    border-radius:22px;
    padding:0 25px;
    font-size:20px;
    outline:none;
    box-shadow:0 4px 25px rgba(0,0,0,.06);
    margin-bottom:30px;
}

.pafp-card{
    display:flex;
    align-items:center;
    gap:20px;
    background:#fff;
    border-radius:24px;
    padding:20px;
    margin-bottom:18px;
    box-shadow:0 6px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.pafp-card:hover{
    transform:translateY(-3px);
}

.pafp-card img{
    border-radius:50%;
}

.pafp-info{
    flex:1;
}

.pafp-info h3{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#111;
}

.pafp-info p{
    margin:8px 0 0;
    color:#666;
    font-size:15px;
    line-height:1.8;
}

.pafp-btn{
    text-decoration:none;
    background:#0d6efd;
    color:#fff;
    padding:14px 28px;
    border-radius:16px;
    font-size:16px;
    font-weight:700;
}

.pafp-profile{
    max-width:900px;
    margin:50px auto;
    direction:rtl;
    text-align:center;
}

.pafp-profile > img{
    border-radius:50%;
    box-shadow:0 8px 35px rgba(0,0,0,.15);
}

.pafp-profile h1{
    font-size:42px;
    margin:20px 0 10px;
}

.pafp-profile p{
    color:#666;
    font-size:17px;
    line-height:2;
    max-width:700px;
    margin:auto;
}

.pafp-stats{
    margin-top:25px;
    font-size:20px;
    font-weight:700;
}

.pafp-follow{
    margin-top:25px;
    border:none;
    cursor:pointer;
    background:#0d6efd;
    color:#fff;
    border-radius:18px;
    padding:18px 45px;
    font-size:18px;
    font-weight:700;
}

.pafp-posts{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.pafp-post{
    display:block;
    background:#fff;
    text-decoration:none;
    color:#111;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 35px rgba(0,0,0,.08);
    transition:.3s;
}

.pafp-post:hover{
    transform:translateY(-4px);
}

.pafp-post img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.pafp-post h3{
    padding:20px;
    margin:0;
    font-size:20px;
    line-height:1.8;
}

@media(max-width:768px){

    .pafp-card{
        flex-wrap:wrap;
    }

    .pafp-btn{
        width:100%;
        text-align:center;
    }

    .pafp-profile h1{
        font-size:30px;
    }

}