/* WP-D2 - templates/portfolio/work_feed.html only.
 *
 * Every selector here is scoped under .wf-page and every class is prefixed
 * wf- deliberately, for the same reason static/css/portfolio_projects.css
 * gives for its pp- prefix: keeping a new page's layout independent of any
 * unrelated, unprefixed classes a legacy CSSStyle row might carry. Palette,
 * layout numbers and selectors are carried over from
 * docs/mockup_projects_and_workfeed.html's own <style> block (the
 * "functional" /work-feed rules only - the mockup's own documentation
 * chrome such as .viewport/.tag/.wire/.ruling is not reproduced here).
 */

.wf-page {
    --wf-dark-bg: #0B0C10;
    --wf-primary: #66FCF1;
    --wf-secondary: #45A29E;
    --wf-highlight: #A020F0;
    --wf-text: #C5C6C7;
    --wf-text-muted: #8f9ba8;
    --wf-purple-accent: #a78bfa;
    --wf-card-bg: #11141a;
}

.wf-btn-primary {
    background: linear-gradient(135deg, var(--wf-primary), #4ad8d0);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 252, 241, 0.3);
    color: #000;
}

.wf-heading {
    color: #fff;
    font-weight: 700;
}

.wf-lead {
    color: var(--wf-text-muted);
}

.wf-divider {
    border-color: rgba(255, 255, 255, 0.07);
    margin: 0 0 2rem;
}

.wf-feed-crosslink {
    font-size: 0.85rem;
    color: var(--wf-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 252, 241, 0.3);
}

.wf-feed-crosslink:hover {
    border-bottom-color: var(--wf-primary);
}

/* ---------- feed list ---------- */
.wf-feed-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.wf-feed-item {
    display: flex;
    gap: 1.25rem;
}

.wf-feed-rail {
    position: relative;
    width: 2px;
    flex-shrink: 0;
    margin-left: 5px;
    background: linear-gradient(180deg, rgba(102, 252, 241, 0.35), rgba(160, 32, 240, 0.22));
}

.wf-feed-item:last-child .wf-feed-rail {
    background: linear-gradient(180deg, rgba(102, 252, 241, 0.25), rgba(11, 12, 16, 0));
}

.wf-feed-dot {
    position: absolute;
    top: 0.4rem;
    left: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--wf-dark-bg);
    border: 2px solid var(--wf-primary);
}

.wf-feed-body {
    flex-grow: 1;
    padding-bottom: 2.25rem;
    min-width: 0;
}

.wf-feed-date {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--wf-primary);
}

.wf-feed-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0.25rem 0 0.5rem;
}

.wf-feed-summary {
    color: var(--wf-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.wf-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.75rem;
    color: var(--wf-text-muted);
}

.wf-entry-type {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    border: 1px solid;
    white-space: nowrap;
}

.wf-et-milestone {
    color: var(--wf-primary);
    border-color: rgba(102, 252, 241, 0.4);
    background: rgba(102, 252, 241, 0.1);
}

.wf-et-release {
    color: var(--wf-purple-accent);
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.12);
}

.wf-et-canto {
    color: var(--wf-secondary);
    border-color: rgba(69, 162, 158, 0.45);
    background: rgba(69, 162, 158, 0.1);
}

.wf-et-spike {
    color: var(--wf-text-muted);
    border-color: rgba(143, 155, 168, 0.35);
    background: rgba(143, 155, 168, 0.1);
}

.wf-project-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.wf-project-chip a {
    color: var(--wf-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 252, 241, 0.3);
}

.wf-project-chip a:hover {
    border-bottom-color: var(--wf-primary);
}

.wf-project-chip.unresolved {
    color: var(--wf-text-muted);
}

.wf-feed-tag {
    font-size: 0.68rem;
    color: var(--wf-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 0.05rem 0.4rem;
}

.wf-feed-more {
    font-size: 0.78rem;
    color: var(--wf-purple-accent);
    text-decoration: none;
}

.wf-feed-more:hover {
    color: var(--wf-primary);
}

/* ---------- empty state ---------- */
.wf-empty-state {
    border: 1px dashed rgba(102, 252, 241, 0.2);
    border-radius: 12px;
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--wf-card-bg);
}

.wf-empty-state .wf-empty-icon {
    font-size: 2.5rem;
    color: rgba(102, 252, 241, 0.35);
    margin-bottom: 0.75rem;
}

.wf-empty-state h3 {
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
}

.wf-empty-state p {
    color: var(--wf-text-muted);
    font-size: 0.9rem;
    max-width: 34rem;
    margin: 0.5rem auto 1.25rem;
}
