/* MahaEstate site fixes — public header fit and footer logo. */

/* Footer logo sits on a white card: show it in its real colours
   (a brightness/invert filter was turning it white-on-white). */
.me-public-footer .me-footer-brand img{filter:none!important;opacity:1!important}

/* Desktop header: give the bar more room and stop the menu sliding under the actions. */
@media (min-width:993px){
  body.marketplace-public .me-public-header .me-header-inner{max-width:min(1480px,calc(100% - 48px));gap:16px}
  body.marketplace-public .me-public-header .me-brand{flex:none}
  body.marketplace-public .me-public-header .me-nav{min-width:0}
  body.marketplace-public .me-public-header .me-nav a{white-space:nowrap}
  body.marketplace-public .me-public-header .me-header-actions{flex:none}
}

/* Up to 1680px: icon-only Advertise / Explore Nearby, avatar-only signed-in user. */
@media (min-width:993px) and (max-width:1679.98px){
  body.marketplace-public .me-nav a.me-nav-advertise{padding-inline:10px}
  body.marketplace-public .me-nav a.me-nav-advertise span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.marketplace-public .me-location-link{font-size:0;gap:0}
  body.marketplace-public .me-location-link i{font-size:16px}
  body.marketplace-public .me-header-actions .me-user .me-user-copy{display:none!important}
}

/* Small laptops: tighter links, hide the user chip, icon-only Dashboard. */
@media (min-width:993px) and (max-width:1199.98px){
  body.marketplace-public .me-nav a{padding:9px 7px;font-size:14px}
  body.marketplace-public .me-header-actions .me-user{display:none!important}
  /* Only buttons that carry an icon (Dashboard) go icon-only; the signed-out Login keeps its text. */
  body.marketplace-public .me-header-actions .me-btn-outline:has(> i){font-size:0;gap:0;padding-inline:12px}
  body.marketplace-public .me-header-actions .me-btn-outline:has(> i) i{font-size:16px;margin:0}
}

/* Narrow laptops just above the mobile menu breakpoint. */
@media (min-width:993px) and (max-width:1099.98px){
  body.marketplace-public .me-public-header .me-header-inner{gap:10px}
  body.marketplace-public .me-public-header .me-brand img{max-width:116px;height:auto}
  body.marketplace-public .me-nav a{padding:8px 5px;font-size:13px}
  body.marketplace-public .me-header-actions{gap:6px}
  body.marketplace-public .me-header-actions .me-btn{padding-inline:12px;font-size:12px}
}

/* Plans page trust strip: let the badges wrap on phones instead of scrolling sideways. */
.me-trust{flex-wrap:wrap;max-width:100%}
