.remp,
.remp * {
    box-sizing: border-box;
}

.remp-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.remp-properties {
    color: #0b2a44;
}

.remp-archive {
    background: #f6f8fa;
}

.remp-archive-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.remp-archive-hero {
    padding: 42px 0 30px;
    background:
        linear-gradient(115deg, rgba(5, 33, 55, .96), rgba(10, 52, 81, .86)),
        #082b49;
    border-top: 1px solid rgba(11, 42, 68, .06);
}

.remp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.remp-breadcrumbs a {
    color: #d9bf78;
}

.remp-archive h1 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1.15;
}

.remp-archive-hero p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
}

.remp-archive-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.remp-archive-stats span {
    display: grid;
    min-width: 132px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.remp-archive-stats b {
    color: #fff;
    font-size: 25px;
    line-height: 1.05;
}

.remp-archive-body {
    padding: 34px 0 52px;
}

.remp-featured-strip {
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid rgba(11, 42, 68, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.remp-featured-strip-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.remp-featured-strip-head p {
    margin: 0;
    color: #082b49;
    font-size: 20px;
    font-weight: 900;
}

.remp-featured-strip-head span {
    color: #64748b;
    font-size: 13px;
}

.remp-featured-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.remp-featured-mini {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 154px;
    border-radius: 6px;
    background: #0b2a44;
    color: #fff;
}

.remp-featured-mini:after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(5, 18, 31, .06), rgba(5, 18, 31, .82));
}

.remp-featured-mini img {
    width: 100%;
    height: 154px;
    object-fit: cover;
    display: block;
    transition: transform .24s ease;
}

.remp-featured-mini:hover img {
    transform: scale(1.04);
}

.remp-featured-mini span {
    position: absolute;
    z-index: 1;
    left: 14px;
    right: 14px;
    bottom: 13px;
    display: grid;
    gap: 3px;
}

.remp-featured-mini b {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
}

.remp-featured-mini em {
    color: #d9bf78;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.remp-active-filters {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid rgba(11, 42, 68, .08);
    border-radius: 8px;
    background: #fff;
}

.remp-active-filters p {
    margin: 0 0 9px;
    color: #0b2a44;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.remp-active-filters div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.remp-active-filters span,
.remp-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f4f6f8;
    color: #385066;
    font-size: 12px;
    font-weight: 800;
}

.remp-active-filters b {
    color: #0b2a44;
}

.remp-active-filters a {
    background: #082b49;
    color: #fff;
}

.remp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin: 0 0 18px;
}

.remp-toolbar p {
    margin: 0;
    color: #0b2a44;
    font-size: 18px;
    font-weight: 800;
}

.remp-toolbar span {
    color: #6f7d8b;
    font-size: 13px;
}

.remp-sort-form {
    display: flex;
    align-items: end;
    gap: 14px;
}

.remp-sort-form label {
    display: grid;
    gap: 5px;
    margin: 0;
}

.remp-sort-form select {
    min-width: 170px;
    min-height: 38px;
    border: 1px solid rgba(11, 42, 68, .14);
    border-radius: 4px;
    padding: 7px 34px 7px 10px;
    background-color: #fff;
    color: #0b2a44;
}

.remp-view-switch {
    display: inline-flex;
    gap: 8px;
    padding-bottom: 1px;
}

.remp-view-switch a {
    display: grid;
    place-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(11, 42, 68, .14);
    border-radius: 4px;
    background: #fff;
}

.remp-view-switch a:first-child {
    grid-template-columns: repeat(2, 7px);
    gap: 4px;
}

.remp-view-switch a span,
.remp-view-switch a i {
    display: block;
    background: #96a0aa;
}

.remp-view-switch a span {
    width: 7px;
    height: 7px;
    border-radius: 2px;
}

.remp-view-switch a i {
    width: 18px;
    height: 3px;
    margin: 2px 0;
    border-radius: 2px;
}

.remp-view-switch a.is-active {
    border-color: var(--remp-button-color, #0d6efd);
}

.remp-view-switch a.is-active span,
.remp-view-switch a.is-active i {
    background: var(--remp-button-color, #0d6efd);
}

.remp-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 42, 68, .07);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(11, 42, 68, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.remp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(185, 148, 28, .24);
    box-shadow: 0 24px 58px rgba(11, 42, 68, .14);
}

.remp-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef3f6;
}

.remp-card-image img,
.remp-single-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remp-card-image img {
    transition: transform .24s ease;
}

.remp-card:hover .remp-card-image img {
    transform: scale(1.035);
}

