/* Consistent compact reference presentation */
.references-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.reference-card{background:#000;border:1px solid #242424;border-radius:3px;overflow:hidden}
.reference-logo,.reference-logo.dark,.home-brand .reference-logo{height:170px;padding:0;background:#000!important;border:0}
.reference-logo img,.home-brand .reference-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;filter:none;transform:none}
.reference-text{background:#000;color:#f5f5f2;border-top:1px solid #242424;padding:16px;min-height:80px}
.reference-text h2{font-size:18px;line-height:1.3;color:inherit}
.reference-text>span{font-size:20px;color:#b7a18c}
.reference-brand:hover .reference-text h2{color:#e8b28c}
.reference-project-link{background:#000;color:#cdbba8;border-top:1px solid #242424}
.home-brand{background:#000;border-color:#242424;color:#f5f5f2}
.home-brand .reference-logo{height:125px}
@media(max-width:1100px){.references-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.reference-logo{height:155px}}
@media(max-width:760px){.references-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reference-logo{height:140px}.reference-text{padding:12px;min-height:75px}.reference-text h2{font-size:16px}.home-brand .reference-logo{height:115px}}
@media(max-width:520px){.references-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reference-logo{height:125px}.reference-text h2{font-size:15px}.reference-text{min-height:75px}.home-brand .reference-logo{height:110px}}

.reference-logo img[src$="/istankoy.webp"],.reference-logo img[src$="/marca.webp"],.reference-logo img[src$="/agora-insaat.webp"],.reference-logo img[src$="/capital.webp"]{filter:brightness(1.65)}
