.wtm-search { position:relative; width:100%; min-width:0; text-align:left; font-family:"Lato",Arial,sans-serif; color:#333; line-height:1.5; }
header.wtm-search-active { z-index:12000; }
body.wtm-header-search-open .side-contact-button, body.wtm-header-search-open .post-edit-link { z-index:100; }
.wtm-search *, .wtm-search *::before, .wtm-search *::after { box-sizing:border-box; }
.wtm-search [hidden] { display:none !important; }
.wtm-search form.wtm-search__form { margin:0; padding:0; }
.wtm-search__bar { display:flex; align-items:center; min-height:30px; width:100%; border:1px solid #1d1d1d; background:#fff; box-shadow:0 10px 18px -13px #000; }
.wtm-search input.wtm-search__input { flex:1 1 auto; min-width:0; width:100%; height:28px; padding:3px 10px; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; color:#222; font:400 14px/1.4 "Lato",Arial,sans-serif; outline-offset:-2px; appearance:none; -webkit-appearance:none; }
.wtm-search__input::-webkit-search-cancel-button, .wtm-search__input::-webkit-search-decoration { -webkit-appearance:none; }
.wtm-search input.wtm-search__input::placeholder { opacity:1; color:#555; }
.wtm-search--attorneys input.wtm-search__input::placeholder { text-transform:uppercase; }
.wtm-search button.wtm-search__clear, .wtm-search button.wtm-search__filter-toggle, .wtm-search button.wtm-search__submit { display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; min-width:28px; height:28px; margin:0; padding:3px; border:0; border-radius:0; color:#363636; background:#fff; box-shadow:none; font-size:16px; line-height:1; cursor:pointer; text-transform:none; }
.wtm-search button:hover { background:#f0f4f7; }
.wtm-search :focus-visible { outline:2px solid #1468a9; outline-offset:2px; }
.wtm-search__filters { position:absolute; z-index:11001; top:100%; right:0; margin:10px 0 0; padding:12px 16px; width:min(420px,100%); border:1px solid #555; background:#fff; box-shadow:0 4px 14px #0002; font-size:14px; }
.wtm-search__filters legend { margin:0; padding:0 4px; color:#003c71; font-size:14px; font-weight:700; background:#fff; }
.wtm-search__filters label { display:flex; align-items:center; gap:8px; margin:0; font-weight:400; cursor:pointer; }
.wtm-search__filters input[type="checkbox"] { width:16px; height:16px; margin:0; padding:0; appearance:auto; -webkit-appearance:checkbox; accent-color:#003c71; }
.wtm-search__select-all { padding:2px 0 10px; border-bottom:1px solid #ddd; }
.wtm-search__filter-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; padding-top:10px; }
.wtm-search button.wtm-search__apply { display:block; width:auto; height:auto; min-height:34px; margin:14px 0 0; padding:6px 14px; border:0; border-radius:0; background:#003c71; color:#fff; font:700 14px/1.5 "Lato",Arial,sans-serif; text-transform:none; cursor:pointer; }
.wtm-search button.wtm-search__apply:hover { background:#1468a9; }
.wtm-search__panel { position:absolute; z-index:11000; top:100%; left:0; width:100%; margin-top:12px; border:1px solid #1d1d1d; border-radius:3px; background:#fff; box-shadow:0 2px 8px #0002; overflow:hidden; }
.wtm-search__summary { padding:10px 14px; color:#555; font-size:13px; border-bottom:1px solid #e8e8e8; }
.wtm-search__results { max-height:min(400px,55vh); max-height:min(400px,55dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.wtm-search__group-title { padding:8px 14px; background:#f1f4f6; color:#003c71; font-size:13px; line-height:1.5; font-weight:700; letter-spacing:.03em; }
.wtm-search a.wtm-search__item { display:flex; align-items:flex-start; gap:12px; width:100%; min-height:48px; margin:0; padding:14px; background:#fff; color:#1468a9; text-decoration:none; border:0; border-bottom:1px solid #eee; outline-offset:-2px; font-size:14px; line-height:1.55; }
.wtm-search a.wtm-search__item:hover, .wtm-search a.wtm-search__item[aria-selected="true"] { background:#edf3f8; color:#003c71; }
.wtm-search .wtm-search__image { display:block; flex:0 0 70px; width:70px; height:70px; margin:0; object-fit:cover; object-position:center top; border:0; border-radius:0; }
.wtm-search__text { display:block; min-width:0; }
.wtm-search__title { display:block; color:inherit; font-size:14px; font-weight:700; line-height:1.55; overflow-wrap:anywhere; }
.wtm-search__excerpt { display:block; margin-top:5px; color:#555; font-size:14px; font-weight:400; line-height:1.55; overflow-wrap:anywhere; }
.wtm-search--attorneys .wtm-search__item { min-height:70px; }
.wtm-search a.wtm-search__more { display:block; margin:0; padding:10px 14px; border-top:1px solid #ddd; color:#1468a9; background:#f8fafc; text-decoration:none; font-size:14px; font-weight:700; }
.wtm-search a.wtm-search__more:hover { text-decoration:underline; }
.wtm-search__spinner { display:block; width:16px; height:16px; flex:0 0 16px; margin:0 6px; border:2px solid #ccd4dc; border-top-color:#003c71; border-radius:50%; animation:wtm-spin .8s linear infinite; }
@keyframes wtm-spin { to { transform:rotate(360deg); } }
.wtm-sr-only { position:absolute !important; width:1px !important; height:1px !important; margin:-1px !important; padding:0 !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.wtm-results-page { min-height:60vh; padding-bottom:60px; }
.wtm-results-page .wtm-search { max-width:760px; margin:24px 0; }
.wtm-results-page__count { margin:24px 0; color:#555; }
.wtm-results-page__group { margin:32px 0; }
.wtm-results-page__item { display:flex; gap:20px; padding:20px 0; border-bottom:1px solid #ddd; }
.wtm-results-page__item h3 { margin:0 0 8px; }
.wtm-results-page__item p { margin:0; }
.wtm-results-page .wtm-results-page__image { display:block; width:90px; height:90px; max-width:none; object-fit:cover; object-position:center top; }
.wtm-results-page__pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:24px; margin-top:30px; }
@media (max-width:749px) {
  .wtm-search__bar { min-height:44px; }
  .wtm-search input.wtm-search__input { height:42px; font-size:16px; }
  .wtm-search button.wtm-search__clear, .wtm-search button.wtm-search__filter-toggle, .wtm-search button.wtm-search__submit { flex-basis:36px; min-width:36px; width:36px; height:42px; }
  .wtm-search__panel { margin-top:8px; }
  .wtm-search__results { max-height:min(360px,50vh); max-height:min(360px,50dvh); }
  .wtm-search a.wtm-search__item { gap:10px; padding:12px; }
  .wtm-search .wtm-search__image { flex-basis:56px; width:56px; height:64px; }
  .wtm-search__title, .wtm-search__excerpt { font-size:14px; }
  .wtm-results-page__item { gap:12px; }
  .wtm-results-page .wtm-results-page__image { width:65px; height:75px; }
}
@media (prefers-reduced-motion:reduce) { .wtm-search__spinner { animation:none; } }
