.author-section{
    padding: 60px 0;
    position: relative;
}
.author-profile {
    margin: 40px auto;
    position: relative;
}
.author-card {
    /*background: var(--pix-grey-bg);*/
    /*background: #fafafa;*/
    display: flex;
    align-items: flex-start;
    padding: 30px 30px 30px 20px;
    border-radius: 12px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    margin-bottom: 40px;
    border: 1px solid var(--pix-grey-border);
    background-color: white;
}
.author-avatar{
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}
.author-avatar img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);*/
}
.author-avatar img.no-photo{
    width: 100px;
    height: 100px;
}
.author-details {
    flex: 1;
}
.author-name {
    font-size: 2.2em;
    margin-bottom: 10px;
}
.author-socials {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.author-socials a {
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    -webkit-border-radius: 20%;
    border-radius: 20%;
    margin-right: 8px;
}
.author-socials a.linkedIn {
    background: url(../images/socials/LinkedIn.svg) center no-repeat;
    background-size: contain;
}
.author-socials a.instagram {
    background: url(../images/Instagram_logo.svg) center no-repeat;
    background-size: contain;
}
.author-socials a.facebook {
    background: url(../images/socials/fb-icon.svg) center no-repeat #3b5998;
    background-size: 75%;
}
.author-about {
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    border: 1px solid var(--pix-grey-border);
    background-color: white;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);*/
}
.author-about h2{
    margin-bottom: 10px;
    margin-top: 0;
}
.author-posts h2 {
    margin-bottom: 20px;
}
.author-posts-wrap{
    margin-top: 60px;
}
.articles-grid {
    margin-top: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* --- PAGINATION ---*/
nav.pagination{
    margin-top: 10px;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.pagination .page-numbers {
    min-width: 35px;
    max-width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    margin: 0 5px;
    border-radius: 3px;
    border: 1px solid #EBEBEB;
}
.pagination .page-numbers.double-digit {
    min-width: 45px;
    max-width: 45px;
}
.pagination .page-numbers.current{
    background: var(--pix-orange);
    color: #fff;
    border: 1px solid var(--pix-orange);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next{
    border: 1px solid #EBEBEB;
    font-size: 0;
}
.pagination .page-numbers.next{
    background: url("../images/arrow-down.svg") center no-repeat;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
}
.pagination .page-numbers.prev {
    background: url("../images/arrow-down.svg") center no-repeat;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.pagination .page-numbers a {
    display: block;
    border: 1px solid #EBEBEB;
    border-radius: 3px;
    height: 100%;
    width: 100%;
    background-color: #fff;
}
/* --- PAGINATION ---*/

@media screen and (min-width: 1000px) {
    .wrapper.layout {
        background: url(/wp-content/themes/quattro/images/background-octane.svg) center top repeat;
    }
}
@media screen and (max-width: 575px) {
    .author-section{
        padding-top: 30px;
    }
    .author-name{
        font-size: 1.8em;
    }
    .author-card{
        padding: 20px 20px 20px 15px;
    }
    .author-avatar{
        margin-right: 15px;
        width: 100px;
        height: 100px;
        margin-top: -5px;
    }
    .author-about{
        padding: 20px;
    }
    .author-about *{
        font-size: 14px;
    }
    .author-about h2{
        font-size: 27px;
        text-align: center;
    }
    .author-posts h2{
        text-align: center;
    }
}
@media screen and (max-width: 420px) {
    .author-card{
        padding: 20px 10px 20px 5px;
    }
    .author-name {
        font-size: 1.7em;
        line-height: 1em;
    }
    .author-avatar{
        margin-right: 10px;
        width: 80px;
        height: 80px;
    }
    .author-avatar img.no-photo {
        width: 80px;
        height: 80px;
    }
    .author-socials a {
        min-width: 28px;
        max-width: 28px;
        height: 28px;
    }
    .author-posts-wrap{
        margin-top: 40px;
    }
    .author-posts h2{
        font-size: 27px;
        text-align: center;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 350px) {
    .author-name {
        font-size: 1.5em;
    }
    .author-avatar{
        margin-right: 8px;
        width: 60px;
        height: 60px;
    }
    .author-avatar img.no-photo {
        width: 60px;
        height: 60px;
    }
    .author-about h2{
        font-size: 25px;
    }
    .author-posts h2{
        font-size: 25px;
    }
}
