/* =========================
   HERO SECTION
   ========================= */
.property-hero-with-quote {
  margin: 1rem;
}

.property-hero-with-quote__border{ 
  max-width: 1200px;
  margin: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.property-hero-with-quote__border hr {
  width: 100%;
  border-top: 1px solid var(--light-gray);
}

.property-hero-with-quote__container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem 0;
}

/* LEFT CARD WRAP */
.property-hero-with-quote__card-wrap {
  position: relative;
}

.property-hero-with-quote__card-wrap::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;      
  right: 20px;      
  bottom: -20px;    
  border-radius: 15px 15px 15px 0;
  z-index: 0;
  background-color: var(--primary-color);
}

.property-hero-with-quote__card {
  position: relative;
  height: 80dvh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px 15px 15px 0;
  overflow: hidden;
  color: #fff;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-hero-with-quote__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;      
  right: -20px;      
  bottom: 20px;  
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px 15px 15px 0;
}

/* CARD TEXT */
.property-hero-with-quote__card-text {
  z-index: 1;
  padding: 2rem 1.50rem;
  text-align: center;
  font-family: var(--body-font-family);
  color: var(--white);
}

.property-hero-with-quote__card-text blockquote p {
  font-size: 1.1em;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--white);
}

.property-hero-with-quote__card-text footer p {
  font-family: var(--accent-font-family);
  font-size: 1em;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.property-hero-with-quote__card-text footer p strong {
  font-size: 1em;
  font-style: italic;
}

/* LOGO BAR */
.property-hero-with-quote__logos {
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
  background: #000;
  padding: 1rem;
}

.property-hero-with-quote__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-hero-with-quote__logo-wrap img {
  width: 200px;
  height: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* RIGHT CONTENT */
/* .property-hero-with-quote__eyebrow {
  font-family: var(--body-font-family);
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
} */

.property-hero-with-quote__content {
  padding-top: 1rem;
}

.property-hero-with-quote__content h2 {
  font-family: var(--header-font-family);
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.property-hero-with-quote__content p {
  font-family: var(--accent-font-family);
  text-transform: uppercase;
  padding-bottom: 1rem;
  color: var(--secondary-color);
}

.property-hero-with-quote__description p {
  font-family: var(--body-font-family);
  font-size: 18px;
  text-transform: unset;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--black);
}

.button--outline-primary {
  border-radius: 10px;
}

.button--fixed-width {
  width: 50%;
}

/* RESPONSIVE */
/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote {
    margin: 2rem;
  }

  .property-hero-with-quote__card {
    height: 90dvh;
  }

  .property-hero-with-quote___border{ 
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .property-hero-with-quote__container {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 0;
  }

  .property-hero-with-quote__content {
    padding-top: unset;
  }

  .property-hero-with-quote__card-text blockquote,
  .property-hero-with-quote__card-text footer {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  .property-hero-with-quote__card-text blockquote p {
    font-size: 1.2em;
  }
  
  .property-hero-with-quote__card-text footer p {
    font-size: 1.05em;
  }
  
  .property-hero-with-quote__card-text footer p strong {
    font-size: 1.10em;
  }  

  .property-hero-with-quote__content h2 {
    font-size: 36px;
  }

  .property-hero-with-quote__description p {
    font-size: 20px;
  }
}

/* MEDIA DIALOG */
/*==============*/
.property-hero-with-quote__dialog {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  padding: 0;
  border: none;
  background-color: unset;

  transition: scale 0.30s ease-out, 
              opacity 0.15s ease-out,
              display 0.30s allow-discrete;

}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote__dialog {
      overflow: hidden;
      padding-top: 0.25rem;
  }
}

.property-hero-with-quote__dialog[open] {
  scale: 1;
  opacity: 1;

  @starting-style {
      scale: 0.75;
      opacity: 0;
  }
}

.property-hero-with-quote__dialog:not([open]) {
  scale: 0.75;
  opacity: 0;
  display: none; 
}

.property-hero-with-quote__dialog:focus-visible {
  outline: none;
}

.property-hero-with-quote__dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}

.property-hero-with-quote__dialog-wrapper {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.property-hero-with-quote__dialog-button {
  position: relative;
  align-self: flex-end;
  margin-bottom: -1rem;
  top: 4%;
  right: 5%;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote__dialog-button {
      margin-bottom: -2rem;
      align-self: flex-start;
      top: unset;
      right: -7%;
  }
}

.property-hero-with-quote__dialog .property-hero-with-quote__dialog-button button {
  z-index: 3;
  width: 28px;
  height: 28px;
  font-size: 1.25em;
  text-align: center;
  position: sticky;
  top: 0;
  border-radius: 50%;
  color: var(--white);
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote__dialog .property-hero-with-quote__dialog-button button {    
      width: 30px;
      height: 30px;
      font-size: 1.3em;    
      position: relative;
      top: 50%;
      left: 300%;
  }
}

.property-hero-with-quote__dialog .property-hero-with-quote__dialog-button button:focus-visible {
  outline: none;
}

/* DIALOG CONTENT */
/* ============== */

.property-hero-with-quote__dialog-content-wrapper {
  z-index: 2;
  position: relative;
  overflow: scroll;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: var(--offwhite);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; /* To apply iOS momentum scrolling effect to this element. */
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote__dialog-content-wrapper {
      width: 75%;
      margin-left: auto;
      margin-right: auto;
  }
}

.property-hero-with-quote__dialog-content {
  width: 100%;
  padding: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-hero-with-quote__dialog-content {
      max-height: 90dvh;
      padding: 1.50rem 2rem 1rem;
  }
}

.property-hero-with-quote__dialog-content article {
  overflow: scroll;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; /* To apply iOS momentum scrolling effect to this element. */
}

::-webkit-scrollbar { width:0; height:0 }
::-webkit-scrollbar-thumb:horizontal { background: transparent}
::-webkit-scrollbar-track { background-color: transparent}

.property-gallery__main .swiper-button-next {
  top: unset;
  bottom: 2%;
  margin-right: 0.50rem;
}

.property-gallery__main .swiper-pagination {
  bottom: 5%;
  text-align: left;
  padding-left: 1.05rem;
}

.property-gallery__main .swiper-pagination-bullet {
  background: transparent;
  border: 1px solid var(--white);
  opacity: unset;
}

.property-gallery__main .swiper-pagination-bullet-active {
  background-color: var(--white);
}

.property-gallery__main figure img {
  border-radius: 20px;
}

.property-gallery__nav {
  padding-bottom: 1rem;
}