.search-box {
  align-self: stretch;
  display: flex;
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.1;

  input[type="search"] {
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
    box-sizing: border-box;
    font-size: inherit;
    font-style: italic;
    padding: 0.7rem;
    width: 80%;
  }

  [type="submit"] {
    width: 20%;
  }
}

input,
label,
select,
textarea {
  display: block;
  flex: 1 1 auto;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.7rem;
  width: 100%;
}

.form-field.lg-inline {
  @media screen and (min-width: 600px) {
    & {
      flex-direction: row;
      gap: 1rem;
      width: auto;
    }
  }
}

.email-form,
.search-form {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1000px;

  label::after {
    content: ":";
  }
}

.search-form summary {
  align-items: center;
  color: inherit;
  font-size: smaller;
  font-weight: bold;
  justify-content: center;
  padding: 1rem 0;
  text-transform: uppercase;

  &::before {
    background-color: #00a99f;
    color: white;
    font-size: 1rem;
    padding: 0.2rem 0;
    text-align: center;
    width: 27px;
  }
}

summary.alt-marker {
  display: flex;
  gap: 5px;

  &::before {
    content: "+";
  }

  &::marker {
    content: "";
  }

  details[open] > &::before {
    content: "-";
  }
}
