/* NitroShock Changelog Styles */

/* ── Main page: filter bar ─────────────────────────────────────────────────── */
.ns-changelog {
    font-family: inherit;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px;
}

.ns-cl-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ns-cl-filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
    color: inherit;
    letter-spacing: .02em;
}

.ns-cl-filter-btn:hover {
    border-color: rgba(255,255,255,.5);
}

.ns-cl-filter-btn.active {
    background: #fff;
    border-color: #fff;
    color: #111;
    font-weight: 600;
}

/* ── Timeline ───────────────────────────────────────────────────────────────── */
.ns-cl-timeline {
    position: relative;
    padding-left: 28px;
}

.ns-cl-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255,255,255,.12);
    border-radius: 2px;
}

.ns-cl-entry {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
}

.ns-cl-entry::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4f7ef7;
    border: 2px solid #0e0e0e;
    box-shadow: 0 0 0 2px #4f7ef7;
}

.ns-cl-entry[data-product="page-builder"]::before {
    background: #22c07e;
    box-shadow: 0 0 0 2px #22c07e;
}

/* ── Entry header ───────────────────────────────────────────────────────────── */
.ns-cl-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ns-cl-version {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: rgba(255,255,255,.1);
    padding: 3px 9px;
    border-radius: 4px;
    color: inherit;
    opacity: .85;
}

.ns-cl-product-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    letter-spacing: .02em;
}

.ns-cl-type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    letter-spacing: .02em;
}

.ns-cl-date {
    font-size: 12px;
    opacity: .45;
    margin-left: auto;
}

/* ── Entry title ────────────────────────────────────────────────────────────── */
.ns-cl-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    color: inherit;
}

.ns-cl-title a {
    color: inherit;
    text-decoration: none;
}

.ns-cl-title a:hover {
    opacity: .75;
}

/* ── Entry body (shortcode list view) ───────────────────────────────────────── */
.ns-cl-body {
    font-size: 14px;
    line-height: 1.7;
    opacity: .8;
}

.ns-cl-body > p:first-child {
    margin-top: 0;
}

.ns-cl-body h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 18px 0 8px;
    opacity: .55;
    color: inherit;
}

.ns-cl-body ul {
    margin: 0 0 10px;
    padding-left: 18px;
    list-style: disc;
}

.ns-cl-body li {
    margin-bottom: 5px;
    padding-left: 2px;
}

/* ── Single entry page ──────────────────────────────────────────────────────── */
.ns-cl-single-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
}

.ns-cl-single-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.ns-cl-single-header .ns-cl-meta {
    margin-bottom: 14px;
}

.ns-cl-single-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.ns-cl-single-body {
    font-size: 15px;
    line-height: 1.75;
    opacity: .85;
}

.ns-cl-single-body > p:first-child {
    font-size: 16px;
    opacity: 1;
    margin-top: 0;
}

.ns-cl-single-body h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 28px 0 10px;
    opacity: .5;
    color: inherit;
}

.ns-cl-single-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
    list-style: disc;
}

.ns-cl-single-body li {
    margin-bottom: 7px;
    padding-left: 3px;
}

.ns-cl-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: .5;
    text-decoration: none;
    color: inherit;
    margin-bottom: 28px;
    transition: opacity .15s;
}

.ns-cl-back:hover {
    opacity: 1;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .ns-cl-date {
        margin-left: 0;
        width: 100%;
        order: 10;
    }
    .ns-cl-single-header h1 {
        font-size: 24px;
    }
}
