.cseven-properties-grid {
    --cseven-grid-gap: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--cseven-grid-gap);
    width: 100%;
}

.cseven-property-card {
    flex: 0 1 var(--cseven-card-width, calc((100% - 72px) / 3));
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    text-align: center;
	padding-bottom: 2.5rem;
}

.cseven-property-image-link {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
}

.cseven-property-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cseven-property-image-placeholder {
    background: #eeeeee;
}

.cseven-property-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: 22px;
}

.cseven-property-title {
    margin: 0 0 4px;
    color: #7895a1;
    font-size: clamp(2rem, 4vw, 3.375rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cseven-property-title a {
    color: inherit;
    text-decoration: none;
}

.cseven-property-title a:hover,
.cseven-property-title a:focus {
    text-decoration: none;
}

.cseven-property-location {
    margin: 0 0 22px;
    color: #c23d56;
    font-size: clamp(1.4rem, 2.35vw, 2.25rem);
    line-height: 1.15;
    font-style: italic;
    font-weight: 700;
}

.cseven-property-button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 16px 20px;
    background: #7397a5;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-sizing: border-box;
}

.cseven-property-button:hover,
.cseven-property-button:focus {
    background: #5f8493;
    color: #ffffff;
    text-decoration: none;
}

.cseven-single-property-location {
    color: #c23d56;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cseven-properties-empty {
    padding: 16px;
    border: 1px dashed #cccccc;
    background: #fafafa;
}

@media (max-width: 900px) {
    .cseven-property-card {
        flex-basis: var(--cseven-tablet-card-width, calc((100% - 36px) / 2));
    }
}

@media (max-width: 600px) {
    .cseven-properties-grid {
        --cseven-grid-gap: 30px;
    }

    .cseven-property-card {
        flex-basis: var(--cseven-mobile-card-width, 100%);
    }

    .cseven-property-card-content {
        padding-top: 16px;
    }

    .cseven-property-title {
        font-size: 2.35rem;
    }

    .cseven-property-location {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .cseven-property-button {
        padding: 14px 18px;
    }
}
