/* Community business directory (/business-offers) — the small .bo-* layer on
   top of member_directory_editorial.css (md-hero / md-directory / md-grid). */

.bo-page .bo-hero__aside {
  justify-content: flex-end;
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(45, 11, 18, .15) 0%, rgba(45, 11, 18, .7) 50%, rgba(45, 11, 18, .95) 100%),
    url("../assets/generated/business-offers-hero.webp") center / cover no-repeat;
}
.bo-hero__aside p { color: rgba(255, 255, 255, .78); }

.bo-page .bo-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  max-width: 520px;
  width: 100%;
}
.bo-page .bo-filters .mh-input { min-width: 0; }

/* Card: initial monogram in place of the member avatar. */
.bo-card__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--eg-wine);
  color: var(--eg-gold);
  font: 600 28px/1 var(--eg-serif);
}
.bo-card .md-card__body h3 { overflow-wrap: anywhere; }
.bo-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.bo-page .bo-link {
  color: var(--eg-wine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Empty directory: an invitation, not a blank page. */
.bo-empty {
  max-width: 640px;
  margin: 48px auto 0;
  padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 48px);
  border: 1px solid var(--eg-line);
  background: var(--eg-cream);
  text-align: center;
}
.bo-empty__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--eg-wine);
  color: var(--eg-gold);
}
.bo-empty__mark svg { width: 30px; height: 30px; }
.bo-empty h3 {
  margin: 0 0 10px;
  font: 600 clamp(26px, 3vw, 34px)/1.15 var(--eg-serif);
}
.bo-empty p {
  margin: 0 auto;
  max-width: 480px;
  color: var(--eg-muted);
  line-height: 1.7;
}

@media (max-width: 460px) {
  .bo-page .bo-filters { grid-template-columns: 1fr auto; }
  .bo-page .bo-filters .mh-btn:not(.primary) { grid-column: 1 / -1; }
}