.remp-card-image:after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(3, 18, 32, .46) 0%, rgba(3, 18, 32, 0) 34%),
        linear-gradient(180deg, rgba(3, 18, 32, 0) 42%, rgba(3, 18, 32, .82) 100%);
    pointer-events: none;
}

.remp-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #8ba0b3;
    font-weight: 700;
}

.remp-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.remp-badge-featured {
    top: 14px;
    left: 14px;
    background: #d6a51f;
}

.remp-badge-type {
    top: 14px;
    right: 14px;
    background: rgba(8, 23, 38, .82);
}

.remp-card-photo-count {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 4px;
    background: rgba(8, 23, 38, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.remp-card-price-overlay {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 16px;
    display: grid;
    gap: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}

.remp-card-price-overlay small {
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.remp-card-price-overlay strong {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
}

.remp-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 11px;
    padding: 18px;
}

.remp-card-meta,
.remp-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.remp-card h3 {
    margin: 0;
    color: #082b49;
    font-size: 18px;
    line-height: 1.3;
}

.remp-card h3 a {
    color: inherit;
}

.remp-card-location,
.remp-card-excerpt {
    margin: 0;
    color: #64748b;
}

.remp-card-location {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.remp-card-title-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
}

.remp-card-code {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 4px;
    background: #f2f5f7;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.remp-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
}

.remp-card-meta {
    gap: 7px;
}

.remp-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid rgba(11, 42, 68, .09);
    border-radius: 4px;
    background: #f8fafc;
    color: #425466;
    font-size: 12px;
    font-weight: 800;
}

.remp-card-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
    padding: 4px 0;
}

.remp-card-specs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 7px 8px;
    border-radius: 4px;
    background: #f5f7f9;
    color: #183b56;
    font-size: 12px;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remp-card-specs b {
    color: #0b2a44;
    font-size: 15px;
    line-height: 1;
}

.remp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(11, 42, 68, .08);
}

.remp-card-footer span {
    min-width: 0;
    color: #5f7283;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.remp-card-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 4px;
    background: #b9941c;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.remp-card-footer a:hover {
    background: #082b49;
    color: #fff;
}

.remp-view-list .remp-property-grid {
    grid-template-columns: 1fr;
}

.remp-view-list .remp-card {
    display: grid;
    grid-template-columns: minmax(320px, 42%) 1fr;
}

.remp-view-list .remp-card-image {
    height: 100%;
    min-height: 285px;
    aspect-ratio: auto;
}

.remp-view-list .remp-card-body {
    padding: 24px;
}

.remp-view-list .remp-card-specs {
    max-width: 520px;
}

.remp-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(16, 34, 53, .1);
    border-radius: 8px;
    color: #64748b;
    text-align: center;
}

.remp-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid rgba(16, 34, 53, .1);
    border-radius: 8px;
}

.remp-search-quick {
    grid-template-columns: 1.15fr 1.15fr 1.15fr 1fr 1fr auto;
    align-items: end;
    margin: -34px auto 34px;
    max-width: 1180px;
    position: relative;
    z-index: 5;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.remp-search-advanced {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.remp-search-head {
    grid-column: 1 / -1;
}

.remp-search-head p {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.remp-search-head span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
}

.remp-search input,
.remp-search select,
.remp-lead-form input,
.remp-lead-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(16, 34, 53, .16);
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
}

.remp-search button,
.remp-lead-form button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    padding: 10px 18px;
    background: var(--remp-button-color, #0d6efd);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.remp-search-quick button {
    white-space: nowrap;
}

.remp-single-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.remp-eyebrow {
    margin: 0 0 8px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 800;
}

.remp-single-portal {
    background: #fff;
    color: #082b49;
}

.remp-single-showcase {
    position: relative;
    min-height: 78vh;
    background-color: #10283b;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.remp-single-showcase:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 21, 35, .86) 0%, rgba(3, 21, 35, .58) 46%, rgba(3, 21, 35, .18) 100%),
        linear-gradient(0deg, rgba(3, 21, 35, .55), rgba(3, 21, 35, .08));
}

.remp-showcase-overlay {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: end;
    gap: 36px;
    width: min(1240px, calc(100% - 42px));
    min-height: 78vh;
    margin: 0 auto;
    padding: 92px 0 46px;
}

.remp-showcase-copy {
    max-width: 760px;
}

.remp-brand-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #d9bf78;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.remp-brand-mark,
.remp-summary-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(217, 191, 120, .85);
    color: #d9bf78;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.remp-showcase-copy .remp-eyebrow {
    color: rgba(255, 255, 255, .72);
}

.remp-showcase-copy h1 {
    max-width: 820px;
    margin: 0 0 20px;
    color: #fff;
    font-size: 56px;
    line-height: 1.04;
}

