section.post-listing {
  --_border-color: var(--border-color, var(--blue-light));
}
@container main (max-width: 64rem) {
  section.post-listing:not(:has(.filter)) .scroll-wrapper {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: calc(100% + var(--inline-padding) * 2);
    max-width: calc(100% + var(--inline-padding) * 2);
    margin-left: calc(var(--inline-padding) * -1);
    padding-inline: var(--inline-padding);
  }
  section.post-listing:not(:has(.filter)) .scroll-wrapper > div {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: none;
    -ms-grid-columns: unset;
    grid-template-columns: unset;
    grid-auto-flow: column;
  }
  section.post-listing:not(:has(.filter)) .scroll-wrapper .post {
    width: 40vw;
    max-width: 40vw;
  }
}
@container main (max-width: 47.9375rem) {
  section.post-listing:not(:has(.filter)) .scroll-wrapper .post {
    width: 80vw;
    max-width: 80vw;
  }
}
@container main (min-width: 64.0625rem) and (max-width: 89.9375rem) {
  section.post-listing:not(:has(.filter)) .scroll-wrapper .post:nth-child(4) {
    display: none;
  }
}
section.post-listing h2 {
  text-align: center;
}
section.post-listing .scroll-wrapper .ais-InfiniteHits-item {
  padding: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  display: -ms-grid;
  display: grid;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  width: 100%;
}
section.post-listing .post {
  border-block: 1px solid var(--_border-color);
  padding-block: 2.1875rem;
  margin: 0;
}
section.post-listing .post mark {
  background: var(--highlight);
}
section.post-listing .post h3 {
  font-family: var(--font-family);
  font-weight: 600;
}
section.post-listing .post .lead {
  font: var(--body-font);
}
section.post-listing .post .img-wrapper {
  overflow: hidden;
  position: relative;
  aspect-ratio: 336/273;
  background: #eee;
}
section.post-listing .post .img-wrapper .term {
  position: absolute;
  top: 0;
  right: 0;
}
section.post-listing .post img {
  -webkit-transition: scale var(--bezier);
  transition: scale var(--bezier);
}
section.post-listing .post:hover img {
  scale: 1.05;
}
section.post-listing:has(.filter) .post {
  border-top: 0;
}
section.post-listing:has(.filter) .ais-InfiniteHits-item:nth-child(-n+4) {
  border-top: 1px solid var(--_border-color);
}
@container main (min-width: 64.0625rem) and (max-width: 89.9375rem) {
  section.post-listing:has(.filter) .ais-InfiniteHits-item:nth-child(-n+3) {
    border-top: 1px solid var(--_border-color);
  }
}
@container main (min-width: 48rem) and (max-width: 64rem) {
  section.post-listing:has(.filter) .ais-InfiniteHits-item:nth-child(-n+2) {
    border-top: 1px solid var(--_border-color);
  }
}
@container main (max-width: 47.9375rem) {
  section.post-listing:has(.filter) .ais-InfiniteHits-item:first-child {
    border-top: 1px solid var(--_border-color);
  }
}
section.post-listing .filter .filter-search {
  position: relative;
}
section.post-listing .filter .filter-search .ais-SearchBox {
  margin: 0;
}
@container main (min-width: 64.0625rem) {
  section.post-listing .filter .filter-terms {
    padding-top: 10px;
  }
  section.post-listing .filter .filter-terms > span {
    padding-top: 10px;
  }
}
section.post-listing .filter .ais-RefinementList-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}
section.post-listing .filter .ais-RefinementList-list .btn {
  background: transparent;
  border: 1px solid var(--grey) !important;
  padding-block: 0.625rem;
}
section.post-listing .filter .ais-RefinementList-list .ais-RefinementList-item--selected .btn {
  background: var(--blue-light) !important;
}

.page-intro + section.post-listing > div {
  padding-top: 0;
}