/* --- Section wrapper --- */
.author-hero-section {
    background-color: #F8F8F8;
    padding-top: 24px;
    padding-bottom: 48px;
}

/* --- Breadcrumbs --- */
.author-breadcrumbs {
    text-align: center;
    margin-bottom: 40px;
    font-size: 13px;
    color: #6b6b6b;
}

/* --- Author card (ім'я + аватар | статистика) --- */
.author-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

/* Left part */
.author-card__identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Avatar wrapper */
.author-card__avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;

    overflow: hidden;
}

.author-card__avatar-img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 20% !important;
    display: block;
}

/* Name + role */
.author-card__name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.author-card__role {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* Right part: stats */
.author-card__stats {
    text-align: right;
    flex-shrink: 0;
}

.author-card__stat {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* --- Bio --- */
.author-bio {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 32px;
    max-width: 820px;
}

/* --- Categories --- */
.author-categories {
    margin-bottom: 32px;
}

.author-categories__label,
.author-others__label {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.author-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1.5px solid #d0d0d0;
    border-radius: 100px;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
    background: white;
}

.author-category-tag:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
}

.author-category-tag__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* --- Other authors --- */
.author-others {
    /* empty — label + avatars */
}

.author-others__list {
    display: flex;
    align-items: center;
    gap: 0;
}

.author-others__link {
    display: block;
    margin-right: -8px; /* overlap */
    border-radius: 50%;
    border: 2px solid #fff;
    width: 48px;
    height: 48px;
    overflow: hidden;
    transition: transform 0.15s;
    position: relative;
    z-index: 1;
}

.author-others__link:hover {
    transform: translateY(-3px);
    z-index: 2;
}

.author-others__avatar {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    border-radius: 50% !important;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .author-card {
        flex-direction: column;
        gap: 16px;
    }

    .author-card__stats {
        text-align: left;
        gap: 20px;
        display: flex;
    }

    .author-card__name {
        font-size: 24px;
    }

    /* Avatar wrapper */
    .author-card__avatar,
    .author-card__avatar-img{
        flex-shrink: 0;
        width: 80px!important;
        height: 80px!important;
    }



}