/* Shared styles for the three right-hand columns: Social Media, Podcasts, Agencies.
   Replaces the previous `storycard--compact-small` variant so all three columns
   are controlled from this single stylesheet. */

.storycard--columns-small {
    /* container-level adjustments kept here if needed */
}

/* Per-card root */
.storycard--columns-small .product-card,
.storycard--columns-small .product-card.storycard--columns-small__card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.5rem;
    align-items: flex-start;
}

/* Image area */
.storycard--columns-small .product-card .product-image {
    position: relative;
    width: 90px;
    min-width: 90px;
    overflow: hidden;
    border-radius: 6px;
    flex: 0 0 90px;
    height: 64px;
}

.storycard--columns-small .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* small badges container */
.storycard--columns-small .product-card .product-badges,
.storycard--columns-small .product-card .product-badge {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    z-index: 2;
}

/* Info block */
.storycard--columns-small .product-card .product-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1 1 auto;
    min-width: 0;
}

.storycard--columns-small .product-card .product-name {
    font-size: 0.95rem;
    color: #111;
    margin: 0;
    line-height: 1.4;
}

.storycard--columns-small .product-card .product-rating {
    font-size: 0.85rem;
    color: var(--muted, #666);
}

.storycard--columns-small .product-card .current-price {
    font-size: 0.82rem;
    color: var(--muted, #666);
}

/* placeholder shimmer */
.storycard--columns-small .product-card.placeholder {
    background: linear-gradient(90deg, #f6f6f6 25%, #f0f0f0 37%, #f6f6f6 63%);
    background-size: 400% 100%;
    animation: placeholder-shimmer 1.4s ease infinite;
}

@keyframes placeholder-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

/* Responsive: stack card vertically on small screens */
@media (max-width: 767.98px) {
    .storycard--columns-small .product-card {
        flex-direction: column;
        align-items: stretch;
    }
    .storycard--columns-small .product-card .product-image {
        width: 100%;
        min-width: auto;
        height: 160px;
        flex: 0 0 auto;
    }
}
