/* ================================================
   Author Archive Styles
   ================================================ */

/* Author Header Section */
.axilweb-author-header {
    text-align: center;
    padding: 0 0 6rem 0;
}

.axilweb-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
}

.axilweb-author-avatar {
    position: relative;
    z-index: 2;
}

.axilweb-author-avatar img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(16, 7, 39, 0.15);
    transition: all 0.3s ease;
}

.axilweb-author-avatar img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 7, 39, 0.2);
}

.axilweb-author-details {
    text-align: center;
    /* max-width: 60rem; */
}

.axilweb-author-name {
    font-size: 3.6rem;
    line-height: 5rem;
    font-weight: 700;
    color: #100727;
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.axilweb-author-bio {
    margin-bottom: 3rem;
}

.axilweb-author-bio p {
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #625C70;
    margin-bottom: 0;
}

.axilweb-author-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.axilweb-author-meta span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #625C70;
}

.axilweb-author-meta i {
    color: #0dc270;
    font-size: 1.4rem;
}

.axilweb-author-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.axilweb-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 50%;
    color: #625C70;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.axilweb-social-link:hover {
    background: #0dc270;
    color: #fff;
    border-color: #0dc270;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Posts Section */
.axilweb-author-posts-header {
    text-align: center;
    margin-bottom: 6rem;
}

.axilweb-author-posts-header h2 {
    font-size: 3.6rem;
    line-height: 4.4rem;
    font-weight: 600;
    color: #100727;
    margin-bottom: 0;
    text-transform: capitalize;
}

.axilweb-author-posts-grid {
    margin-bottom: 6rem;
}

/* Pagination Styles */
.axilweb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}
.axilweb-pagination .nav-links {
    display: flex;
    align-items: center;
}

.axilweb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    height: 4rem;
    padding: 0 1.5rem;
    margin: 0 0.5rem;
    background: #f8f9fa;
    color: #625C70;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.axilweb-pagination .page-numbers:hover,
.axilweb-pagination .page-numbers.current {
    background: #0dc270;
    color: #fff;
    text-decoration: none;
}

