@media(max-width:767px){
 /* Independent cards over the existing backdrop; retain the current outer widths. */
 html body.imbk-background222 #imbk-home main.imbk-section.imbk-catalog,
 html body.imbk-background222 #imbk-home.imbk-agents-page main.imbk-section{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;
 }
 html body #imbk-home .imbk-catalog>.imbk-properties,
 html body #imbk-home.imbk-agents-page .imbk-directory-group,
 html body #imbk-home.imbk-agents-page .imbk-agent-grid{background:transparent!important;border:0!important;box-shadow:none!important}
 html body #imbk-home .imbk-catalog>.imbk-properties{gap:12px!important}
 html body #imbk-home .imbk-catalog>.imbk-properties>.imbk-property,
 html body #imbk-home.imbk-agents-page .imbk-owner{background:#fff!important;border:1px solid #dce6df!important;border-radius:12px!important;overflow:hidden!important}
 html body #imbk-home.imbk-agents-page .imbk-owner{border-top:2px solid #dfc76c!important}
 html body #imbk-home.imbk-agents-page .imbk-agent-grid{gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body #imbk-home.imbk-agents-page .imbk-directory-group>h2{color:#174c52!important;margin:14px 0 8px!important}
 html body #imbk-home.imbk-agents-page .imbk-directory-catalog{color:#174c52!important;margin:0 0 8px!important}
 html body #imbk-home.imbk-agents-page .imbk-directory-instruction163{color:#174c52!important;margin:6px 0 10px!important}
 /* Only titles pin; filters, map, welcome cards and notes continue scrolling. */
 html body #imbk-home .imbk-catalog>h1,
 html body #imbk-home.imbk-agents-page .imbk-directory-title,
 html body #imbk-home #imbk-my-published>.imbk-published-heading{
  position:sticky!important;top:var(--imbk-list-title-top236,var(--imbk-sticky164,75px))!important;z-index:95!important;
  background:linear-gradient(110deg,#023d49,#08606b 47%,#4b9997)!important;color:#fff!important;
  border:0!important;border-left:3px solid #e6c248!important;border-radius:12px!important;
  padding:10px 12px!important;box-sizing:border-box!important;margin:0 0 10px!important;
  font-size:18px!important;line-height:1.25!important;min-height:0!important;
 }
 html body #imbk-home #imbk-my-published>.imbk-published-heading{gap:6px!important}
 html body #imbk-home #imbk-my-published>.imbk-published-heading h2{color:white!important;margin:0!important;font-size:18px!important;line-height:1.25!important}
 html body #imbk-home #imbk-my-published>.imbk-published-heading>a{color:white!important;white-space:nowrap!important}
 html body #imbk-home .imbk-catalog>#imbk-catalog-form{
  background:#fffdf8f5!important;border-radius:12px!important;border:1px solid #e3e8df!important;padding:12px!important;margin:0 0 10px!important;
 }
 html body #imbk-home .imbk-catalog>.imbk-catalog-map{margin:0 0 12px!important;background:#fffdf8!important;border-radius:12px!important;scroll-margin-top:calc(var(--imbk-list-title-top236,75px) + 56px)!important}
 html body #imbk-home .imbk-catalog>.imbk-pagination{margin:18px 0 8px!important;padding:0!important}
 html body #imbk-home .imbk-catalog>.imbk-properties,
 html body #imbk-home.imbk-agents-page .imbk-agent-grid,
 html body #imbk-home #imbk-my-published>.imbk-published-grid{clip-path:inset(var(--imbk-list-grid-cut236,0px) 0 0 round 12px)}
 /* A small symbol, with a comfortable hit target, belongs to this agent alone. */
 html body #imbk-home .imbk-agent-property-title235 .imbk-agent-mini-text235{flex:1 1 auto!important}
 html body #imbk-home .imbk-agent-title-compact235>.imbk-agent-mini-wa236{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;
  width:38px!important;height:38px!important;padding:0!important;margin-left:auto!important;
  border:1px solid #ffffff66!important;border-radius:50%!important;background:#ffffff12!important;color:white!important;
 }
 html body #imbk-home .imbk-agent-mini-wa236>img{width:21px!important;height:21px!important;display:block!important;filter:brightness(0) invert(1)!important;margin:0!important}
 html body #imbk-home .imbk-agent-mini-wa236:focus-visible{outline:2px solid #e6c248!important;outline-offset:2px!important}
 html body #imbk-home .imbk-agent-mini-wa236:active{background:#023d49!important}
 /* Compact the footer and separate it from the last row with actual page backdrop. */
 html body #imbk-home:has(main.imbk-catalog)>.imbk-footer{
  margin-top:18px!important;padding:16px 16px 24px!important;min-height:0!important;height:auto!important;
  border-radius:14px!important;gap:12px!important;
 }
}
