/* JSV 2.0.81 — narrow visual fixes for Notifications and Business Directory. */
/* Notifications: restore the blue utility rail without changing its links. */
body.jsf-notifications-page .jsf-context-tools {
  background:#102f4d !important;
  border:1px solid #294e6f !important;
  box-shadow:0 10px 26px rgba(8,35,60,.16) !important;
}
body.jsf-notifications-page .jsf-context-tools nav a {
  color:#eef6fb !important;
}
body.jsf-notifications-page .jsf-context-tools nav a:hover,
body.jsf-notifications-page .jsf-context-tools nav a[aria-current="page"] {
  background:#d4aa35 !important;
  color:#102942 !important;
}
body.jsf-notifications-page .jsf-context-tools nav i { color:#f1c84d !important; }
body.jsf-notifications-page .jsf-context-tools nav a:hover i,
body.jsf-notifications-page .jsf-context-tools nav a[aria-current="page"] i { color:#102942 !important; }

/* Keep notification media as a contained preview instead of a full-width message. */
body.jsf-notifications-page .jsf-notify-row-main :is(img:not(.jsf-notify-avatar),figure,video) {
  display:block !important;
  width:84px !important;
  height:64px !important;
  max-width:84px !important;
  max-height:64px !important;
  margin:7px 0 4px !important;
  object-fit:cover !important;
  border-radius:10px !important;
  overflow:hidden !important;
}
body.jsf-notifications-page .jsf-notify-row-main :is(.jsf-notify-business-name,.business-name,.jsf-notify-source) {
  display:block !important;
  margin-bottom:3px !important;
  color:#102f4d !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1.3 !important;
}
body.jsf-notifications-page .jsf-notify-row-main p { min-width:0 !important; overflow-wrap:anywhere !important; }

/* Directory cards: consistent image window and always-visible business identity. */
#jsf-directory-market .jsf-dir-market-cover { height:132px !important; aspect-ratio:4/3 !important; }
#jsf-directory-market .jsf-dir-market-cover img { width:100% !important; height:100% !important; object-fit:cover !important; }
#jsf-directory-market .jsf-dir-market-copy { min-width:0 !important; padding:11px !important; }
#jsf-directory-market .jsf-dir-market-copy h3 { display:block !important; min-height:1.35em !important; color:#102f4d !important; font-size:14px !important; line-height:1.25 !important; overflow-wrap:anywhere !important; }
#jsf-directory-market .jsf-dir-market-copy p { display:block !important; min-height:2.7em !important; overflow-wrap:anywhere !important; }
@media (max-width:820px) {
  #jsf-directory-market .jsf-dir-market-cover { height:150px !important; }
  body.jsf-notifications-page .jsf-notify-row-main :is(img:not(.jsf-notify-avatar),figure,video) { width:72px !important; height:56px !important; max-width:72px !important; max-height:56px !important; }
}
