/* articles/static/css/author_list.css */

.author-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.author-index-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.author-card {
    background: #fff;
    border: 1px solid #efefef;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.author-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.author-role {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #003366; /* Your SciAm Blue */
    font-weight: bold;
    margin-bottom: 8px;
}

.author-info h2 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.author-info h2 a {
    color: #111;
    text-decoration: none;
}

.author-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.view-profile {
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid #000;
}