.remp-showcase-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.remp-showcase-meta strong,
.remp-showcase-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.remp-showcase-meta strong {
    border-color: rgba(217, 191, 120, .55);
    color: #f3d989;
}

.remp-showcase-intro {
    max-width: 660px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.7;
}

.remp-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.remp-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.remp-showcase-thumbs {
    display: grid;
    gap: 10px;
}

.remp-showcase-thumbs button {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.remp-showcase-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.remp-showcase-thumbs button:hover img {
    transform: scale(1.04);
}

body.single-property .blog-wrapper .row-divided {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-property .blog-wrapper .large-9.col {
    flex-basis: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single-property .blog-wrapper .post-sidebar,
body.single-property .blog-wrapper .entry-header,
body.single-property .blog-wrapper .article-inner > .entry-divider {
    display: none !important;
}

body.single-property .blog-wrapper .entry-content.single-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.single-property .blog-wrapper .article-inner,
body.single-property .blog-wrapper .entry-content {
    margin: 0 !important;
}

.remp-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    min-height: 620px;
    background: #f7f8fa;
}

.remp-single-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 2px;
    min-height: 620px;
}

.remp-mosaic-item {
    display: block;
    overflow: hidden;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #edf2f6;
    cursor: pointer;
}

.remp-mosaic-item img {
    width: 100%;
    height: 100%;
    min-height: 205px;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.remp-mosaic-item:hover img {
    transform: scale(1.03);
}

.remp-mosaic-placeholder {
    grid-column: 1 / -1;
    grid-row: 1 / span 3;
}

.remp-mosaic-count-1,
.remp-mosaic-count-2,
.remp-mosaic-count-3,
.remp-mosaic-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.remp-mosaic-count-1 .remp-mosaic-item:first-child {
    grid-column: 1 / -1;
    grid-row: 1 / span 2;
}

.remp-mosaic-count-2 .remp-mosaic-item,
.remp-mosaic-count-3 .remp-mosaic-item,
.remp-mosaic-count-4 .remp-mosaic-item {
    min-height: 310px;
}

.remp-mosaic-count-3 .remp-mosaic-item:first-child {
    grid-row: span 2;
}

.remp-single-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 620px;
    padding: 56px;
    text-align: center;
}

.remp-summary-logo {
    margin-bottom: 18px;
}

.remp-single-summary h1 {
    max-width: 620px;
    margin: 0 0 14px;
    color: #082b49;
    font-size: 42px;
    line-height: 1.12;
}

.remp-single-price {
    display: block;
    margin-bottom: 16px;
    color: #7d7d7d;
    font-size: 24px;
    line-height: 1.25;
}

.remp-single-location,
.remp-single-intro {
    max-width: 560px;
    margin: 0 0 18px;
    color: #777;
    font-size: 17px;
    line-height: 1.6;
}

.remp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    background: #b9941c;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.remp-single-band {
    padding: 42px 0 52px;
    background: #8c8c8c;
    color: #fff;
}

.remp-single-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.remp-single-band h2,
.remp-single-main h2 {
    margin: 0 0 26px;
    color: inherit;
    font-size: 30px;
    line-height: 1.2;
}

.remp-single-specs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
}

.remp-single-specs div {
    display: grid;
    gap: 4px;
}

.remp-single-specs span {
    font-size: 28px;
    line-height: 1;
}

.remp-single-specs strong {
    color: #fff;
    font-size: 27px;
    line-height: 1.1;
}

.remp-single-specs small {
    color: #082b49;
    font-size: 17px;
    line-height: 1.25;
}

.remp-single-main {
    padding: 64px 0;
}

.remp-detail-section,
.remp-description-section,
.remp-single-map,
.remp-lifestyle-section,
.remp-energy-section,
.remp-related-section {
    margin-bottom: 42px;
}

.remp-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    margin: 0;
}

.remp-detail-grid div {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(8, 43, 73, .12);
}

.remp-detail-grid dt {
    color: #082b49;
    font-weight: 900;
}

.remp-detail-grid dd {
    margin: 0;
    color: #183b56;
    text-align: right;
}

.remp-content {
    color: #183b56;
    font-size: 16px;
    line-height: 1.85;
}

.remp-content p {
    margin: 0 0 18px;
}

.remp-lifestyle-section {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(280px, .5fr);
    gap: 34px;
    padding: 34px;
    background: #f5f1e6;
}

.remp-lifestyle-section span,
.remp-related-head span {
    display: block;
    margin-bottom: 8px;
    color: #b9941c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.remp-lifestyle-section p {
    max-width: 620px;
    margin: 0;
    color: #526372;
    line-height: 1.75;
}

