/* Căutarea directă din banner. */
.wp-block-group.bm-banner, .bm-banner.is-style-card { overflow: visible; position: relative; z-index: 5; } /* lista rezultatelor iese sub banner */
.bm-cauta { position: relative; }
.bm-cauta__lista { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; max-height: min(70vh, 520px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: #fff; color: #0a0a0a; box-shadow: 0 18px 50px rgb(0 0 0 / 0.28); text-align: left; }
.bm-cauta__lista a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.bm-cauta__lista li[aria-selected="true"] a, .bm-cauta__lista a:hover { background: #f2f2f2; }
.bm-cauta__fata { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #ececec; color: #5c5c5c; font-weight: 700; font-size: 0.875rem; }
.bm-cauta__fata--eveniment, .bm-cauta__fata--loc, .bm-cauta__fata--proiect { border-radius: 10px; }
.bm-cauta__fata img { width: 100%; height: 100%; object-fit: cover; }
.bm-cauta__text { display: grid; min-width: 0; }
.bm-cauta__text b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-cauta__text small { color: #5c5c5c; font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-cauta__gol { padding: 14px 12px; color: #5c5c5c; }
.bm-cauta__toate a { justify-content: center; font-weight: 700; font-size: 0.9375rem; text-decoration: underline; }
