/* ============================================
   CHANGELOG PAGE
   ============================================ */

.cl-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.cl-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cl-header h2 i { color: var(--primary-color); }

.cl-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.cl-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cl-entry {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border-left: 2px solid var(--gray-200);
    margin-left: 0.75rem;
}

.cl-entry::before {
    content: '';
    position: absolute;
    left: -0.45rem;
    top: 1.75rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid var(--card-bg);
}

.cl-entry--latest::before {
    background: var(--primary-color);
    width: 14px;
    height: 14px;
    left: -0.5rem;
}

.cl-entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.cl-version {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cl-badge-latest {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
}

.cl-date {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cl-date i { color: var(--primary-color); font-size: 0.75rem; }

.cl-summary {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.cl-changes {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cl-changes li {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Dark mode */
[data-theme="dark"] .cl-header {
    border-color: #475569;
}

[data-theme="dark"] .cl-header h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .cl-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .cl-entry {
    border-color: #475569;
}

[data-theme="dark"] .cl-entry::before {
    background: #64748b;
    border-color: #1e293b;
}

[data-theme="dark"] .cl-entry--latest::before {
    background: #3b82f6;
    border-color: #1e293b;
}

[data-theme="dark"] .cl-version {
    color: #f1f5f9;
}

[data-theme="dark"] .cl-date {
    color: #64748b;
}

[data-theme="dark"] .cl-summary {
    color: #cbd5e1;
}

[data-theme="dark"] .cl-changes li {
    color: #94a3b8;
}

@media (max-width: 480px) {
    .cl-date { margin-left: 0; }
}
