/* Only the 1-bedroom under USD 550K guide. */
#rkc-budget .rb-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:32px 0 24px}
#rkc-budget .rb-matrix>a{min-width:0;min-height:220px;padding:26px 28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;border:1px solid #cba65a;border-radius:17px;background:linear-gradient(120deg,#071d31,#164962);color:#fff!important;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
#rkc-budget .rb-matrix>a:nth-child(2){background:linear-gradient(125deg,#f3ead8,#fffaf0);color:#102b42!important}
#rkc-budget .rb-matrix small{color:#ebc677;font-size:11px;font-weight:900;letter-spacing:.12em}
#rkc-budget .rb-matrix>a:nth-child(2) small{color:#8a682a}
#rkc-budget .rb-matrix h2{margin:0!important;color:inherit!important;font:700 clamp(24px,2.3vw,33px)/1.18 Georgia,serif!important}
#rkc-budget .rb-matrix p{color:inherit!important;opacity:.88;font-size:14px}
#rkc-budget .rb-matrix strong{display:inline-flex;align-items:center;justify-content:center;margin-top:9px;padding:11px 18px;border-radius:100px;background:#dcb258;color:#071d31;font-size:13px}
#rkc-budget .rb-matrix>a:nth-child(2) strong{background:#0c3550;color:white}
#rkc-budget .rb-matrix>a:hover{transform:translateY(-3px);box-shadow:0 14px 32px #071d3124}
#rkc-budget .rb-photo{padding:0!important;background:#e8eff3!important;position:relative!important}
#rkc-budget .rb-photo img{width:100%!important;height:100%!important;max-height:none!important;min-height:300px!important;object-fit:cover!important;object-position:center top!important;border-radius:0!important}
#rkc-budget .rb-number{display:none!important}
#rkc-budget .rb-compare-mount{position:absolute;top:14px;right:14px;z-index:5}
#rkc-budget .rb-compare-mount .compare-toggle{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border-radius:50%!important;border:1px solid #d3ad62!important;background:#dcb258!important;color:#092b42!important;font-size:23px!important;font-weight:800!important;box-shadow:0 3px 12px #0003!important}
#rkc-budget .rb-compare-mount .compare-toggle[aria-pressed=true]{background:#0b3552!important;color:#fff!important}
@media(max-width:680px){#rkc-budget .rb-matrix{grid-template-columns:1fr;gap:12px}#rkc-budget .rb-matrix>a{min-height:180px;padding:23px}#rkc-budget .rb-photo img{min-height:190px!important;max-height:360px!important}}
@media(prefers-reduced-motion:reduce){#rkc-budget .rb-matrix>a{transition:none;transform:none!important}}

/* Explore Guides and Explore News: equal 16:9 media containers and contained full images. */
.onebed-related .news-related-grid{align-items:stretch!important}
.onebed-related .news-related-grid>.post-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important}
.onebed-related .post-card__media{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#edf2f5!important;padding:0!important}
.onebed-related .post-card__media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;background:#edf2f5!important}
.onebed-related .post-card__body{flex:1 1 auto!important}
/* Island Heights card: keep its confirmed CMS photograph visible and fit fully inside its frame. */
#rkc-budget .rb-project:has(a[href="/project/island-heights"]) .rb-photo{background:#edf2f5!important}

/* Both five-card Explore sections: image fully fills uniform 16:9 frame. */
.onebed-related .post-card__media img{object-fit:cover!important;object-position:center!important;background:transparent!important}

/* Final image-grid fit: 10 matching cards, no white strips or variable media heights. */
.onebed-related .news-related-grid>.post-card{height:100%!important;overflow:hidden!important}
.onebed-related .post-card__media{position:relative!important;display:block!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;flex:none!important;background:#e9eff3!important;border:0!important}
.onebed-related .post-card__media>img,.onebed-related .post-card__media>span>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;border-radius:0!important;margin:0!important;padding:0!important}/* Final: show FULL original images, never crop, in identical 16:9 frames. */
.onebed-related .post-card__media{aspect-ratio:16/9!important;background:#edf2f5!important}
.onebed-related .post-card__media img,.onebed-related .post-card__media>img,.onebed-related .post-card__media>span>img{object-fit:contain!important;object-position:center center!important;background:#edf2f5!important}
/* Entire original images, no letterbox bands: media frame follows source image ratio. */
.onebed-related .post-card__media{height:auto!important;aspect-ratio:auto!important;min-height:0!important;overflow:hidden!important;background:transparent!important}
.onebed-related .post-card__media img,.onebed-related .post-card__media>img,.onebed-related .post-card__media>span>img{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;background:transparent!important;display:block!important}
/* Shared thumbnail normalization, scoped override of historical one-bed rules. */
html body .onebed-related .post-card__media{aspect-ratio:2.35/1!important;height:auto!important;background:transparent!important}
html body .onebed-related .post-card__media img.post-card__main-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
html body .onebed-related .post-card__media img.post-card__backdrop{display:none!important}/* USD 550K property cards: remove vertical letterboxing on all eight hero photos. */
html body #rkc-budget .rb-project .rb-photo{display:block!important;position:relative!important;overflow:hidden!important;min-height:320px!important;background:#e8eff3!important;padding:0!important}
html body #rkc-budget .rb-project .rb-photo>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;border-radius:0!important;background:transparent!important;margin:0!important;padding:0!important}
@media(max-width:680px){html body #rkc-budget .rb-project .rb-photo{min-height:240px!important;height:260px!important}}
/* Actual 1500x600 project banners: on mobile keep image ratio, not a tall empty frame. */
@media(max-width:920px){
 html body #rkc-budget .rb-project .rb-photo{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:5/2!important;align-self:start!important;overflow:hidden!important;padding:0!important;background:transparent!important}
 html body #rkc-budget .rb-project .rb-photo>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
}

/* Higher-specificity correction: all eight property photos including Island Heights must fill their frame. */
html body #rkc-budget .rb-project:has(a[href='/project/island-heights']) .rb-photo>img{object-fit:cover!important;object-position:center!important;background:transparent!important}
/* USD 550K comparison only: sticky five-column header. */
@media(min-width:761px){
 #rkc-budget #rb-comparison .rb-table-wrap{overflow:visible!important;max-height:none!important}
 #rkc-budget #rb-comparison .rb-table-wrap table{border-collapse:separate!important;border-spacing:0!important}
 #rkc-budget #rb-comparison .rb-table-wrap thead th{position:sticky!important;top:72px!important;z-index:20!important;background:#071d31!important;color:#fff!important;box-shadow:0 2px 0 #cfa955!important}
}
/* USD 550K comparison: remove beige table surround; retain clear table and sticky header. */
html body #rkc-budget #rb-comparison{background:#fff!important;background-image:none!important;border-color:#e1e6e9!important}
html body #rkc-budget #rb-comparison .rb-table-wrap{background:#fff!important;background-image:none!important}
html body #rkc-budget #rb-comparison table{background:#fff!important}
/* Tablet widths: scroll only the comparison table horizontally, never the document. */
@media(min-width:761px) and (max-width:920px){
 html body #rkc-budget #rb-comparison{min-width:0!important;max-width:100%!important}
 html body #rkc-budget #rb-comparison .rb-table-wrap{display:block!important;max-width:100%!important;width:100%!important;overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior-x:contain!important}
 html body #rkc-budget #rb-comparison .rb-table-wrap table{min-width:900px!important;width:max-content!important}
 html body #rkc-budget #rb-comparison .rb-table-wrap thead th{top:0!important}
}
