/* =====================================================
   HOSPITALITY INDIVIDUAL PROPERTY PAGE
   ===================================================== */


/* =====================================================
   PROPERTY CONTENT WRAPPER
   ===================================================== */

.hotel-property-content {
  position: relative;
  padding-top: 1px;
  border-top: none !important;
}

.hotel-property-content::before {
  display: none !important;
}


/* =====================================================
   PROPERTY INTRO
   ===================================================== */

.property-intro {
  max-width: 1200px;
  margin: 20px auto 10px;
  padding: 0;
}

.property-intro-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    flex-direction: column;
}

.property-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #1a1a1a;
}

.property-address {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.back-link {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.back-link:hover {
  text-decoration: underline;
}

.property-intro-right {
  text-align: right;
  margin-top: 28px;
}

.lease-rate {
  font-size: 30px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

.lease-label {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-top: 4px;
}


/* =====================================================
   PROPERTY GALLERY
   ===================================================== */

.property-gallery {
  max-width: 1200px;
  margin: 30px auto 40px;
}

.property-gallery > p:empty,
.property-gallery .swiper-wrapper > p:empty,
.property-gallery .swiper-slide > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.property-main-slider {
  position: relative;
}

.property-main-slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}


/* =====================================================
   PROPERTY GALLERY ARROWS
   ===================================================== */

.property-main-slider .swiper-button-prev,
.property-main-slider .swiper-button-next {
  display: flex !important;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 999 !important;

  width: 45px;
  height: 45px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);
  color: #000;

  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.property-main-slider .swiper-button-prev {
  left: 10px;
}

.property-main-slider .swiper-button-next {
  right: 10px;
}

.property-main-slider .swiper-button-prev::after,
.property-main-slider .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

.property-main-slider .swiper-button-disabled {
  opacity: 0.35 !important;
  pointer-events: auto !important;
  cursor: default !important;
  z-index: 999 !important;
}

.property-main-slider .swiper-button-disabled::after {
  pointer-events: none !important;
}


/* =====================================================
   THUMBNAILS
   ===================================================== */

.property-thumbs {
  margin-top: 12px;
}

.property-thumbs .swiper-slide {
  width: 80px !important;
  height: 80px;
  opacity: 0.35;
  cursor: pointer;
}

.property-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  border: 2px solid transparent;
}

.property-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}


/* =====================================================
   OVERVIEW ROWS
   ===================================================== */

.property-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.property-row span:first-child {
  font-weight: 800;
}

.property-row span,
.property-list li {
  font-size: 16px;
  color: #000;
  font-weight: 400;
}


/* =====================================================
   PROPERTY TEXT
   ===================================================== */

.property-text {
  line-height: 1.7;
  font-size: 16px;
  color: #000;
  font-weight: 400;
}

.property-list {
  padding-left: 20px;
}

.property-list li {
  margin-bottom: 8px;
}


/* =====================================================
   PROPERTY HEADINGS
   ===================================================== */

.property-heading {
  color: #c6a46c;
  margin: 40px 0 15px;
  font-size: 22px;
  font-weight: 400;
}


/* =====================================================
   MAP
   ===================================================== */

.property-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
}


/* =====================================================
   HERO
   ===================================================== */

.landing-hero-wrap {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0;
}

.landing-hero {
  position: relative;
  height: 247px;
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 4px solid #c9ac7a;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.05)
  );
  z-index: 1;
}

.landing-hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 25px;
  z-index: 2;
}

.landing-hero-overlay h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px #000;
}


/* =====================================================
   GALLERY ENHANCEMENTS / FANCYBOX
   ===================================================== */

.property-main-slider .caption {
  display: none !important;
}

.property-main-slider .swiper-slide img {
  cursor: zoom-in;
}

.fancybox__caption {
  text-align: center;
  font-size: 15px;
  padding-top: 12px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (min-width: 769px) and (max-width: 1100px) {

  .hotel-property-content {
    width: auto !important;
    max-width: none !important;
    margin-left: 30px !important;
    margin-right: 30px !important;
    box-sizing: border-box !important;
  }

  .property-intro,
  .property-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .property-map {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hotel-subnav {
    margin-left: 30px !important;
    margin-right: 30px !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

  .hotel-property-wrapper,
  .property-gallery {
    padding-left: 15px;
    padding-right: 15px;
  }

  .property-intro-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-intro-right {
    text-align: left;
    margin-top: 10px;
  }

  .property-title {
    font-size: 24px;
  }

  .lease-rate {
    font-size: 22px;
  }

  .property-main-slider img {
    height: 260px;
  }

  .landing-hero {
    height: 200px;
  }

  .landing-hero-overlay h1 {
    font-size: 26px;
  }

  .property-map {
    padding-left: 2em;
    padding-right: 2em;
  }

  h2.property-heading {
    padding-left: 1em;
  }

  p.property-text {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  ul.property-list {
    padding-left: 3.5em;
  }

  /* Keep Overview rows two-column on mobile */
  .property-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;

    padding-left: 1.5em !important;
    padding-right: 1.5em !important;
  }

  .property-row span:first-child {
    width: 50% !important;
    text-align: left !important;
  }

  .property-row span:last-child {
    width: 50% !important;
    text-align: right !important;
    margin-left: auto !important;
  }

}

/* =====================================================
   TABLET — HOSPITALITY INDIVIDUAL PROPERTY
   Add side spacing below slider only
===================================================== */

@media (min-width: 769px) and (max-width: 1100px) {

  /* Keep gallery/slider full width */
  .property-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Add space to content under the slider */
  .property-heading,
  .property-row,
  .property-text,
  .property-list,
  .property-map {
    margin-left: 30px !important;
    margin-right: 30px !important;
    box-sizing: border-box !important;
  }

  /* Make rows fit correctly inside the new margins */
  .property-row {
    width: auto !important;
  }

  /* Prevent map from overflowing */
  .property-map {
    width: auto !important;
  }

}