/* ── Collapsible series list: compact article panel ── */
.nl-series-list {
    box-sizing: border-box;
    width: 100%;
    margin: 2em 0;
    border: 1px solid var(--nl-line, var(--neutral-trans-20, #e3e6df));
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}
.nl-series-list__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.9em 1em;
    color: var(--base, #242821);
    font-size: var(--wp--preset--font-size--medium, 20px);
    line-height: 1.2;
    font-weight: 650;
    cursor: pointer;
    user-select: none;
    background: transparent;
    list-style: none;
}
.nl-series-list__toggle:hover,
.nl-series-list__toggle:focus {
    background: rgba(0, 0, 0, 0.025);
    outline: none;
}
.nl-series-list__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1em;
    height: 1em;
    color: var(--nl-muted, #66705f);
    opacity: 0.72;
    transform: rotate(0deg);
    transition: transform 0.25s ease, opacity 0.2s ease;
    margin-left: 1em;
}
.nl-series-list__chevron svg {
    display: block;
    width: 100%;
    height: 100%;
}
.nl-series-list.is-open .nl-series-list__chevron {
    transform: rotate(180deg);
}
.nl-series-list__toggle:hover .nl-series-list__chevron,
.nl-series-list__toggle:focus .nl-series-list__chevron {
    opacity: 0.9;
}
.nl-series-list__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.nl-series-list__body > ul,
.nl-series-list__body > ol {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 1em 0.85em;
    list-style: none !important;
}
.nl-series-list__body li,
.nl-series-list--static > ul > li,
.nl-series-list--static > ol > li {
    position: relative;
    margin: 0;
    padding: 0.75em 0;
    border-top: 1px solid var(--nl-line, #eceee8);
    color: var(--base, #242821);
    font-size: var(--wp--preset--font-size--normal, 16px);
    line-height: 1.35;
    list-style: none !important;
}
.nl-series-list__body li:first-child,
.nl-series-list--static > ul > li:first-child,
.nl-series-list--static > ol > li:first-child {
    border-top: none;
}
.nl-series-list__body a,
.nl-series-list--static > ul > li > a,
.nl-series-list--static > ol > li > a {
    color: var(--base, #242821);
    font-weight: 400;
    text-decoration: none;
}
.nl-series-list__body a:hover,
.nl-series-list--static > ul > li > a:hover,
.nl-series-list--static > ol > li > a:hover {
    text-decoration: none;
}
.nl-series-list .nl-series-current {
    color: var(--base, #242821);
    font-weight: 650;
    opacity: 0.72;
}

.nl-series-excerpt {
    margin-top: 0.35em;
    color: var(--nl-muted, #596252);
    font-size: var(--wp--preset--font-size--normal, 16px);
    font-weight: 400;
    line-height: 1.45;
}

.nl-series-list--static {
    padding: 0.9em 1em;
}
.nl-series-list--static > h2,
.nl-series-list--static > h3,
.nl-series-list--static > h4,
.nl-series-list--static > h5,
.nl-series-list--static > h6 {
    margin: 0 0 0.8em;
    color: var(--base, #242821);
    font-size: var(--wp--preset--font-size--medium, 20px);
    line-height: 1.2;
    font-weight: 650;
}
.nl-series-list--static > ul,
.nl-series-list--static > ol {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

@media (max-width: 600px) {
    .nl-series-list {
        margin: 1.5em 0;
    }
    .nl-series-list__toggle,
    .nl-series-list--static {
        padding: 0.9em 1em;
    }
    .nl-series-list__body > ul,
    .nl-series-list__body > ol {
        padding: 0 1em 0.9em;
    }
}

.nl-series-nav { display: flex; justify-content: space-between; gap: 1em; margin: 1em 0; }
.nl-series-nav__prev { margin-right: auto; }
.nl-series-nav__next { margin-left: auto; }

.nlsm-draft-label {
    font-size: var(--wp--preset--font-size--small, 13px);
    color: #888;
    font-style: italic;
}

/* ── Series Group shortcode ── */
.nl-series-group {
    max-width: 960px;
    margin: 2em auto;
}
.nl-series-group__title {
    margin-bottom: 1.2em;
}
.nl-series-group__item {
    display: flex;
    gap: 1.5em;
    padding: 1.5em 0;
    border-bottom: 1px solid #e0e0e0;
}
.nl-series-group__item:last-child {
    border-bottom: none;
}
.nl-series-group__image-wrap {
    flex: 0 0 280px;
}
.nl-series-group__image-wrap a {
    display: block;
}
.nl-series-group__image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.nl-series-group__content {
    flex: 1;
    min-width: 0;
}
.nl-series-group__series-title {
    margin-top: 0;
}
.nl-series-group__description {
    margin-bottom: 0.8em;
    color: #444;
}
.nl-series-group__articles {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0.5em 0;
}
.nl-series-group__articles li {
    margin-bottom: 0.3em;
}
.nl-series-group__updated {
    font-size: var(--wp--preset--font-size--small, 13px);
    color: #888;
    margin-top: 0.6em;
}
@media (max-width: 600px) {
    .nl-series-group__item {
        flex-direction: column;
    }
    .nl-series-group__image-wrap {
        flex: none;
        max-width: 100%;
    }
}
