/* Stella V2 – Immobilienkategorien Kaufen */

.stella-buy-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stella-buy-category {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    background: #edf3f8;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}

.stella-buy-category img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .3s ease;
}

.stella-buy-category:hover img {
    transform: scale(1.04);
}

.stella-buy-category > span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 84px;
    padding: 13px;
    background: var(--stella-primary);
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
}

.stella-buy-category:hover > span {
    background: var(--stella-primary-dark);
    color: #fff;
}

@media(max-width:1100px) {
    .stella-buy-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:600px) {
    .stella-buy-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Stella Kaufen: Link-Unterstreichung entfernen */
.stella-buy-category,
.stella-buy-category:hover,
.stella-buy-category:focus {
    text-decoration: none !important;
}

.stella-buy-category > span {
    text-decoration: none !important;
}


/* Shared category cards: sale and rent, all six languages */
.stella-property-categories{width:100%;margin:0 0 28px}
.stella-property-categories-heading{margin:0 0 20px}
.stella-property-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%}
.stella-property-category{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:8px;background:#edf3f8;color:#fff;text-decoration:none!important}
.stella-property-category:hover,.stella-property-category:focus,.stella-property-category:visited{color:#fff;text-decoration:none!important}
.stella-property-category img{display:block;width:100%;height:210px;object-fit:cover;transition:transform .3s ease}
.stella-property-category:hover img{transform:scale(1.04)}
.stella-property-category>span{display:flex;justify-content:center;align-items:center;flex:1;min-height:84px;padding:13px;background:var(--stella-primary);color:#fff;text-align:center;font-size:17px;line-height:1.35;font-weight:700;text-decoration:none!important}
.stella-property-category:hover>span{background:var(--stella-primary-dark);color:#fff}
@media(max-width:1100px){.stella-property-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.stella-property-category-grid{grid-template-columns:1fr}.stella-property-category img{height:200px}}

