﻿.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.photo-card {
    background: #2b2b51;
    border-radius: 2rem;
    corner-shape: squircle;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

    .photo-card:hover {
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.photo-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.8rem;
}

    .photo-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.photo-meta {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;

}

.photo-meta-username {
    font-weight: 700;
    color: #111;
    font-family: Title;
}

.photo-meta-track {
    color: #888;
    font-family: SubHeader;

}

.photo-meta-tagged {
    color: #aaa;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
