.property-units {
  background: #fff;
  padding-top: 56px;
}

.property-units h3 {
  margin-top: 20px;
  margin-bottom: 5px;
}

.property-units__top h4 {
  margin-bottom: 0;
}
.property-units__top p {
  line-height: var(--leading-normal);
  color: var(--text-color);
}
.property-units__top .grid {
  row-gap: 0;
}
.property-units__top .grid + .grid {
  margin: 56px 0;
}
.property-units__filters {
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
}
.property-units__filters select {
  border: none;
  border-bottom: 1px solid var(--dusk-light);
  padding: 10px 20px 10px 0;
  color: var(--dusk);
  outline: none;
}
.property-unit__grid {
  margin-top: 64px;
  display: grid;
  grid-gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}
.property-unit,
.property-unit__wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.property-unit__wrapper {
  justify-content: space-between;
}
.property-page__load-more,
.property-unit__gallery,
.property-unit__gallery--with-badge {
  border-radius: var(--border-radius);
  margin-top: 40px;
  padding-top: 100%;
  height: 0;
  position: relative;
  overflow: hidden;
}
@supports (aspect-ratio: auto) {
  .property-page__load-more,
  .property-unit__gallery,
  .property-unit__gallery--with-badge {
    aspect-ratio: 1/1;
    padding-top: 0;
    height: initial;
  }
}
.property-unit__gallery,
.property-unit__gallery--with-badge {
  overflow: hidden;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}
.property-unit__gallery--with-badge {
  margin-top: -80px;
}
.property-unit__gallery .property-unit__swipe .swipe-wrap img,
.property-unit__gallery--with-badge .property-unit__swipe .swipe-wrap img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.property-unit__gallery .property-unit__swipe,
.property-unit__gallery--with-badge .property-unit__swipe,
.property-unit__gallery .property-unit__swipe .swipe-wrap,
.property-unit__gallery--with-badge .property-unit__swipe .swipe-wrap {
  height: 100%;
  width: 100%;
}

.property-unit .property-page__badge {
  z-index: 3;
}
.property-unit__gallery-paging {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: calc(100% - 80px);
  display: flex;
  justify-content: space-between;
}
.property-unit__gallery-paging button {
  background-color: var(--dusk-light--o65);
}
.property-page__load-more {
  border: 2px solid var(--dusk);
  padding: 64px;
}
.property-page__load-more h3 {
  margin: 0;
}
.property-unit h5 {
  margin-bottom: 12px;
}
.property-unit ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline-start: 0;
}
.property-unit ul li {
  font-size: 16px;
  display: flex;
  align-items: initial;
  text-align: left;
  display: grid;
  grid-template-columns: 20px 1fr;
  line-height: 1.6;
}
.property-unit ul li span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--midnight);
  justify-self: center;
  margin-top: 10px;
}
.property-unit ul li svg {
  width: 48px;
  justify-self: center;
}
.property-unit__buttons {
  margin: 16px 0;
  display: flex;
  justify-content: space-between;
}

.property-unit__square-footage {
  font-size: 22px;
  margin: 0;
}
.property-unit__title svg {
  width: 34px;
}
.property-unit__swipe {
  overflow: hidden;
  visibility: hidden;
  background-color: var(--pearl);
  /* ----- */
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-width: 100%;
}
@supports (aspect-ratio: auto) {
  .property-unit__swipe {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
  }
}

@media (min-width: 800px) {
  .property-unit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1140px) {
  .property-unit__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.property-page__book-unit {
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-flow: column wrap;
  column-gap: 1rem;
  margin-bottom: 30px;
  row-gap: .5rem;
}


.property-page__book-unit span {
  text-align: center;
}

.property-page__book-unit .button {
  display: inline;
  width: max(65vw, 208px);
  margin-inline: auto;
}


@media (min-width: 800px) {

  .property-page__book-unit {
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
  }
  .property-page__book-unit .button {
    max-width: initial;
    width: auto;
    margin-inline: 0;
    min-width: 200px;
  }
}


/* Legacy settings from property page */
.property-units .property-page__badge {
  background: var(--midnight);
  color: var(--duvet);
  width: 120px;
  height: 120px;
  border-radius: 120px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 37px;
}

.property-units .property-page__badge.expanded {
  width: max(240px, 120px);
  height: auto;
  padding: 1rem 2rem;
}

.property-units .property-page__paging-buttons button {
  background-color: var(--dusk--o25);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 56px;
  padding: 0;
}
.property-units .property-page__paging-buttons button svg {
  width: 14px;
  fill: var(--dusk);
}

.property-units * {
  scroll-behavior: smooth;
}

.property-units .quick-links .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 24px;
  column-gap: 24px;
  flex-direction: column;
  align-items: center;
}
.property-units .quick-links .content-wrapper a {
  margin-right: 0px;
}

@media (min-width: 768px) {
  .property-units .quick-links .content-wrapper {
    flex-direction: row;
  }
  .property-units #hs_cos_wrapper_sobro-property-units
    + #hs_cos_wrapper_property-reviews
    .container {
    padding-top: 0;
  }
}
.property-units .dnd-section {
   position: relative;
}

.property-units div.placemakr-content-overlay {
   min-height: 500px;
   display: flex !important;
   align-items: center;
}

.property-units div.placemakr-content-overlay > div > .dnd-column {
   box-shadow: 0px 20px 50px #6969699e;
}

.property-units div.placemakr-content-overlay > div.row-fluid {
   display: block !important;
}

.property-units .placemakr-content-overlay > div > .dnd-column:last-child {
   float: right;
}


.property-units div.placemakr-content-overlay .splide__slide {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-shadow: 0px 12px 10px #69696936;
    margin: 25px!important;
    width: 40%!important;
}

.property-units div.placemakr-content-overlay .slider__container button.splide__arrow {
    -ms-flex-align: center;
    -ms-flex-pack: center;
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    height: 3em;
    box-shadow: 0px 12px 10px #69696936;
    margin-bottom: 20px;
    padding: 0;
    position: relative;
    width: 3em;
    left: 0;
    z-index: 1;
}

.property-units div.placemakr-content-overlay .slider__container div.splide__arrows {
    position: absolute;
    text-align: left;
    width: 100px;
    height: 100px;
    left: -30px;
    top: 25%;
}

.property-units div.placemakr-content-overlay .slider__container .splide__toggle {
    align-items: center;
    background: #ccc;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    opacity: .7;
    padding: 1px 6px;
    transition: background-color .2s ease;
    width: 2.5rem;
    position: absolute;
    left: -30px;
    top: 10%;
}

button#reset-filters {
    padding: 10px 20px 10px 0;
}

@media (max-width: 768px) {
  .property-units div.placemakr-content-overlay {
     background-size: 100% 50% !important;
     background-position: top center !important;
  }
  .property-units div.placemakr-content-overlay > div {
     margin-top:160px !important;
  }
  .property-units div.placemakr-content-overlay > div > .dnd-column {
     width: calc(100vw - 30px);
     margin-left:15px !important;
     margin-bottom: 30px !important;
  }
  .property-units .placemakr-content-overlay > div > .dnd-column:last-child {
     float: none;
  }

  .property-units div.placemakr-content-overlay .splide__slide {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-shadow: 0px 12px 10px #69696936;
    margin: 10px!important;
    margin-bottom: 20px !important;
    width: 40%!important;
  }

  .property-units div.placemakr-content-overlay .slider__container div.splide__arrows {
    display:none;
  }

  .property-units div.placemakr-content-overlay .slider__container .splide__toggle {
    display:none;
  }
}

.property-units .widget-type-header {
  position: relative;
}



