body.blackoute-global-search {
  background: var(--gmap-bg);
}

.blackoute-search-main {
  padding: 0 0 4.5rem;
}

.gmap-search {
  width: min(1180px, calc(100% - clamp(1.25rem, 4vw, 3rem)));
  margin: 0 auto;
  padding-top: 2.25rem;
}

.gmap-search__hero {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.gmap-search__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gmap-copper);
}

.gmap-search__title {
  margin: 0;
  font-family: var(--gmap-font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--gmap-text);
}

.gmap-search__lede {
  margin: 0.7rem 0 0;
  color: var(--gmap-text-secondary);
  font-size: 0.9375rem;
}

.gmap-search__brandmark {
  max-width: 8.5rem;
  margin: 0.35rem 0 0;
  text-align: right;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #b7aea4;
}

.gmap-search__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  margin: 0 0 2rem;
  padding: 0 0.45rem 0 1.1rem;
  background: #fff;
  border: 1px solid var(--gmap-border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(64, 43, 25, 0.06);
}

.gmap-search__bar-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #8a8378;
}

.gmap-search__native[type="search"],
.gmap-search__sf,
.gmap-search__sf .search-filter-field,
.gmap-search__sf .gmap-sf-search,
.gmap-search__sf .search-filter-field__input,
.gmap-search__sf .search-filter-input-text {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.gmap-search__native[type="search"],
.gmap-search__sf input,
.gmap-search__sf input[type="text"],
.gmap-search__sf input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--gmap-text);
  background: transparent !important;
  appearance: none;
  -webkit-appearance: none;
}

