.rent-page .rent-results { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 24px; }
.rent-page .rent-cards { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rent-page .rent-cards > .nothing-found-block { grid-column: 1 / -1; }
.rent-page .nothing-found-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1280px) {
    /* Match the inset of the empty block in the sale results row. */
    .rent-page .rent-cards > .nothing-found-block { margin-inline-start: .5em; }
}
.rent-page .rent-card {
    display: grid;
    grid-template-rows: minmax(100px, 1fr) auto auto;
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 300px;
    aspect-ratio: 584 / 405;
    container-type: inline-size;
    color: #fff;
    background: #999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.rent-page .rent-card-photo {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    line-height: 0;
}
.rent-page .rent-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.rent-page .rent-card-description {
    position: relative;
    z-index: 2;
    align-self: start;
    padding: 10px 60px 18px 10px;
    overflow-wrap: anywhere;
    background: linear-gradient(rgba(0, 0, 0, .6), transparent);
    pointer-events: none;
}
.rent-page .rent-card h2 { font-size: 22px; font-weight: normal; line-height: 1.3; margin: 0 0 4px; }
.rent-page .rent-card .item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
    text-shadow: 0 1px 3px #000;
    text-decoration: none;
    pointer-events: auto;
}
.rent-page .rent-card .item-title:hover { text-decoration: underline; }
.rent-page .rent-card .city { margin: 0; color: #ddd; font-size: 14px; text-shadow: 0 1px 3px #000; }
.rent-page .rent-card-parameters {
    grid-row: 3;
    position: relative;
    z-index: 2;
    padding: 6px 10px 10px;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    overflow-wrap: anywhere;
}
.rent-page .rent-card-facts { display: flex; flex-wrap: wrap; gap: 0 5px; margin: 0; font-size: 14px; line-height: 1.5; }
.rent-page .rent-card-facts > * + *::before { content: "|"; margin-inline-end: 5px; font-weight: normal; }
.rent-page .rent-card-facts b { color: inherit; }
.rent-page .rent-prices {
    display: grid;
    gap: 4px;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    direction: ltr;
    text-align: left;
    list-style: none;
    padding: 8px 10px;
    margin: 0 auto 8px 0;
    background: var(--geoln-surface-muted);
}
.rent-page .rent-card > .rent-prices {
    grid-row: 2;
    justify-self: left;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 20px);
    margin: 0 10px 6px;
    background: rgba(0, 0, 0, .65);
}
.rent-page .rent-prices li {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    padding: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.rent-page .rent-prices .price { font-size: 16px; }
.rent-page .rent-card .rent-price-period { font-size: 13px; }
.rent-page .rent-card .item-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    z-index: 3;
    inset-block-start: 10px;
    inset-inline-end: 10px;
}
.rent-page .rent-card .item-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
    font-size: 22px;
    letter-spacing: normal;
    text-shadow: none;
}
.rent-page .rent-card .show-on-map {
    border: 1px solid currentColor;
    background: transparent;
    color: #fff;
    box-shadow: 0 1px 4px rgba(36, 42, 48, .18);
}
.rent-page .rent-card .show-on-map:hover,
.rent-page .rent-card .show-on-map:focus-visible { color: var(--geoln-action); }
.rent-page .rent-card .item-actions button:focus-visible,
.rent-page .rent-card .item-title:focus-visible { outline: 2px solid var(--geoln-action); outline-offset: 2px; }
.rtl .rent-page .rent-card-description,
.rtl.rent-page .rent-card-description { padding-inline: 10px 60px; }
.rent-favorites-page .compare-table .header > .item > .item-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    min-height: 240px;
    padding-top: 56px;
    color: inherit;
    text-decoration: none;
}
.rent-favorites-page .compare-table .header > .item .item-title > img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}
.rent-favorites-page .compare-table .header > .item .title {
    position: relative !important;
    overflow-wrap: anywhere;
}
.rent-favorites-page .compare-table .header .rental-location,
.rent-favorites-page .compare-table .header .rental-status {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: normal;
}
.rent-favorites-page .compare-table .header .publication-date {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: normal;
}
.rent-favorites-page .compare-table .header button.remove-button {
    min-width: 36px;
    line-height: 1;
    letter-spacing: normal;
    text-shadow: none;
}
.rent-favorites-page .compare-table .header button.remove-button:focus-visible,
.rent-favorites-page .compare-table .header > .item > .item-title:focus-visible {
    outline: 2px solid var(--geoln-action);
    outline-offset: 2px;
}
body.rent-favorites-page .compare-table .header > .item.is-rented img {
    filter: grayscale(1);
}
body.rent-favorites-page .compare-table .header > .item.is-rented .title,
body.rent-favorites-page .compare-table .table-features-value.is-rented,
body.rent-favorites-page .compare-table .table-features-value.is-rented .feature,
body.rent-favorites-page .compare-table .table-features-value.is-rented .feature:nth-child(even):not(.best):not(.worst) {
    background: var(--geoln-surface-muted) !important;
    color: var(--geoln-text-secondary) !important;
    text-shadow: none !important;
}
body.rent-page #map { width: 100%; height: 480px; min-height: 420px; position: relative; }
body.rent-page.search-page #map { min-height: 240px; }
.rent-page .rent-map iframe { width: 100%; height: 480px; border: 0; }
.rent-page .rent-object-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.rent-page .rent-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rent-page .rent-gallery-item { position: relative; }
.rent-page .rent-gallery-item:first-child { grid-column: 1 / -1; }
.rent-page .rent-gallery-item > button {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    z-index: 5;
}
.rent-page .rent-gallery-item > button:focus-visible { outline: 2px solid var(--geoln-action); outline-offset: 2px; }
.rent-page .rent-gallery-photo { display: block; }
.rent-page .rent-gallery-photo img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.rent-page .rent-object-metadata { margin-bottom: 16px; overflow-wrap: anywhere; }
.rent-page .rent-object-metadata .code { color: #aaa; font-size: 13px; }
.rent-page .rent-parameters { width: 100%; table-layout: fixed; }
.rent-page .rent-parameters th, .rent-page .rent-parameters td { overflow-wrap: anywhere; text-align: start; vertical-align: top; padding: 9px; font-weight: normal; }
.rent-page .rent-parameters th { width: 46%; color: #666; }
.rent-page .rent-contact-trigger { margin-top: 20px; }
.rent-page .rent-contact-form { display: grid; gap: 12px; margin: 0; }
.rent-page .rent-contact-form button[hidden] { display: none !important; }
.rent-page .rent-contact-status { margin: 0; }
.rent-page .rent-contact-status:empty { display: none; }
.rent-page .rent-contact-status.is-error { color: var(--geoln-action, #d42028); }
.rent-page .rent-status-rented { font-weight: bold; color: #666; }
.rent-page .rent-description { margin-top: 36px; overflow-wrap: anywhere; }
.rent-page .rent-video { width: 100%; max-width: 800px; aspect-ratio: 16 / 9; border: 0; }
.rent-page.building-page .rent-video { display: block; }
.rent-page.building-page .rent-map-section,
.rent-page.building-page .rent-related-section { margin-top: 32px; }
.rent-page.building-page .rent-map-section > h2 { margin-bottom: 12px; }
.rent-page.building-page .rent-map-section > .btn-load-objects-nearby { display: block; margin: 0 0 10px; }
@media (min-width: 737px) {
    body.rent-page.search-page #main { padding-top: 5.5em; }
}
@media (max-width: 980px) {
    .rent-page .rent-results { display: block; }
    .rent-page .rent-object-top { grid-template-columns: minmax(0, 1fr); }
    .rent-page.search-mobile-list-view #search-results-map { display: none; }
    .rent-page.search-mobile-map-view #search-results-list { display: none; }
}
@media (max-width: 736px) {
    .rent-page.building-page .rent-map-section,
    .rent-page.building-page .rent-related-section { margin-top: 24px; }
}
@media (max-width: 600px) {
    .rent-page .rent-cards { grid-template-columns: minmax(0, 1fr); }
    .rent-page .rent-parameters th { width: 43%; }
    .rent-page .rent-parameters th, .rent-page .rent-parameters td { padding: 7px 4px; font-size: 14px; }
}
