/* Gallery Grid Layout */
.coloring-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns on Mobile for better UX */
    gap: 15px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .coloring-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .coloring-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 Columns on Desktop to reduce size */
        gap: 25px;
    }
}

/* Card Styling */
.coloring-gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e2e8f0;
    /* Light gray */
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    background: #fff;
}

.coloring-gallery-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transform: translateY(-2px);
}

/* Image Styling */
.coloring-gallery-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
}

/* Button Group */
.coloring-gallery-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.coloring-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
    text-decoration: none;
    color: white;
}

.btn-print {
    background-color: #3b82f6;
    /* Blue */
}

.btn-print:hover {
    background-color: #2563eb;
}

.btn-pdf {
    background-color: #ef4444;
    /* Red */
}

.btn-pdf:hover {
    background-color: #dc2626;
}

/* Icons (using generic ASCII or if FontAwesome is available, but simple text/emoji works too) */
.btn-icon {
    margin-right: 5px;
}