/* LF_HELPED_SEARCH_V1: scoped to the completed-stories page only. */
.helped-page .helped-page__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 315px);
  column-gap: 24px;
  align-items: center;
}
.helped-page .helped-page__intro > .helped-page__title { grid-column: 1 / -1; }
.helped-page .helped-page__intro > .helped-page__subtitle { grid-column: 1; min-width: 0; }
.helped-page .lf-helped-search {
  grid-column: 2; grid-row: 2; justify-self: end; align-self: center;
  width: 100%; max-width: 315px; min-width: 0; margin: 12px 0 0; position: relative;
  font-family: "Inter", Arial, sans-serif;
}
.helped-page .lf-helped-search__field {
  display: flex; align-items: center; box-sizing: border-box; width: 100%;
  min-height: 60px; padding: 0 12px 0 16px; border: 2px solid #eb9e57;
  border-radius: 2px; background: #fff; box-shadow: 0 2px 6px #00000024;
}
.helped-page .lf-helped-search__field:focus-within { outline: 2px solid #eb9e57; outline-offset: 3px; }
.helped-page .lf-helped-search input {
  flex: 1 1 0; min-width: 0; width: 100%; margin: 0; padding: 10px 0;
  border: 0; background: transparent; color: #151515; box-shadow: none; outline: none;
  font: inherit; font-size: 17px;
}
.helped-page .lf-helped-search input::placeholder { color: #767676; opacity: 1; }
.helped-page .lf-helped-search button {
  flex: 0 0 40px; width: 40px; height: 44px; margin: 0; padding: 0;
  display: grid; place-items: center; border: 0; background: transparent;
  color: #eb9e57; cursor: pointer; line-height: 1; box-shadow: none;
}
.helped-page .lf-helped-search button[hidden] { display: none !important; }
.helped-page .lf-helped-search button:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.helped-page .lf-helped-search__clear { font-size: 25px; }
.helped-page .lf-helped-search__status {
  position: absolute; top: 100%; left: 0; right: 0; margin: 8px 0 0;
  font-size: 14px; line-height: 1.3; color: #555; overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .helped-page .helped-page__intro { display: block; }
  .helped-page .lf-helped-search { margin: 22px 0 0; max-width: 400px; }
  .helped-page .lf-helped-search__field { min-height: 50px; }
}


/* LF_HELPED_SEARCH_V1_1_VISUAL */

.helped-page .helped-page__intro > .helped-page__subtitle {
    grid-column: 1 / -1;
}

.helped-page .lf-helped-search {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    margin-top: 28px;
}

.helped-page .helped-page__intro + .helped-page__stories {
    margin-top: 48px;
}

@media (max-width: 900px) {
    .helped-page .lf-helped-search {
        width: 100%;
        max-width: 400px;
        margin: 24px auto 0;
    }

    .helped-page .helped-page__intro + .helped-page__stories {
        margin-top: 48px;
    }
}
