/* Search pop-up: always fits the screen, results scroll inside it */
.search-dlg{margin:6vh auto 0;max-height:calc(100vh - 6vh - 16px);max-height:calc(100dvh - 6vh - 16px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box}
.search-dlg__top{position:sticky;top:-18px;z-index:2;background:#fff;margin:-18px -20px 12px;padding:18px 20px 8px}
.search-dlg__top button{min-height:36px;min-width:52px}
.search-dlg .pagefind-ui__search-input{font-size:16px!important}
@media (max-width:600px){
 .search-dlg{width:calc(100% - 16px);margin-top:8px;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:14px 14px 18px}
 .search-dlg__top{top:-14px;margin:-14px -14px 10px;padding:14px 14px 8px;font-size:1.2rem}
}
