/*******************************************************
 *
 * template property detail
 *
 *******************************************************/
:root {
  --aios-ihf-template-global-page-primary-color: var(--aios-ihf-template-details-page-primary-color, var(--primary));
  --aios-ihf-template-global-page-secondary-color: var(--aios-ihf-template-details-page-secondary-color, #cbb05e);
}

.ip-banner {
  display: none;
}

.global-button {
  max-width: 280px;
}

.ip-custom-banner {
  position: relative;
  width: 100%;

  canvas {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  &::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    content: '';
    z-index: 1;
  }
}

.ip-custom-breadcrumbs {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  background: rgba(203, 176, 94, 0.8);


  #breadcrumbs {
    color: #fff;
    margin: 10px 0;

    a {
      color: #fff;

      &:hover {
        color: #ccc;
      }
    }
  }
}

#inner-page-wrapper {
  margin-bottom: 0;
  font-size: 0;
  z-index: unset;

  > .container {
    width: 100%;
    padding: 0;
  }
}

.fixed-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  font-size: 0;

  canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed !important;
    background-repeat: no-repeat;
  }
}

.safari-true .fixed-bg canvas, .mobile .fixed-bg canvas {
  background-attachment: scroll !important;
}

.non-fixed-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  font-size: 0;

  canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.canvas-img {
  position: relative;

  canvas {
    width: 100%;
    height: auto;
    display: block;
  }

  img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}

.site-inner-comm p {
  font-size: 15px;
  line-height: 24px;
  color: #000;
  letter-spacing: 0.05em;
}

.site-inner-comm ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 20px;
  unicode-bidi: isolate;
  line-height: 24px;
}

.site-inner-comm ul li {
  margin: 4px 0;
}

.site-inner-comm ul li::marker {
  color: #cbb05e;
}


/*** Carousel section ***/
.hero-carousel {
  position: relative;
}

/* Slide wrapper now used by slick */
.slides-wrapper {
  height: 100%;
}

/* Slick Custom Layout */
.slick-track {
  display: flex;
}

.slick-slide {
  transition: all 0.4s ease;
}

.slick-slide:not(.slick-current) {
  pointer-events: none;
}

.slick-list {
  overflow: visible;
  padding-right: 12.1875%;
}

/* Each Slide */
.hero-slide {
  position: relative;
}

.hero-slide .hero-bg canvas {
  width: 100%;
  height: auto;
}

.hero-slide .hero-bg img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.hero-slide .hero-bg .hover {
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(203, 176, 94, 0.8);
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 601px);
}

.hero-slide .hero-bg .hover-icon {
  opacity: 0;
  transition: all 0.3s ease;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 601px);
}

.slick-slide.slick-current.slick-active .hero-slide .hero-bg:hover .hover,
.slick-slide.slick-current.slick-active .hero-slide .hero-bg:hover .hover-icon {
  opacity: 0.75;
}

.hero-slide .hero-bg .zoom-icon {
  background-image: url(../images/search-icon.png);
  position: absolute;
  top: 50%;
  left: 46%;
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  opacity: 0;
}

.hero-slide .hero-bg:hover .zoom-icon {
  opacity: 1;
}

/* STATIC Property Info Box - now outside of slides */
.property-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 601px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 40px 40px 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Always visible now, since it's static */
  opacity: 1;
  pointer-events: auto;
}

/* Text Styling */
.property-info .address {
  font-size: 50px;
  font-family: var(--font-family-title);
  line-height: 1 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 110px;
  margin: 0;
}

.property-info .location {
  font-size: 20px;
  margin-bottom: 18px;
  font-family: 'Montserrat';
}

.price {
  font-size: 50px;
  margin-bottom: 20px;
  font-family: var(--font-family-title);
  letter-spacing: 0.05em;
  margin: 25px 0 25px 0;
}

.property-details {
  font-size: 20px;
  letter-spacing: 0.3em;
  font-weight: 500;
  text-transform: uppercase;
  padding-bottom: 11px;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  font-size: 14px;
  margin-bottom: 25px;
  padding: 0 150px 0 0;
}

.detail-item {
  display: flex;
  align-items: center;
  padding-left: 24px;
  position: relative;
  color: white;
  font-size: 17px;
  line-height: normal;
  text-transform: lowercase;
}

.detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.detail-item.bed::before {
  background-image: url('../images/bed-icon.png');
}

.detail-item.bath::before {
  background-image: url('../images/bath-icon.png');
}

.detail-item.garage::before {
  background-image: url('../images/garage-icon.png');
}

.detail-item.sqft::before {
  background-image: url('../images/sqft-icon.png');
}

.actions .btn {
  display: block;
  margin-bottom: 10px;
  padding: 15px 10px;
  width: 100%;
  border: 1px solid #cbb05e;
  background: transparent;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 370px;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.3em;
  border-radius: 0;
  font-weight: 500;
}

.actions .btn.primary {
  background-color: #c89e67;
  border-color: #c89e67;
  color: #0f2b3f;
}

.actions .btn:hover {
  background-color: white;
  color: #0f2b3f;
}

.utilities {
  display: block;
  font-size: 14px;
  padding-top: 10px;
}

.utilities .utilities-btn {
  display: inline-block;
  padding: 0 40px 0 25px;
  position: relative;
  color: #cbb05e;
  font-size: 14px;
  font-family: 'Montserrat';
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.3em
}

.utilities-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.utilities-btn.share::before {
  background-image: url('../images/share-icon.png');
}

.utilities-btn.print::before {
  background-image: url('../images/print-icon.png');
}

.utilities a:hover {
  opacity: 0.7;
}

.utilities a em {
  font-style: normal;
  color: #ffffff;
  font-weight: 500;
}


/* Hide default Slick arrows */
.slick-prev,
.slick-next {
  display: none !important;
}


/* Custom arrows always visible in this version */
.custom-prev-arrow,
.custom-next-arrow {
  display: flex;
  position: absolute;
  z-index: 30;
  background-color: #cbb05e;
  border: none;
  color: #ffffff;
  font-size: 50px;
  width: 50px;
  height: 50px;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
  font-weight: 200;
  transition: all 0.3s ease;
}

/* Prev = bottom-left of screen */
.custom-prev-arrow {
  bottom: 0;
  right: 1px;
}

/* Next = bottom-right inside .property-info */
.property-info .custom-next-arrow {
  bottom: 0;
  right: -51px;
}

.property-info .btn-next-prev button:hover {
  opacity: 0.7;
}

/* Property Description */

.property-description {
  position: relative;
  padding: 90px 7.8125%;
}

.property-description p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #000000;
  text-align: justify;
  text-align-last: center;
}


/* Gallery */
.gallery-wrap {
  max-width: 1354px;
  margin: 0 auto;
  width: calc(100% - 30px);
  position: relative;
  padding-bottom: 120px;
}

.gallery-wrap_row {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 0;
}

.gallery-wrap_row:first-child {
  margin: 0 0 0;
}

.gallery-wrap_row:first-child .gallery-wrap_col {
  width: calc(40.841% - 8px);
}

.gallery-wrap_row:first-child .gallery-wrap_col:first-child {
  width: 59.159%;
}

.gallery-wrap_row:first-child .gallery-wrap_col:first-child a img {
  aspect-ratio: 806/335.08;
}

.gallery-wrap_row:first-child .gallery-wrap_col a img {
  aspect-ratio: 544 / 333;
}

.gallery-wrap_row:last-child .gallery-wrap_col {
  width: 66.84%;
}

.gallery-wrap_row:last-child .gallery-wrap_col:first-child {
  width: calc(33.16% - 8px);
}

.gallery-wrap_row:last-child .gallery-wrap_col:first-child .gallery-wrap_img {
  margin: 8px 0 0;
}

.gallery-wrap_row:last-child .gallery-wrap_col:first-child .gallery-wrap_img:first-child {
  margin: 0 0 0;
}

.gallery-wrap_row:last-child .gallery-wrap_col:first-child .gallery-wrap_img:first-child a img {
  aspect-ratio: 439/184.17;
}

.gallery-wrap_row:last-child .gallery-wrap_col:first-child .gallery-wrap_img a img {
  aspect-ratio: 443/281.28;
}

.gallery-wrap_row:last-child .gallery-wrap_col a img {
  aspect-ratio: 903/471.96;
}

.gallery-wrap_row a {
  display: block;
  position: relative;
  transition: all 0.4s ease;
}

.gallery-wrap_row a img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.gallery-wrap_img a:hover {
  opacity: 0.75;
}

