body.search main,
body.page-template-searchpage main {
  margin-top: var(--wp--preset--spacing--single);
  margin-bottom: var(--wp--preset--spacing--single);
}

body.search .section,
body.page-template-searchpage .search-results {
  padding: var(--wp--preset--spacing--single);
}

body.search .post-pagination,
body.page-template-searchpage .post-pagination {
  padding-bottom: 0;
}

body.search .section .page-search,
body.page-template-searchpage .section .page-search {
  flex-direction: column;
  background-color: unset;

  @include mq(xx-small) {
    flex-direction: row;
  }
}

body.search .section .page-search input,
body.page-template-searchpage .section .page-search input {
  margin-bottom: 10px;

  @include mq(xx-small) {
    margin-bottom: 0;
  }
}

.post--result {
  @include state-background(var(--wp--preset--color--grey-lighter));
  position: relative;
}

.search-container {
  display: flex;
  flex-direction: column;
  margin-top: var(--wp--preset--spacing--single);
}

.search-results {
  flex-basis: 75%;
}

.search-results .wp-block-post-template {
  margin: 0;
  padding: 0;
  max-width: 100%;
  list-style: none;
}

.search-results .wp-block-post-template .wp-block-post {
  min-width: 100%;
}
