.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.search-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 208, 91, .38), transparent 26%),
    radial-gradient(circle at 17% 74%, rgba(255, 129, 34, .3), transparent 31%),
    linear-gradient(112deg, #211813 0%, #493022 42%, #7f431f 72%, #d96713 120%);
}

.search-hero::before,
.search-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .55;
}

.search-hero::before {
  width: 430px;
  height: 430px;
  right: -100px;
  top: -155px;
  background: linear-gradient(145deg, #ffb21f, #f06b0e);
}

.search-hero::after {
  width: 310px;
  height: 310px;
  left: -140px;
  bottom: -190px;
  background: #d88734;
}

.search-hero-inner {
  max-width: var(--layout-width);
  margin: auto;
  padding: 4.2rem var(--page-gutter) 3.5rem;
}

.search-kicker {
  margin: 0 0 .8rem;
  color: #ffe1a1;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.search-hero h1 {
  max-width: 1000px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.search-hero h1 span { color: #ffc733; }

.search-intro {
  max-width: 760px;
  margin: 1rem 0 1.35rem;
  color: #eaf2ef;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.hero-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .55rem;
  max-width: 1060px;
  padding: .42rem .46rem .42rem 1rem;
  border: 4px solid rgba(255, 255, 255, .23);
  border-radius: var(--radius-pill);
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: 0 18px 54px rgba(45, 30, 20, .28);
}

.search-mark {
  color: #8a7d75;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
}

.hero-search input::placeholder { color: #968b84; }

.source-marks {
  display: flex;
  align-items: center;
  gap: .32rem;
}

.source-marks b {
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 29px;
  padding: 0 .3rem;
  border-radius: 50%;
  background: var(--surface-muted);
  color: #6b625d;
  font-size: .7rem;
}

.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 58px;
  padding: 0 1.7rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff9d17, #f0650b);
  box-shadow: 0 7px 17px rgba(214, 84, 0, .28);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
}

.hero-search button:hover { background: linear-gradient(135deg, #ffad2f, #dc5500); }

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.search-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .48rem 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-pill);
  background: rgba(45, 30, 20, .2);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.search-chips a:hover { background: rgba(255, 255, 255, .16); }

.search-chips .hub-chip {
  border-color: #ffc02d;
  background: #ffc02d;
  color: #382517;
}

.search-chips .hub-chip strong { margin-left: .2rem; }

.search-trust {
  max-width: 1000px;
  margin: 1.05rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid #ffc733;
  color: #d5e1dd;
  font-size: .86rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .search-hero-inner { padding: 2.8rem var(--page-gutter) 2.4rem; }
  .search-hero h1 { font-size: clamp(2rem, 9.3vw, 2.9rem); }
  .search-intro { font-size: 1rem; }
  .hero-search {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0;
    padding: .45rem;
    border-radius: 24px;
  }
  .hero-search .search-mark { margin-left: .55rem; }
  .source-marks { display: none; }
  .hero-search input { height: 52px; padding: 0 .5rem; }
  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 52px;
    margin-top: .25rem;
  }
  .search-chips { gap: .45rem; }
  .search-chips a { min-height: 44px; padding: .42rem .78rem; font-size: .9rem; }
  .search-trust { font-size: .81rem; }
}

.directory-section {
  position: relative;
  padding: 3.8rem var(--page-gutter);
  overflow: hidden;
  background: var(--surface);
}

.directory-inner {
  max-width: var(--content-width);
  margin: auto;
}

.directory-heading {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.directory-heading p {
  margin: 0 0 .45rem;
  color: #b94706;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.directory-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.6vw, 2.95rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.directory-heading span {
  display: block;
  max-width: 680px;
  margin: .65rem auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .85rem;
}

.directory-card {
  display: flex;
  min-height: 205px;
  padding: .85rem;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.directory-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.directory-icon {
  display: grid;
  width: 96px;
  height: 96px;
  margin-bottom: .75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-soft), var(--surface-warm));
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 2.7rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.directory-card strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.directory-card small {
  margin-top: .32rem;
  color: var(--muted);
  font-size: .74rem;
}

.directory-card-all .directory-icon {
  background: linear-gradient(145deg, #ffe66b, #ffab25);
}

.directory-note {
  max-width: 740px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.directory-guide-link {
  display: table;
  margin: .9rem auto 0;
  color: #ad3e00;
  font-weight: 820;
}

.brand img { box-shadow: 0 7px 18px rgba(220, 82, 0, .22); }

@media (max-width: 1050px) {
  .directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .directory-section { padding: 3rem var(--page-gutter); }
  .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
  .directory-card { min-height: 165px; padding: .7rem; border-radius: var(--radius-md); }
  .directory-icon { width: 76px; height: 76px; font-size: 2.1rem; border-radius: var(--radius-md); }
}

@media (max-width: 470px) {
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-card { min-height: 156px; }
  .directory-heading span { font-size: .95rem; }
}
