﻿.side-panel {
    border-right: 1px solid #e0e0e0;
    padding: 10px;
    width: 300px;
    flex-shrink: 0;
}


.listing-list {
    padding: 10px;
    flex-grow: 1;
}


.listing {
    margin-bottom: 5px;
    border: 1px solid #e0e0e0;
    transition: all .5s ease;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    padding: 5px;
}


.listing:hover {
    background: #f0f0f0;
    box-shadow: 1px 1px 2px #4a4a4a;
}


.listing:hover a {
    text-decoration: underline;
}


.listing:nth-child(odd) {
    background-color: #f9f9f9;
}


.highlight {
    border: 5px solid gold;
}


.listing-image-wrapper {
    position: relative;
}


.listing-image {
    position: relative;
    border: 1px solid #e0e0e0;
    width: 160px;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex-shrink: 0;
}


.confirmed-user {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}


.thumbnail-image, .logo-thumbnail {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.thumbnail-background, .logo-thumbnail-background {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    filter: blur(8px);
    object-fit: cover;
}


.listing-text {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    flex-grow: 1;
}


.listing-header {
    font-weight: 600;
    text-align: start;
}


.listing-description {
    flex-grow: 1;
}


.listing-info {
    font-style: italic;
}


.listing-price {
    flex-shrink: 0;
    color: #bf1313;
    font-weight: 600;
    font-size: 1.2rem;
}


@media (max-width: 1000px) {
    .listing {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }


    .listing-text {
        align-items: center;
        text-align: center;
    }


    .listing-header {
        text-align: center;
    }


    .listing-list {
        width: 100%;
    }


    a {
        text-decoration: underline;
    }

}



