﻿.art-grid
{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

.art-grid th, .art-grid td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
    min-width: 150px; /* ✅ Prevent columns from shrinking */
    max-width: 400px; /* ✅ Ensure readability */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.art-grid th {
    background-color: #005ea2;
    color: white;
}

.art-grid tr:nth-child(even) {
    background-color: #f9f9f9;
}

.art-grid tr:hover {
    background-color: #f1f1f1;
}

/* ✅ Ensure images align properly */
.image-cell {
    width: 150px;
    height: 150px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}

.art-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    display: block;
    object-fit: contain;
}

/* ✅ Fix for smaller screens */
@media (max-width: 768px) {
    .art-grid th,
    .art-grid td {
        min-width: 100px; /* ✅ Prevents columns from shrinking too much */
    }

    .art-image {
        max-height: 100px; /* ✅ Adjust image size for mobile */
    }
}



