:root {
    --primary-color: #3333FF;
    --secondary-color: #dc2626;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --dem-color: #3333FF;
    --rep-color: #dc2626;
}

/* Layout & Base Styles */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.comparison-table th.dem-column {
    background-color: rgba(51, 51, 255, 0.1);
}

.comparison-table th.rep-column {
    background-color: rgba(220, 38, 38, 0.1);
}

/* Position Blocks */
.position-dem {
    border-left: 4px solid var(--dem-color);
    padding-left: 0.75rem;
}

.position-rep {
    border-left: 4px solid var(--rep-color);
    padding-left: 0.75rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 20px;
    }
    
    .timeline::after {
        left: 0;
    }
}