/* Explore */

.explore-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 90px;
  padding-bottom: 90px;
  padding-left: 9.375%;
  padding-right: 7.8125%;
  background-color: #000000;
}

.explore-container .text-section {
  flex: 1;
}

.explore-container .text-section h2 {
  color: #ffffff;
  font-size: 50px;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0 auto;
}

.explore-container .image-section {
  position: relative;
}

.image-section canvas {
  width: 100%;
  height: auto;
  display: block;
}

.image-section img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: all 0.3s ease;
  opacity: 0.75;
}

.explore-container .image-section a {
  transition: all 0.4s ease;
}

.explore-container .image-section img:hover {
  opacity: 1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../images/play-btn.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 70px;
  height: 70px;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  opacity: 0.7;
  filter: invert(1);
}

/* Map */

.map-section {
  position: relative;
  margin: 100px 7.8125%;
}

.map-section canvas {
  width: 100%;
  height: auto;
  display: block;
}

.map-section img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.map-section .listings-map {
  height: 735px;
  position: relative;
  z-index: 1;
  width: 100%;
  filter: none;
}

/* Form */

/* Wrapper to center everything */
.contact-section-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main layout: 2 columns */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 158px 11.125% 127px 9%;
  background-color: #000;
  color: #fff;
}

/* Left Column: Contact Form */
.contact-form-column {
  flex: 1;
  min-width: 280px;
}

.contact-form-column h2,
.contact-details-text h2 {
  margin: 0;
  font-size: 48px;
  margin-bottom: 50px;
  font-family: var(--font-family-title);
  line-height: 1;
  letter-spacing: 0.1em;
}

/* Form Field Styles */
.contact-form {
  width: 85%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  padding: 12px 5px;
  font-size: 15px;
  text-transform: capitalize;
  box-sizing: border-box;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: 'Montserrat', sans-serif !important;
  color: #ffffff !important;
  font-size: 15px;
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-family: Georgia, serif;
  font-size: 14px;
}

.form-field-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.form-field-short {
  width: calc(50% - 10px);
  margin: 0;
}

.form-field-full {
  width: 100%;
}

.form-submit {
  position: static !important;
  clear: both;
  display: block;
  margin-top: 20px;
  width: auto;
}

.form-submit input[type="submit"] {
  position: static !important;
  float: left;
  display: inline-block;
  border: none;
  color: #f4c15b;
  font-weight: bold;
  font-size: 14px;
  font-family: "Montserrat";
  cursor: pointer;
  padding: 10px 0;
  width: auto !important;
  transition: all 0.3s ease;
  letter-spacing: 0.3em;
  opacity: .75;
}

.ai-font-paper-airplane-alt {
  display: none !important;
}

/* Right Column: Contact Info + Robin Image */
.contact-info-robin-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-details-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.contact-details-text {
  flex: 1;
}

.contact-details-text > span {
  padding-top: 20px;
  display: block;
}

.contact-details-text > span a {
  color: #cbb05e;
  font-size: 14px;
  font-family: 'Montserrat';
  line-height: 3.8;
  text-transform: uppercase;
  transition: all 0.4s ease;
  letter-spacing: 0.3em;
  font-weight: bold;
  opacity: .75;
}

.contact-details-text > span a em {
  font-style: normal;
  color: #ffffff;
  font-weight: 500;
}

.contact-details-text a:hover {
  opacity: 1;
}

.contact-details {
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-family: 'Montserrat';
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 !important;
}

.contact-details a {
  color: #ffffff;
  transition: all 0.3s ease;
}

.contact-details a:hover {
  opacity: 0.75;
}

.contact-details li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-details li > span {
  color: #cbb05e;
  padding-right: 10px;
}

/* Robin Image */
.robin-image-wrapper img {
  max-width: 247px;
  width: 100%;
  border-radius: 6px;
  display: block;
}

section#ftr-section {
  display: none;
}

.contact-section .form-submit .wpcf7-form-control.wpcf7-submit:hover {
  opacity: 1;
}

.ihf-details-template h1.entry-title,
.ihf-details-template article#content > p#breadcrumbs {
  display: none !important;
}

div#content-full {
  margin: 0;
}

#ihf-main-container.ihf-modal-container .modal .modal-dialog {
  left: auto;
}

