/* Authors Grid Layout */
.authors-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 0;
}

/* Author Card */
.author-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    border-radius: 12px;
}

.author-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.author-card__link {
    display: block;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

/* Avatar / Logo */
.author-card__avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.author-card__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.author-card__initials {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

/* Author Name */
.author-card__name {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
}

/** articles total **/
.arts-total {
    text-align: center;
}

/* Bio */
.author-card__bio {
    margin: 0.75rem 0 0 0;
    padding: .5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000080;
    text-align: center;
}

@media (max-width: 768px) {
    .authors-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        padding: 1rem 0;
    }

    .author-card__link {
        padding: 1.25rem;
    }

    .author-card__avatar {
        width: 70px;
        height: 70px;
    }

    .author-card__initials {
        font-size: 1.75rem;
    }

    .author-card__name {
        font-size: 1.125rem;
    }
}