

    .auto-wrapper{
        padding: 0px 20px 0px 20px;
        text-align: center;

        background-color: #1f1f1f;
        color: #e0e0e0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .auto-wrapper h2 {
        font-weight: 600;
        font-size: 2em;
        color: #f0f0f0;
        text-align: center;
        margin: 0;
    }

    .auto-wrapper p {
        margin: 5px;
        font-size: 1.25rem;
    }

    .auto-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 33%), 1fr));
            max-width: 1200px;
        width: 100%;

        column-gap: 20px; /* alleen horizontale gap */
        row-gap: 0;       /* verticale gap uitschakelen */
    }


    /* Responsive: op smalle schermen 1 of 2 per rij */
    @media (min-width: 1350px) {
        .auto-container {
            grid-template-columns: repeat(3, 2fr);
        }
    }

    /* Responsive: op smalle schermen 1 of 2 per rij */
    @media (max-width: 1350px) {
        .auto-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 1200px) {
        .auto-container {
            grid-template-columns: 1fr;
        }
    }

    .auto-item {
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .expected-date {
        font-size: 0.85em;
        color: #aaa;
        margin-bottom: 10px;
    }

    .auto-details {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .auto-details div, .auto-details h4 {
        font-size: 1em;
        color: #e0e0e0;
    }

    .auto-details h4 {
        margin-top: 15px;
        margin-bottom: -5px;
        font-weight: 600;
        color: #ccc;
        font-size: 0.95em;
    }

    .kilometerstand {
        font-size: 0.9em;
        color: #bbb;
    }

