.authornav-columns {
    column-count: 4;
    /* Max 4 columns */
    column-gap: 1.5rem;
    /* Denser spacing */
}

.authornav-item {
    break-inside: avoid-column;
    margin-bottom: 0.6rem;
    /* Tighter vertical spacing */
}

.authornav-letter {
    margin-top: 1.2rem;
    position: relative;
}

.authornav-letter .letter-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    color: #2c3e50;
    /* Dark blue instead of black */
    font-weight: 700;
    font-size: 1.2em;
    background: transparent;
    position: relative;
}

/* Add subtle left border to letters instead of background */
.authornav-letter .letter-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 3px;
    background: #3498db;
}

.authornav-link {
    display: block;
    padding: 0.4rem 0.8rem;
    /* More compact padding */
    transition: all 0.2s ease;
    color: #333;
    /* Removed border */
}

.authornav-link:hover {
    text-decoration: none;
    color: #3498db;
    transform: translateX(3px);
    /* Smaller hover movement */
    background: transparent;
}

.authornav-product-count {
    margin-left: 0.5rem;
    font-size: 0.9em;
    color: #95a5a6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .authornav-columns {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .authornav-columns {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .authornav-columns {
        column-count: 1;
    }

    .authornav-letter {
        margin-top: 1rem;
    }

    .authornav-letter .letter-label {
        padding-left: 1.2rem;
    }

    .authornav-letter .letter-label::before {
        width: 4px;
    }
}