/* 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;
 }
 /* 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;
 }
}

/* Shared, single photo icon and explicit discovery labels. */
.rpmx-explore-entry-icon{flex:0 0 22px;width:22px;height:22px}
.rpmx-explore-entry-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.rpmx-explore-entry-copy strong{font:inherit}
.rpmx-explore-entry-copy small{font:500 11px/1.15 system-ui,sans-serif;color:#667085}
.rpmx-home-explore-caption{display:block;margin-top:9px;color:#667085;font:500 12px/1.4 system-ui,sans-serif}
@media(min-width:768px){
 body.rpmx-front-page #rpmx-home-hero .rpmx-hero-map__content>a.rpmx-home-explore-cta[href="/explorar/"]{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:#cc363b!important;color:#fff!important;border:1px solid #cc363b!important;
  min-height:52px!important;padding:13px 21px!important;border-radius:14px;
  font:750 16px/1.25 system-ui,sans-serif!important;text-decoration:none;
  box-shadow:0 6px 16px rgba(204,54,59,.18)!important;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-hero-map__content>a.rpmx-home-explore-cta[href="/explorar/"]:hover{
  background:#b82e33!important;border-color:#b82e33!important;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-hero-map__content>a.rpmx-home-explore-cta[href="/explorar/"]:focus-visible{
  outline:3px solid #397da0;outline-offset:4px;
 }
}
@media(max-width:767px){
 .rpmx-home-explore-caption{display:none}
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore{
  gap:8px;min-height:48px;padding:7px 9px;
 }
 body.rpmx-front-page #rpmx-home-hero .rpmx-home-mobile-view-switch__explore .rpmx-explore-entry-icon{color:#cc363b}
}
