/* Main site sample feed — matches demo main column (mobile first) */

.feed-wrap {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 640px) {
    .feed-wrap {
        padding: 1.5rem 1.5rem 3rem;
    }
}

.feed-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--surface-2);
    border-radius: 0.5rem;
    padding: 0.25rem;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.feed-tab {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 0.375rem;
    color: #9ca3af;
    cursor: default;
}

.feed-tab--active {
    background: var(--fire-dim);
    color: var(--fire-alt);
}

.feed-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

/* Override mainsite.css global a:hover underline for whole-card links */
a.feed-card,
a.feed-card:hover,
a.feed-card:focus {
    text-decoration: none;
}

a.feed-card:hover,
a.feed-card:focus {
    border-color: #3f4658;
}

a.feed-card:hover *,
a.feed-card:focus * {
    text-decoration: none;
}

.feed-card__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.feed-card__fire {
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.feed-card__fire--hot {
    color: var(--fire-alt);
}

.feed-card__fire--muted {
    color: #9ca3af;
}

.feed-card__media {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #0a0b0f;
}

.feed-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.feed-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

a.feed-card:hover .feed-card__title {
    color: var(--fire-alt);
}

.feed-card__summary {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.feed-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.feed-tag {
    font-size: 0.69rem;
    font-weight: 500;
    color: #9ca3af;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.feed-tag--alert {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
}

.feed-card__stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #6b7280;
    font-family: ui-monospace, monospace;
    margin-bottom: 0.75rem;
}

.feed-card__stats-strong {
    color: var(--brand);
    font-weight: 700;
}

.feed-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.feed-card__ghost-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feed-card__chip {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9ca3af;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.feed-card__chip--fire {
    font-weight: 700;
    color: #9ca3af;
}

.feed-card__chip--fire-active {
    color: var(--fire-alt);
    background: var(--fire-dim);
    border-color: rgba(240, 90, 62, 0.2);
}

.feed-card__chip--support {
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-dim);
    border-color: rgba(34, 214, 163, 0.2);
}
