/* ── Changelog page ─────────────────────────────────────────── */

.changelog-list {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 0 8px;
    position: relative;
}

.changelog-list::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
    z-index: 0;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    position: relative;
}

/* ── Timeline dot ────────────────────────────────────────────── */
.changelog-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 14px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.changelog-dot.dot-feature  { background: #0cada2; border: 2px solid #fff; box-shadow: 0 0 0 2px #0cada2; }
.changelog-dot.dot-fix      { background: #dc3545; border: 2px solid #fff; box-shadow: 0 0 0 2px #dc3545; }
.changelog-dot.dot-upcoming { background: #fff;    border: 2px dashed #adb5bd; }

/* ── Entry card ──────────────────────────────────────────────── */
.changelog-strip {
    flex: 1 1 auto;
    background: #ffffff;
    border-left: 5px solid #6c757d;
    border-radius: 4px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.changelog-strip.border-feature  { border-left-color: #0cada2; }
.changelog-strip.border-fix      { border-left-color: #dc3545; }
.changelog-strip.border-upcoming { border-left-style: dashed; border-left-color: #adb5bd; }

/* ── Header row (title + tags) ───────────────────────────────── */
.changelog-strip-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.changelog-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.changelog-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

/* ── Tag pills ───────────────────────────────────────────────── */
.changelog-tags {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
    margin-top: 3px;
}

.changelog-tag {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 10px;
    line-height: 1.7;
}

.tag-feature { background: #e6f7f6; color: #0cada2; border: 1px solid #0cada2; }
.tag-fix     { background: #fde8ea; color: #dc3545; border: 1px solid #dc3545; }

/* ── Item list ───────────────────────────────────────────────── */
.changelog-items {
    margin: 0;
    padding-left: 18px;
    font-size: 0.88rem;
    color: #495057;
    line-height: 1.65;
}

.changelog-items li {
    margin-bottom: 3px;
}

.changelog-items li:last-child {
    margin-bottom: 0;
}

/* ── Roadmap note (upcoming entry) ──────────────────────────── */
.changelog-roadmap-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #888;
    font-style: italic;
}

.changelog-roadmap-note a {
    color: #0cada2;
    text-decoration: none;
}

.changelog-roadmap-note a:hover {
    text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 740px) {
    .changelog-list {
        padding-left: 4px;
        padding-right: 4px;
    }

    .changelog-strip {
        padding: 12px 12px;
    }
}
