/* 资源中心：分类导航区 */
.rs-categories__grid {
    align-items: stretch;
}

.rs-cat-card {
    text-decoration: none;
    color: inherit;
}

.rs-cat-card:focus-visible {
    outline: 2px solid rgb(37 99 235);
    outline-offset: 2px;
}

.rs-cat-card.is-active {
    border-color: rgb(37 99 235);
    background-color: #fff;
    box-shadow: 0 8px 30px -8px rgba(37, 99, 235, 0.22);
}

.rs-cat-card.is-active .rs-cat-card__thumb {
    border-color: rgb(37 99 235);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.rs-cat-card.is-active .rs-cat-card__link {
    color: rgb(29 78 216);
}

/* 超宽屏：四列仍保持左图标右文案；单列时图标不拉满行高 */
@media (min-width: 1280px) {
    .rs-cat-card {
        min-height: 10.5rem;
    }
}

/* 文章筛选 */
.rs-article-card {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.rs-article-card.is-hidden {
    display: none;
}

/* FAQ 手风琴 */
.rs-faq details summary::-webkit-details-marker {
    display: none;
}

.rs-faq details summary::marker {
    content: "";
}

.rs-faq details[open] summary {
    background-color: rgb(239 246 255);
}

.rs-faq details[open] .rs-faq__chevron {
    transform: rotate(180deg);
}

/* 知识文章正文 */
.rs-prose h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.rs-prose ul,
.rs-prose ol {
    margin: 0.75rem 0 1rem;
}
.rs-prose p {
    margin-bottom: 1rem;
}
.rs-prose p:last-child {
    margin-bottom: 0;
}
.rs-prose strong {
    color: rgb(17 24 39);
    font-weight: 600;
}
