/* article-list.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 外层框 */
.outer-box {
    max-width: 880px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 28px 30px;
    border: 1px solid #eef0f2;
}

/* ===== 一级目录 ===== */
.article_list > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article_list > ul > li {
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
    border-bottom: 1px dashed #e9edf2;
    padding: 8px 0 6px 0;
    display: list-item;
    margin-left: 20px;
    padding-left: 4px;
}

.article_list > ul > li::marker {
    color: #2563eb;
    font-size: 1.2rem;
}

.article_list > ul > li:last-of-type {
    border-bottom: none;
}

.article_list > ul > li a {
    text-decoration: none;
    color: #1e293b;
    display: inline-block;
    transition: color 0.15s;
}

.article_list > ul > li a:hover {
    color: #2563eb;
}

.article_list > ul > li a span {
    padding: 2px 15px;
}

.article_list > ul > li:first-child {
    padding-top: 0;
}

.article_list > ul > li:last-child {
    padding-bottom: 0;
}

/* ===== 二级工具列表（两列） ===== */
.sub-list-wrapper {
    margin: 8px 0 4px 0;
    background: transparent;
    padding-left: 0;
}

.sub-list-wrapper,
.row-two-col,
.col-half,
.col-half ul {
    border: none;
    box-shadow: none;
    background: transparent;
}

.row-two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
}

.col-half {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 12px;
    padding-left: 0;
    background: transparent;
}

.col-half:last-child {
    padding-right: 0;
    padding-left: 12px;
}

.col-half ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
    display: block;
}

.col-half ul li {
    padding: 6px 0 6px 0;
    border-bottom: 1px solid #f1f4f8;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1e293b;
    display: list-item;
    list-style: inherit;
    margin-left: 20px;
    padding-left: 4px;
}

.col-half ul li::marker {
    color: #94a3b8;
    font-size: 1rem;
}

.col-half ul li:last-child {
    border-bottom: none;
}

.col-half ul li a {
    text-decoration: none;
    color: #1e293b;
    display: inline-block;
    width: 100%;
    transition: color 0.15s;
}

.col-half ul li a:hover {
    color: #2563eb;
}

.col-half ul li a span {
    display: inline-block;
    padding: 2px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 600px) {
    .outer-box {
        padding: 20px 16px;
    }

    .col-half {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .col-half:last-child {
        padding-left: 0;
        padding-right: 0;
    }

    .col-half:first-child {
        margin-bottom: 6px;
    }

    .row-two-col {
        flex-direction: column;
    }

    .col-half ul li {
        margin-left: 20px;
    }
}