.audio-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    align-items: center;
    scrollbar-width: none;
}

.bio-audio {
    margin-top: 0;
    font-size: 1.1rem;
    text-align: left;
}

.bio-audio a {
    color: white;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.filter-controls.sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff5733;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 0 0 20px 20px;
    z-index: 1000;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    min-width: max-content;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: all;
    position: relative;
    z-index: 10;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: white;
    color: #202023;
    border-color: white;
}

.filter-btn.active:hover {
    background: rgba(255, 255, 255, 0.9);
}

.grid-wrapper {
    min-height: 350px;
    width: 100%;
    /* flex: 1; */
    /* display: flex;
    position: relative;
    overflow-y: show; */
}

.grid-fade
{
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    pointer-events: none;
}

.grid {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-content: center;
    scrollbar-width: none;
    max-width: 100%;
}

.grid::-webkit-scrollbar {
    display: none;
}

.grid-item {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    z-index: 1;
    justify-self: center;
}

.grid-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item .item-info {
    position: absolute;
    user-select: none;

    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(32, 32, 35, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    font-size: 1.5rem;
}

.grid-item p {
    margin: 1rem;
}
.grid-item .artist {
    font-weight: bold;
}

.grid-item .role {
    font-size: 1rem;
}

.grid-item:hover .item-info {
    opacity: 1;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .grid-item {
        max-width: 200px;
    }

    .audio-content .grid-item .item-info {
        font-size: .9rem;
    }

    .grid-item .role {
        font-size: 0.7rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .filter-controls {
        flex-wrap: nowrap;
        overflow-x: visible;
    }
}