.timeline-block { max-width: var(--site-content-width); }
.timeline-intro-text {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.timeline-toggle-row {
    display: flex;
    justify-content: center;
    margin: 0 0 12px;
}

.timeline-panel[hidden] { display: none; }

.timeline-interaction-hint {
    display: block;
    width: 100%;
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.3;
    text-align: center;
    text-align-last: center;
}

.timeline-about-card {
    margin: 0 auto 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-soft);
    background: rgba(10, 16, 28, 0.84);
    overflow: hidden;
}

.timeline-about-card summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px;
    min-height: 58px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.timeline-about-card summary::-webkit-details-marker { display: none; }

.timeline-about-summary-main {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.timeline-about-summary-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.timeline-about-preview-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.timeline-about-kicker {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
}

.timeline-about-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 13px;
    border: 1px solid rgba(138, 185, 205, 0.24);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: .78rem;
}

.timeline-about-card[open] .timeline-about-hint { color: var(--accent-hover); }
.timeline-about-card[open] .timeline-about-hint::before { content: "Close"; }
.timeline-about-card[open] .timeline-about-hint { font-size: 0; }
.timeline-about-card[open] .timeline-about-hint::before { font-size: .78rem; }

.timeline-about-preview {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.timeline-about-card[open] .timeline-about-preview { display: none; }
.timeline-about-card[open] .timeline-about-preview-image { display: none; }

.timeline-about-body {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

.timeline-about-body .about-image {
    max-width: 132px;
    margin: 0 18px 10px 0;
    float: left;
}

.timeline-about-body p {
    margin-bottom: 1rem;
    font-size: .88rem;
    line-height: 1.65;
}

.timeline-about-body::after {
    content: "";
    display: block;
    clear: both;
}

.timeline-shell { position: relative; width: 100%; }
.timeline-vertical { position: relative; width: 100%; padding: 8px 0; }
.timeline-vertical::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
    transform: translateX(-50%); background: linear-gradient(to bottom, rgba(138, 185, 205, 0.25), rgba(255, 255, 255, 0.08));
}

.timeline-relations { position: absolute; top: 0; left: 0; overflow: visible; pointer-events: none; z-index: 1; }
.venture-relation-line { fill: none; stroke: rgba(255, 255, 255, 0.11); stroke-width: 2; transition: stroke .2s ease, opacity .2s ease; }
.venture-relation-line.on-path { stroke: rgba(209, 111, 78, 0.28); }
.venture-relation-line-active {
    fill: none; stroke: var(--accent-hover); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 10;
    animation: ventureDash 1.2s linear infinite; filter: drop-shadow(0 0 8px rgba(209, 111, 78, 0.45));
}
.venture-relation-pulse {
    fill: var(--accent-hover);
    opacity: .96;
}

.venture-node { position: relative; width: 100%; margin: 0 0 22px; outline: none; z-index: 2; }
.venture-node:last-child { margin-bottom: 0; }

.venture-node-card {
    position: relative; width: calc(50% - 28px); padding: 14px 14px 12px; border: 1px solid var(--border);
    border-radius: var(--radius-soft); background: rgba(10, 16, 28, 0.96); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; z-index: 3;
}
.venture-node-left .venture-node-card { margin-right: auto; }
.venture-node-right .venture-node-card { margin-left: auto; }

.venture-node:hover .venture-node-card,
.venture-node:focus-within .venture-node-card,
.venture-node.active .venture-node-card {
    transform: translateY(-2px); border-color: rgba(209, 111, 78, 0.65); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); background: rgba(12, 20, 34, 0.985);
}

.venture-node-dot {
    position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; transform: translate(-50%, -50%);
    border-radius: var(--radius-pill); background: var(--bg-color); border: 2px solid rgba(138, 185, 205, 0.7); box-shadow: 0 0 0 10px rgba(8, 11, 20, 0.99);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; z-index: 4;
}

.venture-node:hover .venture-node-dot,
.venture-node:focus-within .venture-node-dot,
.venture-node.active .venture-node-dot {
    border-color: var(--accent-hover); box-shadow: 0 0 0 10px rgba(8, 11, 20, 0.99), 0 0 12px rgba(209, 111, 78, 0.26); transform: translate(-50%, -50%) scale(1.06);
}

