/* Homepage hero only. Search IDs, autocomplete and submission behavior are unchanged. */
body.rn-home-page .rn-home .rn-hero{background:none;padding:0 0 24px;min-height:0;height:auto;overflow:visible;}
.rn-home .rn-hero .rn-mobile-hero-crop{display:block;height:260px;overflow:hidden;}
.rn-home .rn-hero .rn-mobile-hero-crop .rn-mobile-hero-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:none;}
.rn-home .rn-hero .rn-hero-inner{position:relative;display:block;width:calc(100% - 48px);max-width:860px;min-height:0;height:auto;margin:-65px auto 0;padding:28px 32px 22px;box-sizing:border-box;border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(19,39,65,.11),0 2px 6px rgba(19,39,65,.035)!important;}
.rn-home .rn-hero .rn-hero-copy{display:block;min-height:0;padding:0;margin:0;background:none;text-align:center;}
.rn-home .rn-hero .rn-hero-copy h1{margin:0 0 10px;max-width:none;font-size:38px;line-height:1.15;font-weight:700;letter-spacing:-1.1px;color:#101a33;white-space:normal;}
.rn-home .rn-hero .rn-hero-copy .rn-intro{max-width:none;margin:0 auto;font-size:16px;line-height:1.5;color:#667085;text-align:center;}
.rn-home .rn-hero-features{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 13px;padding-bottom:13px;border-bottom:1px solid #e8edf3;}
.rn-home .rn-hero-feature{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;padding:0 14px;border-radius:999px;box-sizing:border-box;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.3;box-shadow:0 2px 5px rgba(42,91,128,.07);cursor:default;}
.rn-home .rn-hero-feature>svg{display:block;width:20px;height:20px;flex:0 0 20px;color:inherit;}
.rn-home .rn-hero-feature--connect{background:#eaf3ff;color:#075ed9;}
.rn-home .rn-hero-feature--identity{background:#edf8ef;color:#126c38;}
.rn-home .rn-hero .rn-search-card{display:block;max-width:none;width:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;}
.rn-home .rn-hero .rn-home-search-content{display:block;margin:0;padding:0;}
.rn-home .rn-hero #homeSearchForm{display:grid;position:relative;grid-template-columns:minmax(0,1fr) 180px;gap:12px;margin:0;padding:0;border:0;background:none;}
.rn-home .rn-hero #homeSearchForm>.rn-search-intent{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;height:48px;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
.rn-home .rn-hero #homeSearchForm .rn-search-intent label{display:block;position:relative;min-width:0;width:100%;height:48px;min-height:48px;margin:0;}
.rn-home .rn-hero #homeSearchForm .rn-search-intent span{display:flex;align-items:center;justify-content:center;gap:8px;height:100%;box-sizing:border-box;padding:0 10px;border:1.5px solid #d8dee7;border-radius:12px;background:#fff;color:#344054;font-size:15px;font-weight:600;white-space:nowrap;box-shadow:none;}
.rn-home .rn-hero #homeSearchForm .rn-search-intent input:checked+span{border:2px solid #0d6efd;background:#eaf3ff;color:#0d6efd;}
.rn-home .rn-hero #homeSearchForm .rn-search-intent svg{width:22px;height:22px;flex-shrink:0;}
.rn-home .rn-hero #homeSearchForm>.rn-location{grid-column:1;min-width:0;width:100%;margin:0;padding:0;}
.rn-home .rn-hero #homeSearchForm .rn-location-control{display:flex;align-items:center;gap:10px;width:100%;height:50px;min-height:50px;box-sizing:border-box;margin:0;padding:0 14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;}
.rn-home .rn-hero #homeSearchForm .rn-location-control>svg{width:22px;height:22px;flex:0 0 22px;color:#101a33;}
.rn-home .rn-hero #homeSearchForm .rn-location-control input{min-width:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;background:none;font:inherit;font-size:16px;font-style:normal;color:#101a33;}
.rn-home .rn-hero #homeSearchForm .rn-location-control:focus-within{border-color:#0d6efd;box-shadow:0 0 0 3px rgba(13,110,253,.1);}
.rn-home .rn-hero #homeSearchForm>.rn-button{grid-column:2;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:50px;min-height:50px;margin:0;padding:0 18px;border:1px solid #0d6efd;border-radius:12px;background:#0d6efd;color:#fff;font-size:17px;font-weight:600;box-shadow:none;}
.rn-home .rn-hero #homeSearchForm>.rn-button svg{width:22px;height:22px;}
.rn-home .rn-hero #homeMapboxResults{z-index:30;top:100%;left:0;right:auto;width:calc(100% - 192px);max-height:220px;overflow-y:auto;box-sizing:border-box;}
.rn-home .rn-hero .rn-search-card .rn-popular-searches{display:block;margin:12px 0 0;padding:0;}
.rn-home .rn-hero .rn-popular-searches>div{display:flex;justify-content:flex-start;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 0 2px;}
.rn-home .rn-hero .rn-search-card .rn-popular-searches a{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;min-height:32px;margin:0;padding:5px 11px;border:1px solid #e0e5ec;border-radius:999px;background:#fafbfc;color:#475467;font-size:12px;line-height:1.4;white-space:nowrap;text-decoration:none;}
.rn-home .rn-hero .rn-popular-searches a svg{width:13px;height:13px;color:#8490a0;}
@media(max-width:767px){
 .rn-home .rn-hero{padding-bottom:22px;}
 .rn-home .rn-hero .rn-mobile-hero-crop{height:154px;}
 .rn-home .rn-hero .rn-hero-inner{width:calc(100% - 32px);max-width:none;margin-top:-40px;padding:18px 14px 14px;border-radius:20px;}
 .rn-home .rn-hero .rn-hero-copy h1{font-size:clamp(21px,6.4vw,28px);letter-spacing:-.7px;line-height:1.2;margin-bottom:8px;white-space:nowrap;}
 .rn-home .rn-hero .rn-hero-copy .rn-intro{font-size:13px;line-height:1.5;}
 .rn-home .rn-hero-features{display:grid;grid-template-columns:1.08fr 1fr;gap:8px;margin:10px 0 12px;padding-bottom:12px;}
 .rn-home .rn-hero-feature{width:100%;height:30px;gap:5px;padding:0 7px;font-size:clamp(9.5px,2.8vw,12px);}
 .rn-home .rn-hero-feature>svg{width:17px;height:17px;flex-basis:17px;}
 .rn-home .rn-hero #homeSearchForm{grid-template-columns:minmax(0,1fr);gap:10px;}
 .rn-home .rn-hero #homeSearchForm>.rn-search-intent{height:44px;min-height:44px;gap:8px;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent label{height:44px;min-height:44px;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent span{padding-inline:6px;font-size:13px;gap:6px;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent svg{width:20px;height:20px;}
 .rn-home .rn-hero #homeSearchForm>.rn-location,.rn-home .rn-hero #homeSearchForm>.rn-button{grid-column:1;}
 .rn-home .rn-hero #homeSearchForm .rn-location-control,.rn-home .rn-hero #homeSearchForm>.rn-button{height:46px;min-height:46px;}
 .rn-home .rn-hero #homeMapboxResults{top:calc(100% - 56px);width:100%;max-height:180px;}
 .rn-home .rn-hero .rn-search-card .rn-popular-searches a{font-size:11px;padding-inline:10px;min-height:30px;}
}

.rn-home .rn-hero #homeSearchForm .rn-location #homeMapboxResults{top:calc(100% + 6px);left:0;right:0;width:100%;}

.rn-home .rn-hero #homeSearchForm input::placeholder{font-style:normal;color:#8a93a3;opacity:1;}

/* Informational benefits remain plain text and icons, without pill surfaces. */
.rn-home .rn-hero-feature{background:none;border:0;border-radius:0;box-shadow:none;}

/* Final alignment pass: plain benefits and evenly sized search controls. */
.rn-home .rn-hero-features{gap:0;}
.rn-home .rn-hero-feature{position:relative;gap:6px;font-weight:600;line-height:1.4;}
.rn-home .rn-hero-feature--identity{border-left:1px solid #e1e7ee;}
.rn-home .rn-hero-feature>svg{align-self:center;}
.rn-home .rn-hero #homeSearchForm .rn-search-intent span{line-height:1.4;}
.rn-home .rn-hero .rn-search-card .rn-popular-searches a{height:32px;box-sizing:border-box;border-color:#e1e6ed;background:#fafbfc;font-weight:400;}
.rn-home .rn-hero .rn-search-card .rn-popular-searches a svg{width:13px;height:13px;flex:0 0 13px;}
@media(max-width:767px){
 .rn-home .rn-hero-features{grid-template-columns:1.08fr 1fr;margin-top:10px;margin-bottom:12px;padding-bottom:12px;}
 .rn-home .rn-hero-feature{height:28px;padding-inline:5px;gap:5px;}
 .rn-home .rn-hero-feature>svg{width:17px;height:17px;flex-basis:17px;}
 .rn-home .rn-hero #homeSearchForm>.rn-search-intent{height:44px;min-height:44px;gap:8px;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent label{height:44px;min-height:44px;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent span{height:44px;border-radius:12px;}
 .rn-home .rn-hero .rn-search-card .rn-popular-searches a{height:30px;min-height:30px;}
}

/* Mobile typography and color harmony, retaining the approved compact geometry. */
@media(max-width:767px){
 .rn-home .rn-hero .rn-hero-copy h1{color:#101c35;}
 .rn-home .rn-hero .rn-hero-copy .rn-intro{color:#65748b;}
 .rn-home .rn-hero-features{margin-top:12px;padding-bottom:14px;}
 .rn-home .rn-hero-feature{font-size:12px;font-weight:600;gap:4px;padding-inline:2px;}
 .rn-home .rn-hero-feature--connect{color:#0866e8;}
 .rn-home .rn-hero-feature--identity{color:#087c45;border-left-color:#dce4ef;}
 .rn-home .rn-hero-feature>svg{width:16px;height:16px;flex-basis:16px;vertical-align:middle;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent span{border-color:#cfd8e4;}
 .rn-home .rn-hero #homeSearchForm .rn-search-intent input:checked+span{border-color:#0d6efd;background:#edf5ff;}
}

/* Mobile city shortcuts expose the next pill without changing typography or gaps. */
@media(max-width:767px){
 body.rn-home-page .rn-home .rn-hero .rn-popular-searches>div{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 74px)/2);grid-template-rows:auto;width:100%;max-width:100%;gap:8px;overflow-x:auto;scrollbar-width:none;}
 body.rn-home-page .rn-home .rn-hero .rn-popular-searches>div::-webkit-scrollbar{display:none;}
 body.rn-home-page .rn-home .rn-hero .rn-search-card .rn-popular-searches a{width:100%;min-width:0;}
}
@media(min-width:430px) and (max-width:767px){
 body.rn-home-page .rn-home .rn-hero .rn-popular-searches>div{grid-auto-columns:calc((100% - 82px)/3);}
}