.gmap-search__native[type="search"]::-webkit-search-decoration,
.gmap-search__native[type="search"]::-webkit-search-cancel-button,
.gmap-search__native[type="search"]::-webkit-search-results-button,
.gmap-search__native[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.gmap-search__native::placeholder,
.gmap-search__sf input::placeholder {
  color: #8a8378;
  opacity: 1;
}

.gmap-search__sf {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.gmap-search__sf:empty,
.gmap-search__sf:not(:has(input:not([type="hidden"]))) {
  display: none !important;
}

.gmap-search__sf .search-filter-input-text__icon,
.gmap-search__sf .search-filter-icon,
.gmap-search__sf .search-filter-input-text__clear-button {
  display: none !important;
}

.gmap-search__bar:has(.gmap-search__submit button, .gmap-search__submit [type="submit"]) .gmap-search__submit-btn {
  display: none !important;
}

.gmap-search__submit,
.gmap-search__submit .search-filter-field,
.gmap-search__submit .search-filter-control {
  display: flex;
  align-items: center;
  flex: none;
}

.gmap-search__submit-btn,
.gmap-search__submit button,
.gmap-search__submit [type="submit"],
.gmap-search__submit .search-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  height: 42px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #bd6832, #a94e1f);
  color: #fff;
  font-family: var(--gmap-font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.gmap-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-right: 0.15rem;
  border-radius: 50%;
  color: #8a8378;
  text-decoration: none;
  font-size: 1.15rem;
  line-height: 1;
}

.gmap-search__clear:hover,
.gmap-search__clear:focus-visible {
  color: var(--gmap-text, #171512);
  background: #f3ebe3;
}

.gmap-search__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.gmap-search__types {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}

.gmap-search__type {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-family: var(--gmap-font-ui);
  font-size: var(--gmap-body);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.gmap-search__type.is-active {
  background: #f3ebe3;
}

.gmap-search__type-icon {
  display: flex;
  width: 18px;
  height: 18px;
  color: #8a5a38;
}

.gmap-search__type-icon svg {
  width: 18px;
  height: 18px;
}

.gmap-search__type-label {
  flex: 1;
  font-size: var(--gmap-body);
  font-weight: 400;
  line-height: 1.4;
}

.gmap-search__type-count {
  color: var(--gmap-text-secondary);
  font-size: var(--gmap-meta);
}

.gmap-search__facet {
  margin: 0 0 1.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid #efe6dc;
}

.gmap-search__facet .gmap-section-label {
  margin: 0.85rem 0 0.55rem;
}

.gmap-search__check {
  display: grid;
  grid-template-columns: 1.05rem 1fr auto;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.45rem 0;
  font-family: var(--gmap-font-ui);
  font-size: var(--gmap-body);
  font-weight: 400;
  line-height: 1.4;
  color: var(--gmap-text);
  cursor: pointer;
}

.gmap-search__check input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--gmap-copper);
  cursor: pointer;
}

.gmap-search__check-label {
  min-width: 0;
}

.gmap-search__check-count {
  color: var(--gmap-text-secondary);
  font-size: var(--gmap-meta);
}

.gmap-search__reset,
.gmap-search .gmap-text-link {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gmap-copper);
  font-family: inherit;
  font-size: var(--gmap-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.gmap-search__reset:hover,
.gmap-search__reset:focus-visible,
.gmap-search .gmap-text-link:hover,
.gmap-search .gmap-text-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.gmap-search__mobile-bar {
  display: contents;
}

.gmap-search__toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

.gmap-search__filters-toggle,
.gmap-search__sheet-chrome,
.gmap-search__sheet-footer,
.gmap-search__filters-backdrop,
.gmap-search__chips {
  display: none;
}

.gmap-search__sheet-body {
  display: contents;
}

.gmap-search__filters-toggle {
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--gmap-border, #e6ded4);
  border-radius: 999px;
  background: #fff;
  color: var(--gmap-text, #171512);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(23, 21, 18, 0.03);
}

.gmap-search__filters-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.gmap-search__filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: var(--gmap-copper, #b75f2a);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.gmap-search__filters-count[hidden],
.gmap-search__chips[hidden] {
  display: none !important;
}

.gmap-search__chips {
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.gmap-search__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  margin: 0;
  padding: 0.32rem 0.55rem 0.32rem 0.75rem;
  border: 1px solid #e6ded4;
  border-radius: 999px;
  background: #fff;
  color: var(--gmap-text, #171512);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.gmap-search__chip-x {
  color: #8a8378;
  font-size: 1rem;
  line-height: 1;
}

.gmap-search__sort {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  width: auto;
}

.gmap-search-card[hidden],
.gmap-search__empty[hidden],
.gmap-search__more[hidden],
.gmap-search__check[hidden],
.gmap-search__type[hidden] {
  display: none !important;
}

.gmap-search__results {
  display: flex;
  flex-direction: column;
}

.gmap-search-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 2rem;
  gap: 1.15rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid #efe6dc;
}

.gmap-search-card__media {
  display: block;
  position: relative;
  width: 168px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: #efe6dc;
}

.gmap-search-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gmap-search-card__media--empty {
  background: linear-gradient(135deg, #e8ddd2, #f5efe8);
}

.gmap-search-card__kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
}

.gmap-search-card__type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a38;
}

.gmap-search-card__pro {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  margin: 0;
  padding: 0.18rem 0.4rem;
  border: 0;
  border-radius: 0;
  background: rgba(16, 13, 10, 0.78);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}

.gmap-search-card__title {
  margin: 0 0 0.3rem;
  font-family: var(--gmap-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.gmap-search-card__title a {
  color: inherit;
  text-decoration: none;
}

.gmap-search-card__title a:hover,
.gmap-search-card__title a:focus-visible {
  color: var(--gmap-copper);
}

.gmap-search-card__excerpt {
  margin: 0 0 0.55rem;
  color: var(--gmap-text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gmap-search-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  padding: 0;
  list-style: none;
}

.gmap-search-card__pills li {
  padding: 0.2rem 0.6rem;
  border: 1px solid #eadfd4;
  border-radius: 999px;
  background: #faf6f1;
  font-size: 0.6875rem;
  color: #6e675f;
}

.gmap-search-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  color: var(--gmap-text-secondary);
  font-size: 0.75rem;
}

.gmap-search-card__go {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #c4b8aa;
  text-decoration: none;
  font-size: 1.15rem;
}

.gmap-search__empty {
  margin: 2rem 0;
  color: var(--gmap-text-secondary);
}

.gmap-search__more {
  display: block;
  margin: 1.75rem auto 0;
  padding: 0.7rem 1.35rem;
  border: 1px solid #eadfd4;
  border-radius: 999px;
  background: #fff;
  color: var(--gmap-text);
  font-weight: 600;
  cursor: pointer;
}

.gmap-search__apply {
  width: 100%;
  margin: 0.5rem 0 0.75rem;
}

.gmap-search__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.75rem 0 0;
}

.gmap-search__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid #eadfd4;
  border-radius: 999px;
  color: var(--gmap-text);
  text-decoration: none;
}

.gmap-search__pagination .page-numbers.current {
  border-color: var(--gmap-copper);
  background: #f3ebe3;
  color: var(--gmap-text);
}

.gmap-home-live .gmap-search-hit,
.gmap-search-hit {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}

.gmap-home-live .gmap-search-hit:hover,
.gmap-search-hit:hover {
  background: #faf6f2;
}

.gmap-search-hit__media {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #efe6dc center / cover no-repeat;
}

.gmap-search-hit__media--empty {
  background: linear-gradient(135deg, #e8ddd2, #f5efe8);
}

.gmap-search-hit__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gmap-search-hit__type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a5a38;
}

.gmap-search-hit__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.gmap-search-hit__excerpt {
  color: var(--gmap-text-secondary);
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  .gmap-search__layout {
    grid-template-columns: 1fr;
  }

  .gmap-search__main {
    order: -1;
  }

  .gmap-search.is-sheet .gmap-search__mobile-bar {
    display: block;
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 30;
    margin: 0 0 0.35rem;
    padding: 0.2rem 0 0.7rem;
    background: var(--gmap-bg, #faf8f5);
  }

  .gmap-search.is-sheet .gmap-search__toolbar {
    justify-content: space-between;
    margin: 0;
  }

  .gmap-search.is-sheet .gmap-search__filters-toggle {
    display: inline-flex;
  }

  .gmap-search.is-sheet .gmap-search__sort {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }

  .gmap-search.is-sheet .gmap-search__sort .blackoute-directory__field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .gmap-search.is-sheet .gmap-search__chips:not([hidden]) {
    display: flex;
  }

  .gmap-search.is-sheet .gmap-search__apply {
    display: none;
  }

  .gmap-search.is-sheet .gmap-search__filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: var(--gmap-z-overlay-backdrop, 1200);
    background: rgba(23, 21, 18, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .gmap-search.is-sheet.is-filters-open .gmap-search__filters-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .gmap-search.is-sheet .gmap-search__sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--gmap-z-overlay-sheet, 1210);
    display: flex;
    flex-direction: column;
    width: auto;
    max-height: min(88dvh, 720px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -16px 48px rgba(23, 21, 18, 0.18);
    transform: translate3d(0, 110%, 0);
    transition: transform 0.28s ease;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }

  .gmap-search.is-sheet.is-filters-open .gmap-search__sidebar {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .gmap-search.is-sheet .gmap-search__sheet-chrome {
    display: block;
    flex: 0 0 auto;
    padding: 0.35rem 1rem 0;
    border-bottom: 1px solid #efe6dc;
    background: #fff;
  }

  .gmap-search.is-sheet .gmap-search__sheet-handle {
    width: 2.5rem;
    height: 0.25rem;
    margin: 0.35rem auto 0.7rem;
    border-radius: 999px;
    background: rgba(23, 21, 18, 0.18);
    touch-action: none;
  }

  .gmap-search.is-sheet .gmap-search__sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .gmap-search.is-sheet .gmap-search__sheet-title {
    margin: 0;
    font-family: var(--gmap-font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .gmap-search.is-sheet .gmap-search__sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--gmap-border, #e6ded4);
    border-radius: 999px;
    background: #fff;
    color: var(--gmap-text, #171512);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
  }

  .gmap-search.is-sheet .gmap-search__sheet-body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0.35rem 1.1rem 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .gmap-search.is-sheet .gmap-search__sheet-footer {
    display: block;
    flex: 0 0 auto;
    padding: 0.75rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #efe6dc;
    background: #fff;
  }

  .gmap-search.is-sheet .gmap-search__sheet-done {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #bd6832, #a94e1f);
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }

  .gmap-search.is-sheet .gmap-search__types {
    margin-bottom: 0.35rem;
  }

  .gmap-search__brandmark {
    display: none;
  }

  .gmap-search-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .gmap-search-card__media {
    width: 112px;
    height: 84px;
  }

  .gmap-search-card__go {
    display: none;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .gmap-search.is-sheet .gmap-search__sidebar,
  .gmap-search.is-sheet .gmap-search__filters-backdrop {
    transition: none;
  }
}

@media (max-width: 768px) {
  .gmap-search-card {
    grid-template-columns: 1fr;
  }

  .gmap-search-card__media {
    width: 100%;
    height: 160px;
  }
}
