.header.user-infor .avatar {
    border-radius: 100%;
    margin-right: 30px;
}
.top-main-header .header .title a:before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 35px;
    background-color: #838383;
    margin: 0 5px;
}
.author-page .post-loop {
    /* margin-left: 70px; */
    display: block;
}
.author-page .post-loop .mainlisttitle {
    margin: 22px;
    font-size: 40px;
    font-family: 'BebasNeue-Bold';
}
.infor-box .title img {
    max-width: 34px;
}
.author-page .top-main-header .header-content {
    font-size: 18px;
}
.author-page .alm-load-more-btn.done {
    display: none !important;
}
/* Articles Load More button */
.alm-btn-wrap {
    display: block;
    text-align: center;
    padding: 10px 0 25px;
    position: relative;
}
.alm-btn-wrap .alm-load-more-btn {
    background-color: #00ac2b;
    padding: 0 37px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    border-radius: 6px;
    font-family: 'Roboto-Regular';
    font-weight: 100;
    border: none;
    color: #fff;
    cursor: pointer;
}
.alm-btn-wrap .alm-load-more-btn.loading {
    position: relative;
}
.alm-btn-wrap .alm-load-more-btn.loading::after {
    background: #fff url('/wp-content/plugins/ajax-load-more/core/img/ajax-loader.gif') no-repeat center center;
    width: 30px;
    height: 30px;
    margin: 6px;
    border-radius: 3px;
    display: inline-block;
    z-index: 0;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    -webkit-transition: width .5s ease-in-out;
    transition: width .5s ease-in-out;
}
.alm-load-more-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}
/* Glossary Load More button (scoped to glossary panel only) */
#author-panel-glossary .alm-btn-wrap {
    display: block;
    text-align: center;
    padding: 10px 0 25px;
    position: relative;
}
#author-panel-glossary .alm-btn-wrap .alm-load-more-btn {
    background-color: #00ac2b;
    padding: 0 37px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    border-radius: 6px;
    font-family: 'Roboto-Regular';
    font-weight: 100;
    border: none;
    color: #fff;
    cursor: pointer;
}
#author-panel-glossary .alm-btn-wrap .alm-load-more-btn.loading {
    position: relative;
}
#author-panel-glossary .alm-btn-wrap .alm-load-more-btn.loading::after {
    background: #fff url('/wp-content/plugins/ajax-load-more/core/img/ajax-loader.gif') no-repeat center center;
    width: 30px;
    height: 30px;
    margin: 6px;
    border-radius: 3px;
    display: inline-block;
    z-index: 0;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    -webkit-transition: width .5s ease-in-out;
    transition: width .5s ease-in-out;
}
#author-panel-glossary .alm-load-more-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 430px) {
    .top-main-header .header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    .author-page .post-loop {
        width: auto;
        margin: 0 20px;
    }
    .author-page .post-loop .mainlisttitle {
        margin: 20px 0;
    }
    .header.user-infor .avatar {
        width: 80px;
        height: 80px;
        margin-right: 20px;
    }
    .top-main-header .header .title a:before {
        height: 25px;
    }
    .top-main-header .header .title img {
        width: 24px;
    }
    .post-loop .post-items a img {
        height: auto;
    }
    .author-page .title-page .title-detail {
        font-size: 16px;
    }
}


/* ===== Author Page Tabs ===== */
.author-tabs {
    display: flex;
    gap: 15px;
    margin: 22px;
    flex-wrap: nowrap;
}
.author-tab {
    background: #ABDB9D;
    border-radius: 10px;
    padding: 12px 30px;
    text-align: center;
    border: 2px solid #2F7F51;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}
.author-tab .author-tab-name {
    font-size: 20px;
    font-weight: 500;
    color: #2F7F51;
    font-family: 'Roboto-Medium', sans-serif;
}
.author-tab.active {
    background: #2F7F51;
}
.author-tab.active .author-tab-name {
    color: #fff;
    font-weight: 600;
}
.author-tab:hover:not(.active) {
    background: #95d085;
}

/* Author Tab Panels */
.author-tab-panel {
    display: none;
}
.author-tab-panel.active {
    display: block;
}

/* Empty state */
.author-tab-empty {
    padding: 40px 22px;
    text-align: center;
    font-size: 16px;
    font-family: 'Roboto-Regular', sans-serif;
    line-height: 1.6;
    color: #757575;
}

/* Author Glossary Items */
.author-glossary-items.glossary-items {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0 22px;
}
.author-glossary-items .glossary-item {
    background: #FAFAFA;
    border: 1px solid #DBDBDB;
    border-radius: 5px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 129px;
    margin-bottom: 16px;
}
.author-glossary-items .glossary-item .item-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.author-glossary-items .glossary-item .item-content {
    font-size: 15px;
    line-height: 1.5;
    color: #757575;
    padding: 0;
    flex: 1;
    margin-bottom: 12px;
}
.author-glossary-items .glossary-item .item-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-bottom: 0;
    line-height: 1.5;
}
.author-glossary-items .glossary-item .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-family: 'Roboto-Regular';
}
.author-glossary-items .glossary-item .read-more:hover {
    color: #000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .author-tabs {
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .author-tabs {
        margin: 15px 0;
        gap: 10px;
        justify-content: center;
    }
    .author-tab {
        padding: 10px 20px;
        flex: 1;
    }
    .author-tab .author-tab-name {
        font-size: 16px;
    }
    .author-glossary-items.glossary-items {
        padding: 0;
    }
}
