/*

Theme Name: VMS Automotive

Theme URI:

Description:

Author:

Author URI:

Template: oceanwp

Version:

Text Domain:

*/



/* Your custom CSS goes below */

/* Body Type Grid */

.body-type-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.body-type-card {
    text-align: center;
    text-decoration: none;
    background: #000;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.body-type-card img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
}

.body-type-card h3 {
    color: #fff;
    font-size: 28px;
    margin: 15px 0 8px;
    font-weight: 600;
}

.body-type-card p {
    color: #9b00ff;
    font-size: 14px;
    margin: 0;
}

.body-type-card:hover {
    transform: translateY(-5px);
}

/* Sold Cars */
.sold-car-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sold-car-card {
    overflow: hidden;
    border-radius: 12px;
    background-color: #141414;
    padding: 16px;
}

.sold-car-image img {
    width: 100%;
    display: block;
    height: 280px !important;
    object-fit: cover;
    border-radius: 12px !important;
}

.sold-car-content {
    padding-top: 15px;
}

.sold-car-title {
    margin: 0 0 10px;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.sold-car-excerpt {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .body-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sold-car-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sold-car-image img {
        width: 100%;
        display: block;
        height: 245px !important;
        object-fit: cover;
        border-radius: 12px !important;
    }
}

@media (max-width: 767px) {
    .body-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sold-car-grid {
        grid-template-columns: 1fr;
    }

    .sold-car-title {
        font-size: 22px;
    }

    .sold-car-image img {
        width: 100%;
        display: block;
        height: 200px !important;
        object-fit: cover;
        border-radius: 12px !important;
    }
}