minimal-timeline {
    --timeline-bg: rgba(255, 255, 255, 0.95);
    --timeline-border: #e5e7eb;
    --timeline-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --timeline-active-bg: #eff6ff;
    --timeline-active-border: #3b82f6;
    --timeline-active-text: var(--text-color);
    --timeline-hover-bg: #f9fafb;
    --timeline-hover-border: #d1d5db;
    --timeline-text: #374151;
    --timeline-text-muted: #6b7280;
    --timeline-text-light: #9ca3af;
    --timeline-line: #e5e7eb;
    --timeline-line-active: #3b82f6;
}

article.story-body {
	position: relative;
}

article.story-body section {
	scroll-margin-top: 90px;
}


.embed-infographic:has(minimal-timeline) {
    position: sticky;
    top: 0;
    left: 0px;
    width: 100vw;
    max-height: calc(100vh - 100px);
    overflow-y: visible;
    z-index: 1000;
    max-width: 100vw !important;
    padding: 0;
}

@media (max-width: 1350px) {
	.embed-infographic:has(minimal-timeline) {
		padding-bottom: 10px;
		border-bottom: 1px solid var(--timeline-border);
		background: var(--paper-color);
		max-width: var(--story-embed-width) !important;
		padding-right: 0px;
		padding-left: 0px;
	}
}