.custom-author-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.category-pill {
    display: inline-block;
    background: #e5e5e5;
    color: #333;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;
}

.author-info-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 35px;
    border-radius: 20px;
    background-color: #eaeaea;
    font-size: 15px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar a{
    display: block;
}

.author-avatar img {
    border-radius: 50%;
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 22px;
    margin: 0 0 8px;
    font-weight: 700;
    color: #000;
}
.author-name a{
    color: #000;
}
.author-name a:hover{
    color: #046bd2;
}

.author-role {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #444;
}

.author-role a {
    color: #046bd2;
    text-decoration: none;
}

.author-bio {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.read-bio-btn {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 5px 18px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-bio-btn:hover {
    background: #046bd2;
    color: #fff;
    border-color: #046bd2;
}

@media (max-width: 991px){
    .author-info-wrapper{
        padding: 25px;
    }
    .author-avatar{
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 575px){
    .author-info-wrapper{
        flex-direction: column;
    }
}