.venture-node-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.venture-node-year { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.venture-category-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid rgba(138, 185, 205, 0.26);
    border-radius: var(--radius-pill);
    color: var(--accent);
    background: rgba(138, 185, 205, 0.06);
    font-size: .66rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.venture-node-image {
    display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 70px;
        margin: 0 auto 12px 0;
        object-fit: contain;
        object-position: left;
        border-radius: 6px;
}

.venture-node-title { margin-bottom: 5px; font-size: .96rem; line-height: 1.15; color: #fff; text-align: left; }
.venture-node-meta { margin: 0; font-size: .8rem; line-height: 1.35; color: var(--text-muted); text-align: left; }
.venture-node-meta-empty { min-height: 1.08rem; }

.venture-node-video-slot {
    margin: 12px -14px;
    width: calc(100% + 28px);
    background: #04060b;
    display: block;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.venture-node-video {
    width: 100%;
    display: block;
    object-fit: cover;
}
.venture-node-description {
    max-height: 0; margin-top: 0; overflow: hidden; color: var(--text-muted); font-size: .88rem; line-height: 1.6;
    white-space: normal; transition: max-height .22s ease, margin-top .22s ease, opacity .18s ease; opacity: 0;
}

.venture-node:hover .venture-node-description,
.venture-node:focus-within .venture-node-description,
.venture-node.active .venture-node-description { max-height: 13em; margin-top: 12px; opacity: 1; }

.venture-node-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}
.venture-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 13px;
    border: 1px solid rgba(138, 185, 205, 0.24);
    border-radius: var(--radius-pill);
    background: rgba(12, 18, 31, 0.88);
    color: var(--text-muted);
    font: inherit;
    font-size: .8rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.venture-link.text-link {
    color: var(--text-muted);
    text-decoration: none;
}
.venture-link:hover,
.venture-link:focus-visible,
.venture-link.text-link:hover,
.venture-link.text-link:focus-visible {
    border-color: rgba(209, 111, 78, 0.72);
    color: #fff;
    background: rgba(209, 111, 78, 0.16);
    text-decoration: none;
}
.offline-link { opacity: .68; }
.venture-top-link { flex: 0 0 auto; }

@keyframes ventureDash { to { stroke-dashoffset: -20; } }

@media (max-width: 640px) {
    .timeline-about-card { margin-bottom: 18px; border-radius: 18px; }
    .timeline-about-card summary { grid-template-columns: 1fr auto; min-height: 54px; gap: 8px; padding: 16px 18px; }
    .timeline-about-summary-main { gap: 12px; }
    .timeline-about-preview-image { width: 72px; height: 72px; }
    .timeline-about-body { padding: 0 18px 18px; }
    .timeline-about-body .about-image { max-width: 96px; }
    .timeline-filters {
            margin-bottom: 10px;
            gap: 8px;
            flex-wrap: nowrap;
        }

    .timeline-interaction-hint {
            margin-bottom: 20px;
            font-size: .78rem;
        }
    
        .timeline-filters .menu-link {
            width: auto;
            flex: 1;
            padding: 6px 4px;
            font-size: 0.85rem;
            min-height: 36px;
        }
    .timeline-vertical::before { left: 15px; transform: none; }
    .venture-node { padding-left: 34px; margin-bottom: 16px; }
    .venture-node-card { width: 100%; margin: 0; padding: 12px 12px 10px; border-radius: 18px; }
    .venture-node-left .venture-node-card, .venture-node-right .venture-node-card { margin: 0; }
    
    .venture-node-dot { left: 15px; top: 50%; transform: translate(-50%, -50%); }
    .venture-node:hover .venture-node-dot,
    .venture-node:focus-within .venture-node-dot,
    .venture-node.active .venture-node-dot { transform: translate(-50%, -50%) scale(1.06); }
    
        .venture-node-image {
            max-height: 55px;
            margin-bottom: 8px;
        }
    .venture-node-topline { gap: 8px; margin-bottom: 12px; }
    .venture-category-pill { min-height: 22px; padding-inline: 8px; font-size: .6rem; }
    .venture-node-title { font-size: .9rem; }
    .venture-node-meta, .venture-link, .venture-node-description { font-size: .76rem; }
        .venture-node-video-slot {
            margin: 12px -12px;
            width: calc(100% + 24px);
        }
}
