/* Search Results */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem;
}

.search-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    /* Align content to the top */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* padding: 1rem; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white;
    max-width: 800px;
}

.search-card__image-container {
    flex-shrink: 0;
    width: 80px;
    /* Reduce width to make it smaller */
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    padding: 0.3rem;
}


.search-card__cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.search-card__content {
    flex-grow: 1;
    padding: 0.5rem 1rem;
}

@media (max-width: 480px) {
    .search-card {
        gap: 0.5rem;
        /* Smaller gap on small screens */
    }

    .search-card__image-container {
        width: 60px;
        /* Further reduce on smaller screens */
        min-height: 90px;
    }

    .search-card__content {
        padding: 0.5rem;
    }
}




.search-card__image-container--placeholder {
    color: #666;
    text-align: center;
    font-size: 0.875rem;
    padding: 1rem;
}


.search-card__cover-image--placeholder {
    display: none;
}


.search-card__header {
    margin-bottom: 0.75rem;
    /* Reduced from 1rem */
}

.search-card__title {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
    /* Reduced from 0.5rem */
}

.search-card__author {
    font-size: 0.9rem;
    /* Reduced from 1rem */
    color: #34495e;
    margin: 0 0 0.2rem 0;
    /* Reduced from 0.25rem */
}

.search-card__type {
    color: #7f8c8d;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    margin: 0;
}

.search-card__locations {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
    /* Reduced from 0.75rem */
    margin: 0.75rem 0;
    /* Reduced from 1rem */
    color: #16a085;
}

.search-card__description {
    font-size: 0.7rem;
    /* Reduced from 0.9rem */
    color: #666;
    line-height: 1.2;
}

.query-display {
    font-style: italic;
    color: #666;
    /* slightly muted color */
    margin-top: -10px;
    /* brings it closer to the count above it */
}