/**
  Used for extendable details as in arguments.
  Requires js and data-height attr to extend.
 */
form#search-form {
  padding: 1.5rem;
  box-sizing: border-box;
  max-width: var(--arg-card-max-width, 1025px);
  border: var(--arg-card-border-size, 1px) solid var(--arg-card-border-color, rgba(212, 212, 218, 0.8));
  border-radius: var(--arg-card-border-radius-size, 2px);
  background-color: var(--arg-card-bg-color, #fff);
  box-shadow: var(--arg-card-box-shadow, 0 4px 10px rgba(0, 0, 0, 0.1));
}
form#search-form ~ .item-list > em {
  display: flex;
  min-height: 10rem;
  justify-content: center;
  align-items: center;
  font-size: 1.25em;
  max-width: var(--arg-card-max-width, 1025px);
}

label[for=edit-keys] {
  display: none;
}

#edit-advanced {
  margin: 1.5rem -1.5rem -1.5rem -1.5rem;
}
#edit-advanced > .details-wrapper {
  margin: 1.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
#edit-advanced > .details-wrapper > .criterion {
  display: none;
}
#edit-advanced #edit-keywords-fieldset {
  grid-row: span 2/span 2;
  margin-top: -1.5rem;
  margin-bottom: -1.5rem;
}
@media (max-width: calc(976px - 1px)) {
  #edit-advanced #edit-keywords-fieldset {
    grid-column: span 2/span 2;
  }
}
@media (max-width: calc(976px - 1px)) {
  #edit-advanced #edit-types-fieldset {
    grid-row-start: 3;
  }
}
#edit-advanced #edit-types-fieldset fieldset {
  margin: 0;
}
@media (max-width: calc(976px - 1px)) {
  #edit-advanced #edit-lang-fieldset {
    grid-row-start: 3;
  }
}
@media (min-width: 976px) {
  #edit-advanced #edit-lang-fieldset {
    grid-column-start: 2;
    grid-row-start: 2;
  }
}
#edit-advanced #edit-lang-fieldset fieldset {
  margin: 0;
}
#edit-advanced .action {
  grid-column: span 2/span 2;
  grid-row-start: 4;
}
@media (min-width: 976px) {
  #edit-advanced .action {
    grid-row-start: 3;
  }
}

ol.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}
ol.search-results li {
  list-style: none;
  margin: 0 0 1.5rem 0;
}