/* General Styles */
.featuredListingsTheme {
  position: relative;
  width: 80%;
  padding: 3rem;
}

.featuredListing-block-wrapper{
      
padding: 2.5rem 0;
      
width: 100%;
}
.featuredListing-block{
    position: relative;
}

.featuredListing-block-text {
    display: flex;
    position: relative;
    max-width: 30%;
    min-height: 400px;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.featuredListing-block-text p {
    /* font-size: var(--wp--preset--font-size--small); */
    font-weight: var(--theme--body-font-weight);
}

.featuredListing-block-text .featuredListing-block-anchor {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--wp--preset--font-size--small);
}

.featuredListing-block-text .featuredListing-block-anchor i {
    margin-left: 10px;
}

.featuredListing-block-images-wrapper {
    position: absolute;
    width: 45%;
    height: auto;
    z-index: 1;
}


.featuredListing-block-images-wrapper:hover {
    box-shadow: var(--theme--box-shadow--hover);
}

.featuredListing-block-images-wrapper .featuredListing-block-image {
    height: 480px;
    width: 100%;
    object-fit: cover;
}

.featuredListing-block-images-wrapper .slick-prev:before,
.featuredListing-block-images-wrapper .slick-next:before {
    color: #fff !important;
    opacity: 1;
    font-size: 1rem;
    font-weight: 400;
}

.featuredListing-block-images-wrapper .slick-prev,
.featuredListing-block-images-wrapper .slick-next {
    top: unset;
    bottom: -25px;
    z-index: 1;
    left: unset;
    background-color: var(--theme--primary-color);
    height: 3rem;
    width: 3rem;
}

.featuredListing-block-images-wrapper .slick-prev:focus,
.featuredListing-block-images-wrapper .slick-next:focus {
    background: var(--theme--primary-color);
}

.featuredListing-block-images-wrapper .slick-prev:focus:hover,
.featuredListing-block-images-wrapper .slick-next:focus:hover,
.featuredListing-block-images-wrapper .slick-prev:hover,
.featuredListing-block-images-wrapper .slick-next:hover {
    color: #fff;
    outline: none;
    background: var(--theme--primary-color-80);
}

.featuredListing-block-images-wrapper .slick-prev {
    right: calc(3rem + 2px);
}

.featuredListing-block-images-wrapper .slick-next {
    right: 0px;
}

/* Left Aligned Styles */
.featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-text {
    left: 45%;
    top: 0;
    bottom: 0;
}

.featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-images-wrapper {
    left: -7%;
}

/* Right Aligned Styles */
.featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-text {
    right: -25%;
}

.featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-images-wrapper {
    right: -5%;
}

/* Responsive Styles for Screen Widths Between 1200px  - 1400 px*/
@media screen and (min-width:1200px) and (max-width: 1400px) {
    .featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-text{
      left: 50%;
    } 
    .featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-text{
        left: 10%;
        right: unset;
    }
}

/* Responsive Styles for Screen Widths Between 991px  - 1200 px*/
@media screen and (min-width:991px) and (max-width: 1200px) {
    .featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-text{
      left: 50%;
    } 
    .featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-text{
        left: 10%;
        right: unset; 
    }
}

/* Responsive Styles for Screen Widths Below 768px */
@media screen and (max-width: 991px) {
    .featuredListingsTheme {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 0;
    }

    .featuredListing-block-images-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        /* margin-bottom: 0rem; */
    }

    .featuredListing-block-images-wrapper .featuredListing-block-image {
        width: 100%;
        height: 400px;

    }

    .featuredListing-block-text {
        position: relative;
        max-width: 100%;
        min-height: auto;
        width: 100%;

    }
    /* Left Aligned Styles */
    .featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-text, .featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-images-wrapper {
        left: unset;
    }

     /* Right Aligned Styles */
    .featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-text,.featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-images-wrapper {
        right:  unset;
    }

    .featuredListingsTheme .featuredListing-block-images-wrapper{
        margin-top: -20%;
    }

    .featuredListingsTheme {
        margin-top:20%;
    }

   
}

@media screen and (min-width:991px) and (max-width: 1280px) {
    .featuredListingsTheme.featuredListing-image-side-left .featuredListing-block-images-wrapper {
        left: -10%;
    }

.featuredListing-block-images-wrapper {     
        width: 50%;
    }
    .featuredListingsTheme.featuredListing-image-side-right .featuredListing-block-images-wrapper {
    right: -10%;
}
}
.listingStats i{
    margin-right: 10px;
}

.featuredListing-block-images-wrapper img {
    transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
    opacity: 1; /* Initial opacity */
}

.featuredListing-block-images-wrapper img.fade-out {
    opacity: 0; /* Make the image fade out */
}
.featuredListing-block-text .listingPrice {
    font-weight: 500;
    color: var(--theme--button-color);
    font-size: var(--wp--preset--font-size--large);
}

.featuredListing-block-images-wrapper .shortlist-container  {
    position:absolute;
    right:10px;
    top:10px;
    z-index: 2;
    cursor:pointer;
    background:#fff;
    padding:10px;
    line-height: 1em;
    border-radius: var(--theme--border-radius);
}

.featuredListing-block-images-wrapper .shortlist-container.active > i, .featuredListing-block-images-wrapper .shortlist-container:hover > i {
    font-weight:800;
    color: #dd3a29;
}
