.rental-directory-hero{position:relative;padding:clamp(64px,8vw,104px) 0;background:radial-gradient(circle at 82% 18%,rgba(201,151,0,.28),transparent 25%),linear-gradient(120deg,#050c15 0%,#0c2340 58%,#173f66 100%);color:#fff;overflow:hidden}
.rental-directory-hero::after{content:"";position:absolute;right:-100px;bottom:-180px;width:420px;height:420px;border:1px solid rgba(240,205,98,.25);border-radius:50%;box-shadow:0 0 0 54px rgba(240,205,98,.05),0 0 0 108px rgba(240,205,98,.035)}
.rental-directory-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:56px;align-items:end}
.rental-directory-hero h1{max-width:780px;margin:14px 0 20px;font-size:clamp(2.8rem,6vw,5.4rem);line-height:.93;letter-spacing:-.055em}
.rental-directory-hero p{max-width:720px;margin:0;color:#dce6ee;font-size:clamp(1rem,2vw,1.18rem)}
.rental-hero-outline{border-color:#9aadc0;color:#fff}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(4,20,38,.58);backdrop-filter:blur(8px)}
.hero-stats div{padding:22px 15px;border-right:1px solid rgba(255,255,255,.16);text-align:center}
.hero-stats div:last-child{border:0}
.hero-stats strong{display:block;color:#f0cd62;font-size:1.45rem}
.hero-stats span{display:block;margin-top:3px;color:#c7d2dc;font-size:.67rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}

.rental-map-section{padding-bottom:50px}
.map-shell{position:relative;z-index:1;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#e9edf0;box-shadow:var(--shadow)}
#rentals-map{width:100%;height:470px;background:#e9edf0}
#rentals-map.map-unavailable{display:grid;place-items:center;padding:30px;text-align:center}
#rentals-map.map-unavailable strong,#rentals-map.map-unavailable span{display:block}
#rentals-map.map-unavailable strong{color:var(--blue);font-size:1.1rem}
#rentals-map.map-unavailable span{margin-top:5px;color:var(--muted);font-size:.84rem}
.map-help{margin:12px 0 0;color:var(--muted);font-size:.78rem}
.leaflet-popup-content strong{display:block;color:var(--blue);font-size:.94rem;line-height:1.25}
.leaflet-popup-content .pop-meta{display:block;margin:4px 0 9px;color:var(--muted);font-size:.75rem}
.leaflet-popup-content .pop-link{display:inline-block;border:0;background:none;color:var(--blue);font:inherit;font-size:.76rem;font-weight:900;text-decoration:underline;cursor:pointer}

.filter-bar{display:flex;gap:10px 14px;flex-wrap:wrap;align-items:center;margin-bottom:10px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(12,35,64,.05)}
.filter-group{display:flex;gap:6px;flex-wrap:wrap}
.filter{padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--blue);font:inherit;font-size:.74rem;font-weight:850;cursor:pointer}
.filter[aria-pressed="true"]{border-color:var(--blue);background:var(--blue);color:#fff}
.filter:focus-visible,.sort-select:focus-visible,.search-input:focus-visible{outline:3px solid rgba(201,151,0,.38);outline-offset:2px}
.filter-divider{width:1px;align-self:stretch;margin:0 2px;background:var(--line)}
.sort-select{padding:9px 32px 9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--blue);font:inherit;font-size:.76rem;font-weight:800;cursor:pointer}
.search-input{flex:1;min-width:210px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:.82rem}
.result-count{margin:0 0 17px;color:var(--muted);font-size:.8rem}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.property-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.property-card{display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;box-shadow:0 4px 14px rgba(12,35,64,.07);font:inherit;text-align:left;cursor:pointer;transition:box-shadow .15s ease,transform .15s ease}
.property-card .thumb{position:relative;height:172px;background:#e9edf0}
.property-card .thumb img{width:100%;height:100%;object-fit:cover}
.property-card .thumb img.placeholder-photo{object-position:center 58%;filter:saturate(.72) contrast(.95);transform:scale(1.025)}
.thumb-placeholder-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px 18px 22px;background:linear-gradient(180deg,rgba(7,25,46,.04),rgba(7,25,46,.2) 38%,rgba(7,25,46,.92));color:#fff;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.55)}
.thumb-placeholder-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1rem;line-height:1.1}
.thumb-placeholder-copy span{margin-top:4px;color:#f0cd62;font-size:.61rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.property-card .label{position:absolute;z-index:2;top:10px;left:10px;padding:4px 10px;border-radius:999px;background:rgba(7,25,46,.84);color:#f0cd62;font-size:.6rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.property-card .commute{position:absolute;z-index:2;bottom:10px;left:10px;display:flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.96);color:var(--blue);font-size:.67rem;font-weight:850}
.property-card .commute .dot{width:5px;height:5px;border-radius:50%;background:var(--gold)}
.property-card .body{padding:14px 16px 17px}
.property-card .property-source{display:block;margin-bottom:5px;color:#7a8792;font-size:.61rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.property-card .property-title{display:-webkit-box;min-height:2.55em;margin:0 0 7px;overflow:hidden;color:var(--blue);font-size:.95rem;font-weight:800;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.property-card .meta{color:var(--muted);font-size:.76rem;font-weight:750}
.property-card .view-prompt{display:block;margin-top:10px;color:var(--blue);font-size:.72rem;font-weight:900}
.thumb-placeholder{display:grid;width:100%;height:100%;place-items:center;background:#e9edf0;color:#768492;font-size:.76rem;font-weight:800}
.property-card:hover{box-shadow:0 13px 28px rgba(12,35,64,.16);transform:translateY(-2px)}
.property-card:focus-visible{outline:4px solid rgba(201,151,0,.55);outline-offset:2px}
.property-card.is-featured{border:3px solid var(--gold);box-shadow:0 12px 30px rgba(201,151,0,.22)}
.property-card.is-featured .thumb{background:linear-gradient(145deg,#07192e,#16446d)}
.property-card.is-featured .thumb-placeholder{background:transparent;color:#f0cd62;font-family:Georgia,serif;font-size:1.2rem}
.property-card.is-featured .thumb-placeholder::before{content:"Featured property"}
.property-card.is-featured .thumb-placeholder{font-size:0}
.property-card.is-featured .thumb-placeholder::before{font-size:1.2rem}
.property-card.is-featured .label{background:var(--gold);color:#07192e}
.no-results{padding:40px;text-align:center;color:var(--muted)}
.rental-map-marker{display:block;width:16px;height:16px;border:2px solid #07192e;border-radius:50%;background:var(--gold);box-shadow:0 2px 7px rgba(0,0,0,.4)}

.booking-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.booking-steps article{display:flex;gap:14px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}
.booking-steps article>span{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#f0cd62;font-size:.82rem;font-weight:900}
.booking-steps h3{margin:0 0 5px;color:var(--blue);font-size:1rem}
.booking-steps p{margin:0;color:var(--muted);font-size:.86rem}
.booking-steps a{color:var(--blue);font-weight:800}
.policy-note{margin-top:18px;padding:17px 20px;border-left:4px solid var(--gold);border-radius:9px;background:#fff7d9;color:#59450a;font-size:.86rem}
.rental-directory-cta{padding:30px 0;background:var(--gold);color:#07192e}
.rental-directory-cta .container{display:flex;align-items:center;justify-content:space-between;gap:20px 36px;flex-wrap:wrap}
.rental-directory-cta .eyebrow{display:block;color:#5b4605}
.rental-directory-cta strong{display:block;font-family:Georgia,serif;font-size:1.25rem}
.rental-directory-cta .actions{margin:0}
.rental-directory-cta .btn.blue.outline{background:transparent;color:#07192e;border-color:#07192e}

@media(max-width:1080px){
  .property-grid{grid-template-columns:repeat(3,1fr)}
  .rental-directory-hero-grid{grid-template-columns:1fr;gap:32px}
  .hero-stats{max-width:680px}
}
@media(max-width:760px){
  .property-grid{grid-template-columns:repeat(2,1fr)}
  .booking-steps{grid-template-columns:1fr}
  #rentals-map{height:390px}
  .filter-divider{display:none}
}
@media(max-width:520px){
  .property-grid{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:1fr}
  .hero-stats div{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}
  .rental-directory-hero .actions,.rental-directory-cta .actions{width:100%;flex-direction:column;align-items:stretch}
  #rentals-map{height:330px}
}
