/* Shared search controls and quiet editorial suggestions, on light and image heroes. */
.page-content .search-suggest { position: relative; isolation: isolate; z-index: 12; gap: 16px; align-items: center; }
.page-content .search-suggest :is(.articles-search-field,.landing-smart-search-field) {
  min-width: 0; flex: 1; height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible;
}
.page-content .search-suggest .articles-search-field::after { content: none; }
.page-content .search-suggest input[type="search"] {
  width: 100%; min-width: 0; height: 56px; padding: 12px 16px;
  border: 1px solid #89919a; border-radius: 0; background: #fff; color: #051627;
  font: 400 18px/1.5 var(--font-body); box-shadow: none;
}
.page-content .search-suggest input[type="search"]::placeholder { color: #4f5c6a; opacity: 1; }
.page-content .search-suggest input[type="search"]:focus-visible { outline: 2px solid #051627; outline-offset: 3px; }
.page-content .search-suggest .articles-search-field:focus-within { outline: none; }
.page-content-landing .home-editorial-hero .landing-smart-search { display: flex; width: 100%; max-width: 680px; }
.page-content-landing .home-editorial-hero .search-suggest input[type="search"]:focus-visible { outline-color: #fff; }
.page-content .search-suggestions {
  position: absolute; inset-inline: 0; top: calc(100% + 12px); z-index: 20;
  max-height: min(440px, 55dvh); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #d8dce0; border-radius: 0; background: #fff; color: #051627;
  box-shadow: 0 16px 32px rgb(5 22 39 / 14%); text-align: start;
}
.search-suggestions[hidden] { display: none; }
.page-content .search-suggestion {
  display: grid; gap: 6px; padding: 20px 24px; min-height: 44px;
  border-bottom: 1px solid #e2e4e6; color: #051627; text-decoration: none; overflow-wrap: anywhere;
}
.page-content .search-suggestion:last-child { border-bottom: 0; }
.page-content .search-suggestion:is(:hover,[aria-selected="true"]) { background: #f5f2eb; }
.page-content .search-suggestion:is(:hover,[aria-selected="true"]) strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-content .search-suggestion strong { font: 500 18px/1.45 var(--font-body); }
.page-content .search-suggestion-type { font: 600 12px/1.5 var(--font-body); text-transform: uppercase; letter-spacing: .04em; color: #4f5c6a; }
.page-content .search-suggestion-description { font: 400 15px/1.6 var(--font-body); color: #4f5c6a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.page-content .search-suggestions-empty { padding: 24px; font: 400 17px/1.6 var(--font-body); }
.search-suggestions-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[dir="rtl"] .search-suggestion-type { letter-spacing: normal; }
/* Allow suggestions to extend past the hero into the content below. */
.page-content .articles-hero:has(.search-suggest) { overflow: visible; z-index: 15; }
.page-content-landing .landing-hero:has(.search-suggest) { overflow: visible; z-index: 15; }
@media (max-width: 800px) {
  .page-content .search-suggest input[type="search"] { font-size: 16px; }
  .page-content .search-suggest .articles-search-field { flex-basis: 100%; }
  .page-content .search-suggestion { padding: 16px; }
  .page-content .search-suggestion strong { font-size: 17px; }
  .page-content-landing .home-editorial-hero .landing-smart-search { flex-wrap: wrap; }
  .page-content-landing .search-suggest .landing-smart-search-field { flex-basis: 100%; }
}
