
.community-shimmer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shimmer-card {
    position: relative;
    height: 160px;
    border-radius: 12px;
    background: #e5e7eb; /* light neutral */
    overflow: hidden;
}

.shimmer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/*optional*/
.shimmer-card {
    height: 200px;
}



.shimmer-card::before {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 60%;
    height: 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.4);
}
.community-feed-wrapper{
	margin:10px 5px;
}

/*Feed CSS */
.community-feed-item {
    max-width: 720px;
    width: 100%;
    background: #ffffff;

    border-radius: 16px;
    padding: 20px 22px;

    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    margin-bottom: 16px;
}


/* Subtle lift on hover */
.community-feed-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05);
}
.community-article-author {
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.3;

    color: #6b21a8; /* brand purple – adjust if needed */

    cursor: pointer;
    text-decoration: none;
}
.community-article-author:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.community-article-author-followup-text {
    font-size: 13.5px;
    font-weight: 400;

    color: #6b7280; /* neutral muted gray */

    margin-left: 4px;
}

.community-feed-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
}


.community-feed-image img {
    max-width: 100%;
    width: 320px;              /* balanced feed size */
    height: auto;
    border-radius: 14px !important;       /* smooth rounded corners */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); /* subtle depth */
    object-fit: cover;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Optional but recommended: gentle hover polish */
.community-feed-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}


.community-article-inline-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 10px;
    height: 52px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.community-article-inline-card:hover {
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.community-article-thumb img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.community-article-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;

    color: #111827; /* near-black, easier on eyes than pure black */

    margin: 0 0 4px 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;

    cursor: pointer;
}
.community-article-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.community-feed-footer {
    display: flex;
	flex-direction:column;
    align-items: center;
    margin-top: 14px;
}

.community-published-article-check-other-work {
    font-size: 14px;
    font-weight: 500;

    color: #555; /* same brand purple as author name */

    margin-top: 12px;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    cursor: pointer;
    text-decoration: none;
}
.community-feed-timestamp {
    font-size: 12.5px;
    font-weight: 400;

    color: #9ca3af; /* light neutral gray */

    margin: auto;

    white-space: nowrap;
}

/* Artist name */
.community-feed-artist-name a {
    font-weight: 600;
    color: #5b2aa6; /* subtle premium accent */
    text-decoration: none;
}

.community-feed-artist-name a:hover {
    text-decoration: underline;
}

/* Action text */
.community-feed-artist-name-after-text {
    color: #555;
    font-size: 14px;
    margin-left: 4px;
}

/* Artwork title */
.community-feed-artwork-title {
    font-size: 16px;
    font-weight: 500;
    margin-top: 6px;
    color: #222;
    line-height: 1.4;
}

/* Artform / category */
.community-feed-artform-category {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
    background: #f1f3f5;
    padding: 3px 8px;
    border-radius: 999px;
}