.lz-global-search {
  position: relative;
  z-index: 20;
  padding: 12px 0;
  border-bottom: 3px solid #ffd229;
  background: linear-gradient(135deg, #064777, #0868a1);
  box-shadow: 0 7px 18px rgba(3, 49, 82, .18);
}

.lz-global-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 5px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,31,54,.2);
}

.lz-global-search-form label { padding: 0 9px 0 12px; font-size: 21px; }

.lz-global-search-form input[type="search"] {
  width: 100%; min-height: 45px; padding: 8px 5px; border: 0; outline: 0;
  background: transparent; color: #123b58; font: inherit; font-size: 16px;
}

.lz-global-search-form button {
  min-height: 45px; padding: 8px 23px; border: 0; border-radius: 11px;
  background: #ffd229; color: #063b68; font: inherit; font-weight: 800; cursor: pointer;
}

.lz-global-search-form button:hover,
.lz-global-search-form button:focus-visible { background: #f3c300; transform: translateY(-1px); }
.lz-search-results { margin-bottom: 32px; }

.lz-search-heading {
  margin-bottom: 18px; padding: clamp(22px, 4vw, 38px); border-radius: 22px;
  background: linear-gradient(135deg, #e9f6e4, #f9fdf7);
  box-shadow: 0 12px 28px rgba(22,73,45,.11);
}

.lz-search-heading h1 { margin: 6px 0 10px; color: #064a80; }
.lz-search-heading p { margin: 0; }
.lz-search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }

.lz-search-filters a {
  padding: 9px 14px; border: 2px solid #b8d6ad; border-radius: 999px;
  background: #eef8ea; color: #07518a; font-weight: 800; text-decoration: none;
}

.lz-search-filters a:hover,
.lz-search-filters a:focus-visible,
.lz-search-filters a.is-active { border-color: #e3b600; background: #ffd229; color: #063b68; }
.lz-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.lz-search-card {
  display: grid; grid-template-columns: 155px minmax(0, 1fr); overflow: hidden;
  min-height: 190px; border: 1px solid #d9e5eb; border-top: 5px solid #2d813c;
  border-radius: 18px; background: #fff; box-shadow: 0 12px 27px rgba(22,65,92,.11);
}

.lz-search-card:hover { transform: translateY(-3px); }
.lz-search-image { display: block; min-height: 100%; background: #dcecf5; }
.lz-search-image img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.lz-search-copy { padding: 18px; }

.lz-search-category {
  display: inline-block; margin-bottom: 7px; color: #2d813c; font-size: 13px;
  font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
}

.lz-search-copy h2 { margin: 0 0 8px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.15; }
.lz-search-copy h2 a { color: #07518a; }
.lz-search-copy p { margin: 0 0 12px; line-height: 1.55; }
.lz-search-more { color: #07518a; font-weight: 800; }

.lz-search-empty {
  padding: 34px; border: 2px dashed #b8d6ad; border-radius: 18px;
  background: #f4faef; text-align: center;
}

.lz-search-empty strong { color: #07518a; font-size: 23px; }
.theme-dark .lz-global-search-form,
body.dark-mode .lz-global-search-form { background: #173e57; }
.theme-dark .lz-global-search-form input,
body.dark-mode .lz-global-search-form input { color: #f4fbff; }
.theme-dark .lz-search-heading,
body.dark-mode .lz-search-heading { background: linear-gradient(135deg, #214d3b, #173e36); }
.theme-dark .lz-search-card,
body.dark-mode .lz-search-card { border-color: #50758b; background: #173e57; }
.theme-dark .lz-search-copy h2 a,
.theme-dark .lz-search-more,
body.dark-mode .lz-search-copy h2 a,
body.dark-mode .lz-search-more { color: #ffd85a; }
.theme-dark .lz-search-filters a,
body.dark-mode .lz-search-filters a { border-color: #4f7965; background: #244d3e; color: #f4fbf7; }
.theme-dark .lz-search-filters a.is-active,
body.dark-mode .lz-search-filters a.is-active { background: #ffd229; color: #063b68; }

@media (max-width: 900px) { .lz-search-grid { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .lz-global-search { padding: 9px 0; }
  .lz-global-search-form { grid-template-columns: auto minmax(0, 1fr); }
  .lz-global-search-form button { grid-column: 1 / -1; width: 100%; }
  .lz-search-card { grid-template-columns: 105px minmax(0, 1fr); }
  .lz-search-image img { min-height: 170px; }
  .lz-search-copy { padding: 14px; }
  .lz-search-copy p { display: none; }
}