.axilweb-pagination .page-numbers.prev,
.axilweb-pagination .page-numbers.next {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.axilweb-pagination .page-numbers i {
    font-size: 1.3rem;
}

/* No Content Section */
.axilweb-no-content {
    text-align: center;
    /* padding: 8rem 0; */
}

.axilweb-no-content h2 {
    font-size: 3.6rem;
    line-height: 4.4rem;
    color: #100727;
    margin-bottom: 2rem;
}

.axilweb-no-content p {
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #625C70;
    margin-bottom: 0;
}

/* Responsive Design */
@media only screen and (max-width: 1199px) {
    /* .axilweb-author-archive {
        padding: 6rem 0 8rem;
    } */
    
    .axilweb-author-header {
        padding: 4rem 0 6rem;
    }
    
    .axilweb-author-name {
        font-size: 3.6rem;
        line-height: 4.4rem;
    }
    
    .axilweb-author-posts-header h2 {
        font-size: 3.2rem;
        line-height: 4rem;
    }
}

@media only screen and (max-width: 991px) {
    /* .axilweb-author-archive {
        padding: 5rem 0 7rem;
    } */
    
    .axilweb-author-header {
        padding: 3rem 0 5rem;
    }
    
    .axilweb-author-info {
        gap: 2rem;
    }
    
    .axilweb-author-name {
        font-size: 3.2rem;
        line-height: 4rem;
    }
    
    .axilweb-author-meta {
        gap: 2rem;
    }
    
    .axilweb-author-posts-header h2 {
        font-size: 2.8rem;
        line-height: 3.6rem;
    }
}

@media only screen and (max-width: 767px) {
    /* .axilweb-author-archive {
        padding: 4rem 0 6rem;
    } */
    
    .axilweb-author-header {
        padding: 2rem 0 4rem;
        margin-bottom: 3rem;
    }
    
    .axilweb-author-info {
        gap: 1.5rem;
    }
    
    .axilweb-author-avatar img {
        width: 10rem;
        height: 10rem;
    }
    
    .axilweb-author-name {
        font-size: 2.8rem;
        line-height: 3.4rem;
        margin-bottom: 1.5rem;
    }
    
    .axilweb-author-bio p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
    
    .axilweb-author-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .axilweb-author-meta span {
        font-size: 1.4rem;
    }
    
    .axilweb-social-link {
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
    }
    
    .axilweb-author-posts-header {
        margin-bottom: 3rem;
    }
    
    .axilweb-author-posts-header h2 {
        font-size: 2.4rem;
        line-height: 3rem;
    }
    
    .axilweb-author-posts-grid {
        margin-bottom: 4rem;
    }
    
    .axilweb-pagination .page-numbers {
        min-width: 4rem;
        height: 4rem;
        font-size: 1.4rem;
        padding: 0 1rem;
        margin: 0 0.3rem;
    }
    
    .axilweb-pagination .page-numbers.prev,
    .axilweb-pagination .page-numbers.next {
        padding: 0 1.5rem;
    }
    
    .axilweb-no-content {
        padding: 6rem 0;
    }
    
    .axilweb-no-content h2 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }
    
    .axilweb-no-content p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media only screen and (max-width: 575px) {
    /* .axilweb-author-archive {
        padding: 3rem 0 5rem;
    } */
    
    .axilweb-author-name {
        font-size: 2.4rem;
        line-height: 3rem;
    }
    
    .axilweb-author-posts-header h2 {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }
    
    .axilweb-social-link {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.4rem;
    }
}

/* Dark Mode Support (if theme supports it) */
@media (prefers-color-scheme: dark) {
    .axilweb-author-avatar img {
        border-color: #2a2a2a;
    }
    
    .axilweb-social-link {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .axilweb-pagination .page-numbers {
        background: #2a2a2a;
        color: #e0e0e0;
    }
}

/* Author Link Component (for use in posts and other areas) */
.axilweb-author-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

/* Author link in post cards */
.custom-card .axilweb-author-link {
    margin: 1.5rem 0 0.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid #f1f1f1;
}

.custom-card .axilweb-author-link-avatar img {
    width: 2.4rem;
    height: 2.4rem;
}

.custom-card .axilweb-author-link-name a {
    font-size: 1.3rem;
    font-weight: 500;
}

.custom-card .axilweb-author-link-date {
    font-size: 1.1rem;
}

.axilweb-author-link-avatar img {
    width: 3.2rem;
    height: 3.2rem;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.axilweb-author-link-avatar a:hover img {
    border-color: #0dc270;
    transform: scale(1.1);
}

.axilweb-author-link-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.axilweb-author-link-name a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #100727;
    text-decoration: none;
    transition: color 0.3s ease;
}

.axilweb-author-link-name a:hover {
    color: #0dc270;
    text-decoration: none;
}

.axilweb-author-link-date {
    font-size: 1.2rem;
    color: #625C70;
}

/* Inline author link variant */
.axilweb-author-link.inline {
    display: inline-flex;
    margin: 0;
}

.axilweb-author-link.inline .axilweb-author-link-avatar img {
    width: 2.4rem;
    height: 2.4rem;
}

.axilweb-author-link.inline .axilweb-author-link-name a {
    font-size: 1.3rem;
}

.axilweb-author-link.inline .axilweb-author-link-date {
    font-size: 1.1rem;
}

/* Category Tabs Styles */
.axilweb-category-tabs {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.category-tab-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 2rem;
}

.tab-nav-item {
    margin: 0;
}

.tab-nav-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 30px;
    color: #625C70;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    
}

.tab-nav-button:hover,
.tab-nav-button.active {
    text-decoration: none;
    border-color: #0dc270;
    background: #0dc270;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 194, 112, 0.3);
}

.tab-nav-button .post-count {
    font-weight: 400;
}

.tab-nav-button:focus {
    outline: none;
}

/* Loading Spinner */
.axilweb-loading-spinner {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border: 3px solid #f1f1f1;
    border-top: 3px solid #0dc270;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.axilweb-loading-spinner p {
    color: #625C70;
    font-size: 1.6rem;
    margin: 0;
}

/* Posts container transition */
#posts-container {
    transition: opacity 0.3s ease;
}

