/* --- Basis & Layout --- */
.changelog-layout {
    display: grid;
    grid-template-columns: 1fr 280px; /* Hoofdinhoud | Sidebar */
    gap: 64px;
    padding-top: 150px; /* Ruimte voor fixed header */
    padding-bottom: 80px;
    align-items: start;
}

.changelog-header {
    margin-bottom: 48px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
}
.changelog-header h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
}
.changelog-header p {
    font-size: 18px;
    color: #555;
    margin-top: 16px;
}

/* --- Changelog Entries --- */
.changelog-entry {
    margin-bottom: 48px;
    scroll-margin-top: 100px; /* Offset voor scrollen */
}
.changelog-entry h2 a {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
}
.changelog-entry time {
    display: block;
    color: #666;
    font-size: 14px;
    margin: 4px 0 16px;
}
.changelog-entry ul {
    list-style: none;
    padding-left: 0;
}
.changelog-entry li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

/* --- Gekleurde Tags --- */
.change-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
    white-space: nowrap;
}
.change-tag::before { /* Dit is het bolletje */
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.tag-feature { color: #166534; background-color: #dcfce7; } /* Groen */
.tag-feature::before { background-color: #22c55e; }

.tag-improvement { color: #1d4ed8; background-color: #dbeafe; } /* Blauw */
.tag-improvement::before { background-color: #3b82f6; }

.tag-fix { color: #9a3412; background-color: #ffedd5; } /* Oranje */
.tag-fix::before { background-color: #f97316; }

/* --- Rechter Sidebar Navigatie --- */
.changelog-nav {
    position: sticky;
    top: 100px;
}
.changelog-nav h4 {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}
#changelog-nav-list {
    list-style: none;
    padding-left: 0;
    border-left: 1px solid #e5e7eb;
}
#changelog-nav-list li a {
    display: block;
    padding: 6px 16px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    margin-left: -1px;
}
#changelog-nav-list li a:hover { color: #1a1a1a; }
#changelog-nav-list li a.nav-active {
    color: #007aff;
    font-weight: 600;
    border-left-color: #007aff;
}

/* --- Responsive Design voor Changelog --- */
@media (max-width: 992px) {
    .changelog-layout {
        grid-template-columns: 1fr;
    }
    .changelog-nav {
        display: none; /* Verberg sidebar op kleinere schermen */
    }
    .changelog-header h1 {
        font-size: 40px;
    }
}