/* Model Grid Styles */
.cca-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.cca-model-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cca-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cca-model-card a {
    text-decoration: none;
    color: inherit;
}

.cca-model-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.cca-model-info {
    padding: 10px;
    background-color: #f8f8f8;
}

.cca-model-name {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.cca-model-age,
.cca-model-category,
.cca-model-source {
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
    color: #666;
}

.cca-model-source {
    float: right;
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cca-models-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .cca-model-image {
        height: 150px;
    }
}