.related-properties {
    margin: 2rem 0;
}

.related-properties-slider {
    margin: 0 -8px; /* Negative margin to offset the card padding */
}

.related-property-card {
    padding: 0 16px 40px; /* Half of the desired 16px spacing */
    height: 100%;
}

.related-property-card .property-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
    border-radius: 0px;
    margin-bottom: 1rem;
    background-color: #f5f5f5; /* Light gray background for the image container */
}

.related-property-card .property-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%); /* Center the image */
}

.related-property-card .property-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.related-property-card .property-title {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
    padding-right: 1rem;
    text-decoration: none;
}

.related-property-card .property-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #000;
    border-radius: 0px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}

.related-property-card .property-link:hover {
}

.related-property-card .property-link i {
    font-size: 14px;
}

/* Slick Slider Custom Styles */
.related-properties .slick-prev,
.related-properties .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
}

.related-properties .slick-prev {
    left: -20px;
}

.related-properties .slick-next {
    right: -20px;
}

.related-properties .slick-prev:before,
.related-properties .slick-next:before {
    color: #333;
    font-size: 20px;
}

.related-properties .slick-dots {
    bottom: -30px;
}

.related-properties .slick-dots li button:before {
    font-size: 8px;
} 