@media print, screen and (min-width: 64em) {
  .banner-section .orbit-slide {
    padding-bottom: 45%;
  }
}
.banner-section .orbit-slide .bg-blur {
  position: absolute;
  inset: 0;
  filter: blur(8px);
  transform: scale(1.025);
  z-index: 1;
  background-size: cover;
}
.banner-section .orbit-previous, 
.banner-section .orbit-next {
  font-size: 2rem;
}
.banner-section .orbit-slide .overlay {
  z-index: 2;
}
.banner-section .orbit-slide .slide-image {
  position: absolute;
  padding: 0;
  top: 0;
  transform: translateX(0) !important;
  background: transparent;
  display: flex;
  justify-content: center;
  right: 0;
  bottom: 0;
  z-index: 3;
  left: 0;
  background-size: contain;
}
.banner-section .orbit-slide img {
  max-width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 3;
}
@media print, screen and (max-width: 679px) {
  .banner-section .orbit-slide .slide-image {
    //width: 80vw;
  }
  .banner-section .orbit-slide img {
    object-fit: cover;
    max-width: 80vw;
  }
}
body.nav-always-stuck header.is-anchored,
body.nav-always-stuck header.sticky,
body.nav-always-stuck .top-bar {
  background-color: #4C313B;
}
.click-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;          /* Guarantees it sits above the embedded player iframe */
  background: transparent; 
  cursor: pointer;      /* Maintains the correct interactive hand cursor */
}
/* Styling the lightbox overlay background */
.lightbox-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

/* Lightbox container optimized for wide media */
.lightbox-modal {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 900px; /* Limits the max desktop width */
  width: 95%;      /* Responsive fluid width on small screens */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: #000; /* Matches Matterport's loading background */
  overflow: hidden;
}

.lightbox-content {
  position: relative;
  width: 100%;
}

/* Responsive aspect ratio container (16:9 widescreen standard) */
.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; 
}

/* Force iframe to fill the fluid container */
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Accessible, floating close icon */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}
.box {
  position: relative;
}
.box .box-caption {
  position: absolute;
  background: #dc9f62;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 1rem;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  height: 44px;
}
#gallery.new .filter-simple-item {
  background: #fff;
}
#gallery.new .filter-simple-item > .image {
  background-color: #fff;
  background-size: cover!important;
  aspect-ratio: 4/3; 
  height: auto; 
  padding-top: 0;
}
#gallery.new .filter-simple-item > .image .overlay {
  background-color: transparent;
}
#gallery.new .filter-simple-item > .content {
  padding: 2rem;
  gap: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.property-detail-description {
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#gallery.new .filter-simple-item > .content .card-header {

}
#gallery.new .filter-simple-item > .content .card-header .cell:first-child,
.property-detail-description .card-header .cell:first-child {
  display: flex;
  gap: 1rem;
}
#gallery.new .filter-simple-item > .content .card-header svg,
.property-detail-description .card-header svg {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}
#gallery.new .filter-simple-item > .content .card-header .card-title {

}
#gallery.new .filter-simple-item > .content .card-header .card-title h3,
.property-detail-description .card-header .card-title h3 {
  color: #4C313B;
  font-weight: 700;
  font-size: 28px;
}
#gallery.new .filter-simple-item > .content .card-header .card-title .card-location,
.property-detail-description .card-header .card-title .card-location {
  color: #0a0a0a;
}
#gallery.new .filter-simple-item > .content .card-header .card-price,
.property-detail-description .card-header .card-price {
  color: #dc9f62;
  font-weight: 700;
  display: block;
  font-size: 28px;
}
#gallery.new .filter-simple-item > .content .card-footer {
  align-items: flex-end;
}
.card-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}
.card-features-list > li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 0;
}
.card-features-list > li svg {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}
.card-features-list > li .feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #0a0a0a;
}
.card-features-list > li .feature .feature-value {
  font-weight: 700;
  display: block;
  font-size: 20px;
  color: #4C313B;
  line-height: 1;
  text-align: center;
}
.card-features-list > li .feature .feature-value.fs-md {
  font-size: 24px;
}
.card-features-list > li .feature .feature-value.fs-lg {
  font-size: 28px;
}
.card-features-list > li .feature .feature-label {
  text-transform: uppercase;
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: #dc9f62;
}
.corner-banner.pending {
  background: #dc9f62;
  color: #4C313B;
}
#gallery.new .filter-simple-item > .content .card-footer .button {
  margin: 0;
}
#gallery.new .filter-simple-item > .content .card-footer .card-price {
  display: none;
}
.document-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}
.document-list > li {
  display: flex;
  gap: 0.75rem;
  margin: 0;
}
.document-list > li svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

@media print, screen and (max-width: 1024px) {
  #gallery.new .filter-simple-item > .content .card-header svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  #gallery.new .card-features-list > li:nth-child(n+5) {
    display: none;
  }
  #gallery.new .card-features-list {
    flex-wrap: nowrap;
  }
  .card-features-list > li {
    align-items: center;
  }
  #gallery.new .card-features-list > li {
    flex-basis: 0;
    flex-grow: 1;
    flex-direction: column;
  }
  .card-features-list > li svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  #gallery.new .filter-simple-item > .content {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  #gallery.new .filter-simple-item > .content .card-header .card-title h3,
  #gallery.new .filter-simple-item > .content .card-header .card-price {
    font-size: 20px;
  }
  .card-features-list > li .feature .feature-value {
    font-size: 20px;
  }
  .card-features-list > li .feature .feature-value.fs-md {
    font-size: 20px;
  }
  .card-features-list > li .feature .feature-value.fs-lg {
    font-size: 20px;
  }
}
@media print, screen and (max-width: 679px) {
  .banner-section .orbit-slide {
    padding-bottom: 60%;
  }
  #gallery.new .filter-simple-item > .content .card-header .card-price {
    display: none;
  }
  .property-detail-description .card-header .card-price {
    margin-bottom: 0;
    margin-top: 32px;
    text-align: left;
  }
  #gallery.new .filter-simple-item > .content .card-footer {
    gap: 1.5rem;
  }
  #gallery.new .filter-simple-item > .content .card-footer > .cell:last-child {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
  }
  #gallery.new .filter-simple-item > .content .card-footer .card-price {
    display: block;
    font-weight: 700;
    display: block;
    font-size: 20px;
    margin: 0;
  }
}