/* =================================
PERFRIG — AUTHOR PAGE
================================= */

.perfrig-author-page{
    max-width:1400px;
    margin:auto;
    padding:60px 24px 80px;
}


/* =================================
AUTHOR HERO
================================= */

.author-hero{
    margin-bottom:60px;
    border-bottom:1px solid rgba(0,255,255,0.08);
    padding-bottom:50px;
}

.author-hero-inner{
    display:flex;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}


/* avatar */

.author-avatar-wrapper{
    position:relative;
}

.author-avatar{
    width:140px;
    height:140px;
    border-radius:50%;
    border:3px solid #00eaff;
    box-shadow:
        0 0 25px rgba(0,234,255,.4),
        0 0 60px rgba(0,234,255,.15);
}


/* author info */

.author-info{
    flex:1;
    min-width:300px;
}

.author-name{
    font-size:42px;
    letter-spacing:2px;
    color:#00eaff;
    margin-bottom:6px;
    font-weight:800;
}

.author-role{
    font-size:14px;
    color:#7c5cff;
    margin-bottom:18px;
}

.author-bio{
    background:rgba(255,255,255,0.04);
    border-radius:14px;
    padding:18px 22px;
    line-height:1.6;
    color:#bfc6cf;
    max-width:600px;
}


/* stats */

.author-stats{
    margin-top:16px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.author-stats span{
    font-size:12px;
    padding:6px 14px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    color:#9aa4af;
}



/* =================================
FILTER BAR
================================= */

.filter-bar{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:40px;
}

.filter-btn{
    font-size:13px;
    padding:8px 18px;
    border-radius:20px;
    text-decoration:none;
    color:#9ca6b1;
    background:rgba(255,255,255,0.04);
    transition:.25s;
}

.filter-btn:hover{
    background:rgba(0,234,255,.12);
    color:#00eaff;
}

.filter-btn.active{
    background:#00eaff;
    color:#0b0f14;
}

.filter-btn .count{
    opacity:.6;
    margin-left:4px;
}



/* =================================
GRID
================================= */

.author-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:28px;
}


/* =================================
CARD
================================= */

.author-card{
    background:#0f1318;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.04);
    transition:.35s;
    position:relative;
}

.author-card:hover{
    transform:translateY(-6px);
    border-color:rgba(0,234,255,.4);
    box-shadow:
        0 10px 30px rgba(0,0,0,.6),
        0 0 25px rgba(0,234,255,.12);
}


/* image */

.author-card img{
    width:100%;
    height:190px;
    object-fit:fill;
}


/* content */

.card-content{
    padding:18px 20px 20px;
}

.card-meta{
    font-size:11px;
    color:#8a94a0;
    margin-bottom:10px;
}

.card-category{
    color:#00eaff;
    font-weight:600;
}

.card-content h3{
    font-size:16px;
    margin-bottom:10px;
    line-height:1.35;
}

.card-content h3 a{
    text-decoration:none;
    color:#e8edf2;
}

.card-content h3 a:hover{
    color:#00eaff;
}


.card-excerpt{
    font-size:13px;
    color:#9aa4af;
    line-height:1.5;
    margin-bottom:14px;
}


.card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
}

.card-date{
    color:#7f8a96;
}

/* READ BUTTON */

.card-link{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:6px 14px;

    border:1px solid rgba(0,234,255,.45);
    border-radius:8px;

    font-size:12px;
    font-weight:600;

    text-decoration:none;

    color:#00eaff;

    background:transparent;

    transition:all .25s ease;

    box-shadow:
        0 0 6px rgba(0,234,255,.15);
}


/* Hover effect */

.card-link:hover{

    color:#000;

    background:#00eaff;

    border-color:#00eaff;

    box-shadow:
        0 0 10px rgba(0,234,255,.55),
        0 0 22px rgba(0,234,255,.35);

    transform:translateY(-1px);
    letter-spacing:.4px;
}


/* =================================
EMPTY
================================= */

.pf-empty{
    text-align:center;
    padding:60px 0;
    color:#8a95a1;
}



/* Author stats glow */

.author-stats span{
    font-size:12px;
    padding:6px 14px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    color:#9aa4af;
    transition:all .3s ease;
}

.author-stats span:hover{

    color:#00eaff;

    background:rgba(0,234,255,.12);

    box-shadow:
        0 0 8px rgba(0,234,255,.35),
        0 0 18px rgba(0,234,255,.25);

    transform:translateY(-1px);
}


.author-card:hover h3 a {
    color:#00eaff;
}

/* Apply same READ button hover when hovering the whole card */

.author-card:hover .card-link{

    color:#000;

    background:#00eaff;

    border-color:#00eaff;

    box-shadow:
        0 0 10px rgba(0,234,255,.55),
        0 0 22px rgba(0,234,255,.35);

    transform:translateY(-1px);
}

.card-link{
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

/* image wrapper smooth transition */

.author-card img{
    transition:transform .45s ease;
}


/* move image when hovering card */

.author-card:hover img{

    transform:scale(1.05) translateY(-2px);

}