.nextnodechangelog-page,
.nextnodechangelog-detail {
    width: min(100% - 32px, 1120px);
    margin: 40px auto 64px;
    color: #172033;
}

.nextnodechangelog-header {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #e2e7ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.nextnodechangelog-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2455a6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nextnodechangelog-header h1,
.nextnodechangelog-detail h1 {
    margin: 0;
    color: #131c2e;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.nextnodechangelog-intro {
    max-width: 720px;
    margin: 12px 0 22px;
    color: #5b687b;
    font-size: 17px;
    line-height: 1.65;
}

.nextnodechangelog-search-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nextnodechangelog-search-box {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 2px 15px;
    border: 1px solid #ccd5df;
    border-radius: 10px;
    background: #f8fafc;
}

.nextnodechangelog-search-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.search-icon {
    margin-right: 10px;
    color: #64748b;
}

#nextnode-search {
    width: 100%;
    height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
}

.nextnodechangelog-clear {
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #178c49;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.nextnodechangelog-clear:hover {
    background: #11763c;
}

.nextnodechangelog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 18px;
}

.nextnodechangelog-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.nextnodechangelog-card:hover {
    border-color: #b9c8dc;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
    transform: translateY(-3px);
}

.card-meta-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.card-badge,
.card-featured {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.card-badge {
    background: #e8f0ff;
    color: #2458bd;
}

.card-featured {
    background: #fff2d8;
    color: #925113;
}

.nextnodechangelog-card h2 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.25;
}

.nextnodechangelog-card h2 a {
    color: #172033;
    text-decoration: none;
}

.nextnodechangelog-card h2 a:hover {
    color: #1d5ac5;
}

.card-subtitle,
.nextnodechangelog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #718096;
    font-size: 14px;
}

.card-subtitle {
    margin-bottom: 15px;
}

.card-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
}

.card-excerpt {
    flex: 1;
    margin: 0 0 20px;
    color: #445066;
    line-height: 1.65;
    white-space: normal;
}

.card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf0f3;
}

.nextnodechangelog-page .btn-outline {
    display: inline-flex;
    padding: 9px 14px;
    border: 1px solid #bad0f5;
    border-radius: 9px;
    background: #f4f8ff;
    color: #1e58bb;
    font-weight: 700;
    text-decoration: none;
}

.nextnodechangelog-page .btn-outline:hover {
    border-color: #8fb2ed;
    background: #eaf2ff;
}

.nextnodechangelog-detail {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #dfe5ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.nextnodechangelog-detail h1 {
    margin-bottom: 13px;
}

.nextnodechangelog-meta {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9edf2;
}

.nextnodechangelog-content {
    color: #354158;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    white-space: normal;
}

.nextnodechangelog-content p {
    margin: 0 0 1em;
}

.nextnodechangelog-content strong,
.nextnodechangelog-content b {
    color: #172033;
    font-weight: 700;
}

.nextnodechangelog-content em,
.nextnodechangelog-content i {
    font-style: italic;
}

.nextnodechangelog-content u {
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .15em;
}

.nextnodechangelog-content ul,
.nextnodechangelog-content ol {
    display: block;
    margin: .75em 0 1.2em;
    padding-left: 1.6em;
}

.nextnodechangelog-content ul {
    list-style: disc outside !important;
}

.nextnodechangelog-content ol {
    list-style: decimal outside !important;
}

.nextnodechangelog-content li {
    display: list-item;
    margin-bottom: .45em;
}

.nextnodechangelog-content a {
    color: #1d5ac5;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.nextnodechangelog-content a:hover {
    color: #123f8c;
}

.nextnodechangelog-detail-footer {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #e9edf2;
}

.nextnodechangelog-back {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid #bad0f5;
    border-radius: 9px;
    background: #f4f8ff;
    color: #1e58bb;
    font-weight: 700;
    text-decoration: none;
}

.nextnodechangelog-back:hover {
    border-color: #8fb2ed;
    background: #eaf2ff;
    color: #174793;
}

.nextnodechangelog-empty {
    margin-top: 18px;
    padding: 26px;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: #fff;
    color: #536176;
    text-align: center;
}

.nextnodechangelog-empty--hidden {
    display: none;
}

.empty-hero {
    margin-bottom: 8px;
    color: #172033;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .nextnodechangelog-page,
    .nextnodechangelog-detail {
        width: min(100% - 20px, 1120px);
        margin-top: 22px;
    }

    .nextnodechangelog-header,
    .nextnodechangelog-card {
        padding: 20px;
    }

    .nextnodechangelog-search-wrapper {
        align-items: stretch;
        flex-direction: column;
    }

    .nextnodechangelog-clear {
        width: 100%;
    }
}
