#author {
    position: relative;
    z-index: 1;
    margin: 60px auto 0;
    padding: 40px 80px;
    box-sizing: border-box;
}

#author.single-author {
    padding-top: 80px;
    padding-left: 40px;
    padding-right: 0;
    margin: 0;
}

#author h3.title,
#related-stories h3.title {
    margin: 0 0 40px;
    padding: 0;
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 800;
}

#author h3.title::before {
    content: '';
    width: 32px;
    height: 28px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -40px;
    background-size: 24px 14px;
    margin-top: -1px;
}

#author h3.title span {
    background: #fff;
    padding-right: 20px;
}

#author h3.title svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    fill: #fc6668;
    color: #e10489;
    left: -40px;
    width: 24px;
    height: 14px;
    margin-top: -1px;
}

#author h3.title::after {
    content: '';
    height: 1px;
    background: #e6edf6;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    z-index: -1;
}

#author .left {
    margin-right: 60px;
    text-align: center;
}

#author .author-avatar {
    display: block;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0px 8px 16px -8px rgba(0,0,0,0.30),0px 13px 27px -5px rgba(50,50,93,0.25);
    position: relative;
}

#author .author-avatar .author-image {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    transform: none;
}

#author .right {
    margin-right: auto;
}

#author .author-name {
    margin: 20px 0 3px;
    font-size: 22px;
    line-height: 1;
}

#author.single-author .right .author-name {
    margin-top: 0;
}

#author .location {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    vertical-align: middle;
    margin-left: 7px;
    margin-top: -4px;
    color: #002050;
    border: 1px solid #ffe7d2;
    padding: 5px 8px;
    border-radius: 6px;
    position: relative;
    z-index: 2;
}

#author .location:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #ffe7d2;
    opacity: .25;
}

#author .info {
    margin-top: 20px;
    max-width: 550px;
}

#author.single-author .right .info {
    font-size: 15px;
}

#author .info p {
    margin: 0;
}

#author .social {
    margin-top: 15px;
}

#author .social a {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    margin: 0 10px 0 0;
}

#author .social a svg {
    margin-right: 5px;
    margin-top: -3px;
    vertical-align: middle;
}

#author .social .twitter svg {
    width: 15px;
    height: 15px;
}

#author .social a .name {
    color: #002050;
}

#author .right .button {
    margin-top: 25px;
    font-size: 13px;
    padding: 7px 15px;
}

@media screen and (max-width: 1200px) {

    #author h3.title {
        font-size: 18px;
    }

    #author .left {
        margin-right: 30px;
    }

    #author .author-avatar {
        width: 200px;
        height: 200px;
    }

    #author .author-name {
        font-size: 18px;
    }

}

@media only screen and (max-width: 1024px) {

    #author.single-author {
        padding-top: 60px;
    }

    #author .author-avatar {
        width: 175px;
        height: 175px;
    }

}

@media only screen and (max-width: 768px) {

    #single #author.single-author {
        display: block;
        padding-top: 40px;
    }

    #author h3.title {
        margin-bottom: 30px;  
        font-size: 20px;
    }

    #single #author.single-author .flex-box {
        display: block;
        margin-left: -40px;
        width: auto;
    }

    #single #author.single-author .left {
        margin-bottom: 40px;
    }

    #author .left {
        margin-right: 0;
        text-align: center;
    }

    #author .author-avatar {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    #single #author.single-author .right {
        text-align: center;
    }
    
    #author .author-name {
        font-size: 20px;
    }

    #author.single-author .right .info {
        margin-left: auto;
        margin-right: auto;
    }

}