#primary,
#content {
    overflow: hidden;
}

#content {
    padding: 0 10px;
}

#authorpage .primary-content {
    background-color: #fff;
    padding: 20px 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.menu-icon {
    font-size: 1.5em;
    cursor: pointer;
}

.single-profile-header {
    display: flex;
    align-items: center;
    align-content: space-between;
    column-gap: 20px;
    margin-bottom: 20px;
}

.single-profile-header .single-profile-picture {
    min-height: 109px;
    min-width: 109px;
    border-radius: 12%;
    box-shadow: 0 0 0 1px rgba(31,35,40,0.15);
}

.single-profile-picture-div {
    display: flex;
}

.single-profile-picture-div img.single-author-profile {
    display: flex;
    background-color: #fff;
    padding: 2px;
    border-radius: 10px;
    color: #aaa8a8;
    font-size: 12px;
}

.single-author-info {
    display: flex;
    flex-direction: column;
}

#authorpage .single-author-name {
    margin: 0;
    font-size: 20px;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 900;
    line-height: 29px;
    color: #000000;
}

#authorpage .single-author-title {

}
#authorpage .single-author-title,
#authorpage .single-author-company {
    font-family: 'Fira Sans';
    font-size: 14px;
    color: #000000;
    font-style: normal;
    font-weight: 600;
    margin:0;
}

.single-social-icons a {
    margin-right: 6px;
    font-size: 16px;
}

.single-social-icons a.last {
    margin-right: 0;
}

.single-author-bio {
    max-width: 700px;
}
.single-author-bio p {
    font-family: 'Fira Sans';
    margin-bottom: 10px;
    font-style: normal;
    font-size: 16px;
    color: #000000;
    line-height: 19px;
}

.single-author-stats {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
}
.single-author-stats .stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: space-between;
    column-gap: 12px;
}
.single-author-stats .stat-number {
    align-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background: #EEEEEE;
    border-radius: 5px;
    width: 40px;
    height: 40px;
}
.single-author-stats .stat-label {
    display: flex;
    align-content: center;
    font-family: 'Fira Sans';
    height: 30px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #000000;
}

.detail-div {
    display: flex;
    align-items: stretch; /* Ensure children grow to the same height */
    margin-bottom: 15px;
    column-gap: 20px;
}

.detail-text-group {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    font-size: 14px;
    margin-bottom: 14px;
}

.detail-text-header {
    display: flex;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
}
.detail-text-header img {
    display: flex;
    align-self: center;
    height: 23px;
    width: 23px;
}
.detail-text-header span {
    margin-left: 16px;
}

.detail-text-detail {
    display: flex;
    border-left: 2px solid #000;
    padding: 10px 0 10px 27px;
    margin-left: 10px;
    flex-direction: column;
    gap: 8px;
}
.detail-text-detail p {
    margin-bottom: 0;
}

.single-author-disclaimer {
    font-family: 'Fira Sans';
    color: #777;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    margin: 34px 4px 66px;
}

.single-author-latest-articles-group {
    display: flex;
    flex-direction: column;
    background-color: #EEEEEE;
    margin: -21px;
    padding: 20px;
}

#authorpage .single-author-latest-articles-group h2 {
    font-family: 'Fira Sans';
    margin-bottom: 20px;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
}

.single-author-article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    background-color: #EEEEEE;
}

.single-author-article {
    display: flex;
    flex-direction: column;
}

.single-author-article-list .article-thumbnail {
    width: 100%;
}

.single-author-article-list .article-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 3%;
}

#authorpage .article-content h3 {
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 8px;
}

.content-excerpt {
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 350;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.read-more-text {
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
}

/* Responsive */
@media (min-width: 768px) {
    .single-author-stats {
        display: flex;
        gap: 300px;
        margin: 50px 0;
        justify-content: unset;
    }
    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
