#searches .s1 .img-wrapper {
  background-image: url(/i/active-searches-hero.jpeg);
}

#searches .s2 {
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #fff;
}

#searches .s2 h2 {
  font-family: "aktiv-grotesk-extended", sans-serif;
  font-style: normal;
  font-weight: 300;
  color: #172C54;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 5.5rem;
}

#searches .s2 h4 {
  font-family: "aktiv-grotesk-extended", sans-serif;
  font-style: normal;
  font-weight: 200;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.1em;
  color: #0B162B;
}

#searches .s2 .searches_wrapper {
  width: 100%;
  overflow: hidden;
}

#searches .s2 .slide {
  width: 100vw;
  padding: 1rem 0;
}

#searches .s2 .slide-inner {
  width: calc(100% - 2rem);
  max-width: 1265px;
  margin: 0 auto;
  border: 1px solid rgba(143, 169, 217, 0.5);
  position: relative;
}

#searches .s2 .slide .boxes-wrapper {
  width: 100%;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#searches .s2 .slide .box {
  width: calc(100% / 3);
  padding: 1rem;
  border: 1px solid rgba(143, 169, 217, 0.5);
  border-width: 0 1px 1px 0;
  height: 400px;
  position: relative;
  cursor: pointer;
  background-color: #fff;
  transition: background-color .3s ease;
}

#searches .s2 .slide .box:hover {
  background-color: rgba(217, 217, 217, 0.2);
}

#searches .s2 .slide .box.last-row {
  border-bottom: 0 !important;
}

#searches .s2 .slide .box:nth-child(3n) {
  border-right-width: 0;
}

@media all and (max-width: 900px) {
  #searches .s2 .slide .box {
    width: 50%;
  }
  #searches .s2 .slide .box:nth-child(n) {
    border: 1px solid rgba(143, 169, 217, 0.5);
    border-width: 0 1px 1px 0;
  }
  #searches .s2 .slide .box:nth-child(2n) {
    border-right-width: 0;
  }
}

@media all and (max-width: 600px) {
  #searches .s2 .slide .box {
    width: 100%;
    height: auto;
    padding: 4rem 1rem;
  }
  #searches .s2 .slide .box:nth-child(n) {
    border: 1px solid rgba(143, 169, 217, 0.5);
    border-width: 0 0 1px 0;
  }
  #searches .s2 .slide .box:last-child {
    border-bottom: 0;
  }
}

#searches .s2 .slide .box-content {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  max-width: 315px;
  height: 100%;
  gap: 1rem;
}

#searches .s2 .slide .box-content img {
  width: 1.3rem;
  height: 1.4rem;
  margin-bottom: .5rem;
  object-fit: contain;
}

#searches .s2 .slide .box-content p {
  color: #0B162B;
  letter-spacing: -0.02em;
  text-align: center;
}

#searches .s2 .diamond {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px #fff;
  background-color: #8FA9D9;
  bottom: -4px;
  right: -4px;
}

#searches .s2 .diamond.tl {
  left: -4px;
  top: -4px;
}

#searches .s2 .diamond.tr {
  top: -4px;
}

#searches .s2 .diamond.bl {
  left: -4px;
}

#searches .s2 .slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

#searches .s2 .pg-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

#searches .s2 .pg-arrow img {
  display: block;
  height: 2.65rem;
  width: auto;
}

#searches .s2 .pg-arrow.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

#searches .s2 .pg-numbers {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

#searches .s2 .pg-num {
  background: none;
  border: none;
  cursor: pointer;
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
  color: #000;
  opacity: 0.3;
  line-height: 1em;
}

#searches .s2 .pg-num.is-active {
  opacity: 1;
}

#as-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 90vw;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
}

#as-modal .modal-panel {
  position: relative;
  background: #fff;
  width: 100%;
  padding: 2rem 3rem;
}

#as-modal .modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  outline: 0;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s;
  background: url(/i/close-icon.svg) center/contain no-repeat;
}

#as-modal .modal-close:hover {
  opacity: .75;
}

#as-modal .modal-content {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  align-items: stretch;
  gap: 0;
}

#as-modal .modal-attr {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 2.5rem 2rem 2.5rem 0;
  width: 45%;
  flex-shrink: 0;
}

#as-modal .modal-title {
  font-family: "aktiv-grotesk-extended", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 1.8rem;
  line-height: 1.1em;
  color: #0B162B;
  margin-bottom: 0.8rem;
}

#as-modal .modal-aq-type {
  letter-spacing: -0.02em;
  color: #0B162B;
  margin-bottom: 2rem;
}

#as-modal .modal-attr-rows {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem;
}

#as-modal .v-line {
  width: 1px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(216, 220, 227, 0) 0%, #D8DCE3 50%, rgba(216, 220, 227, 0) 100%);
}

#as-modal .modal-body {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 2.5rem 0 2.5rem 2rem;
  width: 55%;
}

#as-modal .modal-section-label {
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: #132341;
  margin-bottom: 0.5rem;
}

#as-modal .modal-desc {
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 1.05rem;
  line-height: 1.6em;
  color: #040914;
  margin-bottom: 1.75rem;
}

#as-modal .modal-meta {
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 1.05rem;
  line-height: 1.6em;
  color: #040914;
}

#as-modal .modal-row {
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.2em;
  color: #132341;
}

#as-modal .modal-row span {
  display: block;
}

#as-modal .modal-value {
  margin-top: .25rem;
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 700;
}

@media all and (max-width: 767px) {
  #as-modal .modal-panel {
    padding: 1.5rem 1.5rem 3rem;
  }
  #as-modal .modal-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.5rem;
  }
  #as-modal .modal-attr,
  #as-modal .modal-body {
    width: 100%;
    padding: 0;
  }
  #as-modal .v-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 220, 227, 0) 0%, #D8DCE3 50%, rgba(216, 220, 227, 0) 100%);
  }
}
