/* Collections - Photo gallery component */

.photo-gallery {
    width: 100%;
}

.photo-gallery-empty {
    min-height: 12rem;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .photo-gallery-grid {
        gap: 1.5rem;
    }
}

.photo-gallery-item {
    margin: 0;
}

.photo-gallery-link {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.photo-gallery-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.photo-gallery-link:focus-visible {
    outline: 2px solid #b45309;
    outline-offset: 2px;
}

.photo-gallery-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.photo-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-gallery-link:hover .photo-gallery-image {
    transform: scale(1.05);
}

.photo-gallery-caption {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.photo-gallery-title {
    font-weight: 600;
    color: #111827;
    font-size: 0.9375rem;
}

.photo-gallery-category {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}