.remp-lifestyle-section ul {
    display: grid;
    gap: 10px;
    align-content: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.remp-lifestyle-section li {
    padding: 11px 13px;
    background: #fff;
    color: #183b56;
    font-weight: 800;
}

.remp-energy-section {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
    padding: 32px;
    background: #112f45;
    color: #fff;
}

.remp-energy-section h2 {
    color: #fff;
}

.remp-energy-section p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.75;
}

.remp-energy-section strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 96px;
    border: 2px solid rgba(217, 191, 120, .65);
    color: #d9bf78;
    font-size: 42px;
    font-weight: 900;
}

.remp-related-head {
    margin-bottom: 20px;
}

.remp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.remp-single-map .remp-map {
    min-height: 480px;
    border-radius: 0;
}

.remp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(4, 18, 32, .9);
}

.remp-lightbox.is-open {
    display: grid;
}

.remp-lightbox-images {
    width: min(1100px, 96vw);
    height: min(760px, 86vh);
}

.remp-lightbox-images img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.remp-lightbox-images img.is-active {
    display: block;
}

.remp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #082b49;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.remp-single-media {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    background: #eef3f6;
    margin-bottom: 24px;
}

.remp-gallery {
    margin-bottom: 24px;
}

.remp-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    background: #eef3f6;
}

.remp-gallery-main img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remp-gallery-main img.is-active {
    display: block;
}

.remp-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.remp-gallery-thumbs button {
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background: #eef3f6;
    cursor: pointer;
}

.remp-gallery-thumbs button.is-active {
    border-color: var(--remp-button-color, #0d6efd);
}

.remp-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remp-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.remp-spec-grid div {
    padding: 14px;
    border: 1px solid rgba(16, 34, 53, .1);
    border-radius: 6px;
    background: #fff;
}

.remp-spec-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.remp-lead-form {
    display: grid;
    gap: 12px;
    max-width: 680px;
    margin-top: 28px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.remp-map {
    min-height: 360px;
    background: #eef3f6;
    border-radius: 8px;
    overflow: hidden;
}

.remp-map p {
    padding: 24px;
    text-align: center;
}

.remp-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.remp-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
}

.remp-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.remp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(11, 42, 68, .12);
    border-radius: 4px;
    background: #fff;
    color: #0b2a44;
    font-weight: 800;
}

.remp-pagination .page-numbers.current {
    border-color: var(--remp-button-color, #0d6efd);
    background: var(--remp-button-color, #0d6efd);
    color: #fff;
}

@media (max-width: 849px) {
    .remp-property-grid,
    .remp-search,
    .remp-spec-grid {
        grid-template-columns: 1fr;
    }

    .remp-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .remp-sort-form {
        justify-content: space-between;
    }

    .remp-featured-strip-head {
        align-items: start;
        flex-direction: column;
    }

    .remp-featured-strip-grid {
        grid-template-columns: 1fr;
    }

    .remp-archive-stats span {
        flex: 1 1 120px;
        min-width: 0;
    }

    .remp-sort-form label {
        flex: 1;
    }

    .remp-view-list .remp-card {
        display: flex;
    }

    .remp-view-list .remp-card-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .remp-card-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .remp-card-specs span {
        justify-content: flex-start;
    }

    .remp-search-quick {
        margin: 0 0 28px;
    }

    .remp-single-head {
        flex-direction: column;
    }

    .remp-single-showcase,
    .remp-showcase-overlay {
        min-height: 0;
    }

    .remp-showcase-overlay {
        grid-template-columns: 1fr;
        width: min(100% - 28px, 640px);
        padding: 78px 0 30px;
    }

    .remp-showcase-copy h1 {
        font-size: 34px;
    }

    .remp-showcase-intro {
        font-size: 16px;
    }

    .remp-showcase-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .remp-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .remp-archive h1 {
        font-size: 28px;
    }

    .remp-single-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .remp-single-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
    }

    .remp-mosaic-item:nth-child(n+5) {
        display: none;
    }

    .remp-mosaic-item img {
        min-height: 180px;
    }

    .remp-single-summary {
        min-height: 0;
        padding: 38px 18px;
    }

    .remp-single-summary h1 {
        font-size: 30px;
    }

    .remp-single-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .remp-detail-grid {
        grid-template-columns: 1fr;
    }

    .remp-detail-grid div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .remp-detail-grid dd {
        text-align: left;
    }

    .remp-lifestyle-section,
    .remp-energy-section {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .remp-related-grid {
        grid-template-columns: 1fr;
    }

    .remp-single-map .remp-map {
        min-height: 340px;
    }
}
