/* =============================================
   AUTHOR LIST PAGE - General Layout
============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}
.section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-xl) 0 var(--space-sm);
}
.section-heading span {
    color: var(--accent);
}
.section-subheading {
    max-width: 550px;
    margin: 0 auto 0;
    color: var(--text-secondary);
    text-align: center;
}
.section-divider {
    border: none;
    height: 1px;
    background-color: var(--border);
    margin: var(--space-lg) 0;
}
.author-group {
    margin-bottom: var(--space-xl);
}
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--border);
    text-align: left;
}
.empty-state {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
}

/* =============================================
   AUTHOR CARD STYLES
============================================= */
.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}
/* author card styles inherited from style.css */

/* =============================================
   SKELETON LOADER STYLES
============================================= */
.skeleton {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}
.skeleton::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--bg-primary), transparent);
    animation: shimmer 1.5s infinite;
}
.skeleton-title {
    height: 36px;
    width: 250px;
    margin-bottom: var(--space-md);
}
.skeleton-card {
    height: 180px;
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =============================================
   MOBILE STYLES
============================================= */
@media (max-width: 768px) {
    .author-grid {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-md);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .author-grid::-webkit-scrollbar {
        display: none;
    }
    .author-card {
        flex: 0 0 180px;
        width: 180px;
    }
    .section-heading {
        font-size: 2rem;
    }
}

/* =============================================
   LOAD MORE BUTTON
============================================= */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    width: 100%;
}

#load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

#load-more-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#load-more-btn:active {
    transform: translateY(0);
}

/* =============================================
   NEW AUTHOR LIST LAYOUT
============================================= */
.author-list-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.author-list-item {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.author-list-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.author-list-initials {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--bg-primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: var(--space-md);
    border: 1px solid var(--border);
}

.author-list-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-list-name {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: var(--text-primary);
}

.author-list-prof {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.author-list-meta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: var(--space-md);
    white-space: nowrap;
}

.author-list-arrow {
    color: var(--text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.author-list-item:hover .author-list-arrow {
    color: var(--accent);
    transform: translateX(4px);
}