/* Desktop single bungalow: compact nearby businesses card. */
@media (min-width: 821px) {
    .bungalow-sidebar-column {
        min-width: 0;
        display: grid;
        align-content: start;
        gap: 16px;
    }

    /* The sidebar now contains two cards; keep both in normal document flow. */
    .bungalow-sidebar-column > .bungalow-profile-card {
        position: relative;
        top: auto;
    }

    .btr-desktop-nearby-card {
        width: 100%;
        padding: 18px 18px 14px;
        border: 1px solid #e3e7e5;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(27, 39, 31, .055);
    }

    .btr-desktop-nearby-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .btr-desktop-nearby-head h2 {
        margin: 0;
        color: #17212c;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 700;
        letter-spacing: -.012em;
    }

    .btr-desktop-nearby-head span {
        flex: 0 0 auto;
        color: #238a58;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    .btr-desktop-nearby-list {
        display: grid;
        gap: 4px;
    }

    .btr-desktop-nearby-item {
        min-width: 0;
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
        align-items: center;
        padding: 6px 4px;
        border-radius: 11px;
        text-decoration: none;
        transition: background .18s ease, transform .18s ease;
    }

    .btr-desktop-nearby-item:hover {
        background: #f7f9f7;
        transform: translateX(1px);
    }

    .btr-desktop-nearby-thumb {
        width: 58px;
        height: 46px;
        overflow: hidden;
        display: block;
        border-radius: 9px;
        background: #edf0ec;
    }

    .btr-desktop-nearby-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .btr-desktop-nearby-placeholder {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        background: linear-gradient(145deg, #e8eee8, #f4f6f3);
        color: #657268;
        font-size: 18px;
        font-weight: 700;
    }

    .btr-desktop-nearby-copy {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .btr-desktop-nearby-location {
        overflow: hidden;
        color: #238a58;
        font-size: 10px;
        line-height: 1.25;
        font-weight: 600;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .btr-desktop-nearby-copy strong {
        overflow: hidden;
        color: #1d2731;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 650;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .btr-desktop-nearby-copy small {
        color: #8a9195;
        font-size: 10.5px;
        line-height: 1.25;
    }
}

@media (max-width: 820px) {
    .btr-desktop-nearby-card {
        display: none !important;
    }
}
