/* RSA Homepage V2 tuning: property tabs and mobile-app balance */
.rsa-home-v2 .rsa-home-property-grid[hidden]{display:none!important}
.rsa-home-v2 .rsa-home-property-card__media{height:176px}
.rsa-home-v2 .rsa-home-property-card__body{padding:16px 16px 16px}
.rsa-home-v2 .rsa-home-property-card__location{font-size:12px;line-height:1.35}
.rsa-home-v2 .rsa-home-property-card h3{min-height:48px;margin-top:8px;font-size:16px;line-height:1.28}
.rsa-home-v2 .rsa-home-property-card__specs{margin-top:12px;gap:12px;font-size:12px}
.rsa-home-v2 .rsa-home-property-card__price{margin-top:14px;font-size:20px;line-height:1.15}
.rsa-home-v2 .rsa-home-property-card__type{margin-top:5px;font-size:12px}
.rsa-home-v2 .rsa-home-property-card__agency{margin-top:13px;padding-top:11px}
.rsa-home-v2 .rsa-home-property-card__agency img{width:30px;height:30px;flex-basis:30px}
.rsa-home-v2 .rsa-home-property-card__agency span{font-size:12px}

.rsa-home-v2 .rsa-home-app__panel{min-height:188px;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:48px;padding:32px 40px}
.rsa-home-v2 .rsa-home-app__copy{max-width:500px}
.rsa-home-v2 .rsa-home-app__copy>span{font-size:12px;letter-spacing:.055em}
.rsa-home-v2 .rsa-home-app__copy h2{margin-top:9px;font-size:30px;line-height:1.08}
.rsa-home-v2 .rsa-home-app__copy p{max-width:55ch;margin-top:11px;font-size:14px;line-height:1.55}
.rsa-home-v2 .rsa-home-app__banner{width:100%;max-width:440px;max-height:126px;object-fit:cover;object-position:center;border-radius:10px;justify-self:end}

@media(max-width:900px){
  .rsa-home-v2 .rsa-home-property-card__media{height:165px}
  .rsa-home-v2 .rsa-home-app__panel{grid-template-columns:1fr;gap:22px;padding:30px}
  .rsa-home-v2 .rsa-home-app__banner{justify-self:start;max-width:420px}
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-property-card__media{height:180px}
  .rsa-home-v2 .rsa-home-app__panel{padding:24px 20px}
  .rsa-home-v2 .rsa-home-app__copy h2{font-size:26px}
  .rsa-home-v2 .rsa-home-app__copy p{font-size:12px}
  .rsa-home-v2 .rsa-home-app__banner{max-width:100%;max-height:110px}
}

/* Search overlay: expand around the search bar rather than only downward. */
body.rsa-search-overlay-open{overflow:hidden}
body.rsa-search-overlay-open .rsa-home-hero{overflow:visible}
/* Keep the entire expanded-search stacking context above later homepage card badges/hearts. */
body.rsa-search-overlay-open .rsa-home-hero__inner{z-index:100}
/* When Search V1 is expanded, later homepage sections must never paint above it. */
body.rsa-search-overlay-open .rsa-home-v2 > .rsa-home-section,
body.rsa-search-overlay-open .rsa-home-v2 > .rsa-home-footer{position:relative;z-index:0}
body.rsa-search-overlay-open .rsa-home-v2 > .rsa-home-section *{z-index:auto!important}
body.rsa-search-overlay-open .rsa-home-v2 .rsa-home-featured-preview__badge,
body.rsa-search-overlay-open .rsa-home-v2 .rsa-home-featured-preview__heart,
body.rsa-search-overlay-open .rsa-home-v2 .rsa-home-property-card__badge,
body.rsa-search-overlay-open .rsa-home-v2 .rsa-home-property-card__favorite{z-index:0!important}
.rsa-home-v2 .rsa-search-shell:not(.is-expanded){width:min(900px,calc(100% - 20px))}
.rsa-search-shell.is-expanded{position:fixed;left:50%;top:76px;bottom:10px;z-index:2147483000;width:min(1080px,calc(100vw - 32px));max-height:none;margin:0;transform:translateX(-50%);overflow:hidden;border-color:var(--rsa-line-dark);box-shadow:0 0 0 100vmax rgba(19,35,63,.52),0 24px 64px rgba(19,35,63,.28)}
.rsa-search-shell.is-expanded .rsa-search-intents{padding-top:4px}
.rsa-search-shell.is-expanded .rsa-search-expanded{max-height:calc(100dvh - 232px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.rsa-search-shell.is-expanded .rsa-segments span{height:34px}
.rsa-search-shell.is-expanded .rsa-filter-grid--four .rsa-input-field input{height:34px!important;font-size:14px}
.rsa-search-shell.is-expanded .rsa-home-suggestions{z-index:10040}
@media(max-width:640px){.rsa-home-v2 .rsa-search-shell:not(.is-expanded){width:100%}.rsa-search-shell.is-expanded{top:var(--rsa-overlay-top,70px);bottom:8px;left:8px;width:calc(100vw - 16px);max-height:none;transform:none;border-radius:12px}.rsa-search-shell.is-expanded .rsa-search-intents{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));visibility:visible!important;opacity:1!important;flex:0 0 auto;position:relative;z-index:10060;overflow:visible;padding:8px 12px 54px;gap:0;border-bottom:1px solid var(--rsa-line-dark)}.rsa-search-shell.is-expanded .rsa-intent-tab{min-width:0;width:100%;padding:10px 2px 11px;font-size:14px;text-align:center;white-space:nowrap}.rsa-search-shell.is-expanded .rsa-search-expanded{max-height:calc(100dvh - var(--rsa-overlay-top,70px) - 218px);overflow-y:auto}.rsa-search-shell.is-expanded .rsa-expanded-actions{bottom:0}}

