/* Author Page Header Styles */

.author-header-wrapper {
    margin-bottom: 1rem;
}

.author-card {
    background: linear-gradient(to right, #42b983, #38a169);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(66, 185, 131, 0.3);
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
}

.author-bg-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transform: translate(1rem, 1rem);
    z-index: 0;
}

.author-bg-icon i {
    font-size: 4.5rem;
    transform: rotate(-12deg);
    color: #fff;
}

.author-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-info {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
    line-height: 1.2;
}

.author-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.author-stat-item {
    display: flex;
    align-items: center;
}

.author-stat-item i {
    margin-right: 0.375rem;
    opacity: 0.8;
}

.author-stat-value {
    font-weight: 700;
    margin-right: 0.125rem;
}

.author-stat-item.last-updated {
    display: none;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .author-header-wrapper {
        margin-bottom: 1.5rem;
    }

    .author-card {
        padding: 1.25rem;
    }

    .author-bg-icon i {
        font-size: 8rem;
    }

    .author-content {
        gap: 1.5rem;
    }

    .author-avatar {
        width: 6rem;
        height: 6rem;
    }

    .author-name {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .author-stats {
        font-size: 0.875rem;
    }
}

@media (min-width: 640px) {
    .author-stat-item.last-updated {
        display: flex;
    }
}
