.posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  -moz-column-gap: 32px;
       column-gap: 32px;
}
@media (max-width: 1023.98px) {
  .posts {
    gap: 32px;
  }
}
.posts .post-item {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(33.3333333333% - 22px);
  border-radius: 8px;
  position: relative;
  overflow: visible !important;
  border-top: 0px;
  background-color: transparent;
  text-decoration: none !important;
}
@media (max-width: 1023.98px) {
  .posts .post-item {
    width: calc(50% - 16px);
  }
}
@media (max-width: 659px) {
  .posts .post-item {
    width: 100%;
  }
}
.posts .post-item * {
  text-decoration: none !important;
}
.posts .post-item > a {
  position: relative;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  background-color: var(--wp--preset--color--custom-white);
  border-top: 4px solid var(--wp--preset--color--custom-mint);
}
.posts .post-item > a figure {
  margin: 0px;
  line-height: 0px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}
.posts .post-item > a figure img {
  width: 100%;
  aspect-ratio: 104/69;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  transition: all 0.5s ease-in-out;
  transform: scale(1.01);
  transform-origin: center center;
}
.posts .post-item > a:after {
  content: "";
  position: absolute;
  background-color: transparent;
  top: 100%;
  height: 0px;
  left: 0px;
  right: 0px;
}
.posts .post-item:hover > a {
  transform: translatey(-6px);
  box-shadow: 0px -2px 0px var(--wp--preset--color--custom-mint);
}
.posts .post-item:hover > a:after {
  height: 6px;
}
.posts .post-item:hover > a figure img {
  transform: scale(1.05);
  transition: all 0.6s ease-in-out;
}
.posts .post-item a:not(.btn) {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  height: 100%;
}
.posts .post-item .category {
  color: var(--wp--preset--color--custom-white);
  display: flex;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 58px;
  background: var(--wp--preset--color--custom-petrol);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
.posts .post-item .post-content {
  padding: 48px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  gap: 24px;
}
.posts .post-item .post-content h4 {
  margin: 0px;
}
.posts .post-item .post-content h5 {
  margin-top: 8px;
  margin-bottom: 24px;
}
.posts .post-item .post-content p {
  margin: 0px;
}
.posts .post-item .post-content .btn {
  margin-top: 32px;
}
.posts .post-item.isvideo a p {
  color: var(--wp--preset--color--custom-black);
}
.posts .post-item.isvideo figure {
  position: relative;
}
.posts .post-item.isvideo figure:after {
  content: "";
  height: 64px;
  width: 64px;
  top: 50%;
  left: 50%;
  margin-left: -32px;
  margin-top: -32px;
  display: block;
  position: absolute;
  background-image: url(/wp-content/themes/fw/assets/img/play3.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.mhd-searchbox {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-top: 230px !important;
  padding-bottom: 96px !important;
  margin-top: -220px !important;
  margin-bottom: 0px;
}
@media (max-width: 1023.98px) {
  .mhd-searchbox {
    gap: 16px;
    margin-top: -180px !important;
    padding-top: 180px !important;
    padding-bottom: calc(var(--header-space) - 16px) !important;
  }
}
.mhd-searchbox input {
  font-size: 18px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 1.66;
  z-index: 3;
  position: relative;
}
.mhd-searchbox input:focus::-moz-placeholder {
  color: transparent !important;
}
.mhd-searchbox input:focus::placeholder {
  color: transparent !important;
}
.mhd-searchbox .sf_autocomplete_wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mhd-searchbox .sf_autocomplete_wrapper .sf_autocomplete {
  flex-grow: 1;
}
@media (max-width: 1023.98px) {
  .mhd-searchbox .sf_autocomplete_wrapper .sf_autocomplete {
    width: 100%;
  }
}
@media (max-width: 1023.98px) {
  .mhd-searchbox .sf_autocomplete_wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}
.mhd-searchbox .sf_autocomplete_wrapper a {
  flex-shrink: 0;
  margin-top: 7px;
}
.mhd-searchbox .sf_autocomplete_wrapper a.sf_autocomplete_btn {
  margin-right: 8px;
}
@media (max-width: 1023.98px) {
  .mhd-searchbox .sf_autocomplete_wrapper a.sf_autocomplete_btn {
    margin-top: 0px;
    margin-bottom: 8px;
  }
}
@media (max-width: 1023.98px) {
  .mhd-searchbox .sf_autocomplete_wrapper a.toggle-decition-tree {
    margin-top: 0px;
  }
}
.mhd-searchbox > button {
  flex-grow: 0;
  flex-shrink: 0;
}
.mhd-searchbox button:hover {
  cursor: pointer;
}

.ui-autocomplete {
  width: 100% !important;
  margin-left: -85px !important;
  border-radius: 8px;
  background-color: var(--wp--preset--color--custom-sand);
  list-style-type: none;
  padding: 8px 0px;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 1.66;
  position: static;
  z-index: 3;
}
@media (max-width: 1023.98px) {
  .ui-autocomplete {
    width: 100% !important;
  }
}
.ui-autocomplete li {
  padding: 8px 24px;
  transition: all 0.3s ease-in-out;
}
.ui-autocomplete li:hover {
  cursor: pointer;
  background-color: var(--wp--preset--color--custom-cherry);
  color: var(--wp--preset--color--custom-white);
}
.ui-autocomplete:after {
  content: "Suche schliessen" !important;
  visibility: visible !important;
  height: auto !important;
  top: 100%;
  overflow: visible !important;
  position: absolute;
  width: 100%;
  text-align: center;
  transform: translateY(0px);
  padding-top: 10px;
  pointer-events: none;
}

html[lang=fr-FR] .ui-autocomplete:after {
  content: "Fermer la recherche" !important;
}

.search-bg {
  display: none;
  pointer-events: none;
  z-index: 2;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  cursor: pointer;
}

ul.ui-autocomplete:not([style*=none]) + .search-bg {
  display: block;
  pointer-events: auto;
}

ul.uuui-autocomplete {
  top: auto !important;
  left: 40px !important;
  right: 40px !important;
  margin: 0px !important;
  padding-left: 0px !important;
  list-style-type: none !important;
  width: auto !important;
  background-color: #F9F1EA !important;
  border-radius: 0px 0px 19px 19px !important;
  overflow: visible !important;
}

.decision-tree {
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  max-width: var(--fullwidth) !important;
  position: relative;
}
.decision-tree:after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  right: -100vw;
  bottom: 0px;
  left: -100vw;
  background-color: var(--wp--preset--color--custom-white) !important;
  z-index: -1;
}

.decision-tree-inner {
  display: none;
  padding-top: var(--bottom-space);
  padding-bottom: var(--bottom-space);
}
.decision-tree-inner h3 {
  margin-top: 0px;
}

ul.cat {
  background-color: var(--wp--preset--color--custom-white) !important;
  gap: 32px;
  padding: 0px;
  justify-content: flex-start;
  margin: 0px;
}
ul.cat li {
  width: calc(25% - 24px) !important;
}
@media (max-width: 1023.98px) {
  ul.cat li {
    width: calc(50% - 16px) !important;
  }
}
@media (max-width: 659px) {
  ul.cat li {
    width: 100% !important;
  }
}
ul.cat li a {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 24px;
  background-color: var(--wp--preset--color--custom-sand) !important;
}
ul.cat li a h4 {
  margin: 0px;
}
ul.cat li a img {
  align-self: flex-end;
}
ul.cat li a:before {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 24px;
  height: 40px;
  width: 40px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url(/wp-content/themes/fw/assets/img/external-link.svg);
}/*# sourceMappingURL=shelf-life-search.css.map */