/* Expanded search close control */
.rsa-search-shell.is-expanded .rsa-search-close-x{position:absolute;top:18px;right:18px;z-index:10080;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--rsa-line-dark);border-radius:8px;background:#fff;color:var(--rsa-navy);font:inherit;font-size:13px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:none}
.rsa-search-shell.is-expanded .rsa-search-close-x:hover{background:var(--rsa-soft)}
.rsa-search-shell.is-expanded .rsa-search-close-x:focus-visible{outline:3px solid rgba(48,74,203,.22);outline-offset:2px}
.rsa-search-shell.is-expanded .rsa-search-expanded__intro{padding-right:46px}
@media(max-width:640px){.rsa-search-shell.is-expanded .rsa-search-intents{align-items:center;min-height:98px}.rsa-search-shell.is-expanded .rsa-search-close-x{top:56px;right:12px;min-height:34px;padding:0 12px;font-size:12px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.rsa-search-shell.is-expanded .rsa-search-expanded__intro{padding-right:0}}
@media(max-width:390px){.rsa-search-shell.is-expanded .rsa-intent-tab{font-size:12px;padding-left:0;padding-right:0}.rsa-search-shell.is-expanded .rsa-search-intents{padding-left:8px;padding-right:8px}}

/* Portrait mobile viewport correction: keep homepage content inside the device width. */
@media(max-width:640px) and (orientation:portrait){
  html,body{max-width:100%;overflow-x:hidden}
  .rsa-home-v2,.rsa-home-v2 *{box-sizing:border-box}
  .rsa-home-v2{width:100%;max-width:100%;overflow-x:clip}
  .rsa-home-v2 .rsa-home-hero{width:100%;min-width:0;min-height:calc(100svh - 72px);padding:24px 0 26px}
  .rsa-home-v2 .rsa-home-hero__inner{width:100%;max-width:100%;padding:0 10px;margin-top:58px}
  .rsa-home-v2 .rsa-home-hero__copy{width:100%;max-width:100%;padding:0 4px;margin-bottom:16px}
  .rsa-home-v2 .rsa-home-hero__copy h1{font-size:clamp(30px,9.5vw,38px);line-height:1.06;letter-spacing:-.025em;overflow-wrap:normal;word-break:normal}
  .rsa-home-v2 .rsa-home-hero__copy p{max-width:34ch;font-size:clamp(15px,4.3vw,17px);line-height:1.42}
  .rsa-home-v2 .rsa-search-shell:not(.is-expanded){width:100%;max-width:100%;margin-left:0;margin-right:0;padding-left:12px;padding-right:12px}
  .rsa-home-v2 .rsa-search-intents{width:100%;gap:0;justify-content:space-between}
  .rsa-home-v2 .rsa-search-shell:not(.is-expanded) .rsa-intent-tab{flex:1 1 25%;min-width:0;padding-left:2px;padding-right:2px;font-size:clamp(13px,4vw,16px);text-align:center}
  .rsa-home-v2 .rsa-search-main-row,.rsa-home-v2 .rsa-search-location{width:100%;min-width:0}
  .rsa-home-v2 .rsa-search-location input[type=search]{min-width:0;width:100%;padding-left:48px;padding-right:64px;text-overflow:ellipsis}
}

/* Approved RSA homepage branded property cards: agency branding only in the bottom band. */
.rsa-home-v2,
.rsa-home-v2 button,
.rsa-home-v2 input,
.rsa-home-v2 select,
.rsa-home-v2 textarea{font-family:Inter,Arial,sans-serif!important}
.rsa-home-v2 .rsa-home-section-head h2,
.rsa-home-v2 .rsa-home-hero__copy h1,
.rsa-home-v2 .rsa-home-filter-tabs button{font-family:Inter,Arial,sans-serif!important}
.rsa-home-v2 .rsa-home-properties{background:#fff;padding-top:56px}
.rsa-home-v2 .rsa-home-properties .rsa-home-section-head{margin-bottom:22px}
.rsa-home-v2 .rsa-home-properties .rsa-home-kicker{display:none}
.rsa-home-v2 .rsa-home-properties .rsa-home-text-link{color:#E30613!important;font-size:15px;font-weight:700}
.rsa-home-v2 .rsa-home-properties .rsa-home-text-link span{font-size:22px;line-height:1}
.rsa-home-v2 .rsa-home-filter-tabs{gap:9px;margin-bottom:24px}
.rsa-home-v2 .rsa-home-filter-tabs button{min-height:38px;padding:0 15px;border-radius:999px;font-size:14px;font-weight:700;background:#fff;color:#13233F;border-color:#E4E7EB;box-shadow:none}
.rsa-home-v2 .rsa-home-filter-tabs button:hover,
.rsa-home-v2 .rsa-home-filter-tabs button.is-active{background:#FFFAFA;border-color:#E30613;color:#E30613}
.rsa-home-v2 .rsa-home-property-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.rsa-home-v2 .rsa-home-property-card--branded{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #E4E7EB;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(19,35,63,.08);transition:border-color .15s ease,box-shadow .15s ease;color:#1D2736;cursor:pointer}
.rsa-home-v2 .rsa-home-property-card--branded:hover{border-color:#D6DBE1;box-shadow:0 12px 30px rgba(19,35,63,.11)}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__media{position:relative;display:block;height:292px;overflow:hidden;background:#E9EDF1;border-radius:14px 14px 0 0}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__media img,
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__placeholder{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__badge{position:absolute;top:18px;left:18px;z-index:4;display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;background:#E30613;color:#fff;font-size:12px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.015em;box-shadow:0 8px 18px rgba(19,35,63,.14)}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__badge.is-rent{background:#1C2F50}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__favorite{position:absolute;top:16px;right:16px;z-index:5;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid rgba(19,35,63,.08);border-radius:50%;background:#fff;color:#13233F;box-shadow:0 6px 18px rgba(19,35,63,.14);cursor:pointer}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__favorite svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__favorite:hover{color:#E30613;border-color:rgba(227,6,19,.22)}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;padding:24px 24px 22px;background:#fff}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__price{display:block;margin:0;color:#E30613;font-size:23px;font-weight:800;line-height:1.08;letter-spacing:-.015em}
.rsa-home-v2 .rsa-home-property-card--branded h3{min-height:0;margin:14px 0 0;color:#13233F;font-size:18px;font-weight:800;line-height:1.28;letter-spacing:-.01em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rsa-home-v2 .rsa-home-property-card--branded h3 a{color:#13233F!important;text-decoration:none!important}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__location{display:flex;align-items:flex-start;gap:8px;min-width:0;margin-top:12px;color:#6F7884;font-size:14px;font-weight:500;line-height:1.35}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__location svg{flex:0 0 17px;width:17px;height:17px;margin-top:1px;fill:none;stroke:#6F7884;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__location span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__description{min-height:44px;margin:20px 0 0;color:#1D2736;font-size:14px;font-weight:400;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid #E4E7EB;color:#1D2736}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec{display:flex;align-items:center;gap:6px;min-width:0;color:#1D2736;font-size:13px;font-weight:600;line-height:1.25;white-space:nowrap}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec-icon{flex:0 0 18px;width:18px;height:18px;background-repeat:no-repeat;background-position:center;background-size:18px 18px;opacity:.88}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec--bed .rsa-home-property-card__spec-icon{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231D2736' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6v12M21 18V9a2 2 0 0 0-2-2h-7v11M3 12h18M5 9h5a2 2 0 0 1 2 2v1H3v-1a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E")}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec--bath .rsa-home-property-card__spec-icon{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231D2736' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11h16v2a6 6 0 0 1-6 6h-4a6 6 0 0 1-6-6v-2Zm3 0V7a3 3 0 0 1 6 0M5 19l-1 2M19 19l1 2'/%3E%3C/svg%3E")}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec--car .rsa-home-property-card__spec-icon{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231D2736' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 16h14M6.5 16 8 9h8l1.5 7M7 19h.1M17 19h.1M5 16v3M19 16v3M8 12h8'/%3E%3C/svg%3E")}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__spec--size .rsa-home-property-card__spec-icon{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231D2736' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v14H5V5Zm2 12L17 7M12 7h5v5M7 12v5h5'/%3E%3C/svg%3E")}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency{display:flex;align-items:center;gap:15px;min-height:92px;margin-top:auto;padding:18px 24px;border-top:1px solid #E4E7EB;background:#F7F8FA;color:#13233F!important;text-decoration:none!important}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency img{flex:0 0 74px;display:block;width:74px;height:52px;border:0;border-radius:8px;background:#fff;object-fit:contain;box-shadow:none}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#13233F;font-size:15px;font-weight:800;line-height:1.25}
.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency span:after{content:'Agency';display:block;margin-top:3px;color:#6F7884;font-size:12px;font-weight:500;line-height:1.25}
@media(max-width:1100px){.rsa-home-v2 .rsa-home-property-grid{gap:20px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__media{height:248px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__body{padding:21px 20px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency{padding:16px 20px}}
@media(max-width:980px){.rsa-home-v2 .rsa-home-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.rsa-home-v2 .rsa-home-properties{padding-top:42px}.rsa-home-v2 .rsa-home-property-grid{grid-template-columns:1fr;gap:18px}.rsa-home-v2 .rsa-home-properties .rsa-home-section-head{display:flex;align-items:flex-start}.rsa-home-v2 .rsa-home-properties .rsa-home-text-link{font-size:14px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__media{height:238px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__body{padding:20px 18px 18px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__price{font-size:22px}.rsa-home-v2 .rsa-home-property-card--branded h3{font-size:17px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__description{font-size:13px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency{min-height:84px;padding:15px 18px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__agency img{flex-basis:66px;width:66px;height:46px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__favorite{width:42px;height:42px}.rsa-home-v2 .rsa-home-property-card--branded .rsa-home-property-card__badge{top:16px;left:16px}}
/* RSA homepage property cards: agency branding logo-only and no description snippet. */
.rsa-home-v2 .rsa-home-property-card__excerpt{display:none!important}
.rsa-home-v2 .rsa-home-property-card__agency--logo-only{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:92px!important;padding:18px 24px!important;text-decoration:none!important}
.rsa-home-v2 .rsa-home-property-card__agency--logo-only img{display:block!important;width:auto!important;max-width:160px!important;height:auto!important;max-height:54px!important;object-fit:contain!important;border-radius:8px!important;background:#fff!important}
.rsa-home-v2 .rsa-home-property-card__agency--logo-only span,.rsa-home-v2 .rsa-home-property-card__agency--logo-only strong,.rsa-home-v2 .rsa-home-property-card__agency--logo-only small{display:none!important}
@media(max-width:640px){.rsa-home-v2 .rsa-home-property-card__agency--logo-only{min-height:84px!important;padding:16px 22px!important}.rsa-home-v2 .rsa-home-property-card__agency--logo-only img{max-width:145px!important;max-height:50px!important}}
/* RSA homepage property cards: agency branding is logo-only and fills the footer brand box. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__excerpt,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__description{
  display:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:92px!important;
  padding:0 24px!important;
  background:#F7F8FA!important;
  border-top:1px solid #E4E7EB!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency span{
  display:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency img{
  display:block!important;
  width:100%!important;
  max-width:172px!important;
  height:68px!important;
  max-height:68px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency{min-height:84px!important;padding:0 20px!important;}
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency img{height:62px!important;max-height:62px!important;max-width:164px!important;}
}
/* RSA homepage property cards: force current landscape agency logos to fill the branding box. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency.rsa-home-property-card__agency--logo-only{
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  width:100%!important;
  min-height:84px!important;
  height:84px!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  border-top:1px solid #E4E7EB!important;
  overflow:hidden!important;
  text-decoration:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency img,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency.rsa-home-property-card__agency--logo-only img{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency span,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency strong,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency small{
  display:none!important;
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency,
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency.rsa-home-property-card__agency--logo-only{height:78px!important;min-height:78px!important;}
}
/* RSA homepage property cards: force four cards per desktop row. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__media{
  height:200px!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__body{
  padding:16px 16px 14px!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__price{
  font-size:20px!important;
  line-height:1.1!important;
  margin-top:0!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card h3{
  font-size:16px!important;
  line-height:1.24!important;
  min-height:40px!important;
  margin-top:8px!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency{
  min-height:64px!important;
  padding:0!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-card__agency img{
  width:100%!important;
  height:64px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
}
@media(max-width:1200px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:1fr!important;}
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-card__media{height:190px!important;}
}
/* RSA homepage property cards: one desktop row only, exactly four cards. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  overflow:hidden!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-grid .rsa-home-property-card:nth-of-type(n+5){
  display:none!important;
}
@media(max-width:1200px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-grid{grid-template-columns:1fr!important;}
}

/* RSA homepage Properties for you: exactly one visible row of four cards. */
body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid[hidden],
body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid:not([data-home-property-panel="all"]):not(.is-active){
  display:none!important;
}
body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid[data-home-property-panel="all"]{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid[data-home-property-panel="all"] > .rsa-home-property-card:nth-of-type(n+5){
  display:none!important;
}
body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid:not([hidden]) > .rsa-home-property-card:nth-of-type(n+5){
  display:none!important;
}
@media(max-width:980px){body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid[data-home-property-panel="all"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:640px){body .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels > .rsa-home-property-grid[data-home-property-panel="all"]{grid-template-columns:1fr!important;}}

/* RSA homepage property tabs: one active panel, four-card row only. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-grid{
  display:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-grid.is-active{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-grid[hidden]{
  display:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-card:nth-child(n+5){
  display:none!important;
}
@media(max-width:980px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-grid.is-active{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-panels .rsa-home-property-grid.is-active{grid-template-columns:1fr!important;}
}
/* RSA source-level homepage property tabs hard stop: exactly one visible panel, four cards max. */
body .rsa-home-v2 .rsa-home-properties [data-home-property-panel]{display:none!important;}
body .rsa-home-v2 .rsa-home-properties [data-home-property-panel].is-active{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
body .rsa-home-v2 .rsa-home-properties [data-home-property-panel] .rsa-home-property-card:nth-of-type(n+5){display:none!important;}
@media(max-width:980px){body .rsa-home-v2 .rsa-home-properties [data-home-property-panel].is-active{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:640px){body .rsa-home-v2 .rsa-home-properties [data-home-property-panel].is-active{grid-template-columns:1fr!important;}}


/* RSA homepage property tabs: text-only, evenly spaced, no All tab. */
.rsa-home-v2 .rsa-home-properties [data-home-property-filter="all"]{display:none!important}
.rsa-home-v2 .rsa-home-property-tabs{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important;width:100%!important;align-items:center!important;margin:18px 0 26px!important;border:0!important;background:transparent!important}
.rsa-home-v2 .rsa-home-property-tabs button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#071A3D!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:15px!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important;cursor:pointer!important}
.rsa-home-v2 .rsa-home-property-tabs button.is-active,.rsa-home-v2 .rsa-home-property-tabs button:hover,.rsa-home-v2 .rsa-home-property-tabs button:focus{border:0!important;background:transparent!important;color:#E30613!important;box-shadow:none!important;outline:none!important}
.rsa-home-v2 .rsa-home-property-tabs button.is-active{text-decoration:none!important}
@media(max-width:1100px){.rsa-home-v2 .rsa-home-property-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:14px!important}.rsa-home-v2 .rsa-home-property-tabs button{font-size:14px!important}}
@media(max-width:640px){.rsa-home-v2 .rsa-home-property-tabs{display:flex!important;overflow-x:auto!important;justify-content:flex-start!important;gap:22px!important;scrollbar-width:none!important}.rsa-home-v2 .rsa-home-property-tabs::-webkit-scrollbar{display:none!important}.rsa-home-v2 .rsa-home-property-tabs button{width:auto!important;flex:0 0 auto!important;padding:0!important;font-size:14px!important}}

/* RSA homepage property filter tabs: text-only, evenly distributed, no pill borders. */
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  align-items:center!important;
  width:100%!important;
  gap:0!important;
  margin:18px 0 28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs [data-home-property-filter],
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs button{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0B1B33!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs [data-home-property-filter].is-active,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs button.is-active{
  color:#E30613!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs [data-home-property-filter]:hover,
.rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs button:hover{
  color:#E30613!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:1100px){
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs{display:flex!important;overflow-x:auto!important;justify-content:flex-start!important;gap:24px!important;padding-bottom:6px!important;}
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs [data-home-property-filter],
  .rsa-home-v2 .rsa-home-properties .rsa-home-property-tabs button{width:auto!important;padding:0!important;text-align:left!important;flex:0 0 auto!important;}
}
