/* 文章页补充块（N19）：目录 / 更新说明 / 文末功能入口 / 文章 FAQ；规则限定在 .ar- 前缀 */
.ar-toc {
    position: sticky;
    top: 84px;
}

.ar-toc__list {
    margin-top: 4px;
    padding-left: 0;
    list-style: none;
}

.ar-toc__item {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px dashed #f0f3f8;
}

.ar-toc__item:last-child {
    border-bottom: 0;
}

.ar-toc__item a {
    display: block;
    padding: 9px 0 9px 12px;
    border-left: 2px solid #eef2f8;
    font-size: 13.5px;
    line-height: 1.6;
    color: #55617a;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.ar-toc__item--l2 a {
    padding-left: 26px;
    font-size: 13px;
    color: #7b8798;
}

.ar-toc__item a:hover {
    border-left-color: #3b73f0;
    background: #f7faff;
    color: #2f6bff;
}

/* 锚点跳转时给固定导航留出空间 */
.article-content__text h2,
.article-content__text h3 {
    scroll-margin-top: 92px;
}

/* ---------- 更新说明 ---------- */
.ar-update {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 26px 0 0;
    padding: 14px 16px;
    border: 1px solid #e6eefb;
    border-radius: 10px;
    background: #f8fbff;
}

.ar-update__badge {
    flex: none;
    padding: 2px 9px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2a5fd6;
    font-size: 12px;
    line-height: 1.8;
}

.ar-update p {
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: #667085;
}

/* ---------- 文末功能入口 ---------- */
.ar-cta {
    margin: 34px 0 0;
    padding: 24px 24px 22px;
    border: 1px solid #eef3fb;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}

.ar-cta__head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1d2939;
}

.ar-cta__head p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #7b8798;
}

.ar-cta__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.ar-cta__item {
    display: block;
    padding: 14px 16px;
    border: 1px solid #e9f0fa;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ar-cta__item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1d2939;
}

.ar-cta__item span {
    display: block;
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #8592a6;
}

.ar-cta__item:hover {
    border-color: #bcd2ff;
    box-shadow: 0 8px 20px rgba(47, 107, 255, .08);
    transform: translateY(-1px);
}

.ar-cta__item:hover strong {
    color: #2f6bff;
}

/* ---------- 文章 FAQ ---------- */
.ar-faq {
    margin: 30px 0 0;
    padding: 22px 24px 8px;
    border: 1px solid #eef3fb;
    border-radius: 14px;
    background: #fff;
}

.ar-faq__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: #1d2939;
}

.ar-faq__item {
    border-bottom: 1px solid #f2f5fa;
}

.ar-faq__item:last-child {
    border-bottom: 0;
}

.ar-faq__item summary {
    position: relative;
    padding: 14px 30px 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: #1d2939;
    cursor: pointer;
    list-style: none;
}

.ar-faq__item summary::-webkit-details-marker {
    display: none;
}

.ar-faq__item summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #98a4b8;
    border-bottom: 1.5px solid #98a4b8;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.ar-faq__item[open] summary {
    color: #2f6bff;
}

.ar-faq__item[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.ar-faq__body {
    padding: 0 20px 16px 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: #667085;
}

@media (max-width: 1200px) {
    .ar-toc {
        position: static;
    }

    .ar-cta__grid {
        grid-template-columns: 1fr;
    }
}
