.property-building-callout {
  position: relative;
}

.property-building-callout__wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.property-building-callout__header {
  width: 100%;
  border-top: 1px solid var(--light-gray);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.property-building-callout__header h2 {
  font-size: 16px;
  text-transform: uppercase;
  font-family: var(--accent-font-family);
  font-weight: bold;
  margin-bottom: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-building-callout__header h2 {
    font-size: 18px;
  }
}

.property-building-callout__header p {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .property-building-callout__header p {
    width: 25%;
    font-size: 36px;
  }
}

.property-building-callout__content {
  position: relative;
}

.property-building-callout__image {
  display: none;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout__image {
    display: block;
  }
}

.property-building-callout-feature {
  width: 100%;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-feature {
    position: absolute;
    max-width: 300px;
  }
}

.property-building-callout-feature__line {
  display: none;
  width: 500px;
  height: 1px;
  border-top: 1px solid var(--light-gray);
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-feature__line {
    display: block;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-feature__image {
    display: none;
  }  
}

.property-building-callout-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.property-building-callout-feature__header {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.property-building-callout-feature__header:focus,
.property-building-callout-feature__header:active,
.property-building-callout-feature__header:hover {
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.52));
  transition: all 0.50s ease-in;
}

.property-building-callout-feature__header a {
  display: block;
}

.property-building-callout-feature__header a h3 {
  font-size: 15px;
  font-family: var(--accent-font-family);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.property-building-callout-feature__header a h3 span {
  margin-left: 0.50rem;
}

.property-building-callout-feature__header a p {
  line-height: 1.3;
}

.property-building-callout-feature__header-extras {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
  padding-top: 1rem;
}

.property-building-callout-feature__header-extras article {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.property-building-callout-feature__header-extras img {
  max-width: 75px;
}

/* ============================================ */
/* MODAL STYLES */
/* ============================================ */

.property-building-callout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-building-callout-modal--active {
  opacity: 1;
  visibility: visible;
}

.property-building-callout-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.property-building-callout-modal__wrapper {
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  position: relative;
  overflow-y: auto;
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.property-building-callout-modal--active .property-building-callout-modal__wrapper {
  transform: scale(1);
}

.property-building-callout-modal__close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
}

.property-building-callout-modal__close:hover {
  background: white;
  transform: scale(1.1);
}

.property-building-callout-modal__close:active {
  transform: scale(0.95);
}

.property-building-callout-modal__close svg {
  width: 20px;
  height: 20px;
}

.property-building-callout-modal__image {
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.property-building-callout-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-building-callout-modal__header {
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-modal__header {
    flex-wrap: nowrap;
  }
}

.property-building-callout-modal__header h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 200px;
  width: 100%;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-modal__header div {
    flex: 1;
    margin-left: 1rem;
  } 
}

.property-building-callout-modal__header div p {
  line-height: 1.3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .property-building-callout-modal__overlay {
    padding: 1rem;
  }
  
  .property-building-callout-modal__wrapper {
    max-height: 95vh;
  }
  
  .property-building-callout-modal__image {
    height: 200px;
  }
  
  .property-building-callout-modal__header {
    padding: 1.5rem;
  }
  
  .property-building-callout-modal__header h2 {
    font-size: 20px;
  }
  
  .property-building-callout-modal__close {
    z-index: 3;
    top: 1rem;
    left: 1rem;
  }
  
  .property-building-callout-modal__close svg {
    width: 16px;
    height: 16px;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .property-building-callout-modal__wrapper {
    max-width: 700px;
  }
  
  .property-building-callout-modal__image {
    height: 250px;
  }
}

.property-building-callout-modal__pattern {
  z-index: -1;
  display: none;
  position: absolute;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(to right, black 5%, transparent 25%, transparent 75%, black 95%);
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .property-building-callout-modal__pattern {
    display: block;
  }
}

.property-building-callout-modal__pattern img {
  mix-blend-mode: lighten;
}