.author-page__hero {
    margin-bottom: 30px;
}

.author-page__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.author-page__main {
    flex: 1 1 0;
    min-width: 0;
}

.author-page__content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    table-layout: auto;
}

.author-page__content table th,
.author-page__content table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
}

.author-page__sidebar {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 991px) {
    .author-page__layout {
        flex-direction: column;
    }

    .author-page__sidebar {
        flex: 1 1 auto;
    }

    .author-page__content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .author-page__content table {
        min-width: 600px;
    }

    .author-page__content table th,
    .author-page__content table td {
        white-space: nowrap;
    }
}