/* Search Results Page */

.page-root.page-search-results {
  scroll-snap-type: none;
}

.search-results-main {
  background: #f3f3f3;
}

.page-search-results .inner-page-breadcrumb-inner {
  min-height: 4.25rem;
}

.search-results-section {
  background: #fff;
  padding: 4rem 0 7.75rem;
}

.search-results-shell {
  width: 100rem;
  max-width: calc(100% - 4rem);
  margin: 0 auto;
}

.search-results-form {
  width: 37.5rem;
  max-width: 100%;
}

.search-results-form-label {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-results-form-field {
  position: relative;
  width: 100%;
}

.search-results-input {
  width: 100%;
  height: 2.3125rem;
  padding: 0 5.75rem 0 0.75rem;
  border: 0.0625rem solid #e0e0e0;
  background: #fff;
  color: #666;
  font-size: 1rem;
  line-height: 2.3125rem;
  outline: none;
}

.search-results-input::placeholder {
  color: #999;
}

.search-results-input:focus {
  border-color: #0051ae;
  box-shadow: 0 0 0 0.125rem rgba(0, 81, 174, 0.12);
}

.search-results-submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 4.5rem;
  height: 100%;
  border: 0.0625rem solid #e0e0e0;
  background: #206bd1;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.search-results-submit:hover,
.search-results-submit:focus-visible {
  background: #0051ae;
}

.search-results-list {
  margin-top: 4rem;
}

.search-result-item {
  border-bottom: 0.0625rem solid #ececec;
}

.search-result-link {
  display: block;
  padding: 0 0 2.875rem;
  color: inherit;
}

.search-result-item + .search-result-item .search-result-link {
  padding-top: 3.5rem;
}

.search-result-title {
  margin: 0;
  color: #666;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
}

.search-result-summary {
  margin: 0.8125rem 0 0;
  color: #999;
  font-size: 1rem;
  line-height: 1.875;
}

.search-result-date {
  display: inline-block;
  margin-top: 0.75rem;
  color: #999;
  font-size: 0.875rem;
  line-height: 1.5;
}

.search-highlight {
  padding: 0;
  background: transparent;
  color: #0051ae;
}

.search-results-empty {
  display: flex;
  min-height: 34rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
}

.search-results-empty-image {
  width: 7.5rem;
  height: 7.5rem;
}

.search-results-empty-text {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

.search-results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2.875rem;
}

.search-results-pagination[hidden] {
  display: none;
}

.search-results-page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border: 0.03125rem solid #d2d2d2;
  border-radius: 0.25rem;
  background: #fff;
  color: #999;
  font-size: 0.875rem;
  line-height: 2.1875rem;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.search-results-page-btn:hover,
.search-results-page-btn:focus-visible {
  color: #0051ae;
  border-color: #0051ae;
}

.search-results-page-btn.is-active {
  border-color: #0051ae;
  background: #0051ae;
  color: #fff;
}

.search-results-page-btn.is-disabled,
.search-results-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 75rem) {
  .search-results-shell {
    max-width: calc(100% - 3rem);
  }

  .search-results-list {
    margin-top: 3rem;
  }
}

@media (max-width: 48rem) {
  .search-results-section {
    padding: 2rem 0 4rem;
  }

  .search-results-shell {
    max-width: calc(100% - 2rem);
  }

  .search-results-form {
    width: 100%;
  }

  .search-result-link {
    padding-bottom: 2rem;
  }

  .search-result-item + .search-result-item .search-result-link {
    padding-top: 2rem;
  }

  .search-result-title {
    font-size: 1.0625rem;
    line-height: 1.7;
  }

  .search-result-summary {
    margin-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.8;
  }

  .search-results-empty {
    min-height: 24rem;
  }

  .search-results-pagination {
    flex-wrap: wrap;
  }
}
