/* ──────────────────────────────────────────────
   Layout
──────────────────────────────────────────────── */
.ds-results-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.ds-results-list-column,
.ds-results-map-column {
    flex: 1 1 300px;
    min-width: 300px;
    box-sizing: border-box;
}

.ds-results-map {
    width: 100%;
    min-height: 800px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* Mobile behavior */
@media (max-width: 768px) {
    .ds-results-list-column,
    .ds-results-map-column {
        flex: 1 1 100%;
    }
    .ds-results-map {
        min-height: 500px;
    }
}

/* ──────────────────────────────────────────────
   Results cards
──────────────────────────────────────────────── */
.ds-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-card {
    display: flex;
    gap: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
}

.ds-card-image {
    width: 32%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    margin-right: 0.5rem;
}

.ds-card-body {
    flex: 1;
}

/* Typography */
.ds-card-title {
    margin: 0 0 4px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.1366rem;
    line-height: 1.4;
    color: #11294D;
}

.ds-card-title a {
    text-decoration: none !important;
}

.ds-card-phone,
.ds-card-address,
.ds-card-distance,
.ds-card-link {
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.ds-card-distance {
    color: #666;
}

/* CTA Link */
.ds-card-link {
    margin: 1rem 0;
}

.ds-card-link a {
    display: inline-block;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1 !important;
    padding: 0.75em 2.5em;
    border-radius: 0;
    background: var(--color-content-primary);
    border: none;
    color: #fff !important;
    text-decoration: none !important;
    transition: background .3s ease, color .3s ease;
}

.ds-card-link a:hover {
    background: var(--color-content-secondary);
    color: var(--color-content-primary) !important;
}

/* ──────────────────────────────────────────────
   Search Form
──────────────────────────────────────────────── */
.ds-search-form {
    margin-bottom: 20px;
}

.ds-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ds-field {
    flex: 1 1 160px;
}

.ds-field-submit {
    display: flex;
    align-items: flex-end;
}

/* If no results, hide map column */
.ds-results-wrapper.ds-no-results .ds-results-map-column {
    display: none;
}

/* Expand list to full width */
.ds-results-wrapper.ds-no-results .ds-results-list-column {
    flex: 1 1 100%;
    max-width: 100%;
}
.ds-no-results {
	text-align:center;
}