/* Mobile home: same Mapa / Explorar affordance as the Explore header.
   No changes to map, search, filter rails, or card logic. */
.rpmx-home-mobile-view-switch{display:none}
@media(max-width:767px){
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:7px;
  align-items:stretch;
  width:100%;
  margin:3px 0 7px;
  padding:4px;
  border:1px solid rgba(22,34,54,.09);
  border-radius:16px;
  background:#f4f6f7;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__current,
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:42px;
  border-radius:12px;
  padding:9px 11px;
  font:750 13px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  white-space:nowrap;
  text-decoration:none;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__current{
  background:#162236;color:#fff;
  box-shadow:0 4px 14px rgba(22,34,54,.15);
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore{
  color:#162236;background:#fff;
  border:1px solid rgba(22,34,54,.1);
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore:hover{
  background:#fff5f3;border-color:#ce363a;color:#a62b31;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore:focus-visible{
  outline:3px solid #397da0;outline-offset:2px;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__arrow{
  color:#c9362b;font-size:16px;font-weight:900;
 }
 /* The old desktop hero CTA must not masquerade as a tiny floating icon. */
 body.rpmx-front-page #rpmx-home-hero .rpmx-hero-map__content>a[href="/explorar/"]{
  display:none!important;
 }
}
@media(max-width:359px){
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__current,
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore{
  font-size:12px;gap:5px;padding:8px 6px;
 }
}