/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.single-autori #main {
    padding-top: 0;
    background-color: #F5F5F5;
    
    & .fusion-row {
        max-width: 100%;
    }
    
    & .author-header {
        text-align: center;
        background-color: #454647;
        padding: 30px 0;
        
        & h1 {
            color: #fff;
            line-height: 50px;
        }
    }
    
    & .author-wrapper {
        max-width: 1000px;
        margin: auto;
        padding: 20px;
        display: flex;
        gap: 40px;
        
        & .author-left {
            width: 350px;
        }
        
        & .author-right {
            flex: 1;
        }
        
        & .fusion-layout-column {
            float: none;
            width: 100%;
            max-width: 100%;
        }
    }
    
    .author-featured-image {
        width: 250px;
        height: 250px;
        border-radius: 250px;
        
        & img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }
    
    & .author-meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    & .authot-social-media ul {
        list-style-type: none;
        display: flex;
        gap: 10px;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    
    & .author-books {
        max-width: 1350px;
        width: 100%;
        margin: auto;
        background-color: #EEEDE7;
        padding: 60px 40px;
    }
}
.authors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    
    & .author {
        display: flex;
        flex-direction: row;
        gap: 10px;
        
        & .author-img {
            width: 200px;
        }
        
        & .author-meta {
            flex: 1;
        }
    }
}
@media(max-width: 991px){
    .single-autori #main .author-wrapper {
        flex-wrap: wrap;
    }
    
    .single-autori #main .author-wrapper .author-left,
    .single-autori #main .author-wrapper .author-right {
        width: 100%;
        flex: auto;
    }
    
    .authors {
        grid-template-columns: 1fr;
        
        & .author {
        
            & .author-img {
                width: 100px;
            }
        }
    }
}