/* loop style 2  */


/* real-estate-gallery-post */

.real-estate-gallery-post-thumbnail {
    position: relative;
}

.real-estate-gallery-image-slider {
    height: 289px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0 !important;
}

.real-estate-gallery-image-slider a img {
    height: 289px !important;
    transition: var(--transition);
}

.real-estate-gallery-image-slider a img:hover {
    transform: scale(1.2) rotate(2deg);
}

.real-estate-gallery-image-slider ul.slick-dots {
    position: absolute;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
}

.real-estate-gallery-image-slider .slick-dots li {
    width: 15px;
}

.real-estate-gallery-image-slider .slick-dots li button {
    /* Inactive dot style */
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    border: none;
    border-radius: 50%;
    text-indent: -9999px;
    cursor: pointer;
    opacity: 0.5;
    background: var(--white-700);
}

.real-estate-gallery-image-slider .slick-dots li.slick-active button {
    /* Active dot style */
    background: var(--white-700);
    opacity: 1;
}

.real-estate-gallery-image-slider .slick-dots li button::before {
    display: none;
}

.real-estate-gallery-post-thumbnail .feature-and-offer-btns {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 0 8px;
    flex-wrap: wrap;
}

.real-estate-gallery-post-thumbnail .feature-and-offer-btns button.feature {
    border: 1px solid #F2F2F2;
    background: var(--primary-font-color)000;
    border-radius: 5px;
    color: var(--white-700);
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
}

.real-estate-gallery-post-thumbnail .feature-and-offer-btns button.feature span {
    background: var(--white-700);
    color: var(--primary-font-color);
    font-size: 10px;
    margin-right: 5px;
    padding: 1px 3px 3px 3px;
    border-radius: 3px;
}

.real-estate-gallery-post-thumbnail .feature-and-offer-btns button.special-offer {
    border-radius: 5px;
    background: var(--white-700);
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    border: transparent;
    padding: 7px 10px;
}

.real-estate-gallery-post-thumbnail .feature-and-offer-btns button.special-offer span {
    color: var(--primary-color);
    margin-right: 5px;
}

.real-estate-gallery-post-thumbnail .save-post {
    position: absolute;
    top: 8px;
    right: 8px;
}

.real-estate-gallery-post-thumbnail .save-post span {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 11.5px 11px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: var(--primary-font-color)0001a;
    color: var(--white-700);
    cursor: pointer;
}

.real-estate-gallery-post-details {
    padding: 16px 14px 0 0;
    position: relative;
}

.real-estate-gallery-post-details a {
    text-decoration: none;
}

.real-estate-gallery-post-details .post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.real-estate-gallery-post-details .post-header .title {
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    margin: 0;
    max-width: calc(100% - 0px);
    text-overflow: ellipsis;
    overflow: hidden;
    transition: var(--transition);
    word-wrap: break-word;
    white-space: nowrap;
}

.real-estate-gallery-post-details .post-header .title:hover {
    color: var(--a-hover-color);
}

.real-estate-gallery-post-details .post-header a {
    max-width: calc(100% - 50px);
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: break-word;
    white-space: nowrap;
}

.real-estate-gallery-post-details .post-header span.post-rating {
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.real-estate-gallery-post-details .post-category {
    margin-bottom: 25px;
}

.real-estate-gallery-post-details .post-category p {
    margin: 0;
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.real-estate-gallery-post-details .post-category p:hover {
    color: var(--a-hover-color);
}

.real-estate-gallery-post-details .item-details {
    margin-bottom: 18px;
}

.real-estate-gallery-post-details .item-details ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0 10px;
    flex-wrap: wrap;
}

.real-estate-gallery-post-details .item-details ul li {
    list-style: none;
    display: flex;
    padding: 6px 11px;
    align-items: center;
    gap: 5px;
    border-radius: 32px;
    background: #F4F5F7;
    color: var(--primary-font-color);
    text-align: center;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.real-estate-gallery-post-details .post-price h4 {
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

@media (max-width: 991px) {
    .real-estate-gallery-post-thumbnail .feature-and-offer-btns {
        gap: 5px 8px;
    }
    .real-estate-gallery-post-details .item-details ul {
        gap: 8px 10px;
    }
}

.real-estate-gallery-post {
    margin-bottom: 30px;
}

.cwp-grids-container.cwp-row.list-view .real-estate-gallery-post {
    display: flex;
}

.cwp-grids-container.cwp-row.list-view .real-estate-gallery-post .real-estate-gallery-post-thumbnail.real-estate-gallery-image-slider {
    width: 35%;
    height: 200px;
}

.cwp-grids-container.cwp-row.list-view .real-estate-gallery-post .real-estate-gallery-post-thumbnail.real-estate-gallery-image-slider img.wp-realestate-gallery-grids {
    height: 200px !important;
}

.cwp-grids-container.cwp-row.list-view .real-estate-gallery-post .real-estate-gallery-post-details {
    width: 65%;
    padding-left: 20px;
}