.abc-search-widget,
.abc-search-results,
.abc-search-header {
--abc-search-ink: #f3f1eb;
--abc-search-soft: #d5d2cc;
--abc-search-accent: #f4c693;
--abc-search-line: #888480;
font-family: "ABC Onest", Onest, Arial, sans-serif;
}
body.home #top .lean-hero-media,
body.home #top .lean-hero-routes {
translate: 0 8px;
}
@media (min-width: 701px) { body.home #top .lean-hero-routes { translate: 0 16px; }
}
.abc-search-icon {
display: inline-block;
width: 14px;
height: 14px;
position: relative;
flex: 0 0 14px;
border: 1.5px solid currentColor;
border-radius: 50%;
box-sizing: border-box;
}
.abc-search-icon::after {
content: "";
position: absolute;
height: 1.5px;
width: 7px;
left: 9px;
top: 10px;
transform: rotate(45deg);
transform-origin: left center;
background: currentColor;
}
.abc-search-launch {
position: fixed;
z-index: 120;
top: max(12px, env(safe-area-inset-top, 0px));
right: max(18px, env(safe-area-inset-right, 0px));
display: grid;
place-items: center;
width: 44px;
height: 44px;
box-sizing: border-box;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--abc-search-color, #f3f1eb);
text-decoration: none;
}
body.home .abc-search-launch .abc-search-icon { filter: drop-shadow(0 1px 2px rgb(0 0 0 / 95%)) drop-shadow(0 0 1px #161817); }
.abc-search-launch .abc-search-icon, .abc-search-live-form .abc-search-icon {
width: 11px;
height: 11px;
flex-basis: 11px;
border-width: 1px;
}
.abc-search-launch .abc-search-icon::after, .abc-search-live-form .abc-search-icon::after {
width: 5px;
height: 1px;
left: 7.5px;
top: 8px;
}
.abc-search-launch[hidden] { display: none !important; }
.abc-search-launch[aria-expanded="true"] { visibility: hidden; }
.abc-search-launch:hover { color: var(--abc-search-accent); }
.abc-search-launch:focus-visible { outline: 2px solid var(--abc-search-accent); outline-offset: -3px; }
.abc-search-form__line button:focus-visible,
.abc-search-results a:focus-visible,
.abc-search-more summary:focus-visible { outline: 2px solid var(--abc-search-accent); outline-offset: 2px; }
.abc-search-dialog {
position: fixed;
z-index: 122;
box-sizing: border-box;
width: min(244px, calc(100% - 16px));
max-width: none;
max-height: none;
top: var(--abc-search-panel-top, 96px);
left: var(--abc-search-panel-left, 18px);
right: auto;
bottom: auto;
margin: 0;
padding: 0;
border: 0;
color: var(--abc-search-ink);
background: transparent;
color-scheme: dark;
overflow: visible;
}
.abc-search-dialog[open] .abc-search-live-form::before {
animation: abc-search-expand .34s cubic-bezier(.22,.72,.3,1);
}
.abc-search-dialog[open] .abc-search-live-form input,
.abc-search-dialog[open] .abc-search-close {
animation: abc-search-fade-in .22s ease-out .1s both;
}
@keyframes abc-search-expand {
from { clip-path: inset(0 calc(100% - 32px) 0 0 round 16px); opacity: 0; }
to { clip-path: inset(0 0 0 0 round 16px); opacity: 1; }
}
@keyframes abc-search-fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.abc-search-dialog[open] .abc-search-live-form::before,
.abc-search-dialog[open] .abc-search-live-form input,
.abc-search-dialog[open] .abc-search-close { animation: none; }
}
.abc-search-accessible {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
border: 0;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.abc-search-form.abc-search-live-form {
position: relative;
display: grid;
grid-template-columns: 44px minmax(0, 1fr) 44px;
grid-template-rows: minmax(0, 1fr);
align-items: center;
height: 44px;
margin: 0;
padding: 0;
}
.abc-search-live-form::before {
content: "";
position: absolute;
inset: 6px 0 6px 6px;
border-radius: 16px;
background: rgb(12 12 12 / 64%);
backdrop-filter: blur(2px);
pointer-events: none;
}
.abc-search-live-form input {
position: relative;
box-sizing: border-box;
width: 100%;
min-width: 0;
height: 44px;
min-height: 0;
padding: 0;
color: var(--abc-search-ink);
caret-color: var(--abc-search-accent);
background: transparent;
border: 0;
border-radius: 0;
font: 400 12px/1.35 "ABC Onest", Onest, Arial, sans-serif;
text-shadow: 0 1px 2px rgb(0 0 0 / 70%);
}
.abc-search-live-form input::placeholder { color: var(--abc-search-ink); opacity: 1; }
.abc-search-live-form input::-webkit-search-cancel-button { appearance: none; }
@supports (-webkit-touch-callout: none) { .abc-search-live-form input {
justify-self: start;
width: calc(100% / .75);
height: calc(44px / .75);
font-size: 16px;
transform: scale(.75);
transform-origin: left center;
}
}
.abc-search-live-form button {
position: relative;
display: grid;
place-items: center;
width: 44px;
height: 44px;
padding: 0;
color: var(--abc-search-ink);
background: transparent;
border: 0;
border-radius: 50%;
cursor: pointer;
}
.abc-search-live-form button:hover { color: var(--abc-search-accent); }
.abc-search-live-form .abc-search-close { font-size: 0; }
.abc-search-close::before,
.abc-search-close::after {
content: "";
position: absolute;
top: calc(50% - .5px);
left: calc(50% - 5px);
width: 10px;
height: 1px;
background: currentColor;
transform: rotate(45deg);
}
.abc-search-close::after { transform: rotate(-45deg); }
.abc-search-live-form button:focus-visible,
.abc-search-live a:focus-visible { outline: 2px solid var(--abc-search-accent); outline-offset: -2px; }
.abc-search-live {
box-sizing: border-box;
max-height: min(360px, var(--abc-search-list-height, 360px));
margin: 0 0 0 6px;
padding: 2px 6px;
overflow-y: auto;
overscroll-behavior: contain;
border-radius: 12px;
background: rgb(12 12 12 / 72%);
backdrop-filter: blur(4px);
}
.abc-search-live[hidden] { display: none; }
.abc-search-live ul { margin: 0; padding: 0; list-style: none; }
.abc-search-live li + li { border-top: 1px solid rgb(243 241 235 / 10%); }
.abc-search-live a { display: flex; align-items: center; gap: 9px; justify-content: space-between; min-height: 44px; padding: 6px; color: var(--abc-search-ink); text-decoration: none; font-size: 13px; line-height: 1.35; border-radius: 7px; }
.abc-search-live a:hover { background: rgb(243 241 235 / 9%); }
.abc-search-live a > span:first-child { overflow-wrap: anywhere; }
.abc-search-live a > span:last-child { color: var(--abc-search-accent); flex: 0 0 auto; }
.abc-search-live p { padding: 8px; margin: 0; color: var(--abc-search-soft); font-size: 13px; }
.abc-search-form label {
display: block;
margin: 0 34px 4px 0;
color: inherit;
font-size: 15px;
line-height: 1.3;
}
.abc-search-form__line { display: flex; align-items: stretch; border-bottom: 1px solid var(--abc-search-line); }
.abc-search-form__line:focus-within { border-color: var(--abc-search-accent); box-shadow: 0 1px var(--abc-search-accent); }
.abc-search-form__line input {
flex: 1 1 auto;
min-width: 0;
min-height: 50px;
padding: 8px 8px 8px 0;
color: inherit;
background: transparent;
border: none;
border-radius: 0;
box-shadow: none;
font: 400 16px/1.4 "ABC Onest", Onest, Arial, sans-serif;
}
.abc-search-form__line input::placeholder { color: var(--abc-search-soft); opacity: 1; }
.abc-search-form__line input:focus-visible { outline: none; }
.abc-search-form__line button {
flex: 0 0 auto;
display: inline-flex;
gap: 10px;
align-items: center;
min-height: 48px;
padding: 8px 6px 8px 12px;
color: var(--abc-search-accent);
background: transparent;
border: none;
font: inherit;
font-size: 15px;
cursor: pointer;
}
.abc-search-page { margin: 0; background: #303030; color: #f3f1eb; color-scheme: dark; }
.abc-search-header { border-bottom: 1px solid #646464; }
.abc-search-header__inner,
.abc-search-results { max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 52px); box-sizing: border-box; }
.abc-search-header__inner { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; min-height: 65px; }
.abc-search-header a,
.abc-search-results a { color: var(--abc-search-ink); }
.abc-search-header a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.abc-search-header__logo { margin-right: auto; font-size: clamp(22px, 3vw, 29px); font-weight: 650; letter-spacing: -.04em; }
.abc-search-results { padding-block: clamp(24px, 4vw, 44px) 64px; }
.abc-search-results h1 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 42px); font-weight: 430; letter-spacing: -.035em; line-height: 1.15; }
.abc-search-results .abc-search-form { max-width: 680px; }
.abc-search-group { margin-top: 30px; }
.abc-search-group h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.abc-search-group ul { list-style: none; margin: 0; padding: 0; }
.abc-search-result { position: relative; display: grid; gap: 5px; padding: 13px 32px 13px 0; border-bottom: 1px solid #686868; color: inherit; text-decoration: none; }
.abc-search-result:hover strong { color: var(--abc-search-accent); }
.abc-search-result__type { font-size: 12px; color: var(--abc-search-accent); }
.abc-search-result strong { font-size: 17px; line-height: 1.3; font-weight: 520; overflow-wrap: anywhere; }
.abc-search-result__summary { color: var(--abc-search-soft); font-size: 15px; line-height: 1.45; max-width: 750px; overflow-wrap: anywhere; }
.abc-search-result__arrow { position: absolute; top: 16px; right: 4px; color: var(--abc-search-accent); }
.abc-search-empty { margin: 26px 0 8px; color: var(--abc-search-soft); font-size: 16px; line-height: 1.45; }
.abc-search-suggestions { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.abc-search-suggestions a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.abc-search-more summary { cursor: pointer; min-height: 44px; padding-block: 12px; color: var(--abc-search-accent); }
@media (max-width: 520px) {
.abc-search-header__inner { gap: 0 16px; }
.abc-search-result__summary { font-size: 16px; }
}