
/* =========================================
   GALLERY FEED
========================================= */

.gallery-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================
   GALLERY CARD
========================================= */

.gallery-card {
    padding: 18px;

    background: var(--white);
    border: 1px solid rgba(35, 34, 30, 0.15);
    border-radius: 8px;

    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gallery-card:hover {
    border-color: var(--red);
}


/* HEADER */

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;
}

.gallery-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gallery-header-left > i {
    color: var(--red);
}

.gallery-header h3 {
    margin: 0;
    font-size: 14px;
}

.gallery-header span {
    font-size: 10px;
    color: var(--muted);
}

.gallery-category {
    padding: 4px 8px;

    background: rgba(180, 51, 31, 0.08);
    color: var(--red);

    border-radius: 4px;
    white-space: nowrap;
}


/* PREVIEW IMAGES */

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-preview-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
    background: #dddddd00;
}

.gallery-preview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-preview-image img {
    transform: scale(1.04);
}


/* FOOTER */

.gallery-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin-top: 14px;
}

.gallery-card-footer p {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
}

.gallery-count {
    color: var(--red);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 600px) {
    .gallery-card {
        padding: 13px;
    }

    .gallery-header h3 {
        font-size: 12px;
    }

    .gallery-header span {
        font-size: 9px;
    }
}
