body {
 background: rgba(250,252,255,1) !important;
}
.authorPage {
  background-color: #fafcff;
    font-family: inherit;
    margin: 0 auto;
    color: #1a1a1a;
    width: 100%;
    padding: 2rem 0 1rem;

}
.authorPage a {
    text-decoration: none;
    color: inherit;
}

.authorPage ul, .authorPage ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.authorPage .pageMainContainer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 60px;
  width: min(1180px, calc(100% - 40px));
  margin: 4rem auto 0;
}

.authorPage .authorPageWrapper {
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) {
    .authorPage .authorPageWrapper { padding: 0; }
}


.authorPage .breadcrumbs {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    color: #a3a3a3;
  padding: 0 24px;
}
.authorPage .breadcrumbs__list {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 4px;
}
.authorPage .breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.authorPage .breadcrumbs__link {
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.authorPage .breadcrumbs__item a:hover {
    color: #1a1a1a;
}
.authorPage .breadcrumbs__separator {
    padding: 0 4px;
}


.authorPage .author-profile {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .authorPage .author-profile {
        flex-direction: row;
        align-items: flex-start;
    }

}

.authorPage .author-profile__info {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.authorPage .author-profile__name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
@media (min-width: 1024px) {
    .authorPage .author-profile__name { font-size: 42px; }
}
.authorPage .author-profile__details {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.authorPage .author-profile__role {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: rgb(26, 26, 26);
    margin: 0;
}

.authorPage .author-profile__bio {
    font-size: 18px;
    color: rgb(94, 94, 94);
    line-height: 28px;
    margin: 0;
}
.authorPage .author-profile__social-links {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 1rem;
}
.authorPage .author-profile__social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f2f6ff;
    border-radius: 50%;
    color: #1a1a1a;
    transition: opacity 0.2s;
}
.authorPage .author-profile__social-item:hover {
    opacity: 0.7;
}

.authorPage .author-profile__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}
.authorPage .author-profile__avatar {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ddd;
}

.authorPage .articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}
@media (min-width: 640px) {
    .authorPage .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .authorPage .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.authorPage .article-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: transparent;
    border-radius: 8px;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.authorPage .article-card:hover {
    background-color: #ffffff;
    box-shadow: 0px 8px 16px rgba(26,26,26,0.16);
}

.authorPage .article-card__image-link {
    display: block;
    width: 100%;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}
.authorPage .article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authorPage .article-card__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    margin-bottom: 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #e4dffc;
    color: #493a91;
    white-space: nowrap;
    align-self: flex-start;
}

.authorPage .article-card__content-link {
    display: flex;
    flex-direction: column;
}
.authorPage .article-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.authorPage .article-card__excerpt {
    font-size: 18px;
    line-height: 1.5;
    color: #5e5e5e;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.authorPage .article-card__read-more {
    font-size: 18px;
    color: #0055ff;
    font-weight: 500;
}

.authorPage .pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-top: 12px;
}
.authorPage .pagination__list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.authorPage .pagination__item {
    display: flex;
}
.authorPage .pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #212121;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.authorPage .pagination__link:hover {
    background-color: #eeeeee;
}
.authorPage .pagination__link--active {
    width: 36px;
    height: 36px;
    background-color: #eeeeee;
    font-weight: 700;
}
.authorPage .pagination__link--disabled {
    color: #eeeeee;
    pointer-events: none;
}
.authorPage .pagination__icon {
    width: 24px;
    height: 24px;
}