.author-profile,
.authors-directory {
    padding-top: 32px;
    padding-bottom: 64px;
}

.author-profile .breadcrumbs,
.authors-directory .breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 14px;
}

.author-profile-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.author-avatar {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(128, 128, 128, 0.12);
}

.author-info h1,
.authors-directory h1 {
    margin: 0 0 16px;
}

.author-role {
    opacity: 0.65;
    margin-bottom: 16px;
}

.author-description {
    line-height: 1.7;
    max-width: 700px;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.authors-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
}

.authors-card .author-avatar {
    width: 72px;
    height: 72px;
}

.authors-card h2 {
    font-size: 18px;
    margin: 0 0 6px;
}

.authors-card p {
    font-size: 14px;
    opacity: 0.65;
    margin: 0;
}

@media (max-width: 600px) {
    .author-profile-card {
        flex-direction: column;
        gap: 20px;
    }

    .author-avatar {
        width: 120px;
        height: 120px;
    }

    .authors-card .author-avatar {
        width: 72px;
        height: 72px;
    }
}

img.author-avatar {
    object-fit: contain;
    image-rendering: pixelated;
}

/* Подвал внизу экрана на страницах авторов */
body.author-page,
body.authors-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

body.author-page > main,
body.authors-page > main {
    flex: 1;
}

