/* ================= FEED ================= */
#feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.18s;
}
.feed-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.11);
}

/* HEAD */
.feed-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 16px 12px;
}

.feed-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.feed-card__info {
    flex: 1;
    min-width: 0;
}

.feed-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-card__desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* TAGS */
.feed-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.feed-tag {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    white-space: nowrap;
}

/* PHOTOS */
.feed-card__photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 0 2px 2px;
}

.feed-card__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.feed-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= LOADER ================= */
#feed-loader {
    text-align: center;
    padding: 20px;
    color: #aaa;
    font-size: 14px;
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
    .feed-card__photos {
        grid-template-columns: repeat(2, 1fr);
    }

    .feed-card__photo--hide-mobile {
        display: none;
    }

    .feed-card__head {
        padding: 14px 14px 10px;
    }
}