.author-archive-widget {
    display: grid;
    gap: 30px;
}

.author-archive-widget[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.author-archive-widget[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.author-archive-widget[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.author-card {
    background-color: #e2e0d3;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.author-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.author-card:hover .author-avatar img {
    transform: scale(1.05);
}

.author-content {
    text-align: center;
}

.author-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #30472f;
    text-transform: uppercase;
    line-height: 1.2;
}

.author-bio {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-post-count {
    display: inline-block;
    background-color: #30472f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.author-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(48, 71, 47, 0.2);
}

.author-social-links a {
    background-color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.author-social-links a:hover {
    transform: scale(1.1);
    background-color: #30472f;
}

.author-social-links a img {
    width: 18px;
    height: 18px;
}

.author-social-links a:hover img {
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .author-archive-widget[data-columns="4"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .author-archive-widget[data-columns="3"],
    .author-archive-widget[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-card {
        padding: 20px;
    }
    
    .author-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }
    
    .author-name {
        font-size: 20px;
    }
    
    .author-bio {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .author-archive-widget[data-columns="2"],
    .author-archive-widget[data-columns="3"],
    .author-archive-widget[data-columns="4"] {
        grid-template-columns: 1fr;
    }
    
    .author-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .author-name {
        font-size: 18px;
    }
    
    .author-social-links {
        gap: 6px;
    }
    
    .author-social-links a {
        width: 28px;
        height: 28px;
    }
}