@media only screen and (min-width: 1601px) {
  .explore-container .text-section h2 {
    max-width: 415px;
  }
}

@media only screen and (max-width: 1370px) {
  .ip-custom-breadcrumbs #breadcrumbs {
    padding: 0 5.125%;
  }

  .property-info .address {
    padding-top: 35px;
  }

  .hero-slide .hero-bg:hover .zoom-icon {
    left: 45%;
  }

  .explore-container .image-section {
    flex: 1;
  }

  .contact-form-column h2, .contact-details-text h2 {
    font-size: 41px;
  }
}

@media only screen and (max-width: 1200px) {
  .hero-slide .hero-bg canvas {
    min-height: 700px;
  }

  .property-info .address,
  .price {
    font-size: 45px;
  }

  .property-info .location {
    font-size: 16px;
  }

  .property-details {
    line-height: normal;
  }

  .detail-item {
    font-size: 14px;
  }

  .actions .btn {
    font-size: 13px;
  }

  .utilities .utilities-btn {
    font-size: 12px;
  }

}

@media only screen and (max-width: 1199px) {
  .ip-custom-breadcrumbs {
    padding: 0 15px;
  }

  .contact-section {
    padding: 40px 11.125% 40px 9%;
  }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 991px) {

  .hero-carousel {
    overflow: visible;
    height: auto;
  }

  .hero-carousel .hover, .hero-carousel .zoom-icon {
    display: none;
  }

  .property-info {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
  }

  .details {
    padding: 0;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .actions a {
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .property-info .location {
    margin: 18px 0
  }

  .slick-list {
    overflow: hidden;
    padding-right: 0;
  }

  .btn-next-prev {
    position: absolute;
    top: -20px;
    left: 50%;
  }

  .custom-prev-arrow {
    right: 2px;
  }

  .property-info .custom-next-arrow {
    right: -44px;
  }

  .custom-prev-arrow, .custom-next-arrow {
    width: 44px;
    height: 44px;
    padding: 0 0 6px;
  }

  .explore-container {
    padding: 50px 80px;
  }

  .explore-container .text-section h2 {
    font-size: 40px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-section {
    flex-direction: column;
  }

  .form-field-wrap {
    flex-direction: column;
  }

  .form-field-short {
    width: 100%;
  }

  .contact-details-wrapper {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .contact-details-text {
    margin: auto;
  }

  .robin-image-wrapper {
    align-self: center;
    margin-top: 20px;
  }

  .contact-form-column h2, .contact-details-text h2 {
    text-align: center;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .explore-container {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .text-section h2 {
    font-size: 36px;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
  }

  .image-section {
    max-width: 100%;
  }

  .play-btn {
    width: 50px;
    height: 50px;
    background-size: 80%;
    /* slightly smaller for mobile */
  }

  .map-section .listings-map {
    height: 400px;
  }

}

@media only screen and (max-width: 580px) {
  .property-info .address, .price {
    font-size: 40px;
  }

  .property-info .location {
    font-size: 15px;
  }

  .contact-info-robin-column {
    min-width: 100%;
  }

  .contact-form-column h2, .contact-details-text h2 {
    font-size: 35px;
  }

  .contact-details li {
    flex-flow: column;
    text-align: center;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .property-info {
    width: 100%;
  }

  .property-info .address, .price {
    font-size: 30px;
  }

  .actions .btn {
    font-size: 11px;
  }

  .explore-container .text-section h2 {
    font-size: 30px;
    padding-bottom: 30px;
  }

  .contact-section {
    padding: 20px;
  }

  .contact-form-column h2, .contact-details-text h2 {
    font-size: 30px;
  }

  .contact-details li > span {
    padding: 0;
  }

  .form-field-wrap {
    text-align: center;
  }

  .form-submit {
    position: relative;
    width: 100%;
  }

  .form-submit input[type=submit] {
    float: none;
  }

  .form-submit .wpcf7-spinner {
    display: block;
  }

  .contact-details-text > span {
    text-align: center;
  }
}

@media only screen and (max-width: 320px) {
  .utilities .utilities-btn {
    display: flex;
    justify-content: center;
    padding: 0 0 0 50px;
  }

  .utilities-btn::before {
    left: 77px;
  }

  .contact-section {
    flex-direction: initial;
  }
}