/* Shared editorial search, including the no-JavaScript results page. */
.site-header__search { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; flex: 0 0 40px; color: #fff; }
.site-header__search svg { width: 22px; height: 22px; }
.site-header__search:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.site-header__link { white-space: nowrap; }
.site-header__inner { gap: 20px; }
.site-header__nav { gap: 20px; }
.clast-search { box-sizing: border-box; position: fixed; inset: 0 0 0 auto; margin: 0; width: min(840px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; overflow: auto; overscroll-behavior: contain; border: 0; padding: 40px 48px; background: #fff; color: #16161d; font: 400 16px/1.5 var(--v2-font); }
.clast-search:not([open]) { display: none; }
.clast-search::backdrop { background: rgba(15, 15, 23, .6); }
.clast-search *, .clast-search-page * { box-sizing: border-box; }
.clast-search button, .clast-search input, .clast-search-page button, .clast-search-page input { font: inherit; }
.clast-search__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dddde5; padding-bottom: 20px; color: var(--v2-blue); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.clast-search__close, .clast-search__clear { border: 0; background: transparent; color: #16161d; cursor: pointer; min-width: 44px; min-height: 44px; padding: 0; line-height: 1 !important; font-size: 32px !important; }
.clast-search__clear { color: var(--v2-blue); flex-shrink: 0; }
.clast-search__title { margin: 28px 0 24px; font: 500 44px/1.15 var(--v2-font); letter-spacing: -.04em; }
.clast-search__form { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 12px; border: 2px solid var(--v2-blue); }
.clast-search__form > svg { width: 22px; height: 22px; flex-shrink: 0; }
.clast-search__form input { width: 100%; min-width: 0; min-height: 54px; padding: 12px 0; border: 0; background: transparent; color: inherit; outline: none; border-radius: 0; }
.clast-search__form:focus-within { outline: 2px solid #a6a4ff; outline-offset: 2px; }
.clast-search__form input::-webkit-search-cancel-button { display: none; }
.clast-search__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.clast-search__filter { display: inline-flex; justify-content: center; align-items: center; padding: 7px 16px; min-height: 36px; border: 1px solid #dcdce5; border-radius: 32px; background: #fff; color: inherit; text-decoration: none; cursor: pointer; line-height: 1.3 !important; font-size: 14px !important; }
.clast-search__filter[aria-pressed="true"], .clast-search__filter[aria-current="true"] { background: #16161d; border-color: #16161d; color: #fff; }
.clast-search__status { margin: 28px 0 12px; color: #65656e; font-size: 14px; }
.clast-search__results { border-top: 1px solid #dcdce5; }
.clast-search__result { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid #dcdce5; color: inherit; text-decoration: none; }
.clast-search__result > div { min-width: 0; }
.clast-search__type { color: var(--v2-blue); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.clast-search__result-title { margin: 4px 0 7px; font: 500 20px/1.3 var(--v2-font); letter-spacing: -.02em; overflow-wrap: anywhere; }
.clast-search__result:hover .clast-search__result-title { text-decoration: underline; text-underline-offset: 3px; }
.clast-search__meta { margin: 0; color: #65656e; font-size: 12px; line-height: 1.5; }
.clast-search__image { display: block; width: 108px; height: 72px; flex: 0 0 108px; object-fit: cover; background: #f2f2f2; }
.clast-search__empty { padding: 16px 0; color: #65656e; }
.clast-search__more, .clast-search__submit { display: block; border: 0; background: var(--v2-blue); color: #fff; cursor: pointer; padding: 12px 24px; }
.clast-search__more { margin: 24px auto 0; }
.clast-search [hidden] { display: none !important; }
.clast-search button:focus-visible, .clast-search a:focus-visible, .clast-search-page a:focus-visible, .clast-search-page button:focus-visible { outline: 2px solid var(--v2-blue); outline-offset: 3px; }
.clast-search-page { max-width: 900px; padding-block: 64px 96px; }
.clast-search-page__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.clast-search-page__pagination a, .clast-search-page__pagination span { padding: 8px; }
@media (min-width: 1025px) and (max-width: 1439px) {
  .site-header__inner, .site-header__nav { gap: 14px; }
  .site-header__actions { gap: 10px; }
  .site-header__button { padding-inline: 14px; }
  .clast-socials--header { gap: 10px; }
}
@media (max-width: 1024px) {
  .site-header__search { margin-left: auto; }
  .site-header__burger { margin-left: 0; }
}
@media (max-width: 768px) {
  .clast-search { width: 100vw; padding: 20px; }
  .clast-search__top { font-size: 10px; padding-bottom: 12px; }
  .clast-search__title { margin: 24px 0 20px; font-size: 30px; line-height: 36px; }
  .clast-search__form { gap: 8px; padding-inline: 10px; }
  .clast-search__form input { font-size: 16px; min-height: 48px; }
  .clast-search__filter { font-size: 12px !important; padding: 8px 12px; }
  .clast-search__status { font-size: 12px; margin-top: 24px; }
  .clast-search__result { gap: 12px; padding-block: 20px; }
  .clast-search__result-title { font-size: 20px; line-height: 24px; }
  .clast-search__type, .clast-search__meta { font-size: 10px; }
  .clast-search__image { width: 76px; height: 58px; flex-basis: 76px; }
  .clast-search-page { padding-block: 24px 48px; }
}
