#patch-notes-page section:nth-child(2) {
    min-height: 500px;
    margin-bottom: 5vh;
}

.patch-notes-empty,
.patch-notes-timeline-shell {
    max-width: 980px;
}

.patch-notes-timeline-shell {
    background: transparent;
}

.timeline-entry {
    position: relative;
    margin-bottom: 2.2rem;
}

#release-notes {
    position: relative;
}

#release-notes::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(65px / 2);
    z-index: 0;
    width: 2px;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.12) 16px,
        rgba(255, 255, 255, 0.12) calc(100% - 16px),
        rgba(255, 255, 255, 0)
    );
}

.timeline-decorator::before {
    display: none;
}

.version-badge {
    position: relative;
    z-index: 2;
    min-width: 65px;
    padding: 0.32rem 0.42rem;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    text-transform: capitalize;
}

.patch-note-category--site {
    background: #7f41df;
}

.patch-note-category--server {
    background: #d95a5a;
}

.patch-note-date {
    color: var(--bs-heading-color, var(--bs-body-color));
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
}

.patch-note-date-meta {
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
}

.change-log {
    margin-left: 74px;
}

.patch-item-badge {
    min-width: 65px;
    max-width: 100%;
    flex: 0 1 auto;
    margin-right: 8px;
    padding: 0.25rem 0.32rem;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.62rem;
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
}

.timeline-item-text {
    color: var(--bs-body-color);
    font-size: 0.98rem;
    line-height: 1.35;
}

.timeline-items .text-bg-success {
    background-color: #1ea64a;
}

.timeline-items .text-bg-primary {
    background-color: #0b6ddf;
}

.timeline-items .text-bg-danger {
    background-color: #1b7ce8;
}

.timeline-items .text-bg-secondary {
    background-color: #6a7287;
}

.timeline-items .text-bg-info {
    background-color: #12a8a2;
    color: #fff;
}

@media (max-width: 767.98px) {
    #patch-notes-page > div:first-child {
        margin-top: 70px;
    }

    .patch-notes-page {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    #release-notes::before {
        left: calc((65px / 2) + 5px);
    }

    .patch-note-date {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .change-log {
        margin-left: 0;
        padding-left: 4rem;
    }

    .patch-item-badge {
        min-width: 70px;
        max-width: 100%;
        flex: 0 1 auto;
    }

    .timeline-item-text {
        font-size: 0.86rem;
    }

    .timeline-decorator,
    .release-note {
        padding-left: 0.2rem;
    }
}
