@font-face {
  font-family: "BuyModa Serif";
  src: url("/wp-content/uploads/omgf/omgf-stylesheet-192/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body.bm-search-page {
  --c-ink: #0c2745;
  --c-border: #dce7f4;
  --c-paper: #f5f8ff;
  background: #f5f8ff;
  color: #0c2745;
}

.bm-search-page .bm-refresh-header,
.bm-search-page .bm-refresh-nav,
.bm-search-page .bm-refresh-menu {
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
}

.bm-search-page .site-inner main.bm-search {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 72px !important;
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #0c2745;
}

.bm-search-page .bm-search h1 {
  margin: 0 0 22px;
  color: #0c2745;
  font-family: "BuyModa Serif", Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.bm-search-page .bm-search h1::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 16px;
  background: #ff6b12;
}

.bm-search-page .bm-search__form {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.bm-search-page .bm-search__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.bm-search-page .bm-search__input {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 76px 12px 46px;
  border: 1px solid #dce7f4;
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230c2745' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") 16px 50% / 18px no-repeat;
  color: #0c2745;
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: none;
}

.bm-search-page .bm-search__input::placeholder {
  color: #365574;
  opacity: 1;
}

.bm-search-page .bm-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.bm-search-page .bm-search__input:focus {
  border-color: #0757ce;
  outline: 3px solid #0757ce;
  outline-offset: 2px;
  color: #0c2745;
}

.bm-search-page .bm-search__clear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 36px;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #365574;
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.bm-search-page .bm-search__clear:hover,
.bm-search-page .bm-search__clear:focus {
  transform: translateY(-50%);
  border: 0;
  background: #edf5fd;
  box-shadow: none;
  color: #0c2745;
}

.bm-search-page .bm-search__submit,
.bm-search-page .bm-search__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 11px;
  background: #0757ce;
  box-shadow: none;
  color: #fff;
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.bm-search-page .bm-search__submit:hover,
.bm-search-page .bm-search__submit:focus,
.bm-search-page .bm-search__more:hover,
.bm-search-page .bm-search__more:focus {
  transform: none;
  border: 0;
  background: #0649ad;
  box-shadow: none;
  color: #fff;
}

.bm-search-page .bm-search__submit:focus-visible,
.bm-search-page .bm-search__more:focus-visible,
.bm-search-page .bm-search__clear:focus-visible,
.bm-search-page .bm-search__title a:focus-visible {
  outline: 3px solid #0757ce;
  outline-offset: 3px;
}

.bm-search-page .bm-search__count {
  margin: 18px 0 16px;
  color: #0c2745;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.bm-search-page .bm-search__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-search-page .bm-search__result,
.bm-search-page .bm-search__empty {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid #dce7f4;
  border-radius: 12px;
  background: #fff;
  color: #0c2745;
}

.bm-search-page .bm-search__empty {
  font-size: 17px;
  line-height: 1.55;
}

.bm-search-page .bm-search__title {
  margin: 0 0 8px;
  color: #0c2745;
  font-family: "BuyModa Sans", "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.bm-search-page .bm-search__title a {
  color: #0757ce;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bm-search-page .bm-search__title a:hover,
.bm-search-page .bm-search__title a:focus {
  color: #0649ad;
  text-decoration: underline;
}

.bm-search-page .bm-search__excerpt {
  margin: 0;
  color: #0c2745;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.bm-search-page .bm-search mark {
  padding: 0 0.15em;
  border-radius: 3px;
  background: #ffe8c2;
  color: #0c2745;
  font-weight: 650;
}

.bm-search-page .bm-search__more {
  width: 100%;
  margin-top: 16px;
}

.bm-search-page .bm-search__more[hidden],
.bm-search-page .bm-search__clear[hidden],
.bm-search-page .bm-search__list[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .bm-search-page .site-inner main.bm-search {
    padding: 24px 4px 48px !important;
  }

  .bm-search-page .site-footer .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 700px) {
  .bm-search-page .bm-search h1 {
    font-size: 32px;
  }

  .bm-search-page .bm-search__form {
    flex-direction: column;
  }

  .bm-search-page .bm-search__submit {
    width: 100%;
  }

  .bm-search-page .bm-search__result,
  .bm-search-page .bm-search__empty {
    padding: 16px;
  }

  .bm-search-page .bm-search__title {
    font-size: 20px;
  }
}
