.bmh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bmh-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,76,129,.10);
  border-radius: 32px;
  background: var(--bmh-card);
  box-shadow: var(--bmh-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bmh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bmh-shadow);
}

.bmh-card.is-hidden {
  display: none;
}

.bmh-card.is-premium {
  border-color: rgba(242,140,40,.38);
  box-shadow: 0 26px 74px rgba(242,140,40,.17);
}

.bmh-card-cover {
  position: relative;
  height: 170px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(8,47,79,.10), rgba(255,255,255,.0)),
    linear-gradient(135deg, #44c7c7, #c8f1ef);
}

.bmh-card[data-category="gastronomia"] .bmh-card-cover {
  background:
    linear-gradient(135deg, rgba(8,47,79,.10), rgba(255,255,255,.0)),
    linear-gradient(135deg, #ef7f6d, #ffd2c8);
}

.bmh-card[data-category="inmobiliaria"] .bmh-card-cover {
  background:
    linear-gradient(135deg, rgba(8,47,79,.10), rgba(255,255,255,.0)),
    linear-gradient(135deg, #e85fa8, #ffd4e7);
}

.bmh-card-cover:after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
}

.bmh-card-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(8,47,79,.12);
  font-size: 25px;
}

.bmh-card-badge,
.bmh-plan-badge {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--bmh-blue-dark);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
}

.bmh-plan-badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  background: rgba(8,47,79,.86);
  color: #fff;
}

.bmh-card-body {
  padding: 20px;
}

.bmh-card-title-row h3 {
  margin: 0 0 4px;
  color: var(--bmh-blue-dark);
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 950;
}

.bmh-card-title-row span {
  color: var(--bmh-muted);
  font-size: 13px;
  font-weight: 850;
}

.bmh-card-body p {
  min-height: 46px;
  margin: 14px 0 16px;
  color: #526377;
  font-size: 15px;
  line-height: 1.45;
}

.bmh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.bmh-tags span {
  border-radius: 999px;
  background: rgba(8,47,79,.06);
  color: #385069;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.bmh-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.bmh-actions a {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 950;
}

.bmh-action-main {
  flex: 1;
  background: #e8f8ef;
  color: #0f7a42;
}

.bmh-action-secondary {
  flex: 1;
  background: #eff5fa;
  color: var(--bmh-blue);
}

.bmh-social-actions {
  display: flex;
  gap: 8px;
}

.bmh-social-actions a {
  width: 44px;
  min-width: 44px;
  padding: 0;
  background: #eff5fa;
  color: var(--bmh-blue);
}
