/* RENT MAP — budget pills + OSM 55/45 + floating rental stack + group tour */
body.rr-rentmap{
  font-family:"Vazirmatn",system-ui,sans-serif;
  background:#f3f7f7;
  color:#0d2f2f;
}
.rr-rentmap h1,.rr-rentmap h2,.rr-rentmap h3,.rr-brand,.rr-rent,.rr-pill,.rr-tour-cta{
  font-family:"DM Sans","Vazirmatn",sans-serif;
}

.rr-top{
  width:min(1200px,96%);margin:0 auto;padding:1rem 0 .75rem;
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
}
.rr-brand{
  font-weight:700;font-size:1.25rem;color:#0a5c5c;letter-spacing:-.02em;
}
.rr-brand span{
  margin-inline-start:.35rem;background:#ff6b5b;color:#fff;
  font-size:.68rem;padding:.18rem .45rem;border-radius:999px;vertical-align:middle;
}
.rr-tag{flex:1;color:#4a6e6e;font-size:.9rem}
.rr-gallery{
  font-size:.85rem;font-weight:700;color:#0a5c5c;
  border:1px solid #b7d4d4;background:#fff;padding:.4rem .85rem;border-radius:999px;
}

/* (a) sticky budget chrome */
.rr-budget{
  position:sticky;top:0;z-index:30;
  background:rgba(243,247,247,.94);backdrop-filter:blur(10px);
  border-bottom:1px solid #c9dddd;
  padding:.65rem 2%;
  display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;
}
.rr-budget-label{
  font-size:.78rem;font-weight:700;color:#0a5c5c;white-space:nowrap;
}
.rr-pills{display:flex;gap:.45rem;flex-wrap:wrap}
.rr-pill{
  border:1px solid #9fc4c4;background:#fff;color:#0d2f2f;
  padding:.4rem .85rem;border-radius:999px;font-size:.82rem;font-weight:700;cursor:pointer;
}
.rr-pill:hover{border-color:#0a5c5c}
.rr-pill.active{
  background:#0a5c5c;color:#fff;border-color:#0a5c5c;
  box-shadow:0 4px 12px rgba(10,92,92,.25);
}
.rr-pill.soft{background:#fff1ee;border-color:#ffb3aa;color:#c23b2e}

/* (c) heat chips */
.rr-heats{
  width:min(1200px,96%);margin:.75rem auto 0;
  display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;
}
.rr-heat-label{font-size:.78rem;font-weight:700;color:#4a6e6e;margin-inline-end:.25rem}
.rr-heat{
  border:0;border-radius:999px;padding:.35rem .75rem;font-size:.78rem;font-weight:700;cursor:pointer;
}
.rr-heat.hot{background:#ff6b5b;color:#fff}
.rr-heat.mid{background:#ffd0c8;color:#8a2f26}
.rr-heat.cool{background:#d5ecec;color:#0a5c5c}

/* (b) map desk 55/45 */
.rr-desk{
  width:min(1200px,96%);margin:1rem auto 2rem;
  display:grid;grid-template-columns:55fr 45fr;gap:1rem;
  min-height:min(72vh,720px);
}
@media(max-width:900px){
  .rr-desk{grid-template-columns:1fr;min-height:auto}
}
.rr-map-pane{
  position:relative;border-radius:18px;overflow:hidden;
  border:1px solid #b7d4d4;background:#dceaea;min-height:420px;
  box-shadow:0 12px 32px rgba(10,92,92,.12);
}
.rr-map-pane iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rr-map-hint{
  position:absolute;bottom:.75rem;inset-inline:0.75rem;z-index:2;
  background:rgba(13,47,47,.82);color:#fff;font-size:.75rem;
  padding:.45rem .7rem;border-radius:10px;text-align:center;pointer-events:none;
}
@media(max-width:900px){
  .rr-map-pane{position:relative;height:280px;min-height:280px}
  .rr-map-pane iframe{position:absolute}
}

.rr-stack{
  display:flex;flex-direction:column;gap:.85rem;
  max-height:min(72vh,720px);overflow-y:auto;padding:.15rem .25rem .15rem 0;
  scroll-snap-type:y mandatory;
}
@media(max-width:900px){.rr-stack{max-height:none;overflow:visible}}
.rr-card{
  background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid #c9dddd;scroll-snap-align:start;
  display:grid;grid-template-columns:118px 1fr;gap:0;
  box-shadow:0 6px 18px rgba(10,92,92,.08);
  transition:transform .15s,box-shadow .15s;
}
.rr-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,92,92,.14)}
@media(max-width:520px){.rr-card{grid-template-columns:1fr}}
.rr-card img{width:100%;height:100%;min-height:118px;object-fit:cover}
.rr-card-body{padding:.75rem .85rem .85rem}
.rr-card-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem}
.rr-badge{
  font-size:.68rem;font-weight:800;padding:.2rem .5rem;border-radius:999px;
}
.rr-badge.roommate{background:#fff1ee;color:#c23b2e}
.rr-badge.student{background:#e0f5f5;color:#0a5c5c}
.rr-rent{font-weight:700;color:#0a5c5c;font-size:1rem;white-space:nowrap}
.rr-rent small{font-size:.72rem;font-weight:600;color:#4a6e6e}
.rr-card h3{font-size:.95rem;line-height:1.45;margin-bottom:.25rem;color:#0d2f2f}
.rr-card p{font-size:.82rem;color:#4a6e6e;margin-bottom:.45rem}
.rr-meta{display:flex;flex-wrap:wrap;gap:.35rem}
.rr-meta li{
  font-size:.72rem;background:#f3f7f7;color:#0a5c5c;font-weight:600;
  padding:.2rem .45rem;border-radius:6px;
}

.rr-gallery-strip{width:min(1200px,96%);margin:0 auto 2.25rem}
.rr-gallery-strip h2{font-size:1.25rem;color:#0a5c5c;margin-bottom:1rem}
.rr-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}
@media(max-width:800px){.rr-strip{grid-template-columns:repeat(2,1fr)}}
.rr-strip figure{margin:0;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #c9dddd}
.rr-strip img{width:100%;aspect-ratio:4/3;object-fit:cover}
.rr-strip figcaption{padding:.55rem .7rem;font-size:.82rem;font-weight:600;color:#0d2f2f}

/* (d) group visit CTA */
.rr-tour{
  width:min(1200px,96%);margin:0 auto 2rem;
}
.rr-tour-inner{
  display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap;
  background:linear-gradient(120deg,#0a5c5c 0%,#0d3f3f 55%,#1a2f2f 100%);
  color:#fff;border-radius:20px;padding:1.5rem 1.6rem;
  border:2px solid #ff6b5b;
  box-shadow:0 16px 40px rgba(10,92,92,.28);
}
.rr-tour-eyebrow{
  display:inline-block;background:#ff6b5b;color:#fff;font-size:.72rem;font-weight:800;
  padding:.25rem .6rem;border-radius:999px;margin-bottom:.55rem;letter-spacing:.04em;
}
.rr-tour h2{font-size:clamp(1.15rem,2.5vw,1.45rem);line-height:1.4;margin-bottom:.45rem;max-width:36rem}
.rr-tour p{opacity:.9;font-size:.92rem;max-width:36rem}
.rr-tour-cta{
  flex-shrink:0;background:#25D366;color:#fff;font-weight:800;
  padding:.95rem 1.4rem;border-radius:999px;font-size:.95rem;
  box-shadow:0 8px 20px rgba(37,211,102,.35);
}
.rr-tour-cta:hover{filter:brightness(1.05)}

.rr-how{
  width:min(800px,94%);margin:0 auto 2.5rem;
  background:#fff;border:1px solid #c9dddd;border-radius:16px;padding:1.35rem 1.4rem;
}
.rr-how h2{font-size:1.15rem;color:#0a5c5c;margin-bottom:.9rem}
.rr-how ol{display:grid;gap:.7rem;counter-reset:rr}
.rr-how li{
  position:relative;padding-inline-start:2.4rem;color:#4a6e6e;font-size:.92rem;
}
.rr-how li::before{
  counter-increment:rr;content:counter(rr);
  position:absolute;inset-inline-start:0;top:0;
  width:1.7rem;height:1.7rem;border-radius:50%;
  background:#0a5c5c;color:#fff;font-size:.8rem;font-weight:800;
  display:grid;place-items:center;font-family:"DM Sans",sans-serif;
}
.rr-how b{color:#0d2f2f}

.rr-foot{
  text-align:center;padding:1.5rem 4% 2rem;color:#6a8888;font-size:.85rem;
  border-top:1px solid #c9dddd;display:flex;flex-direction:column;align-items:center;gap:.4rem;
}
.rr-foot a{color:#0a5c5c;font-weight:600}
.rr-wa-mini{
  margin-top:.3rem;background:#25D366;color:#fff!important;font-weight:700;
  padding:.55rem 1rem;border-radius:999px;font-size:.85rem;
}