.block--compare-properties {
    padding: 140px 0;
}

@media screen and (max-width: 640px) {
    .block--compare-properties {
        padding: 64px 0;
    }

    .block--compare-properties .container {
        padding: 0;
    }
}

.block--compare-properties--items {
    display: flex;
    gap: 24px;
}


@media screen and (max-width: 640px) {
    .block--compare-properties--items {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 24px 24px;
    }
}


.block--compare-properties--item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #6CA6CC;
    flex: 0 0 32%;
    min-width: 0;
}
/* 
.block--compare-properties--item.empty-item {
    border: 1px dashed #6CA6CC;
} */

@media screen and (max-width: 640px) {
    .block--compare-properties--item {
        display: flex;
        flex-direction: column;
        padding: 16px;
        border-radius: 10px;
        border: 1px solid #6CA6CC;
        flex: 1 0 95%;
        min-width: 0;
        scroll-snap-align: center;
    }
    .block--compare-properties--item:last-of-type {
        margin-right: 24px;
    }
}

.block--compare-properties--item--empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 

}

.block--compare-properties--item--top {
    background-color: var(--wp--preset--color--sw-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 16px;
    max-height: 66px;
}

.block--compare-properties--item--top > * {
    margin-bottom: 0;
}

.block--compare-properties--item--main-features {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding: 8px 16px;
    border-top: 1px solid var(--wp--preset--color--sw-sky);
    border-bottom: 1px solid var(--wp--preset--color--sw-sky);
}

.block--compare-properties--item--main-features .property-details {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 0;
    padding: 0;
    border: none;
}

.block--compare-properties--item--feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wp--preset--color--sw-sky);
}

.block--compare-properties--item--feature dt {
    color: #01395C;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    letter-spacing: 0.16px;
    text-transform: capitalize;
}

.block--compare-properties--item--feature dd {
    color: #666;

    font-family: var(--wp--preset--font-family--ibm-plex-mono);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    text-transform: uppercase;
}

.block--compare-properties--item--main-features .property-detail--label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.block--compare-properties--item--main-features .property-detail--label svg {
    height: 28px;
    width: 28px;
}

.block--compare-properties--item--feature-detail summary {
    color: #01395C;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    letter-spacing: 0.16px;
    text-transform: capitalize;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.block--compare-properties--item--main-features .property-detail--value {
    color: var(--wp--preset--color--sw-blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 22.958px */
    letter-spacing: 0.574px;
    text-transform: capitalize;
}

.block--compare-properties--item--top button {
    cursor: pointer;
    appearance: none;
    background: transparent;
}

.block--compare-properties--item--top {
    text-decoration: none;
}

.block--compare-properties--item--gallery figure {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
}

.block--compare-properties--item--gallery figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.block--compare-properties--actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

@media screen and (max-width: 640px) {
    .block--compare-properties--actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.block--compare-properties--actions .wp-block-button__link {
    flex-grow: 1;
    text-align: center;
    justify-content: center;
}