.h8-search-page {
  min-height: 62vh;
  padding: var(--h1-space-5, 2rem) 0 var(--h1-space-7, 4rem);
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 34%);
}
.h8-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; color: #526373; font-size: .94rem; }
.h8-breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #91a0ad; }
.h8-search-hero, .h8-search-results, .h8-search-state { max-width: 1040px; margin-inline: auto; }
.h8-search-hero { padding: clamp(1.5rem, 4vw, 3.25rem); border: 1px solid #dfe8ee; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(25, 53, 76, .08); }
.h8-search-kicker { display: block; margin-bottom: .6rem; color: #006f65; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.h8-search-hero h1 { max-width: 800px; margin: 0; color: #17324d; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; overflow-wrap: anywhere; }
.h8-search-hero h1 span { color: #00796f; }
.h8-search-hero > p { max-width: 760px; margin: 1rem 0 0; color: #526373; font-size: 1.05rem; }
.h8-search-form { margin-top: 1.75rem; }
.h8-search-form label { display: block; margin-bottom: .55rem; color: #17324d; font-weight: 700; }
.h8-search-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
.h8-search-control input { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid #aebec9; border-radius: 12px; color: #17324d; background: #fff; }
.h8-search-control button, .h8-home-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.35rem; border: 0; border-radius: 12px; color: #fff; background: #00796f; font-weight: 800; text-decoration: none; }
.h8-search-control input:focus-visible, .h8-search-control button:focus-visible, .h8-home-link:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }
.h8-search-results { margin-top: 2rem; }
.h8-search-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1rem; }
.h8-search-results-heading h2 { margin: 0; color: #17324d; font-size: clamp(1.35rem, 3vw, 2rem); }
.h8-search-results-heading p { max-width: 430px; margin: 0; color: #526373; }
.h8-search-provider { min-height: 280px; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #dfe8ee; border-radius: 20px; background: #fff; }
.h8-search-fallback { margin: .85rem 0 0; color: #637686; font-size: .9rem; }
.h8-search-state { margin-top: 1.5rem; padding: 2rem; border: 1px dashed #aebec9; border-radius: 18px; text-align: center; background: #fff; }
.h8-search-state i { color: #00796f; font-size: 2rem; }
.h8-search-state h2 { margin: .6rem 0 .3rem; color: #17324d; }
.h8-search-state p { margin: 0; color: #526373; }
.h8-home-link { margin-top: 1.5rem; }
@media (max-width: 640px) {
  .h8-search-page { padding-top: 1.25rem; }
  .h8-search-hero { border-radius: 18px; }
  .h8-search-control { grid-template-columns: 1fr; }
  .h8-search-control button { width: 100%; }
  .h8-search-results-heading { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .h8-search-page *, .h8-search-page *::before, .h8-search-page *::after { scroll-behavior: auto !important; }
}
.h8-local-results {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

.h8-local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.h8-local-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border: 1px solid #d7e5df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 55, 43, .07);
}

.h8-local-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #08765b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.h8-local-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.h8-local-card h3 a,
.h8-local-card-action {
  color: #102b23;
}

.h8-local-card p {
  color: #66766f;
}

.h8-local-card-action {
  margin-top: auto;
  font-weight: 800;
}

@media (max-width: 900px) {
  .h8-local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .h8-local-grid { grid-template-columns: 1fr; }
}