#posts-container.loading {
    opacity: 0.3;
}

/* Responsive tabs */
@media only screen and (max-width: 991px) {
    .category-tab-nav {
        gap: 0.8rem;
    }
    
    .tab-nav-button {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }
    
    .tab-nav-button .post-count {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 767px) {
    .axilweb-category-tabs {
        margin-bottom: 3rem;
    }
    
    .category-tab-nav {
        gap: 0.5rem;
        padding-bottom: 0.8rem;
    }
    
    .tab-nav-button {
        padding: 0.8rem 1.2rem;
        font-size: 1.3rem;
        border-radius: 2rem;
    }
    
    .tab-nav-button .post-count {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 575px) {
    .category-tab-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }
    
    .category-tab-nav::-webkit-scrollbar {
        height: 4px;
    }
    
    .category-tab-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .category-tab-nav::-webkit-scrollbar-thumb {
        background: #0dc270;
        border-radius: 2px;
    }
    
    .tab-nav-button {
        padding: 0.7rem 1rem;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
}

/* Archive Page Styles */
.axilweb-archive-header {
    /* padding: 4rem 0 6rem;
    margin-bottom: 4rem; */
}

.axilweb-archive-title {
    font-size: 3.6rem;
    line-height: 4.4rem;
    font-weight: 600;
    color: #100727;
    margin-bottom: 2rem;
}

.axilweb-archive-description {
    max-width: 60rem;
    margin: 0 auto 3rem;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #625C70;
}

.axilweb-archive-description p {
    margin-bottom: 0;
}

.axilweb-archive-meta {
    margin-bottom: 3rem;
}

.archive-post-count {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #625C70;
    background: #f8f9fa;
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
}

.archive-post-count i {
    color: #0dc270;
    font-size: 1.4rem;
}

.axilweb-archive-posts-grid {
    margin-bottom: 6rem;
}

/* Archive page responsive styles */
@media only screen and (max-width: 991px) {
    .axilweb-archive-header {
        padding: 3rem 0 4rem;
        margin-bottom: 3rem;
    }
    
    .axilweb-archive-title {
        font-size: 3.2rem;
        line-height: 4rem;
    }
    
    .axilweb-archive-description {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media only screen and (max-width: 767px) {
    .axilweb-archive-header {
        padding: 2rem 0 3rem;
        margin-bottom: 2rem;
    }
    
    .axilweb-archive-title {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }
    
    .axilweb-archive-description {
        font-size: 1.5rem;
        line-height: 2.2rem;
    }
    
    .archive-post-count {
        font-size: 1.4rem;
        padding: 0.6rem 1.2rem;
    }
    
    .axilweb-archive-posts-grid {
        margin-bottom: 4rem;
    }
}

@media only screen and (max-width: 575px) {
    .axilweb-archive-title {
        font-size: 2.4rem;
        line-height: 3rem;
    }
}

/* Print Styles */
@media print {
    .axilweb-author-social,
    .axilweb-pagination {
        display: none;
    }
    
    .axilweb-author-archive {
        padding: 0;
    }
    
    .axilweb-author-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .axilweb-author-link-avatar {
        display: none;
    }
}


/* Single Page Sidebar Widget */
.sidebar-area {
    display: grid;
    gap: 30px;
}
.sidebar-area .sidebar-widget {
   border: 1px solid #f1f1f1;
   padding: 20px;
   border-radius: 8px;
}

.sidebar-widget .sidebar-title {
    font-size: 24px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.sidebar-widget ul {
    padding: 0;
    list-style: none;
    font-size: 18px;
}
.widget_recent_entries ul li,
.widget_categories ul li
 {
   border-bottom: 1px solid #f1f1f1;
}
.widget_recent_entries ul li:last-child,
.widget_categories ul li:last-child
 {
   border-bottom: none;
}
.widget_recent_entries ul li a,
.widget_categories ul li a
 {
    display: block;
    color: #625C70;
    padding: 10px 0;
}
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover
 {
    text-decoration: none;
    color: #0dc270;
}
.widget_categories ul li
 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}