@charset "utf-8";
/* CSS Document */

/* === BASIS STYLES (DESKTOP & STANDAARD) === */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    margin: 0;
    padding: 30px 15px;
}
h2 { text-align: center; font-size: 24px; margin-bottom: 5px; }
p.subtitle { text-align: center; color: #64748b; font-size: 14px; margin-bottom: 35px; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 172px);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}
.brand-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-sizing: border-box;
    width: 172px;
    height: 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    transition: all 0.2s ease-in-out;
}
.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    border-color: #2563eb;
}
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    flex-shrink: 0;
}
.logo-svg { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}


/* === MEDIA QUERY VOOR TELEFOONS (Schermen tot 480px) === */
@media screen and (max-width: 480px) {
    h2 { font-size: 20px; }
    p.subtitle { font-size: 13px; margin-bottom: 20px; }
    
    /* Herschreven naar Flexbox zodat oude editors niet gaan klagen */
    .grid-container { 
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .brand-card { 
        width: calc(50% - 5px); /* Precies de helft van het scherm minus de helft van de gap */
        height: 110px; 
        padding: 10px 6px; 
    }
    .logo-box { height: 55px; }
}
