.sloch-listings-wrap,
.sloch-detail-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.sloch-report-heading,
.sloch-detail-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 18px;
}

.sloch-report-title,
.sloch-detail-heading h1 {
    margin: 0;
    line-height: 1.15;
}

.sloch-report-date,
.sloch-detail-location {
    margin-top: 6px;
    color: #666;
}

.sloch-report-count {
    white-space: nowrap;
    font-weight: 600;
}

.sloch-date-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.sloch-nav-link,
.sloch-detail-back a,
.sloch-tour-link {
    text-decoration: none;
    font-weight: 600;
}

.sloch-table-scroll {
    width: 100%;
}

.sloch-listings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.sloch-listings-table th,
.sloch-listings-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.sloch-listings-table th {
    text-align: left;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #555;
    border-bottom: 2px solid #bbb;
}

.sloch-listings-table .sloch-num {
    text-align: right;
    white-space: nowrap;
}

.sloch-listings-table td.sloch-vtour {
    text-align: center;
}

.sloch-address a {
    color: #0066cc;
    font-weight: 700;
    text-decoration: underline;
}

.sloch-address a:visited {
    color: #6b2fa3;
}

.sloch-address a:hover,
.sloch-address a:focus {
    color: #004a99;
}

.sloch-address a:visited:hover,
.sloch-address a:visited:focus {
    color: #54217f;
}

.sloch-detail-hint {
    margin: 0 0 10px;
    font-size: 14px;
}

.sloch-added {
    white-space: nowrap;
}

.sloch-message {
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.sloch-message-error {
    border-color: #d6a6a6;
}

.sloch-detail-back {
    margin-bottom: 18px;
}

.sloch-detail-price {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    white-space: nowrap;
}

.sloch-primary-photo {
    margin: 18px 0 24px;
}

.sloch-primary-photo img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 8px;
}

.sloch-detail-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 28px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.sloch-detail-facts > div {
    padding: 16px 12px;
    text-align: center;
    background: #fff;
    border-right: 1px solid #ddd;
}

.sloch-detail-facts > div:last-child {
    border-right: 0;
}

.sloch-detail-facts strong,
.sloch-detail-facts span {
    display: block;
}

.sloch-detail-facts strong {
    font-size: 20px;
}

.sloch-detail-facts span {
    margin-top: 3px;
    color: #666;
    font-size: 13px;
}

.sloch-detail-section {
    margin: 28px 0;
}

.sloch-detail-section h2 {
    margin-bottom: 10px;
}


@media (max-width: 760px) {
    .sloch-report-heading,
    .sloch-detail-heading {
        display: block;
    }

    .sloch-report-count,
    .sloch-detail-price {
        margin-top: 10px;
    }

    .sloch-listings-table,
    .sloch-listings-table tbody,
    .sloch-listings-table tr,
    .sloch-listings-table td {
        display: block;
        width: 100%;
    }

    .sloch-listings-table thead {
        display: none;
    }

    .sloch-listings-table tr {
        margin: 0 0 14px;
        padding: 14px 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .sloch-listings-table td {
        display: grid;
        grid-template-columns: 92px 1fr;
        gap: 10px;
        padding: 5px 0;
        border: 0;
        text-align: left !important;
        white-space: normal;
    }

    .sloch-listings-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
    }

    .sloch-listings-table td.sloch-address {
        display: block;
        padding-bottom: 8px;
        font-size: 18px;
    }

    .sloch-listings-table td.sloch-address::before {
        display: none;
    }

    .sloch-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sloch-detail-facts > div {
        border-bottom: 1px solid #ddd;
    }
}

/* Detail-page virtual-tour comparison */
.sloch-tour-section {
    margin: 0 0 20px;
}

.sloch-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.sloch-tour-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.sloch-tour-box {
    min-height: 130px;
    padding: 22px 18px;
    border: 2px solid #cfcfcf;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background: #fff;
}

.sloch-tour-box strong {
    display: block;
    font-size: 21px;
    line-height: 1.2;
}

.sloch-tour-box span {
    font-size: 16px;
    line-height: 1.4;
}

.sloch-tour-box a {
    color: #0066cc;
    font-size: 17px;
    font-weight: 700;
    text-decoration: underline;
}

.sloch-tour-box a:hover,
.sloch-tour-box a:focus {
    color: #004a99;
}

.sloch-tour-box-empty {
    background: #f7f7f7;
}

/* Listing attribution remains directly adjacent to the property facts and uses the same body typography as the property description. */
.sloch-listing-attribution {
    margin: 0 0 18px;
    padding: 20px 22px;
    border: 3px solid #222;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.sloch-listing-attribution > div + div {
    margin-top: 8px;
}

.sloch-property-description p {
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .sloch-tour-grid {
        grid-template-columns: 1fr;
    }

    .sloch-tour-box {
        min-height: 0;
    }
}

.sloch-detail-heading h1 {
    font-size: clamp(24px, 3vw, 36px);
}

.sloch-center { text-align: center !important; }
