/* v17 search page. */
.search-page {
  min-height: 100vh;
  padding-top: 70px;
  background: #f5f8fb;
}

.search-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.search-hero {
  padding: 68px 0 56px;
  color: #ffffff;
  background: linear-gradient(90deg, #082c53, #005dbe);
}

.search-kicker {
  display: block;
  margin-bottom: 8px;
  color: #0c67bf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-hero .search-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.search-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  width: min(760px, 100%);
  margin-top: 30px;
  padding: 6px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 18px 46px rgba(4, 31, 61, 0.22);
}

.search-page-form input {
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  color: #17283d;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.search-page-form button {
  height: 48px;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  background: #005dbe;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}

.search-page-form button:hover,
.search-page-form button:focus-visible {
  background: #004d9d;
}

.search-results-section {
  padding: 44px 0 86px;
}

.search-content-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.search-sidebar {
  position: sticky;
  top: 92px;
  padding: 22px 22px 24px;
  border: 1px solid #e4e9f0;
  background: #ffffff;
}

.search-sidebar[hidden] {
  display: none;
}

.search-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf3;
}

.search-sidebar-head strong {
  color: #17283d;
  font-size: 16px;
  font-weight: 600;
}

.search-sidebar-head button {
  padding: 0;
  color: #005dbe;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.search-main {
  min-width: 0;
}

.search-overview {
  min-height: 76px;
}

.search-overview h2 {
  margin: 0;
  color: #17283d;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
}

.search-overview p {
  margin: 5px 0 0;
  color: #738196;
  font-size: 14px;
}

.search-category-tabs {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.search-category-tab,
.search-subfilter {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 0;
  color: #405167;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: left;
}

.search-category-tab::before,
.search-subfilter::before {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid #9aa7b7;
  border-radius: 50%;
  background: #ffffff;
}

.search-category-tab:hover,
.search-category-tab:focus-visible,
.search-category-tab.is-active,
.search-subfilter:hover,
.search-subfilter:focus-visible,
.search-subfilter.is-active {
  color: #005dbe;
  background: transparent;
}

.search-category-tab.is-active::before,
.search-subfilter.is-active::before {
  border: 4px solid #005dbe;
}

.search-category-tab.is-active,
.search-subfilter.is-active {
  font-weight: 600;
}

.search-subfilters {
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e8edf3;
}

.search-subfilter-label {
  margin-bottom: 8px;
  color: #738196;
  font-size: 13px;
}

.search-subfilter {
  min-height: 34px;
  padding-left: 4px;
  color: #617084;
  border-color: transparent;
  background: transparent;
  font-size: 13px;
}

.search-subfilter::before {
  width: 10px;
  height: 10px;
}

.search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: 0;
  color: #738196;
  border-bottom: 1px solid #e1e8f0;
  font-size: 13px;
}

.search-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-toolbar select {
  height: 34px;
  min-width: 112px;
  padding: 0 28px 0 10px;
  color: #33465c;
  border: 1px solid #d9e2ec;
  border-radius: 5px;
  background: #ffffff;
  font: inherit;
}

.search-state-panel {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 240px;
  padding: 66px 20px;
  color: #738196;
  text-align: center;
}

.search-state-panel[hidden] {
  display: none;
}

.search-state-panel strong {
  color: #17283d;
  font-size: 20px;
  font-weight: 500;
}

.search-state-panel p {
  margin: 0;
}

.search-state-panel button {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 20px;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  background: #005dbe;
  cursor: pointer;
  font: inherit;
}

.search-result-list {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.search-result-card {
  display: block;
  min-height: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #e4e9ef;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease;
}

.search-result-card:hover,
.search-result-card:focus-visible {
  border-color: #e4e9ef;
  outline: 0;
  box-shadow: none;
  transform: none;
}

.search-result-media {
  display: none;
}

.search-result-media img {
  display: none;
}

.search-result-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.search-result-copy h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
}

.search-result-copy h3 a {
  color: #1a1a1a;
}

.search-result-copy h3 a:hover,
.search-result-copy h3 a:focus-visible {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-result-copy mark {
  padding: 0;
  color: #005dbe;
  background: transparent;
  font-weight: 700;
}

.search-result-summary {
  margin: 8px 0 12px;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.85;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  color: #333333;
  font-size: 12px;
}

.search-result-detail {
  color: #333333;
}

.search-result-skeleton {
  pointer-events: none;
}

.search-skeleton-line {
  background: linear-gradient(90deg, #eef2f6 25%, #f8fafc 50%, #eef2f6 75%);
  background-size: 200% 100%;
  animation: search-skeleton 1.2s infinite linear;
}

.search-skeleton-line {
  display: block;
  width: 86%;
  height: 14px;
  margin: 8px 0;
  border-radius: 3px;
}

.search-skeleton-line.is-title {
  width: 52%;
  height: 22px;
  margin-top: 4px;
}

.search-skeleton-line.is-short {
  width: 66%;
}

@keyframes search-skeleton {
  to {
    background-position: -200% 0;
  }
}

.search-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.search-pagination button,
.search-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  color: #42556b;
  border: 1px solid #dce5ee;
  border-radius: 5px;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
}

.search-pagination button {
  cursor: pointer;
}

.search-pagination button:hover:not(:disabled),
.search-pagination button:focus-visible,
.search-pagination button[aria-current="page"] {
  color: #ffffff;
  border-color: #005dbe;
  background: #005dbe;
}

.search-pagination button:disabled {
  color: #b3bdc9;
  cursor: not-allowed;
}

.search-pagination-ellipsis {
  border-color: transparent;
  background: transparent;
}

.search-hot-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 64px;
  padding: 36px 0 0;
  border-top: 1px solid #dce5ee;
}

.search-hot-panel h2 {
  margin: 0;
  color: #17283d;
  font-size: 24px;
  font-weight: 500;
}

.search-hot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-hot-list button {
  min-height: 36px;
  padding: 0 16px;
  color: #42556b;
  border: 1px solid #dce5ee;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.search-hot-list button:hover,
.search-hot-list button:focus-visible {
  color: #005dbe;
  border-color: #9cc5ee;
  background: #edf6ff;
}
