﻿
/* Search results - one image left, content right (OVO-style) */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d9e2f1;
    transition: box-shadow 0.2s ease;
}

    .search-result-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.search-result-image {
    flex: 0 0 400px;
    width: 400px;
    height: 300px;
    overflow: hidden;
    background: #e8eef8;
}

    .search-result-image img {
        width: 400px;
        height: 300px;
        object-fit: cover;
        display: block;
    }

.search-result-body {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.search-result-name {
    font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.015em;
    font-size: 1.25rem;
    margin: 0 0 0.35rem 0;
    color: #0390fc;
}

.search-result-location {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

.search-result-features {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.75rem;
}

.search-result-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.search-result-features .icon-bed,
.search-result-features .icon-bath,
.search-result-features .icon-th-large,
.search-result-features .icon-snowflake-o {
    font-size: 0.94em;
    color: #555;
}

.search-result-desc {
    font-size: 0.9rem;
    color: #374151;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    flex: 1;
}

.search-result-body .btn {
    align-self: flex-start;
}

/* Tablet and below: stack text under image */
@media (max-width: 1199px) {
    .search-result-card {
        flex-direction: column;
    }

    .search-result-image {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

        .search-result-image img {
            width: 100%;
        height: 100%;
        }
}
