#bh-search-dialog{border:0;border-radius:18px;padding:24px;max-width:680px;width:calc(100% - 28px);max-height:85dvh;box-sizing:border-box;color:#20364a;box-shadow:0 20px 70px #002c5266;font:16px/1.5 Inter,Arial,sans-serif;z-index:10000}#bh-search-dialog::backdrop{background:#17354e99}.bh-search-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.bh-search-heading h2{font-size:23px;font-weight:700;margin:0;color:#075c91}#bh-search-close{border:0;border-radius:10px;background:#e9f1f6;color:#075c91;font-size:28px;width:42px;height:42px;flex:none}.bh-search-scope{font-size:14px;color:#536a7c;margin:10px 0 18px}#bh-search-dialog label{display:block;font-weight:700;margin-bottom:7px}#bh-search-input{width:100%;box-sizing:border-box;border:2px solid #8cb8d3;border-radius:10px;padding:12px;font-size:16px;background:white;color:#20364a}#bh-search-input:focus{outline:3px solid #d5e9f5;border-color:#1376bc}#bh-search-status{font-size:14px;color:#536a7c;margin:12px 0}#bh-search-results a{display:block;padding:13px 14px;border:1px solid #d6e4ee;border-radius:10px;text-decoration:none;margin:9px 0;background:#f8fbfe;color:#075c91}#bh-search-results a:hover{background:#eaf4fb}#bh-search-results strong{display:block;font-size:16px}#bh-search-results small{display:block;font-size:12px;margin-bottom:4px;color:#5c7383}#bh-search-results span{display:block;color:#435a6d;font-size:14px;margin-top:5px}.bh-search-footnote{font-size:12px;color:#63788b;margin:18px 0 0}#bh-search-results{max-height:47dvh;overflow:auto}.video-card[id]{scroll-margin-top:110px}@media(max-width:600px){#bh-search-dialog{padding:18px;max-height:90dvh}.bh-search-heading h2{font-size:21px}#bh-search-results{max-height:43dvh}}
/* Search shortcut inside megamenu ACCESOS DIRECTOS */
.megamenu-quick .menu-icon.search-icon{
  background:linear-gradient(135deg,#1376bc,#0e5a8f);
  border:none; border-radius:12px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}

/* Search button in the top banner */
.bh-header-search-wrap{display:flex;align-items:center;margin-top:18px}
@media(min-width:768px){.bh-header-search-wrap{margin-top:0}}
.bh-header-search{display:flex;align-items:center;gap:8px;background:#ffffff;color:#075c91;border:2px solid rgba(255,255,255,.85);border-radius:12px;padding:10px 16px;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:transform .15s ease,box-shadow .15s ease}
.bh-header-search:hover{transform:scale(1.05);box-shadow:0 4px 14px rgba(0,0,0,.25)}
.bh-header-search:focus-visible{outline:3px solid #ffd166;outline-offset:2px}

/* Search button in the compact sticky header (docked state only, like the email button) */
.header-button-search{display:none !important;background:#F8B870 !important;color:#ffffff !important;border:2px solid #F8B870;cursor:pointer}
.dock-bar.docked .header-button-search{display:flex !important}
.header-button-search:hover{background:#f0a856 !important;color:#ffffff !important;border-color:#f0a856}
.dock-bar.docked .header-button:nth-child(5){transition-delay:0.24s}

/* Search first in the docked bar: keep email white and star turquoise after the reorder */
.dock-bar.docked .header-button.header-button-email{background:#ffffff !important;color:#0e5a8f !important;border:2px solid #0e5a8f}
.dock-bar.docked .header-button[href="https://www.aiRabbi.org/"]{background:linear-gradient(to right,#3296d7,#0a9ba5) !important}
