/* 只作用于短代码正文；宽度、侧栏与分页外观继续使用 JustNews。 */
.entry-content .jnc-post-archives {
    margin: 24px 0;
    text-indent: 0;
}

.entry-content .jnc-post-archives .jnc-archives-year-title {
    margin: 32px 0 20px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--theme-line-color, #eee);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.entry-content .jnc-post-archives .jnc-archives-year:first-child .jnc-archives-year-title {
    margin-top: 0;
}

.entry-content .jnc-post-archives .jnc-archives-month-title {
    margin: 24px 0 8px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 3px solid var(--theme-color, #1677ff);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

.entry-content .jnc-post-archives .jnc-archives-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry-content .jnc-post-archives .jnc-archives-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    padding: 9px 0;
    line-height: 1.7;
}

.jnc-archives-date {
    flex: 0 0 3.5em;
    color: var(--theme-gray-color, #888);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.entry-content .jnc-post-archives .jnc-archives-link {
    min-width: 0;
    color: inherit;
    border: 0;
    overflow-wrap: anywhere;
}

.entry-content .jnc-post-archives .jnc-archives-link:hover,
.entry-content .jnc-post-archives .jnc-archives-link:focus-visible {
    color: var(--theme-hover, var(--theme-color, #1677ff));
}

@media (max-width: 767px) {
    .entry-content .jnc-post-archives .jnc-archives-item {
        gap: 10px;
        padding: 8px 0;
    }

    .entry-content .jnc-post-archives .jnc-archives-year-title {
        font-size: 21px;
    }
}
